Fix generic fmax, fmin sNaN handling (bug 20947).
[glibc.git] / ChangeLog
blobc08b711d7a67676ec0f43628949cf241ec70f53b
1 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20947]
4         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5         when either is a signaling NaN.
6         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8         * bits/long-double.h: New file.
9         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12         * sysdeps/mips/bits/long-double.h: Likewise.
13         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
14         * math/Makefile (headers): Add bits/long-double.h.
15         * misc/sys/cdefs.h: Include <bits/long-double.h>.
16         * stdlib/strtold.c: Include <bits/long-double.h> instead of
17         <bits/wordsize.h>.
18         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
19         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
20         * math/math.h: Do not include <bits/mathdef.h>.
21         * sysdeps/aarch64/bits/mathdef.h: Remove file.
22         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
23         inclusion.
24         * sysdeps/ia64/bits/mathdef.h: Remove file.
25         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
26         * sysdeps/mips/bits/mathdef.h: Likewise.
27         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28         * sysdeps/s390/bits/mathdef.h: Likewise.
29         * sysdeps/sparc/bits/mathdef.h: Likewise.
30         * sysdeps/x86/bits/mathdef.h: Likewise.
31         * sysdeps/s390/s390-32/bits/wordsize.h
32         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
33         conditional code.
34         * sysdeps/s390/s390-64/bits/wordsize.h
35         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
36         Likewise.
37         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
38         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
39         Likewise.
40         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
41         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
42         Likewise.
43         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
44         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
45         Likewise.
47         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
48         <linux/falloc.h>.
49         (FALLOC_FL_KEEP_SIZE): Remove.
50         (FALLOC_FL_PUNCH_HOLE): Likewise.
51         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
52         (FALLOC_FL_ZERO_RANGE): Likewise.
54 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
56         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
58 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
60         * sysdeps/unix/sysv/linux/renameat.c: New file.
61         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
63         * sysdeps/unix/sysv/linux/rename.c: New file.
64         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
66 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
68         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
69         * string/strtok.c (strtok): Change to tailcall __strtok_r.
70         * string/strtok_r.c (__strtok_r): Optimize for performance.
71         * string/string-inlines.c (__old_strtok_r_1c): New function.
72         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
74 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
76         * math/Makefile (gen-libm-calls): Add w_log1pF.
77         (libm-calls): Remove w_log1pF.
78         * math/w_log1p.c: Remove.
79         * math/w_log1pf.c: Likewise.
80         * math/w_log1pl.c: Likewise.
81         * math/w_log1p_template.c: New file with type-generic
82         implementation based on math/w_log1p.c.
83         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
84         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
86 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
88         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
90 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
92         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
93         kernel version to 4.9.
95 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
97         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
98         ($(inst_libdir)/libm.a): Fix rule to create the target only.
100 2016-12-13  Andreas Schwab  <schwab@suse.de>
102         * sysdeps/powerpc/dl-procinfo.c: Don't define
103         _dl_powerpc_platforms.
104         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
105         constants instead of referencing _dl_powerpc_platforms.
106         (_dl_platform_string): Remove.
108 2016-12-13  Florian Weimer  <fweimer@redhat.com>
110         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
112 2016-12-13  Florian Weimer  <fweimer@redhat.com>
114         * Rules (binaries-shared-tests, binaries-pie-tests)
115         (binaries-static-tests): Link with $(link-extra-libs-tests).
116         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
117         Remove $(link-extra-libs-tests).
119 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
121         * sysdeps/powerpc/powerpc64/multiarch/Makefile
122         (sysdep_routines): Add strncmp_power9.
123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
124         (strncmp): Add __strncmp_power9 to list of strncmp functions.
125         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
126         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
127         (strncmp): Add __strncmp_power9 to ifunc list.
128         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
130 2016-12-12  Florian Weimer  <fweimer@redhat.com>
132         [BZ #17252]
133         Add getentropy, getrandom.
134         * stdlib/sys/random.h: New file.
135         (headers): Add it.
136         * stdlib/Makefile (routines): Add getentropy, getrandom.
137         (tests): Add tst-getrandom.
138         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
139         * stdlib/getentropy.c: New file.
140         * stdlib/getrandom.c: Likewise.
141         * stdlib/tst-getrandom.c: Likewise.
142         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
143         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
144         * manual/crypt.texi (Unpredictable Bytes): New section.
145         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
146         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
147         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
148         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
149         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
150         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
151         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
162         Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
164         Likewise.
165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
176         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
178 2016-12-10  Florian Weimer  <fweimer@redhat.com>
180         [BZ #20956]
181         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
182         as additional compiler barriers.
183         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
184         (fn2, do_test): Declare with external linkage.
185         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
186         (do_test): Declare with external linkage.
187         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
188         (do_test): Declare with external linkage.
189         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
190         (do_test): Declare with external linkage.
192 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
194         * support/support_test_main.c (support_test_main): Use correct
195         timeout.
197 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
198             Florian Weimer  <fweimer@redhat.com>
200         [BZ #16421]
201         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
202         and __u6_addr32 members.
203         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
204         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
205         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
206         Use __u6_addr32.
207         * inet/tst-checks.c: Use <support/test-driver.c>
208         * inet/tst-checks-posix.c: New file.
209         * inet/Makefile (tests): Add it.
210         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
212 2016-12-09  Florian Weimer  <fweimer@redhat.com>
214         New subdirectory support for build and test infrastructure.
215         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
216         setting install-lib.
217         * Makeconfig (link-extra-libs-tests): Define.
218         (+link-pie-tests, +link-static-tests, +link-tests): Use
219         link-extra-libs-tests.
220         (rpath-dirs, all-subdirs): Add support.
221         (built-modules): Add libsupport.
222         (libsupport): Define.
223         * support: New directory.
224         * support/Makefile: New file.
225         * support/check.c: Likewise.
226         * support/check.h: Likewise.
227         * support/delayed_exit.c: Likewise.
228         * support/ignore_stderr.c: Likewise.
229         * support/oom_error.c: Likewise.
230         * support/set_fortify_handler.c: Likewise.
231         * support/support.h: Likewise.
232         * support/temp_file-internal.h: Likewise.
233         * support/temp_file.c: Likewise.
234         * support/test-driver.c: Likewise.
235         * support/test-driver.h: Likewise.
236         * support/test_main.c: Likewise.
237         * support/write_message.c: Likewise.
238         * support/xasprintf.c: Likewise.
239         * support/xcalloc.c: Likewise.
240         * support/xmalloc.c: Likewise.
241         * support/xpthread_barrier_destroy.c: Likewise.
242         * support/xpthread_barrier_init.c: Likewise.
243         * support/xpthread_barrier_wait.c: Likewise.
244         * support/xpthread_cancel.c: Likewise.
245         * support/xpthread_check_return.c: Likewise.
246         * support/xpthread_cond_wait.c: Likewise.
247         * support/xpthread_create.c: Likewise.
248         * support/xpthread_detach.c: Likewise.
249         * support/xpthread_join.c: Likewise.
250         * support/xpthread_mutex_lock.c: Likewise.
251         * support/xpthread_mutex_unlock.c: Likewise.
252         * support/xpthread_sigmask.c: Likewise.
253         * support/xpthread_spin_lock.c: Likewise.
254         * support/xpthread_spin_unlock.c: Likewise.
255         * support/xrealloc.c: Likweise.
256         * support/xsignal.h: Likewise.
257         * support/xthread.h: Likewise.
258         * support_tempfile.h: Likewise.
259         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
260         (TEST_DATA_LIMIT): Remove unused macro.
261         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
262         <support/check.h>.
263         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
264         (ignore_stderr, set_fortify_handler): Remove.  Now in
265         <support/support.h>.
266         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
267         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
268         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
269         (xpthread_join): Remove.  Now in <support/xthread.h>.
270         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
271         Introduce legacy wrappers.
272         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
273         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
274         (write_message): Remove.
275         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
276         test-skeleton.c.
277         * io/test-open-tmpfile: Likewise.
278         * io/tst-posix_fallocate-common.c: Likewise.
279         * libio/tst-fseek.c: Likewise.
280         * malloc/tst-malloc-backtrace.c: Likewise.
281         * malloc/tst-malloc-fork-deadlock.c: Likewise.
282         * malloc/tst-malloc-thread-exit.c: Likewise.
283         * nptl/tst-cancel7.c: Likewise.
284         * nptl/tst-cleanup0.c: Likewise.
285         * posix/tst-posix_fadvise-common.c: Likewise.
286         * rt/tst-shm.c: Likewise.
287         * time/bug-getdate1.c: Likewise.
288         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
289         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
290         * elf/Makefile (tst-piemod1.so): Link against libsupport.
292 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
294         * Rules [$(run-built-tests) != no] (tests-expected): Add
295         $(tests-printers).
296         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
298 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
300         [BZ #20539]
301         * math/Makefile (install-lib-ldscripts): Add libm.a.
302         (install_subdir): Remove.
303         (install-others): Add.
304         ($(inst_libdir)/libm.a): Add rule for installation as
305         linker script.
306         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
308 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
310         * INSTALL: Regenerated.
311         * Makeconfig: Add comments and whitespace to make the control flow
312         clearer.
313         (+link-printers-tests, +link-pie-printers-tests,
314         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
315         built-rtld-LDFLAGS, link-libc-rpath,
316         link-libc-tests-after-rpath-link,
317         link-libc-printers-tests): New.
318         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
319         link-libc-tests): Use the new variables as required.
320         * Makerules ($(py-const)): New rule.
321         generated: Add $(py-const).
322         * README.pretty-printers: New file.
323         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
324         (others): Depend on $(py-const).
325         (tests): Depend on $(tests-printers-programs) or
326         $(tests-printers-out),
327         as required.  Pass $(tests-printers) to merge-test-results.sh.
328         * manual/install.texi: Add requirements for testing the pretty
329         printers.
330         * nptl/Makefile (gen-py-const-headers, pretty-printers,
331         tests-printers, CFLAGS-test-mutexattr-printers.c
332         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
333         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
334         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
335         * nptl/nptl-printers.py: New file.
336         * nptl/nptl_lock_constants.pysym: Likewise.
337         * nptl/test-cond-printers.c: Likewise.
338         * nptl/test-cond-printers.py: Likewise.
339         * nptl/test-condattr-printers.c: Likewise.
340         * nptl/test-condattr-printers.py: Likewise.
341         * nptl/test-mutex-printers.c: Likewise.
342         * nptl/test-mutex-printers.py: Likewise.
343         * nptl/test-mutexattr-printers.c: Likewise.
344         * nptl/test-mutexattr-printers.py: Likewise.
345         * nptl/test-rwlock-printers.c: Likewise.
346         * nptl/test-rwlock-printers.py: Likewise.
347         * nptl/test-rwlockattr-printers.c: Likewise.
348         * nptl/test-rwlockattr-printers.py: Likewise.
349         * scripts/gen-py-const.awk: Likewise.
350         * scripts/test_printers_common.py: Likewise.
351         * scripts/test_printers_exceptions.py: Likewise.
353 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
355         * scripts/build-many-glibcs.py (Context.__init__): Take strip
356         argument.
357         (Glibc.build_glibc): Strip installed shared libraries if
358         requested.
359         (get_parser): Add --strip option.
360         (main): Update Context call.
362 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
363             Dominik Vogt  <vogt@linux.vnet.ibm.com>
365         [BZ #20847]
366         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
367         array bounds for else branch.
368         (__execvpe): Style fixes.
369         * posix/tst-vfork3.c (run_script): New function.
370         (create_script): Likewise.
371         (do_test): Use run_script internal function.
372         (do_prepare): Use create_script internal function.
374 2016-12-07  Andreas Schwab  <schwab@suse.de>
376         * sysdeps/unix/sysv/linux/x86/elision-conf.h
377         (__elision_available): Don't declare.
378         * sysdeps/unix/sysv/linux/x86/elision-conf.c
379         (__elision_available): Don't define.
380         (elision_init): Don't set __elision_available.
382 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
384         [BZ #20940]
385         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
386         return Inf for arguments Inf and sNaN.
387         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
388         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
389         Likewise.
390         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
391         Likewise.
392         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
393         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
394         for arguments Inf and sNaN.  When returning a NaN, compute it by
395         arithmetic on the arguments.
396         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
397         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
398         arguments.
400 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
402         [BZ #20916]
403         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
404         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
405         to compute result.
406         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
407         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
409 2016-12-05  Torvald Riegel  <triegel@redhat.com>
411         * include/atomic.h (__atomic_check_size_ls): New.
412         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
413         atomic_store_release): Use it.
414         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
415         (elision_adapt, ELIDE_LOCK): Use atomics.
416         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
417         atomics and improve code comments.
418         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
419         (__lll_trylock_elision): Likewise.
421 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
423         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
424         programs.
426 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
428         [BZ #20916]
429         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
430         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
431         arguments to compute result.
432         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
433         1 for arguments (sNaN, 0) or (1, sNaN).
434         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
435         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
437         [BZ #20919]
438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
439         NaN first argument when raised to power 0.
440         * math/w_pow.c (__pow): Do not check for NaN or zero results from
441         raising to power zero.
442         * math/w_powf.c (__powf): Likewise.
443         * math/w_powl.c (__powl): Likewise.
444         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
445         pow (0, 0) or pow (NaN, 0).
447 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
449         [BZ #20918]
450         * configure.ac: Test for static NSS cryptographic libraries and set
451         libc_cv_static_nss_crypt.
452         * configure: Regenerate.
453         * config.make.in (static-nss-crypt): Define.
454         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
455         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
456         (CFLAGS-tst-linkall-static.c): Define.
457         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
458         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
459         ($(objpfx)tst-linkall-static): Define.
460         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
461         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
463 2016-12-02  Florian Weimer  <fweimer@redhat.com>
465         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
466         (one-hundred, tst-tls-many-dynamic-modules): Define.
467         (modules-names): Add $(tst-tls-many-dynamic-modules).
468         (tst-tls-manydynamic%mod.os): Build with special preprocessor
469         macros.
470         (tst-tls-manydynamic): Link against libdl, libpthread.
471         (tst-tls-manydynamic.out): The test needs the test modules at run
472         time.
473         * elf/tst-tls-manydynamic.c: New file.
474         * elf/tst-tls-manydynamic.h: Likewise.
475         * elf/tst-tls-manydynamicmod.c: Likewise.
477 2016-12-02  Florian Weimer  <fweimer@redhat.com>
479         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
480         (TLS_DTV_UNALLOCATED): Add.
481         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
482         offsets.
484 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
486         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
488 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
490         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
491         Add -fno-optimize-sibling-calls.
493 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
495         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
496         New declaration.
497         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
498         macro.
499         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
500         New macro.
501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
503         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
504         (llogbf): Likewise.
505         (llogbl): Likewise.
506         * math/Makefile (gen-libm-calls): Add w_llogbF.
507         (tests): Add test-fp-llogb-constants.
508         * math/w_llogb_template.c: New file.  Based on
509         math/w_ilogb_template.c.
510         * math/libm-test.inc (llogb_test_data): New array.
511         (llogb_test): New function.
512         (main): Call llogb_test.
513         * math/test-fp-llogb-constants.c: New file.  Based on
514         math/test-fp-ilogb-constants.c.
515         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
516         (do_test): Call check_return_llogb.
517         * math/test-tgmath.c (NCALLS): Increase to 126.
518         (F(compile_test)): Call llogb.
519         (F(llogb)): New function.
520         * manual/math.texi (Exponents and Logarithms): Document llogb,
521         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
522         * manual/libm-err-tab.pl (@all_functions): Add llogb.
523         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
524         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
525         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
526         (CFLAGS-nldbl-llogb.c): New variable.
527         * sysdeps/nacl/libm.abilist: Update.
528         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
529         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
530         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
533         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
541         Likewise.
542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
543         Likewise.
544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
545         Likewise.
546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
547         Likewise.
548         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
549         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
550         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
551         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
552         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
554         Likewise.
555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
556         Likewise.
557         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
559         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
561 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
563         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
564         _Float128 instead of long double.
565         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
567         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
568         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
569         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
570         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
571         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
572         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
573         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
574         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
575         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
576         Likewise.
578 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
580         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
581         Remove redirection to __strrchr_ppc.
583 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
585         * sysdeps/powerpc/powerpc64/multiarch/Makefile
586         (sysdep_routines): Add strcmp_power9.
587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
588         (strcmp): Add __strcmp_power9 to list of strcmp functions.
589         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
590         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
591         (strcmp): Add __strcmp_power9 to ifunc list.
592         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
594 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
596         * bits/fp-logb.h: New file.
597         * sysdeps/ia64/bits/fp-logb.h: Likewise.
598         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
599         * sysdeps/x86/bits/fp-logb.h: Likewise.
600         * math/Makefile (headers): Add bits/fp-logb.h.
601         * math/math.h: Include <bits/fp-logb.h>.
602         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
603         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
604         * bits/mathdef.h (FP_ILOGB0): Remove.
605         (FP_ILOGBNAN): Likewise.
606         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
607         (FP_ILOGBNAN): Likewise.
608         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
609         (FP_ILOGBNAN): Likewise.
610         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
611         (FP_ILOGBNAN): Likewise.
612         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
613         (FP_ILOGBNAN): Likewise.
614         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
615         (FP_ILOGBNAN): Likewise.
616         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
617         (FP_ILOGBNAN): Likewise.
618         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
619         (FP_ILOGBNAN): Likewise.
620         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
621         (FP_ILOGBNAN): Likewise.
622         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
623         (FP_ILOGBNAN): Likewise.
625         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
626         time module.
627         (Context.__init__): Initialize self.logsdir_old.
628         (Context.run_builds): Handle bot action.
629         (Context.bot_cycle): Copy logs directory before running builds.
630         (Context.bot_run_self): Take argument for whether to check
631         subprocess result.  Flush stdout before running subprocess.
632         (Context.bot): New function.
633         (get_parser): Allow bot action.
635 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
637         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
638         Import email.mime.text, email.utils and smtplib modules.
639         (Context.__init__): Initialize self.bot_config_json.
640         (Context.run_builds): Handle bot-cycle action.
641         (Context.load_bot_config_json): New function.
642         (Context.part_build_old): Likewise.
643         (Context.bot_cycle): Likewise.
644         (Context.bot_build_mail): Likewise.
645         (Context.bot_run_self): Likewise.
646         (get_parser): Allow bot-cycle action.
648 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
650         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
651         Remove redirection to __stpcpy_ppc.
653 2016-11-30  Florian Weimer  <fweimer@redhat.com>
655         Remove __libc_memalign from ld.so because it is unused.
656         * elf/dl-minimal.c: Update comment on the malloc implementation.
657         (malloc): Renamed from __libc_memalign, replacing the original
658         malloc implementation.  Replace the align parameter with
659         MALLOC_ALIGNMENT.
660         * elf/Versions (ld): Update comment and remove __libc_memalign.
661         * sysdeps/nacl/ld.abilist: Likewise.
662         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
663         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
664         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
665         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
666         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
667         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
668         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
669         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
670         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
673         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
674         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
678         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
679         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
680         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
682         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
685         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
686         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
687         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
688         * sysdeps/generic/localplt.data (ld.so): Likewise.
689         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
690         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
691         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
692         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
693         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
694         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
695         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
696         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
697         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
699         (ld.so): Likewise.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
701         (ld.so): Likewise.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
703         Likewise.
704         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
705         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
706         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
707         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
708         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
710 2016-11-30  Florian Weimer  <fweimer@redhat.com>
712         [BZ #16628]
713         Implement _dl_catch_error, _dl_signal_error in libc.so.
714         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
715         (catch_hook): Define as thread-local or regular variable,
716         depending on DL_ERROR_BOOTSTRAP.
717         (CATCH_HOOK): Remove.
718         (dl_signal_error, _dl_catch_error): Use
719         catch_hook.  Add hidden definition for libc.
720         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
721         for DL_ERROR_BOOTSTRAP only.
722         * elf/dl-error.c: New file.
723         * elf/dl-error-minimal.c: Likewise.
724         * elf/tst-latepthread.c: Likewise.
725         * elf/tst-latepthreadmod.c: Likewise.
726         * elf/Makefile (routines): Add dl-error.
727         (dl-routines): Remove dl-error.
728         (rtld-routines): Add dl-error-minimal.
729         [build-shared] (tests): Add tst-latepthread.
730         (module-names): Add tst-latepthreadmod.
731         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
732         symbol.
733         (tst-latepthreadmod.so): Link against libpthread.
734         (tst-latepthread): Link against libdbl.
735         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
736         _dl_catch_error.
737         [ld] (GLIBC_PRIVATE): Likewise.
738         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
739         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
740         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
741         directly.
742         * elf/dl-tsd.c: Remove file.
743         * elf/rtld.c (_rtld_global_ro): Remove initializers for
744         _dl_catch_error, _dl_signal_error.
745         (_dl_initial_error_catch_tsd): Remove definition.
746         (do_preload): Remove initialization of dl_error_catch_tsd.
747         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
748         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
749         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
750         * dlfcn/dlopen.c (dlopen_doit): Likewise.
751         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
752         set dl_error_catch_tsd.
753         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
754         _dl_error_catch_tsd member.
755         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
756         members.
757         (_dl_initial_error_catch_tsd): Remove declaration.
758         (_dl_dprintf): Provide definition for use outside of ld.so.
759         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
760         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
761         prototype for libc.
762         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
763         _dl_catch_error.
764         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
765         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
766         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
767         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
768         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
769         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
770         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
771         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
772         Likewise.
773         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
775         (ld.so): Likewise.
776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
777         (ld.so): Likewise.
778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
779         Likewise.
780         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
781         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
782         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
783         Likewise.
784         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
785         Likewise.
786         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
788 2016-11-30  Florian Weimer  <fweimer@redhat.com>
790         [BZ #4099]
791         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
792         _IO_BUFSIZ (8192).
794 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
796         * PROJECTS: Remove file.
798 2016-11-29  Florian Weimer  <fweimer@redhat.com>
800         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
802 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
803             Steve Ellcey  <sellcey@caviumnetworks.com>
805         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
806         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
807         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
808         fxstatat.
809         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
810         lxstat.
811         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
812         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
813         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
814         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
815         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
816         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
817         __xstat.
819 2016-11-29  Florian Weimer  <fweimer@redhat.com>
821         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
822         Define.
823         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
824         definition.
826 2016-11-29  Florian Weimer  <fweimer@redhat.com>
828         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
829         version and turn into strong alias.  Remove compat symbol.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
832         (__longjmp): Remove.
834 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
836         * bits/fp-fast.h: New file.
837         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
838         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
839         * math/Makefile (headers): Add bits/fp-fast.h.
840         * math/math.h: Include <bits/fp-fast.h>.
841         * bits/mathdef.h (FP_FAST_FMA): Remove.
842         (FP_FAST_FMAF): Likewise.
843         (FP_FAST_FMAL): Likewise.
844         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
845         (FP_FAST_FMAF): Likewise.
846         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
847         (FP_FAST_FMAF): Likewise.
848         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
849         (FP_FAST_FMAF): Likewise.
850         (FP_FAST_FMAL): Likewise.
851         * sysdeps/arm/bits/mathdef.h: Remove file.
852         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
853         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
854         * sysdeps/tile/bits/mathdef.h: Likewise.
856 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
858         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
859         * math/w_ilogb.c: Remove.
860         * math/w_ilogbf.c: Likewise.
861         * math/w_ilogbl.c: Likewise.
862         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
863         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
864         * math/Makefile (gen-libm-calls): Add w_ilogbF.
865         (libm-calls): Remove w_ilogbF.
866         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
867         (LDOUBLE_ilogbl_libm_version): New macro.
869         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
871         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
872         [!__STRICT_ANSI__ && !__cplusplus].
874 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
876         [BZ #20750]
877         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
878         of PIC.
880 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
881             Yury Norov  <ynorov@caviumnetworks.com>
882             Steve Ellcey  <sellcey@caviumnetworks.com>
884         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
885         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
886         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
887         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
888         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
889         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
890         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
891         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
892         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
893         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
894         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
895         to get correct reg name for ILP32.
896         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
897         (RELA_SIZE): New Macro.
898         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
899         to support ILP32.
900         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
901         cast for ILP32 mode.
902         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
903         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
904         * sysdeps/aarch64/memset.S (__memset): Ditto.
905         * sysdeps/aarch64/strchr.S (strchr): Ditto.
906         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
907         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
908         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
909         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
910         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
911         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
912         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
913         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
914         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
915         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
916         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
917         change PTR_MANGLE call to use register numbers instead of names.
918         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
919         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
920         ILP32 mode, change PTR_MANGLE calls to use register numbers.
921         * sysdeps/aarch64/start.S (_start): Ditto.
922         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
923         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
924         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
925         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
926         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
927         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
928         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
929         Make defined values dependent on __ILP32__.
930         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
931         (sem_t): Change __align type.
932         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
933         PTR_SIZE): New Macros.
934         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
935         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
936         Set when in ILP32 mode.
937         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
938         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
939         Set elf flags for ILP32.
940         (add_system_dir): Set ILP32 library directories.
941         * sysdeps/unix/sysv/linux/aarch64/init-first.c
942         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
943         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
944         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
945         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
946         New Macros.
947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
949 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
951         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
952         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
953         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
955 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
957         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
958         <asm/cachectl.h>.
960 2016-11-27  Zack Weinberg  <zackw@panix.com>
962         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
963         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
965 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
967         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
968         error_t to fix usage in C++ programs.
970 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
972         * scripts/build-many-glibcs.py: Import datetime module.
973         (Context.__init__): Load JSON build state.  Initialize list of
974         status logs.
975         (Context.run_builds): Update saved build state.
976         (Context.add_makefile_cmdlist): Update list of status logs.
977         (Context.load_build_state_json): New function.
978         (Context.store_build_state_json): Likewise.
979         (Context.clear_last_build_state): Likewise.
980         (Context.update_build_state): Likewise.
981         (CommandList.status_logs): Likewise.
983 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
985         * scripts/build-many-glibcs.py (Context.__init__): Save text of
986         script being executed.
987         (Context.get_script_text): New function.
988         (Context.exec_self): Likewise.
989         (Context.checkout): Re-exec script if changed by checkout process.
991 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
993         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
994         (setpayloadsig): New declaration.
995         * math/Versions (setpayloadsig): New libm symbol at version
996         GLIBC_2.25.
997         (setpayloadsigf): Likewise.
998         (setpayloadsigl): Likewise.
999         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1000         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1001         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1002         (setpayloadsig_test_data): New array.
1003         (setpayloadsig_test): New function.
1004         (main): Call setpayloadsig_test.
1005         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1006         setpayloadsigf and setpayloadsigl.
1007         * manual/libm-err-tab.pl: Update comment on interfaces without
1008         ulps tabulated.
1009         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1010         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1011         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1012         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1013         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1014         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1015         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1016         setpayloadsig.
1017         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1018         * sysdeps/nacl/libm.abilist: Update.
1019         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1032         Likewise.
1033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1034         Likewise.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1036         Likewise.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1040         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1041         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1045         Likewise.
1046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1047         Likewise.
1048         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1052         * scripts/build-many-glibcs.py: Import json module.
1053         (Context.__init__): Take replace_sources argument.  Load
1054         versions.json.
1055         (Context.load_versions_json): New function.
1056         (Context.store_json): Likewise.
1057         (Context.store_versions_json): Likewise.
1058         (Context.set_component_version): Likewise.
1059         (Context.checkout): Update versions.json.  Check for and handle
1060         changes of version.  Prefer previously explicitly specified
1061         version to default version.
1062         (Context.checkout_vcs): Return a revision identifier.
1063         (Context.git_checkout): Likewise.
1064         (Context.gcc_checkout): Likewise.
1065         (get_parser): Add --replace-sources option.
1066         (main): Pass replace_sources argument to Context call.
1068 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1070         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1071         * nptl/allocatestack.c (allocate_stack): Likewise.
1072         (__reclaim_stacks): Likewise.
1073         (setxid_signal_thread): Obtain pid through syscall.
1074         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1075         (sighandle_setxid): Likewise.
1076         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1077         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1078         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1079         Likewise.
1080         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1081         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1082         comment.
1083         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1084         * nptl/descr.h (struct pthread): Change comment about pid value.
1085         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1086         pid assert.
1087         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1088         Do not set pid value.
1089         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1090         pid cache check.
1091         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1092         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1093         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1094         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1095         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1096         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1097         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1098         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1099         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1100         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1101         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1102         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1103         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1104         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1105         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1106         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1107         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1108         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1109         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1110         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1111         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1112         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1113         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1114         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1115         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1118         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1119         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1120         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1121         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1122         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1123         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1124         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1125         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1126         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1127         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1128         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1129         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1130         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1131         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1132         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1133         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1136         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1137         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1138         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1139         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1140         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1141         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1142         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1143         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1144         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1145         struct access.
1146         (clone_test): Remove function.
1147         (do_test): Rewrite to take in consideration pid is not cached anymore.
1149 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1151         * bits/flt-eval-method.h: New file.
1152         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1153         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1154         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1155         * math/Makefile (headers): Add bits/flt-eval-method.h.
1156         * math/math.h: Include <bits/flt-eval-method.h>.
1157         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1158         [__USE_ISOC99] (double_t): Likewise.
1159         * bits/mathdef.h (float_t): Remove.
1160         (double_t): Likewise.
1161         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1162         (double_t): Likewise.
1163         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1164         (double_t): Likewise.
1165         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1166         (double_t): Likewise.
1167         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1168         (double_t): Likewise.
1169         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1170         (double_t): Likewise.
1171         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1172         (double_t): Likewise.
1173         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1174         (double_t): Likewise.
1175         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1176         (double_t): Likewise.
1177         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1178         (double_t): Likewise.
1179         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1180         (double_t): Likewise.
1181         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1182         (double_t): Likewise.
1183         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1184         (double_t): Likewise.
1185         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1186         (double_t): Likewise.
1188 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1190         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1191         instead of PIC.
1193 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1195         [BZ #20859]
1196         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1197         (-0x7fffffff) instead of 0x80000001.
1198         * math/test-fp-ilogb-constants.c: New file.
1199         * math/Makefile (tests): Add test-fp-ilogb-constants.
1201 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1203         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1204         (_init): Use it in place of hardcoded R_MIPS_JALR.
1205         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1206         (_init): Use it in place of hardcoded R_MIPS_JALR.
1207         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1208         (_init): Use it in place of hardcoded R_MIPS_JALR.
1210 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1212         [BZ #20787]
1213         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1214         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1215         (double_t): Do not define to double if [__x86_64__] when
1216         __FLT_EVAL_METHOD__ is nonzero.
1217         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1218         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1219         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1220         test-flt-eval-method-387 and test-flt-eval-method-sse.
1221         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1222         variable.
1223         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1225 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1227         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1228         use of -fno-isolate-erroneous-paths options for tilepro.
1230 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1232         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1233         structure initialization is no longer needed.
1235 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1237         [BZ #20855]
1238         * bits/mathdef.h (float_t): Define to float.
1239         * math/test-flt-eval-method.c: New file.
1240         * math/Makefile (tests): Add test-flt-eval-method.
1241         (CFLAGS-test-flt-eval-method.c): New variable.
1243 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1245         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1246         and __fstatfs.  Make them aliases of __fstatfs64 if
1247         STATFS_IS_STATFS64 is set to non-zero.
1248         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1249         and __statfs64.
1250         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1251         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1252         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1253         for __statfs and statfs.
1254         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1255         to 0.
1256         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1257         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1258         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1259         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1260         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1261         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1264         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1265         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1266         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1267         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1269 2016-11-22  Andreas Schwab  <schwab@suse.de>
1271         * misc/mkstemp.c: Include <fcntl.h>.
1272         * misc/mkstemps.c: Likewise.
1273         * misc/mkostemp.c: Likewise.
1274         * misc/mkostemps.c: Likewise.
1276 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1278         [BZ #20847]
1279         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1280         array bounds.
1281         (__execvpe): Likewise.
1283 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1285         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1286         -fno-isolate-erroneous-paths options for tilepro.
1288 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1290         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1291         to 0 when in 32 bit mode.
1292         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1293         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1294         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1295         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1297         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1298         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1299         XSTAT_IS_XSTAT64 test.
1300         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1301         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1302         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1303         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1304         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1305         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1306         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1307         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1308         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1309         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1310         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1312 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1314         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1315         (setpayload): New declaration.
1316         * math/Versions (setpayload): New libm symbol at version
1317         GLIBC_2.25.
1318         (setpayloadf): Likewise.
1319         (setpayloadl): Likewise.
1320         * math/Makefile (libm-calls): Add s_setpayloadF.
1321         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1322         test_Ff_b1_data.
1323         (RUN_TEST_Ff_b1): New macro.
1324         (RUN_TEST_LOOP_Ff_b1): Likewise.
1325         (canonicalize_test_data): Update type.
1326         (setpayload_test_data): New array.
1327         (setpayload_test): New function.
1328         (main): Call setpayload_test.
1329         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1330         setpayloadf and setpayloadl.
1331         * manual/libm-err-tab.pl: Update comment on interfaces without
1332         ulps tabulated.
1333         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1334         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1335         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1336         Likewise.
1337         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1338         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1343         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1345         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1346         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1347         setpayload.
1348         (CFLAGS-nldbl-setpayload.c): New variable.
1349         * sysdeps/nacl/libm.abilist: Update.
1350         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1361         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1365         Likewise.
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1367         Likewise.
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1369         Likewise.
1370         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1376         Likewise.
1377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1378         Likewise.
1379         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1383 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1385         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1386         * include/unistd.h: Extend comment about __access_noerrno return
1387         semantics.
1388         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1389         (access_common): Correct typo for EACCES.
1391 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1393         * sysdeps/tile/math-tests.h: New file.
1395         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1396         (__old_set_dataplane): Rename from set_dataplane and make a
1397         compatibility symbol.
1398         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1399         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1400         sys/dataplane.h.
1402 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1404         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1405         script quote words in command output to log suitably for input to
1406         the shell.
1408 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1409             Maciej W. Rozycki  <macro@imgtec.com>
1411         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1412         `.Lno_weak_fn' label.
1413         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1414         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1416 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1417             Yury Norov  <ynorov@caviumnetworks.com>
1419         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1420         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1421         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1422         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1423         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1424         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1425         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1427         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1428         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1429         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1430         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1431         (sysdep_routines): Remove oldgetrlimit64.
1432         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1433         (sysdep_routines): Likewise.
1434         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1435         (sysdep_routines): Likewise.
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1437         [$(subdir) = resource] (sysdep_routines): Likewise.
1438         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1439         [$(subdir) = resource] (sysdep_routines): Likewise.
1440         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1441         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1442         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1443         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1444         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1445         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1446         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1447         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1448         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1449         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1451         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1452         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1453         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1454         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1455         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1456         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1457         setrlimit and getrlimit.
1458         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1459         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1460         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1463         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1464         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1465         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1467         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1468         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1469         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1470         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1471         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1472         (__old_getrlimit64): Add compatibility symbol.
1473         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1475 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1477         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1478         newly built gmp, mpfr and mpc.
1480         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1482 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1484         * conform/Makefile (linknamespace-libs): Rename to
1485         linknamespace-libs-thr.
1486         (linknamespace-libs-posix): New variable.
1487         (linknamespace-libs-xsi): Likewise.
1488         (linknamespace-libs-XPG3): Include libcrypt.a.
1489         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1490         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1491         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1492         (linknamespace-libs-XOPEN2K): Likewise.
1493         (linknamespace-libs-XOPEN2K8): Likewise.
1494         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1496         [BZ #20829]
1497         * stdio-common/Versions (__snprintf): Add to version
1498         GLIBC_PRIVATE.
1499         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1500         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1501         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1502         of snprintf.
1503         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1505 2016-11-16  Zack Weinberg  <zackw@panix.com>
1507         * string/string.h: Remove obsolete comment stating that
1508         strcoll_l and strxfrm_l have not yet been standardized.
1510 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1512         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1513         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1514         __access_noerrno.
1515         * io/access.c (__access_noerrno): New function.
1516         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1517         (hurd_fail_seterrno): Likewise.
1518         (access_common): Likewise.
1519         (__access_noerrno): Likewise.
1520         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1521         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1522         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1523         macro.
1525 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1527         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1528         Only declare fpregs if [__SH_FPU_ANY__].
1530 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1532         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1533         Make code unconditional.
1534         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1536 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1538         * manual/sysinfo.texi (S_APPEND): Delete.
1539         (S_IMMUTABLE): Likewise.
1541 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1542             Magnus Granberg  <zorry@gentoo.org>
1543             Mike Frysinger  <vapier@gentoo.org>
1545         [BZ #20662]
1546         * configure.ac (libc_cv_predef_stack_protector): Also check for
1547         __stack_chk_fail_local symbols.
1548         * configure: Regenerated.
1550 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1552         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1553         (libc_hidden_def): Remove redefinition.
1554         (__sigsetjmp): Add hidden definition.
1555         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1556         (libc_hidden_def): Remove redefinition.
1557         (__sigsetjmp): Add hidden definition.
1559 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1561         * scripts/build-many-glibcs.py (os.path): Do not import.
1562         (Context): Inherit explicitly from object.  Remove blank line
1563         between class and docstring.
1564         (Config): Likewise.
1565         (Glibc): Likewise.
1566         (Command): Likewise.
1567         (CommandList): Likewise.
1568         (Context.write_files): Store chmod mode in a variable.
1570         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1571         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1572         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1574 2016-11-14  Zack Weinberg  <zackw@panix.com>
1576         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1577         creating or re-creating it.
1579         * string/bits/string2.h: Fix typo in comment.
1581 2016-11-14  Zack Weinberg  <zackw@panix.com>
1583         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1584         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1585         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1586         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1587         of redirected function names.
1589         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1590         as well.  Document that MESSAGE must be a single string literal.
1592 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1594         * scripts/build-many-glibcs.py: New file.
1596         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1597         (do_test): Disable -Wmaybe-uninitialized around uses of
1598         except_mask.
1600         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1602 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1604         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1605         (atomic_store_release): Provide tilepro-specific implementations.
1607 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1609         * math/math.h (__MATH_TG): New macro.
1610         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1611         [__USE_ISOC99] (signbit): Likewise.
1612         [__USE_ISOC99] (isfinite): Likewise.
1613         [__USE_ISOC99] (isnan): Likewise.
1614         [__USE_ISOC99] (isinf): Likewise.
1615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1616         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1617         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1618         __MATH_TG and __MATH_EVAL_FMT2.
1619         * sysdeps/generic/math_private.h (fabs_tg): Define using
1620         __MATH_TG.
1621         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1622         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1623         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1624         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1625         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1626         macro.
1627         (__iscanonical): Likewise.
1628         (iscanonical): Define using __MATH_TG.
1630 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1632         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1633         guards.
1635         * sysdeps/unix/sysv/linux/access.c: New file.
1636         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1638 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1640         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1641         and __WORDSIZE32_PTRDIFF_LONG.
1643 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1645         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1647 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1649         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1650         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1651         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1652         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1653         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1655         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1656         * sysdeps/unix/sysv/linux/truncate.c: New file.
1657         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1658         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1659         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1660         Remove.
1661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1662         Likewise.
1664         * posix/tst-truncate-common.c: New file.
1665         * posix/tst-truncate.c: Use tst-truncate-common.c.
1666         * posix/tst-truncate64.c: Likewise and add LFS tests.
1667         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1668         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1669         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1670         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1671         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1673         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1674         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1675         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1676         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1677         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1678         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1679         Remove.
1680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1681         Likewise.
1683 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1685         [BZ #20790]
1686         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1687         to MAXLINESIZE.
1688         * sunrpc/bug20790.x: New file.
1689         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1690         variable.
1691         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1692         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1694         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1696         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1698         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1699         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1700         calloc, realloc, free, memalign and __libc_memalign rather than
1701         making them optional.
1703         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1704         for libc.so.
1706 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1708         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1709         ptw-lseek64.
1710         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1711         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1714         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1715         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1716         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1717         * sysdeps/unix/sysv/linux/lseek.c: New file.
1718         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1719         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1720         __libc_lseek64 from auto-generation.
1721         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1722         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1724 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1726         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1727         * nptl/tst-cleanup1.c (do_test): Likewise.
1728         * nptl/tst-cleanup3.c (do_test): Likewise.
1729         * nptl/tst-key1.c (do_test): Likewise.
1730         * nptl/tst-key2.c (tf, do_test): Likewise.
1731         * nptl/tst-key3.c (tf, do_test): Likewise.
1732         * nptl/tst-stdio1.c (do_test): Likewise.
1733         * nptl/tst-stdio2.c (do_test): Likewise.
1735         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1736         * nptl/tst-kill6.c (handler): Likewise.
1737         * nptl/tst-tls2.c (CB): Likewise.
1738         * nptl/tst-tls3.c (CB): Likewise.
1740 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1742         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1744 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1745             Steve Ellcey  <sellcey@caviumnetworks.com>
1747         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1748           __ASSUME_ST_INO_64_BIT as 0
1749         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1750         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1751           over the code where __ASSUME_ST_INO_64_BIT is used.
1752         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1753         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1754         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1756 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1758         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1759         Document ABI exposure of the __kind offset.
1760         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1761         Mention reason for the __kind offset exposure in the ABI.
1762         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1763         Likewise.
1764         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1765         Likewise.
1766         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1767         Likewise.
1768         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1769         (struct __pthread_mutex_s): Likewise.
1770         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1771         Likewise.
1772         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1773         Likewise.
1774         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1775         Likewise.
1776         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1777         Likewise.
1778         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1779         Likewise.
1780         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1781         Likewise.
1782         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1783         (struct __pthread_mutex_s): Likewise.
1784         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1785         (struct __pthread_mutex_s): Likewise.
1786         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1787         Likewise.
1789 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1791         * test-skeleton.c: Document do_test usage.
1793 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1795         * iconv/gconv.h (__gconv_info): Define __data element using a
1796         zero-length array.
1798 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1800         * math/test-tgmath2.c: Split up test function.
1802 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1804         * Rules (tests-expected): New variable, depending on
1805         $(run-built-tests).
1806         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1807         $(tests).
1809         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1810         $(tests-unsupported).
1812 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1814         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1815         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1817 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1819         [BZ #20768]
1820         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1821         __fegetenv instead of fegetenv.
1823         [BZ #14139]
1824         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1825         (find_files): Obtain platform name from libm-test-ulps-name and
1826         store in %pplatforms.
1827         (canonicalize_platform): Remove.
1828         (print_platforms): Use $pplatforms directly.
1829         (by_platforms): Do not allow for platforms missing from
1830         %pplatforms.
1831         * sysdeps/aarch64/libm-test-ulps-name: New file.
1832         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1833         * sysdeps/arm/libm-test-ulps-name: Likewise.
1834         * sysdeps/generic/libm-test-ulps-name: Likewise.
1835         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1836         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1837         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1838         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1839         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1840         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1841         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1842         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1843         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1844         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1845         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1846         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1847         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1848         * sysdeps/sh/libm-test-ulps-name: Likewise.
1849         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1850         * sysdeps/tile/libm-test-ulps-name: Likewise.
1851         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1853         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1855         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1856         (test-xfail-check-execstack): New variable.
1858         * sysdeps/mips/localplt.data: New file.
1860 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1861             Steve Ellcey  <sellcey@caviumnetworks.com>
1863         * bits/wordsize.h: Add documentation.
1864         * sysdeps/aarch64/bits/wordsize.h : New file
1865         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1866         definitions.
1867         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1868         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1869         with #if instead of #ifdef.
1870         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1871         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1872         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1873         Add or change defines.
1874         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1875         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1876         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1877         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1878         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1879         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1880         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1881         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1882         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1883         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1884         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1885         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1886         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1887         * sysdeps/x86/bits/wordsize.h: Likewise.
1889 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1890             Kevin Petit  <kevin.petit@arm.com>
1892         * sysdeps/aarch64/memchr.S (__memchr): New file.
1894 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1896         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1898 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1900         [BZ #19398]
1901         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1902         $(linknamespace-symlists-tests).
1904 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1906         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1908 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1909             Carlos O'Donell  <carlos@redhat.com>
1911         [Bug #20729]
1912         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1913         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1914         for -Os related change.
1916 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1918         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1920 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1922         [BZ #19673]
1923         * manual/math.texi (Exponents and Logarithms): Correct description
1924         of clog10.
1926 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1928         [Bz #20729]
1929         * locale/weight.h: Include libc-internal.h.
1930         * locale/weightwc.h: Likewise.
1931         * nptl/nptl_dbP.h: Likewise.
1933 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1935         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1936         when it is MACH_PORT_NULL.
1938 2016-10-31  Andreas Schwab  <schwab@suse.de>
1940         [BZ #20707]
1941         * posix/glob.c (glob): Initialize pglob before checking for
1942         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1943         valid brace expression despite GLOB_BRACE.
1944         * posix/globtest.sh: Test it.
1946 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1948         [BZ #20729]
1949         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1950         Define.
1951         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1952         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1953         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1954         for seq2.back_us and seq1.back_us only for -Os compiles.
1955         * locale/weightwc.h (findix): Likewise.
1956         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1957         DB_GET_FIELD_ADDRESS only for -Os compiles.
1958         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1959         for slen only for -Os compiles.
1960         * string/strcoll_l.c (get_next_seq): Ignore
1961         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1962         for -Os compiles.
1964         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1965         * include/crypt.h: New file.
1967 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1969         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1970         from test-skeleton.c.
1971         (statclass): Replace calls to write with calls to write_message.
1973 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1975         * math/math.h
1976         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1977         New macro.
1978         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1979         Likewise.
1980         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1981         Likewise.
1982         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1983         SNANL.
1984         * math/test-double.h (snan_value_MACRO): New macro.
1985         * math/test-float.h (snan_value_MACRO): Likewise.
1986         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1987         * math/libm-test.inc (issignaling_test_data): Add tests of
1988         snan_value_MACRO.
1990 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1992         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1993         behavior when eliding a lock not held by the current thread.
1994         * sysdeps/powerpc/nptl/elide.h: Likewise.
1996 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1998         [BZ #20728]
1999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2000         branch to _exit() by a function call.
2002 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2004         * malloc/malloc.c: Update chunk layout comments.
2005         (chunk_main_arena): Update comment.
2007 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2009         * crypt/sha256.c, crypt/sha256-block.c,
2010         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2011         sha256_process_block to __sha256_process_block.
2012         * crypt/sha512.c, crypt/sha512-block.c,
2013         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2014         sha512_process_block to __sha512_process_block.
2016 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2018         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2020         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2022 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2024         [BZ #20019]
2025         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2026         definition in unrelocated shared library.
2027         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2029 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2031         [BZ #20729]
2032         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2033         * sysdeps/unix/sysv/linux/i386/Makefile
2034         (uses-6-syscall-arguments): Define.
2035         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2036         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2037         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2038         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2039         Likewise.
2040         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2041         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2042         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2043         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2044         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2045         (CFLAGS-fallocate64.os): Likewise.
2046         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2047         (CFLAGS-pthread_rwlock_timedrdlock.os)
2048         (CFLAGS-pthread_rwlock_timedwrlock.o)
2049         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2050         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2051         (CFLAGS-sem_timedwait.os): Likewise.
2053 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2055         * elf/tst-linkall-static.c: New file.
2056         * elf/Makefile (tests-static): Add tst-linkall-static.
2057         (tst-linkall-static): Link against static libraries.
2059 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2061         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2062         mmaped chunks.
2064 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2066         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2067         members to mchunk_prev_size, mchunk_size.
2068         (chunk_main_arena): Reverse sense and rename from
2069         chunk_non_main_arena.
2070         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2071         mchunk_size instead of size.
2072         (set_non_main_arena): Define.
2073         (chunksize): Use chunksize_nomask instead of direct member access.
2074         (chunksize_nomask): Define.
2075         (next_chunk): Use chunksize instead of direct member access.
2076         (prev_size, set_prev_size): Define.
2077         (prev_chunk): Use prev_size instead of direct member access.
2078         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2079         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2080         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2081         (mchunk_prev_size, mchunk_size): Poison tokens.
2082         (unlink): Use chunksize_nomask, prev_size accessors.
2083         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2084         (do_check_free_chunk): Use prev_size accessor.
2085         (sysmalloc): Use set_prev_size, set_head accessors.
2086         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2087         (__libc_free): Use chunksize_nomask accessor.
2088         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2089         chunk_main_arena accessors.
2090         (_int_free): Use chunksize_nomask, prev_size accessors.
2091         (malloc_consolidate): Use chunksize, prev_size accessors.
2092         (_int_realloc): Use chunksize_nomask accessor.
2093         (_int_memalign): Use set_prev_size accessor.
2094         (__malloc_info): Use chunksize_nomask accessor.
2095         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2096         accessors.
2097         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2098         (heap_trim): Use chunksize_nomask, prev_size accessors.
2100 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2102         [BZ #19380]
2103         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2104         for inexact results.
2105         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2106         of inexact result where mpfr_subnormalize is the only inexact
2107         step.
2108         * stdlib/tst-strtod-round-data.h: Regenerated.
2109         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2110         Define to 0.
2111         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2113 2016-10-27  David S. Miller  <davem@davemloft.net>
2115         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2117 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2119         * malloc/malloc.c (do_set_mallopt_check): New function.
2120         (do_set_mmap_threshold): Likewise.
2121         (do_set_mmaps_max): Likewise.
2122         (do_set_top_pad): Likewise.
2123         (do_set_perturb_byte): Likewise.
2124         (do_set_trim_threshold): Likewise.
2125         (do_set_arena_max): Likewise.
2126         (do_set_arena_test): Likewise.
2127         (__libc_mallopt): Use them.
2129 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2131         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2132         (canonicalize): New declaration.
2133         * math/Versions (canonicalize): New libm symbol at version
2134         GLIBC_2.25.
2135         (canonicalizef): Likewise.
2136         (canonicalizel): Likewise.
2137         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2138         * math/s_canonicalize_template.c: New file.
2139         * math/libm-test.inc: Update comment on functions tested and
2140         testing of NaN payloads.
2141         (TEST_NAN_PAYLOAD): New macro.
2142         (NO_TEST_INLINE): Update value.
2143         (XFAIL_TEST): Likewise.
2144         (ERRNO_UNCHANGED): Likewise.
2145         (ERRNO_EDOM): Likewise.
2146         (ERRNO_ERANGE): Likewise.
2147         (IGNORE_RESULT): Likewise.
2148         (NON_FINITE): Likewise.
2149         (TEST_SNAN): Likewise.
2150         (NO_TEST_MATHVEC): Likewise.
2151         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2152         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2153         (struct test_Ffp_b1_data): New type.
2154         (RUN_TEST_Ffp_b1): New macro.
2155         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2156         (canonicalize_test_data): New array.
2157         (canonicalize_test): New function.
2158         (main): Call canonicalize_test.
2159         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2160         canonicalizef and canonicalizel.
2161         * manual/libm-err-tab.pl: Update comment on interfaces without
2162         ulps tabulated.
2163         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2164         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2165         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2166         canonicalize.
2167         (CFLAGS-nldbl-canonicalize.c): New variable.
2168         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2169         to ...
2170         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2171         ... here.
2172         (do_test): Also test canonicalizel.
2173         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2174         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2175         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2176         file.
2177         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2178         Use libm_hidden_def.
2179         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2180         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2181         (do_test): Also test canonicalizel.
2182         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2183         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2184         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2185         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2186         libm_hidden_def.
2187         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2188         macro.
2189         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2190         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2191         * sysdeps/nacl/libm.abilist: Update.
2192         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2193         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2194         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2205         Likewise.
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2207         Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2209         Likewise.
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2211         Likewise.
2212         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2214         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2225         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2226         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2227         getpayload.
2228         (CFLAGS-nldbl-getpayload.c): New variable.
2230 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2232         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2233         integer from the format string.
2235 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2237         [BZ #19473]
2238         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2239         declarations.
2240         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2241         weak aliases.
2242         * malloc/hooks.c (__malloc_get_state): Remove definition.
2243         (malloc_get_state): New stub implementation as
2244         compatibility symbol.
2245         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2246         compat symbol.
2247         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2248         malloc_set_state.
2249         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2251 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2253         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2254         (names): Turn into concatenation of strings.
2255         (gconv_init): Adapt iteration over names.
2257 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2259         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2260         make const.
2261         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2262         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2263         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2264         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2265         character in sbconv.
2266         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2267         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2268         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2270 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2272         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2274         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2275         (M_TRIM_THRESHOLD): Likewise.
2277         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2278         (M_ARENA_MAX): Likewise.
2279         * malloc/malloc.c: Remove obsolete comment.
2281         * manual/memory.texi: Add environment variable alternatives to
2282         setting mallopt parameters.
2284 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2286         * include/atomic.h
2287         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2288         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2290 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2292         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2293         * stdlib/tst-strfrom.h: New file.
2294         * stdlib/tst-strfrom.c: New file.
2295         * stdlib/tst-strfrom-locale.c: New file.
2297         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2298         * stdlib/bug-strtod2.c: Likewise.
2299         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2300         * stdlib/tst-strtod6.c: Likewise.
2301         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2303 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2305         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2306         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2307         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2308         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2309         * stdlib/stdlib.h (strfromd): New declaration.
2310         (strfromf): Likewise.
2311         (strfroml): Likewise.
2312         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2313         strfrom.
2314         * stdlib/strfromd.c: New file.
2315         * stdlib/strfromf.c: Likewise.
2316         * stdlib/strfroml.c: Likewise.
2317         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2318         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2319         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2320         * sysdeps/arm/nacl/libc.abilist: Update.
2321         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2322         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2323         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2324         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2327         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2328         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2342         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2350 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2352         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2353         instead of cmpli.
2354         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2355         instead of cmpli.
2357 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2359         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2360         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2361         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2362         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2363         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2364         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2366 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2368         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2369         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2370         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2371         SYSCALL_LL64_PRW.
2372         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2373         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2374         __ASSUME_PRW_DUMMY_ARG.
2375         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2376         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2377         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2378         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2379         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2380         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2382 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2384         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2386 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2388         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2389         "C++", to override a potential extern "C" directive around the
2390         header file inclusion.
2392 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2394         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2396 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2398         * sysdeps/powerpc/fpu/fenv_private.h:
2399         (_FPU_MASK_ALL): Rename to...
2400         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2401         XE FPSCR bits.
2403         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2405         (_FPU_MASK_ROUNDING): Rename to...
2406         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2407         NI bits.
2409         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2410         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2411         bits and rounding bits.
2413         (__libc_feholdbits_ppc): New inline function to mask, set,
2414         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2415         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2416         (libc_feholdexcept_setround_ppc): Likewise.
2418         (__libc_femergeenv_ppc): New function to dynamically mask both
2419         old and new FP environments and merge.
2420         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2421         (libc_feresetround_ppc): Likewise.
2422         (libc_feupdateenv_test_ppc): Likewise.
2423         (libc_feupdateenv_ppc): Likewise.
2425         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2426         of ISA RN bits, and update macro names.
2427         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2428         effectively the same as the previously mentioned function.
2430         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2431         usage with fe_resetround_ppc.
2433         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2434         to be used.
2435         (libc_feholdexcept_setround_ctxf): Likewise.
2436         (libc_feholdexcept_setround_ctxl): Likewise.
2438 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2440         [BZ #20715]
2441         * math/math.h [__cplusplus] (iszero): Define as function template.
2442         * math/Makefile [CXX] (tests): Add test-math-iszero.
2443         (CFLAGS-test-math-iszero.cc): Set.
2444         * math/test-math-iszero.cc: New file.
2446 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2448         [BZ #20660]
2449         * sysdeps/arm/e_sqrt.c: New file.
2450         * sysdeps/arm/e_sqrtf.c: Likewise.
2452 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2454         [BZ #20718]
2455         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2456         not use floating-point comparisons to test sign.
2457         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2458         Likewise.
2460         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2461         (getpayload): New declaration.
2462         * math/Versions (getpayload): New libm symbol at version
2463         GLIBC_2.25.
2464         (getpayloadf): Likewise.
2465         (getpayloadl): Likewise.
2466         * math/Makefile (libm-calls): Add s_getpayloadF.
2467         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2468         (struct test_f_f_data): Add comment.
2469         (RUN_TEST_fp_f): New macro.
2470         (RUN_TEST_LOOP_fp_f): Likewise.
2471         (getpayload_test_data): New array.
2472         (getpayload_test): New function.
2473         (main): Call getpayload_test.
2474         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2475         descriptor.
2476         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2477         getpayloadf and getpayloadl.
2478         * manual/libm-err-tab.pl: Update comment on interfaces without
2479         ulps tabulated.
2480         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2481         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2482         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2483         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2484         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2485         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2486         * sysdeps/nacl/libm.abilist: Update.
2487         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2488         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2489         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2490         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2491         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2492         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2493         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2494         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2500         Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2506         Likewise.
2507         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2509         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2510         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2511         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2513         Likewise.
2514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2515         Likewise.
2516         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2517         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2518         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2520 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2522         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2523         tst-fallocate{64}.
2524         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2525         on syscall return.
2527 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2529         [BZ #20689]
2530         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2531         usable.
2533 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2535         * sysdeps/generic/nan-high-order-bit.h: New file.
2536         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2537         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2538         * sysdeps/hppa/math_private.h: Remove file.
2539         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2540         not define here.
2541         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2542         <nan-high-order-bit.h>.
2543         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2544         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2545         <nan-high-order-bit.h>.
2546         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2547         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2548         <nan-high-order-bit.h>.
2549         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2550         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2551         <nan-high-order-bit.h>.
2552         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2553         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2554         <nan-high-order-bit.h>.
2555         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2556         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2557         <nan-high-order-bit.h>.
2558         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2559         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2560         <nan-high-order-bit.h>.
2561         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2562         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2563         <nan-high-order-bit.h>.
2564         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2565         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2566         <nan-high-order-bit.h>.
2567         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2568         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2569         <nan-high-order-bit.h>.
2570         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2571         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2572         <nan-high-order-bit.h>.
2573         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2574         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2575         <nan-high-order-bit.h>.
2576         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2577         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2578         <nan-high-order-bit.h>.
2579         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2580         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2581         <nan-high-order-bit.h>.
2582         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2583         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2584         <nan-high-order-bit.h>.
2585         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2586         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2587         <nan-high-order-bit.h>.
2588         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2589         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2590         <nan-high-order-bit.h>.
2591         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2592         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2593         <nan-high-order-bit.h>.
2594         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2596 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2598         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2600 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2602         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2603         abort-instr.h.
2604         (EFAULT): Remove conditional define.
2605         (ENOSYS): Likewise.
2606         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2607         instead of conditional branch instructions.
2609 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2611         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2612         (totalordermag): New declaration.
2613         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2614         New macro.
2615         * math/Versions (totalordermag): New libm symbol at version
2616         GLIBC_2.25.
2617         (totalordermagf): Likewise.
2618         (totalordermagl): Likewise.
2619         * math/Makefile (libm-calls): Add s_totalordermagF.
2620         * math/libm-test.inc (totalordermag_test_data): New array.
2621         (totalordermag_test): New function.
2622         (main): Call totalordermag_test.
2623         * math/test-tgmath.c (NCALLS): Increase to 125.
2624         (F(compile_test)): Call totalordermag.
2625         (F(totalordermag)): New function.
2626         * manual/arith.texi (FP Comparison Functions): Document
2627         totalordermag, totalordermagf and totalordermagl.
2628         * manual/libm-err-tab.pl: Update comment on interfaces without
2629         ulps tabulated.
2630         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2631         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2632         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2633         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2634         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2635         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2636         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2637         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2638         totalordermag.
2639         (CFLAGS-nldbl-totalordermag.c): New variable.
2640         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2641         (do_test): Also test totalordermagl.
2642         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2643         Likewise.
2644         * sysdeps/nacl/libm.abilist: Update.
2645         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2649         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2650         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2651         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2654         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2655         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2656         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2658         Likewise.
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2660         Likewise.
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2662         Likewise.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2664         Likewise.
2665         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2666         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2667         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2668         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2671         Likewise.
2672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2673         Likewise.
2674         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2678 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2680         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2681         boolean.
2683 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2685         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2686         raising FE_INVALID with feraisexcept in case where part of
2687         argument is infinite, subtract that part of argument from itself.
2688         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2689         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2690         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2692 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2694         * math/libm-test.inc (totalorder_test_data): Add more tests.
2696 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2698         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2699         Undefine weak_alias and add a comment why mips64 require
2700         versioning.
2702 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2704         [BZ #20647]
2705         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2706         maximum CPUID level is less than 2.
2708 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2710         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2711         (totalorder): New declaration.
2712         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2713         New macro.
2714         * math/Versions (totalorder): New libm symbol at version
2715         GLIBC_2.25.
2716         (totalorderf): Likewise.
2717         (totalorderl): Likewise.
2718         * math/Makefile (libm-calls): Add s_totalorderF.
2719         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2720         string.
2721         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2722         (qnan_value_pl): Likewise.
2723         (snan_value_pl): Likewise.
2724         (qnan_value): Define using qnan_value_pl.
2725         (snan_value): Define using snan_value_pl.
2726         (struct test_ff_i_data): Add comment about which tests use this
2727         structure.
2728         (RUN_TEST_ff_b): New macro.
2729         (RUN_TEST_LOOP_ff_b): Likewise.
2730         (totalorder_test_data): New array.
2731         (totalorder_test): New function.
2732         (main): Call totalorder_test.
2733         * math/test-tgmath.c (NCALLS): Increase to 122.
2734         (F(compile_test)): Call totalorder.
2735         (F(totalorder)): New function.
2736         * manual/arith.texi (FP Comparison Functions): Document
2737         totalorder, totalorderf and totalorderl.
2738         * manual/libm-err-tab.pl: Update comment on interfaces without
2739         ulps tabulated.
2740         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2741         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2742         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2743         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2744         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2745         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2746         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2747         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2748         totalorder.
2749         (CFLAGS-nldbl-totalorder.c): New variable.
2750         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2751         file.
2752         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2753         Add test-totalorderl-ldbl-128ibm.
2754         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2755         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2756         test-totalorderl-ldbl-96.
2757         * sysdeps/nacl/libm.abilist: Update.
2758         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2759         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2760         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2763         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2764         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2765         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2769         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2771         Likewise.
2772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2773         Likewise.
2774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2775         Likewise.
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2777         Likewise.
2778         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2779         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2780         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2781         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2782         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2784         Likewise.
2785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2786         Likewise.
2787         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2788         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2789         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2791 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2793         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2794         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2795         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2796         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2797         remove ENOSYS implementation.
2798         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2799         Consolidate all Linux implementations.
2801 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2803         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2804         * resolv/herror.c (herror): Cast away const-ness.
2805         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2806         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2808 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2810         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2811         instead of M_NAN + M_NAN.
2812         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2814 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2816         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2817         unused variable 'p'.
2819 2016-10-09  Alan Modra  <amodra@gmail.com>
2820             Andreas Schwab  <schwab@linux-m68k.org>
2822         [BZ #20554]
2823         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2824         [PIC && !SHARED]: Set up PIC register for PLT call.
2826 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2828         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2829         conditional on value of [__FLT_EVAL_METHOD__].
2830         * math/test-iseqsig-excess-precision.c: New file.
2831         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2833 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2835         * math/s_iseqsig_template.c: Include math-private.h.
2837         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2838         * posix/tst-posix_fadvise.c: New file.
2839         * posix/tst-posix_fadvise64.c: Likewise.
2840         * posix/tst-posix_fadvise-common.c: Likewise.
2841         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2842         (__ASSUME_FADVISE64_64_6ARG): Define.
2843         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2844         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2845         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2846         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2847         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2848         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2849         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2850         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2851         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2852         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2853         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2854         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2857         Likewise.
2858         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2859         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2860         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2861         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2862         Alias to __posix_fadvise64_l32.
2863         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2864         Add compat definition to posix_fadvise64.
2865         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2866         Add versioned definition to posix_fadvise64.
2867         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2868         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2869         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2870         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2871         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2873         * io/Makefile (tests): Add tst-posix_fallocate and
2874         tst-posix_fallocate64.
2875         * io/tst-posix_fallocate-common.c: New file.
2876         * io/tst-posix_fallocate.c: Likewise.
2877         * io/tst-posix_fallocate64.c: Likewise.
2878         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2879         file.
2880         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2881         Likewise.
2882         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2883         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2886         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2887         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2888         SYSCALL_LL to pass both offset and len arguments.
2889         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2890         Likewise.
2891         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2892         __libc_pwrite64 alias used by posix_fallocate64.
2894         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2895         tst-fallocate64.
2896         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2897         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2898         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2899         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2900         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2901         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2902         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2903         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2904         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2905         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2906         macro on offset argument.
2907         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2908         SYSCALL_LL64 on offset argument.
2910         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2911         tst-fallocate64.
2912         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2913         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2914         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2915         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2916         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2917         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2918         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2919         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2920         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2921         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2922         macro on offset argument.
2923         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2924         SYSCALL_LL64 on offset argument.
2925         * test-skeleton.c (FAIL_RET): Add macro.
2926         (FAIL_EXIT): Likewise.
2927         (FAIL_EXIT1): Likewise.
2928         (_FAIL): Likewise.
2930 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2932         [BZ #20629]
2933         resolv: Remove RES_USEBSTRING and its implementation.
2934         * resolv/resolv.h (RES_USEBSTRING): Remove.
2935         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2936         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2937         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2938         (labellen): Remove extended label types support.
2939         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2940         * resolv/res_init.c (res_setoptions): Likewise.
2941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2943 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2945         resolv: Remove RES_NOIP6DOTINT and its implementation.
2946         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2947         (RES_NOIP6DOTINT): Remove.
2948         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2949         handling.
2950         * resolv/res_debug.c (p_option): Likewise.
2951         * resolv/res_init.c (res_setoptions): Likewise.
2952         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2954 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2956         resolv: Deprecate unimplemented flags.
2957         * misc/sys/cdefs.h (__glibc_macro_warning1)
2958         (__glibc_macro_warning): Define.
2959         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2960         (RES_KEEPTSIG): Mark as deprecated.
2961         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2962         RES_NOCHECKNAME, RES_KEEPTSIG.
2963         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2965 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2967         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2968         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2969         Use strong_alias to create symbols for glibc verison 2.19.
2971 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2973         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2975 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2977         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2979 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2981         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2983 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2986         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2987         in header for using it as type for ifunc function because __GI_* symbols
2988         for ppc32 do not target the ifunc symbols.
2989         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2991 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2993         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2994         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2995         libc_ifunc_hidden_def.
2996         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2997         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2998         Redirect ifunced function in header for using it as type of ifunc'ed
2999         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3000         function for __GI_* symbol.
3001         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3002         * include/libc-symbols.h
3003         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3005 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007         [BZ #20478]
3008         * sysdeps/s390/multiarch/ifunc-resolve.h
3009         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3010         to create ifunc symbols.
3011         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3012         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3013         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3014         for using it as type for ifunc function.
3015         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3016         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3017         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3018         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3019         * sysdeps/s390/multiarch/strcat.c: Likewise.
3020         * sysdeps/s390/multiarch/strchr.c: Likewise.
3021         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3022         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3023         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3024         * sysdeps/s390/multiarch/strlen.c: Likewise.
3025         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3026         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3027         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3028         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3029         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3030         * sysdeps/s390/multiarch/strspn.c: Likewise.
3031         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3032         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3033         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3034         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3035         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3036         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3037         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3038         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3039         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3040         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3041         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3042         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3044 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3046         * include/libc-symbols.h (__ifunc_resolver):
3047         New macro is used by __ifunc* macros.
3048         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3049         depending on HAVE_GCC_IFUNC.
3050         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3051         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3053         Redirect ifunced function in header for using as type for ifunc function.
3054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3060         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3061         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3062         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3064         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3065         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3066         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3067         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3073         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3074         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3075         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3076         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3077         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3078         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3079         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3080         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3081         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3082         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3083         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3084         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3085         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3086         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3088         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3089         instead of libc_ifunc() macro.
3090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3091         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3093 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3095         * config.h.in (HAVE_GCC_IFUNC): New undef.
3096         * configure.ac: Add check if gcc supports attribute ifunc feature.
3097         * configure: Regenerated.
3098         * manual/install.texi: Add recommendation for gcc with
3099         indirect-function support.
3100         * INSTALL: Regenerated.
3102 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3104         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3105         macro.
3106         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3107         (__iseqsig): New declaration.
3108         * math/s_iseqsig_template.c: New file.
3109         * math/Versions (__iseqsigf): New libm symbol at version
3110         GLIBC_2.25.
3111         (__iseqsig): Likewise.
3112         (__iseqsigl): Likewise.
3113         * math/libm-test.inc (iseqsig_test_data): New array.
3114         (iseqsig_test): New function.
3115         (main): Call iseqsig_test.
3116         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3117         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3118         * manual/libm-err-tab.pl: Update comment on interfaces without
3119         ulps tabulated.
3120         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3121         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3122         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3123         * sysdeps/nacl/libm.abilist: Update.
3124         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3125         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3126         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3127         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3128         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3129         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3130         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3131         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3132         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3133         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3134         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3135         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3137         Likewise.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3139         Likewise.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3141         Likewise.
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3143         Likewise.
3144         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3150         Likewise.
3151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3152         Likewise.
3153         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3157 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3159         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3160         do_sincos_2, sloww, sloww1): Update comments.
3162         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3163         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3165         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3166         K boolean and rename it.
3167         (__sin): Adjust.
3168         (__cos): Adjust.
3170 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3171             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3173         * manual/nss.texi: Fix typos in the manual.
3175 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3177         * manual/contrib.texi: Fix typos in the manual.
3179         * manual/maint.texi: Fix typos in the manual.
3181         * manual/install.texi: Fix typos in the manual.
3182         * INSTALL: Regenerated.
3184         * manual/lang.texi: Fix typos in the manual.
3186         * manual/probes.texi: Fix typos in the manual.
3188         * manual/threads.texi: Fix typos in the manual.
3190         * manual/debug.texi: Fix typos in the manual.
3192         * manual/crypt.texi: Fix typos in the manual.
3194         * manual/conf.texi: Fix typos in the manual.
3196         * manual/sysinfo.texi: Fix typos in the manual.
3198         * manual/users.texi: Fix typos in the manual.
3200         * manual/job.texi: Fix typos in the manual.
3202         * manual/process.texi: Fix typos in the manual.
3204         * manual/argp.texi: Fix typos in the manual.
3205         * manual/getopt.texi: Likewise.
3206         * manual/startup.texi: Likewise.
3208         * manual/signal.texi: Fix typos in the manual.
3210         * manual/setjmp.texi: Fix typos in the manual.
3212         * manual/resource.texi: Fix typos in the manual.
3214         * manual/time.texi: Fix typos in the manual.
3216         * manual/arith.texi: Fix typos in the manual.
3218         * manual/math.texi: Fix typos in the manual.
3220         * manual/syslog.texi: Fix typos in the manual.
3222         * manual/terminal.texi: Fix typos in the manual.
3224         * manual/socket.texi: Fix typos in the manual.
3226         * manual/filesys.texi: Fix typos in the manual.
3228         * manual/llio.texi: Fix typos in the manual.
3230         * manual/stdio.text: Fix typos in the manual.
3232 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3234         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3235         instead of K1.
3237         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3238         SHIFT_QUADRANT and make it bool.
3239         (do_sincos_2): Likewise.
3240         (sloww): Likewise.
3241         (sloww1): Likewise.
3242         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3243         (__cos): Likewise.
3245 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3247         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3249 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3251         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3252         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3253         0x7fffffffL].
3254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3256 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3258         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3259         inline by __inline__.
3260         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3261         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3262         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3263         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3264         sigset_t from signal.h.
3265         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3266         which is already required.
3268 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3270         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3272 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3274         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3275         (struct tcp_repair_window): New type.
3277 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3279         * libio/tst-memstream3.c: Include string.h.
3281 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3283         [BZ #18241]
3284         [BZ #20181]
3285         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3286         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3287         write position is at the end the buffer.
3288         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3289         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3290         (_IO_str_seekoff): Set correct offset from negative displacement and
3291         set EINVAL for invalid ones.
3292         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3293         buffer length.
3294         (_IO_wstr_switch_to_get_mode): New function.
3295         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3296         set EINVAL for invalid ones.
3297         * libio/tst-memstream3.c: New file.
3298         * libio/tst-wmemstream3.c: Likewise.
3299         * manual/examples/memstrm.c: Remove warning when priting size_t.
3301 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3303         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3304         macro to use __builtin_fma.
3305         * sysdeps/x86_64/fpu/dla.h: Remove file.
3307         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3308         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3309         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3311 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3313         [BZ #20292]
3314         * elf/Makefile (routines): Add dl-addr-obj.
3315         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3316         tst-_dl_addr_inside_object.
3317         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3318         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3319         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3320         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3321         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3322         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3323         * elf/dl-open.c: Likewise.
3324         * elf/dl-addr-obj.c: New file.
3325         * elf/tst-_dl_addr_inside_object.c: New file.
3327 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3329         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3330         <bits/iscanonical.h>.
3331         * bits/iscanonical.h: New file.
3332         * math/s_iscanonicall.c: Likewise.
3333         * math/Versions (__iscanonicall): New libm symbol at version
3334         GLIBC_2.25.
3335         * math/libm-test.inc (iscanonical_test_data): New array.
3336         (iscanonical_test): New function.
3337         (main): Call iscanonical_test.
3338         * math/Makefile (headers): Add bits/iscanonical.h.
3339         (type-ldouble-routines): Add s_iscanonicall.
3340         * manual/arith.texi (Floating Point Classes): Document
3341         iscanonical.
3342         * manual/libm-err-tab.pl: Update comment on interfaces without
3343         ulps tabulated.
3344         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3345         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3346         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3347         Likewise.
3348         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3349         test-iscanonical-ldbl-128ibm.
3350         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3351         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3352         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3353         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3354         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3355         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3358         Likewise.
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3360         Likewise.
3361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3362         Likewise.
3363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3364         Likewise.
3365         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3366         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3368 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3370         * string/bits/string3.h: Remove C++ style comments.
3372 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3374         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3375         instead of ternary condition.
3376         (do_sincos_2): Likewise.
3377         (__sin): Likewise.
3378         (__cos): Likewise.
3379         (slow): Likewise.
3380         (sloww): Likewise.
3381         (sloww1): Likewise.
3382         (bsloww): Likewise.
3383         (bsloww1): Likewise.
3385         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3386         instead of ternary condition.
3387         (do_sin_slow): Likewise.
3388         (do_sincos_1): Likewise.
3389         (do_sincos_2): Likewise.
3390         (__cos): Likewise.
3391         (sloww): Likewise.
3392         (sloww1): Likewise.
3393         (sloww2): Likewise.
3394         (bsloww): Likewise.
3395         (bsloww1): Likewise.
3396         (bsloww2): Likewise.
3398         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3399         check from here...
3400         (slow2): ... and here...
3401         (__sin): ... to here.
3403 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3405         * math/math.h
3406         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3407         Cast argument to its own type.
3408         * math/test-iszero-excess-precision.c: New file.
3409         * math/Makefile (tests): Add test-iszero-excess-precision.
3410         (CFLAGS-test-iszero-excess-precision.c): New variable.
3412 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3414         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3415         field, add err field.
3416         (__spawni_child): Report error through err member instead of pipe.
3417         (__spawnix): Likewise.
3419 2016-09-28  Zack Weinberg  <zackw@panix.com>
3421         * scripts/check-installed-headers.sh: Generalize treatment of
3422         sys/elf.h to all target architectures.
3424         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3425         deleted typedef ucontext_t.
3427 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3429         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3430         (__INTERNAL_SYSCALL1): Likewise.
3431         (__INTERNAL_SYSCALL2): Likewise.
3432         (__INTERNAL_SYSCALL3): Likewise.
3433         (__INTERNAL_SYSCALL4): Likewise.
3434         (__INTERNAL_SYSCALL5): Likewise.
3435         (__INTERNAL_SYSCALL6): Likewise.
3436         (__INTERNAL_SYSCALL7): Likewise.
3437         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3438         (__INTERNAL_SYSCALL_NARGS): Likewise.
3439         (__INTERNAL_SYSCALL_DISP): Likewise.
3440         (INTERNAL_SYSCALL_CALL): Likewise.
3441         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3442         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3443         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3444         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3445         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3446         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3447         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3448         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3449         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3450         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3451         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3452         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3453         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3455 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3457         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3458         macro.
3459         * math/libm-test.inc (iszero_test_data): New array.
3460         (iszero_test): New function.
3461         (main): Call iszero_test.
3462         * manual/arith.texi (Floating Point Classes): Document iszero.
3463         * manual/libm-err-tab.pl: Update comment on interfaces without
3464         ulps tabulated.
3466 2016-09-23  Zack Weinberg  <zackw@panix.com>
3468         * scripts/check-installed-headers.sh: New script.
3469         * Rules: In each directory that defines header files to be installed,
3470         run check-installed-headers.sh on them as a special test.
3471         * Makefile: Likewise for the headers installed at top level.
3473         * include/aliases.h, include/alloca.h, include/argz.h
3474         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3475         * include/elf.h, include/envz.h, include/err.h
3476         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3477         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3478         * include/link.h, include/malloc.h, include/mcheck.h
3479         * include/mntent.h, include/netinet/ether.h
3480         * include/nss.h, include/obstack.h, include/printf.h
3481         * include/pty.h, include/resolv.h, include/rpc/auth.h
3482         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3483         * include/rpc/clnt.h, include/rpc/des_crypt.h
3484         * include/rpc/key_prot.h, include/rpc/netdb.h
3485         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3486         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3487         * include/rpc/rpc_msg.h, include/rpc/svc.h
3488         * include/rpc/svc_auth.h, include/rpc/xdr.h
3489         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3490         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3491         * include/rpcsvc/ypupd.h, include/shadow.h
3492         * include/stdio_ext.h, include/sys/epoll.h
3493         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3494         * include/sys/prctl.h, include/sys/profil.h
3495         * include/sys/statfs.h, include/sys/sysctl.h
3496         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3497         * sysdeps/arm/nacl/include/bits/setjmp.h
3498         * sysdeps/mips/include/sys/asm.h
3499         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3500         * sysdeps/unix/sysv/linux/include/sys/timex.h
3501         * sysdeps/x86/fpu/include/bits/fenv.h:
3502         Add #ifndef _ISOMAC guard around internal declarations.
3503         Add multiple-inclusion guard if not already present.
3505 2016-09-23  Zack Weinberg  <zackw@panix.com>
3507         * sysdeps/generic/sys/ucontext.h
3508         * sysdeps/arm/sys/ucontext.h
3509         * sysdeps/i386/sys/ucontext.h
3510         * sysdeps/m68k/sys/ucontext.h
3511         * sysdeps/mips/sys/ucontext.h
3512         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3513         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3514         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3515         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3516         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3517         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3518         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3519         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3520         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3521         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3522         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3523         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3524         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3525         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3526         Include both bits/sigcontext.h and bits/sigstack.h.
3527         Fix grammar error in comment, if present.
3529         * bits/sigstack.h
3530         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3531         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3532         * sysdeps/unix/sysv/linux/bits/sigstack.h
3533         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3534         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3535         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3536         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3537         * bits/sigcontext.h
3538         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3539         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3540         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3541         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3542         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3543         as well as signal.h, if this was not already allowed.  Request
3544         definition of size_t if necessary.  Minimize semantically-null
3545         differences across files.
3547 2016-09-23  Zack Weinberg  <zackw@panix.com>
3549         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3550         Remove all logic conditional on __need macros.  Move all the
3551         conditionally defined types to their own headers...
3552         * time/bits/types/clock_t.h: Define clock_t here.
3553         * time/bits/types/clockid_t.h: Define clockid_t here.
3554         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3555         * time/bits/types/struct_timespec.h: Define struct timespec here.
3556         * time/bits/types/struct_timeval.h: Define struct timeval here.
3557         * time/bits/types/struct_tm.h: Define struct tm here.
3558         * time/bits/types/time_t.h: Define time_t here.
3559         * time/bits/types/timer_t.h: Define timer_t here.
3560         * time/Makefile: Install the new headers.
3562         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3563         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3564         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3565         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3566         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3567         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3568         * sysdeps/unix/sysv/linux/bits/resource.h
3569         * sysdeps/unix/sysv/linux/bits/timex.h
3570         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3571         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3572         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3573         * sysdeps/unix/sysv/linux/sys/acct.h
3574         * sysdeps/unix/sysv/linux/sys/timerfd.h
3575         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3576         * time/sys/time.h, time/sys/timeb.h
3577         Use the new bits/types headers.
3579         * include/time.h: Remove __need logic.
3580         * include/bits/time.h
3581         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3582         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3583         * include/bits/types/struct_itimerspec.h
3584         * include/bits/types/struct_timespec.h
3585         * include/bits/types/struct_timeval.h
3586         * include/bits/types/struct_tm.h:
3587         New wrapper headers.
3589 2016-09-23  Zack Weinberg  <zackw@panix.com>
3591         * sysdeps/mach/hurd/net/if_ppp.h
3592         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3593         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3594         if __USE_MISC is defined, to ensure struct ifreq is declared.
3596         * inet/netinet/ether.h: Condition all function prototypes
3597         on __USE_MISC, to ensure struct ether_addr is declared.
3599         * socket/bits/types/struct_osockaddr.h: New header.
3600         * include/bits/types/struct_osockaddr.h: New wrapper.
3601         * socket/Makefile: Install the new header.
3602         * socket/sys/socket.h, inet/protocols/talkd.h:
3603         Refer to bits/types/struct_osockaddr.h for the definition of
3604         struct osockaddr.
3606 2016-09-23  Zack Weinberg  <zackw@panix.com>
3608         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3609         * inet/protocols/routed.h, inet/protocols/talkd.h
3610         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3611         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3612         * sysdeps/generic/netinet/if_ether.h
3613         * sysdeps/generic/netinet/in_systm.h
3614         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3615         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3616         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3617         * sysdeps/mach/hurd/net/if_arp.h
3618         * sysdeps/mach/hurd/net/if_ppp.h
3619         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3620         * sysdeps/unix/sysv/linux/bits/in.h
3621         * sysdeps/unix/sysv/linux/net/ethernet.h
3622         * sysdeps/unix/sysv/linux/net/if_arp.h
3623         * sysdeps/unix/sysv/linux/net/if_ppp.h
3624         * sysdeps/unix/sysv/linux/net/if_shaper.h
3625         * sysdeps/unix/sysv/linux/net/route.h
3626         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3627         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3628         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3629         * sysdeps/unix/sysv/linux/netipx/ipx.h
3630         * sysdeps/unix/sysv/linux/sys/acct.h
3631         * include/arpa/nameser.h, include/resolv.h:
3632         Change all uses of u_char to unsigned char,
3633         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3634         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3635         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3636         and u_int64_t and u_quad_t to uint64_t.
3638         * mach/sys/reboot.h: Remove two casts of integer literals
3639         to the types they already have.
3641         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3642         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3643         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3644         from referring to 'unsigned char' to 'uint8_t' for consistency with
3645         the macro definition below.
3647         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3648         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3649         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3650         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3651         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3652         * sysdeps/unix/sysv/linux/sys/acct.h
3653         * include/arpa/nameser.h, include/resolv.h:
3654         Fix indentation disrupted by mechanical edits.
3656         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3657         * sysdeps/generic/netinet/in_systm.h
3658         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3659         * sysdeps/gnu/netinet/udp.h
3660         * sysdeps/unix/sysv/linux/net/ethernet.h
3661         * sysdeps/unix/sysv/linux/net/if_arp.h
3662         * sysdeps/unix/sysv/linux/net/if_ppp.h
3663         * sysdeps/unix/sysv/linux/net/if_shaper.h
3664         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3665         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3666         * sysdeps/unix/sysv/linux/netipx/ipx.h
3667         * sysdeps/unix/sysv/linux/sys/acct.h
3668         Include stdint.h for uintNN_t definitions.
3669         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3671 2016-09-23  Zack Weinberg  <zackw@panix.com>
3673         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3674         * sysdeps/unix/sysv/linux/netrose/rose.h:
3675         Include sys/socket.h and netax25/ax25.h.
3677         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3678         * resolv/arpa/nameser_compat.h:
3679         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3681         * sysdeps/unix/sysv/linux/sys/quota.h:
3682         Use __caddr_t instead of caddr_t.
3683         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3684         Use __clockid_t instead of clockid_t.
3686         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3688         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3689         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3690         expanding it.
3692         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3693         Define __glibc_c99_flexarr_available to 1 when the compiler
3694         supports C99-compatible flexible array members, 0 otherwise.
3695         * sysdeps/unix/sysv/linux/bits/socket.h
3696         * sysdeps/mach/hurd/bits/socket.h
3697         * bits/socket.h: Use __glibc_c99_flexarr_available in
3698         definitions of struct cmsghdr and CMSG_DATA.
3700 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3702         * manual/nss.texi (NSS Modules Interface): Adjust function return
3703         type to enum nss_status.  Document errnop argument.  Clarify
3704         h_errnop semantics.  Fix cross-reference formatting.
3705         (NSS Module Function Internals): Mention that *errnop needs to be
3706         set on failure, but not to zero.
3708 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3710         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3711         (get_random_name): New functions.
3712         (check_wrapper_flags_mode): Use linkat to give the new file a name
3713         determined by get_random_name.
3714         (do_test): Add calls to test open64 and openat64.
3716 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3718         * test-skeleton.c: Remove #include <stdarg.h>.
3720 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3722         [BZ #19826]
3723         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3724         initialization of static TLS entries.
3725         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3726         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3728 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3730         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3731         _hurd_malloc_fork_prepare.
3732         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3733         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3734         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3735         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3736         (_hurd_fork_child_hook): Drop malloc_fork_child.
3737         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3738         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3739         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3740         after locking locks (notably hurd_dtable_lock). Call
3741         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3742         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3743         __malloc_fork_unlock_child.
3744         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3746 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3748         * soft-fp/extendhftf2.c: New.
3749         * soft-fp/fixhfti.c: Likewise.
3750         * soft-fp/fixunshfti.c: Likewise.
3751         * soft-fp/floattihf.c: Likewise.
3752         * soft-fp/floatuntihf.c: Likewise.
3753         * soft-fp/half.h: Likewise.
3754         * soft-fp/trunctfhf2.c: Likewise.
3756 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3758         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3759         macro.
3760         * math/libm-test.inc (issubnormal_test_data): New array.
3761         (issubnormal_test): New function.
3762         * manual/arith.texi (Floating Point Classes): Document
3763         issubnormal.
3764         * manual/libm-err-tab.pl: Update comment on interfaces without
3765         ulps tabulated.
3767         * sysdeps/generic/stdint.h: Define
3768         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3769         <bits/libc-header-start.h> instead of including <features.h>.
3770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3772         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3773         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3775         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3803         * manual/arith.texi (Integers): Document these macros for types
3804         specified by width properties.
3805         * manual/lang.texi (Width of Type): Document these macros for
3806         other standard typedefs.
3807         * stdlib/tst-width-stdint.c: New file.
3808         * stdlib/Makefile (tests): Add tst-width-stdint.
3810 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3812         [BZ #20016]
3813         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3814         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3815         Move ...
3816         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3817         ... here, as compatibility symbols in a new file.
3818         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3819         * resolv/res_init.c (__res_vinit): Adjust member names.
3820         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3821         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3822         (res_send_rhook): Remove.
3823         (struct __res_state): Rename qhook, rhook members.
3825 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3827         malloc: Use __libc_lock wrappers.
3828         * malloc/arena.c (list_lock, free_list_lock): Define using
3829         __libc_lock_define_initialized.
3830         (arena_lock): Adjust formatting.
3831         * malloc/malloc.c (struct malloc_state): Define mutex using
3832         __libc_lock_define.
3833         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3834         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3835         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3836         (mutex_unlock, mutex_trylock): Remove.
3837         (__pthread_initialize): Remove unused macro.
3838         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3839         (mutex_unlock, mutex_trylock): Remove.
3841 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3843         [BZ #20592]
3844         Remove RR type classification macros.
3845         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3846         (ns_t_udp_p, ns_t_xfr_p): Remove.
3848 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3850         Remove misleading version information.
3851         * resolv/arpa/nameser.h (__NAMESER): Remove.
3852         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3854 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3856         Remove the always-defined BIND_4_COMPAT macro.
3857         * resolv/arpa/nameser.h: Unconditionally include
3858         <arpa/nameser_compat.h>.
3859         (BIND_4_COMPAT): Remove.
3860         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3862 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3864         [BZ #20591]
3865         Remove obsolete DNSSEC support.
3866         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3867         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3868         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3869         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3870         (ns_cert_types): Add comment.
3871         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3872         separately.
3873         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3874         (dst_s_dns_key_id): Remove.
3875         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3876         variables.
3878 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3880         [BZ #20524]
3881         * manual/string.texi (String/Array Comparison): Clarify the
3882         strverscmp behavior.
3884 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3886         * test-skeleton.c (xasprintf): Add function.
3887         * io/tst-open-tmpfile.c: New test.
3888         * io/Makefile (tests): Add it.
3890 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3892         Avoid running $(CXX) during build to obtain header file paths.
3893         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3894         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3895         * Makerules (cstdlib, cmath): Remove variables.  Use
3896         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3897         * configure: Regenerate.
3899 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3901         * Makeconfig (all-object-suffixes): Include .op only if
3902         $(build-profile).
3904 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3906         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3907         conditionals.  Do not define PATH_MAX.
3909 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3911         * posix/Makefile (tests): Add tst-spawn3.
3912         * posix/tst-spawn3.c: New file.
3913         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3914         if it is already opened for open action.
3916         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3917         all signals when executing the clone vfork child.
3918         (SIGALL_SET): Remove macro.
3920         * nptl/Makefile (tests): Add tst-exec5.
3921         * nptl/tst-exec5.c: New file.
3922         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3923         asynchronous cancellation.
3925 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3927         * hurd/exc2signal.c: #include <hurd/signal.h>
3928         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3929         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3930         accordingly.
3931         * mach/mach_error.c (mach_error): Fix old-style function definition.
3932         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3934 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3936         * math/Makefile (libm-calls): Remove s_nanF.
3937         (gen-libm-calls): Add s_nanF.
3939         * math/s_nan.c: Refactor into ...
3940         * math/s_nan_template.c: New file.
3942         * math/s_nanf.c: Removed.
3943         * math/s_nanl.c: Removed.
3944         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3945         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3947         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3948         (LDOUBLE_nanl_libm_version): New macro.
3950         * sysdeps/generic/math-type-macros-double.h:
3951         (M_STRTO_NAN): New macro.
3952         * sysdeps/generic/math-type-macros-float.h: Likewise.
3953         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3955         * sysdeps/generic/math-type-macros.h: Document
3956         M_STRTO_NAN.
3958 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3960         * math/s_nanf.c: Remove __nanf undef.
3961         * math/s_nan.c: Remove __nan undef.
3962         * math/s_nanl.c: Remove __nanl undef.
3964         * sysdeps/generic/math_private.h (__nan): Remove macro
3965         override.
3966         (__nanf): Likewise.
3967         (__nanl): Likewise.
3969 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3971         * math/Makefile (gen-all-calls): New variable.
3972         (generated): Replace gen-libm-calls with gen-all-calls.
3973         (gen-libm-templates.stmp): Likewise.  Also, ensure
3974         the output directory exists or is created and add
3975         dependency on the Makefile.
3976         (calls): Move s_ldexpF into gen-calls.
3977         (gen-calls): New variable.
3979         * math/s_ldexpf.c: Removed.
3980         * math/s_ldexpl.c: Removed.
3981         * math/s_ldexp.c: Refactored into ...
3982         * math/s_ldexp_template.c: New file.
3984         * sysdeps/generic/math-type-macros-double.h: Remove
3985         redundant fall-through definition of declare_mgen_alias.
3986         (declare_mgen_alias_2): New macro.
3988         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3989         New macro for function aliased to two exported symbols.
3991         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3992         new template file.
3993         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3995 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3997         * Makeconfig (all-object-suffixes): Remove .og.
3998         * Makerules (elide-routines.og): Remove.
3999         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4000         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4001         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4003 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4005         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4006         .os objects.
4008 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4010         [BZ #20615]
4011         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4012         fpu directory by non-fpu.
4013         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4014         on non-fpu directory from a fpu directory.
4016 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4018         * include/limits.h: Define
4019         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4020         <bits/libc-header-start.h> instead of including <features.h>.
4021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4032         * manual/lang.texi (Width of Type): Document these macros.
4033         * stdlib/tst-width.c: New file.
4034         * stdlib/Makefile (tests): Add tst-width.
4036 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4038         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4039         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4041 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4043         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4044         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4045         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4047 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4049         [BZ #18243]
4050         * rt/Makefile (test): Add tst-shm-cancel.
4051         * rt/tst-shm-cancel.c: New file.
4052         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4054         [BZ #18243]
4055         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4056         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4057         definition.
4058         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4059         uncontended case.
4060         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4061         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4062         (tf): Fix check for uncontended case.
4063         (do_test): Likewise.
4064         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4065         (tf): Fix check for uncontended case.
4066         (do_test): Likewise.
4067         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4068         (tf): Fix check for uncontended case.
4069         (do_test): Likewise.
4070         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4071         (tf): Fix check for uncontended case.
4072         (do_test): Likewise.
4074         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4075         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4077         [BZ #15765]
4078         * nptl/Makefile (tests): Add tst-sem16.
4079         * nptl/tst-sem16.c: New file.
4080         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4082         * nptl/sem_open.c (sem_open): Init pad value to 0.
4083         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4084         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4086 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4088         [BZ #20611]
4089         * inet/Makefile (routines): Add inet6_scopeid_pton.
4090         (tests): Add tst-inet6_scopeid_pton.
4091         * inet/inet6_scopeid_pton.c: New file.
4092         * inet/net-internal.h: Likewise.
4093         * inet/tst-inet6_scopeid_pton.c: New test.
4094         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4095         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4098 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4100         Remove support for compiling wrappers with PTW.
4101         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4102         * nptl/Makefile (pthread-compat-wrappers): Define.
4103         (libpthread-routines): Use pthread-compat-wrappers.
4104         * sysdeps/unix/sysv/linux/alpha/Makefile
4105         (libpthread-routines, libpthread-shared-only-routines): Remove
4106         ptw- prefix.
4107         * sysdeps/s390/nptl/Makefile
4108         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4109         * sysdeps/ia64/nptl/Makefile
4110         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4111         * sysdeps/nacl/Makefile (libpthread-routines): Use
4112         pthread-compat-wrappers to filter the routines list instead of the
4113         ptw- prefix.
4115 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4117         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4118         with L() and remove explicit suffix, convert real literals
4119         which can be equivalentally substituted with integers, and
4120         transform -L(x) to L(-x).
4122         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4126         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4142         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4152         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4154         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4156         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4158         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4159         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4160         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4161         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4165         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4166         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4167         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4168         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4170         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4171         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4173 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4175         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4177 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4179         * malloc/Makefile (tests): Remove individual static test names
4180         and just add all of tests-static.
4182         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4184 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4186         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4187         file.
4189         * sysdeps/sparc/fpu/fegetmode.c: New file.
4190         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4192         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4193         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4195         * sysdeps/s390/fpu/fegetmode.c: New file.
4196         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4198         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4199         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4200         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4201         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4202         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4203         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4205         * sysdeps/mips/fpu/fegetmode.c: New file.
4206         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4208         * sysdeps/m68k/fpu/fegetmode.c: New file.
4209         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4211         * sysdeps/ia64/fpu/fegetmode.c: New file.
4212         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4214         * sysdeps/hppa/fpu/fegetmode.c: New file.
4215         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4217         * sysdeps/arm/fegetmode.c: New file.
4218         * sysdeps/arm/fesetmode.c: Likewise.
4220         * sysdeps/alpha/fpu/fegetmode.c: New file.
4221         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4223         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4224         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4226         * math/fegetmode.c: New file.
4227         * math/fesetmode.c: Likewise.
4228         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4229         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4230         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4231         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4232         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4234         declaration.
4235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4236         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4237         typedef.
4238         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4239         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4240         (femode_t): New typedef.
4241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4242         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4243         (femode_t): New typedef.
4244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4245         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4246         (femode_t): New typedef.
4247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4248         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4249         (femode_t): New typedef.
4250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4251         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4252         (femode_t): New typedef.
4253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4254         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4255         (femode_t): New typedef.
4256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4257         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4258         (femode_t): New typedef.
4259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4260         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4261         (femode_t): New typedef.
4262         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4263         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4264         (femode_t): New typedef.
4265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4266         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4267         (femode_t): New typedef.
4268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4269         declaration.
4270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4271         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4272         (femode_t): New typedef.
4273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4274         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4275         (femode_t): New typedef.
4276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4277         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4278         (femode_t): New typedef.
4279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4280         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4281         (femode_t): New typedef.
4282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4283         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4284         (femode_t): New typedef.
4285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4286         * manual/arith.texi (FE_DFL_MODE): Document macro.
4287         (fegetmode): Document function.
4288         (fesetmode): Likewise.
4289         * math/Versions (fegetmode): New libm symbol at version
4290         GLIBC_2.25.
4291         (fesetmode): Likewise.
4292         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4293         (tests): Add test-femode and test-femode-traps.
4294         * math/test-femode-traps.c: New file.
4295         * math/test-femode.c: Likewise.
4296         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4297         alias for __fe_dfl_env.
4298         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4299         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4300         (__fe_dfl_mode): Likewise.
4301         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4302         version GLIBC_2.25.
4303         * sysdeps/nacl/libm.abilist: Update.
4304         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4305         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4306         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4307         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4308         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4309         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4310         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4311         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4312         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4313         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4314         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4315         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4317         Likewise.
4318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4319         Likewise.
4320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4321         Likewise.
4322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4323         Likewise.
4324         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4325         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4326         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4327         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4328         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4330         Likewise.
4331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4332         Likewise.
4333         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4334         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4337 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4339         [BZ #20495]
4340         [BZ #20508]
4341         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4342         processors, set Use_dl_runtime_resolve_slow and set
4343         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4344         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4345         New.
4346         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4347         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4348         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4349         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4350         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4351         if Use_dl_runtime_resolve_opt is set.  Use
4352         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4353         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4354         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4355         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4356         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4357         New.
4358         (_dl_runtime_resolve_opt): Likewise.
4359         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4360         defined.
4362 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4364         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4365         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4367 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4369         Convert malloc to __libc_lock.  Automated part, using this Perl
4370         s/// command:
4371           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4372             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4373         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4374         conversion.
4376 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4378         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4379         (linknamespace-symlists-tests): Likewise.
4380         (linknamespace-header-tests): Likewise.
4382 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4384         [BZ #19810]
4385         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4386         * elf/tst-noload.c: New test case.
4387         * elf/Makefile (tests): Add tst-noload.
4389 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4391         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4393         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4394         not any more.
4396         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4398 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4400         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4401         (do_cos_slow): Likewise.
4402         (do_sin): Likewise.
4403         (do_sin_slow): Likewise.
4404         (slow): Likewise.
4405         (slow1): Likewise.
4406         (slow2): Likewise.
4407         (sloww): Likewise.
4408         (sloww1): Likewise.
4409         (sloww2): Likewise.
4410         (bsloww): Likewise.
4411         (bsloww1): Likewise.
4412         (bsloww2): Likewise.
4413         (cslow2): Likewise.
4415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4417         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4418         arguments.  Consolidate input partitioning from callers here.
4419         (do_cos_slow): Likewise.
4420         (do_sin): Likewise.
4421         (do_sin_slow): Likewise.
4422         (do_sincos_1): Remove the no longer necessary input partitioning.
4423         (do_sincos_2): Likewise.
4424         (__sin): Likewise.
4425         (__cos): Likewise.
4426         (slow1): Likewise.
4427         (slow2): Likewise.
4428         (sloww1): Likewise.
4429         (sloww2): Likewise.
4430         (bsloww1): Likewise.
4431         (bsloww2): Likewise.
4432         (cslow2): Likewise.
4434 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4436         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4437         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4438         outside of allocated array.
4440 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4442         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4443         instead of MB_CUR_MAX to avoid variable-length array.
4445 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4447         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4448         (type-double-routines): Add k_rem_pio2.
4449         (type-float-routines): Add k_rem_pio2f.
4451         * sysdeps/generic/math_private.h:
4452         (__kernel_rem_pio2l): Removed.
4454         * math/k_rem_pio2l.c: Removed.
4455         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4456         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4457         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4458         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4460 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4462         * math/Makefile (gen-libm-calls): Add s_fmin
4463         (libm-calls): Remove above.
4465         * math/s_fmin.c: Refactor into ...
4466         * math/s_fmin_template.c: New file.
4468         * math/s_fminf.c: Removed.
4469         * math/s_fminl.c: Removed.
4470         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4471         (LDOUBLE_fmin_libm_version): New macro.
4473         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4474         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4476 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4478         * math/Makefile: (gen-libm-calls): Add s_fmax.
4479         (libm-calls): Remove above.
4481         * math/s_fmax.c: Refactor into ...
4482         * math/s_fmax_template.c: New file.
4483         * math/s_fmaxf.c: Removed.
4484         * math/s_fmaxl.c: Removed.
4486         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4487         (LDOUBLE_fmaxl_libm_version): New macro.
4489         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4490         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4492         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4493         s_fmin.c to pick the aarch64 version of the file.
4494         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4495         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4497 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4499         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4500         (libm-calls): Remove above.
4502         * math/s_nextdown.c: Refactor into ...
4503         * math/s_nextdown_template.c: New file.
4504         * math/s_nextdownf.c: Removed.
4505         * math/s_nextdownl.c: Removed.
4507         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4509 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4511         * math/Makefile (gen-libm-calls): Add s_fdim.
4512         (libm-calls): Move to above.
4514         * math/s_fdim.c: Renamed and refactored into to ...
4515         * math/s_fdim_template.c: New file.
4516         * math/s_fdiml.c: Removed.
4517         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4518         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4520         * sysdeps/generic/math-type-macros-double.h:
4521         (declare_mgen_alias): Don't declare if already declared.
4522         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4523         Likewise.
4525         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4526         (declare_mgen_alias): Don't declare if already declared.
4527         (M_LIBM_NEED_COMPAT): Likewise.
4528         (declare_mgen_libm_compat): Likewise.
4529         (LDOUBLE_fdiml_libm_version): New macro.
4531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4532         Include math/s_fdim.c now that ldbl-opt version is not needed.
4533         (declare_mgen_alias): New macro to disable aliasing.
4535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4536         (declare_mgen_alias): Likewise.
4537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4538         (declare_mgen_alias): Likewise.
4539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4540         (declare_mgen_alias): Likewise.
4541         (M_LIBM_NEED_COMPAT): Likewise.
4543 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4545         [BZ #20525]
4546         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4547         Include <linux/quota.h>.
4548         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4549         and btodb.
4550         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4551         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4552         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4553         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4554         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4555         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4556         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4557         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4558         types.
4559         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4560         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4562 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4564         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4565         (gammal_positive): Fix spacing.
4566         (__ieee754_gammal_r): Likewise.
4568 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4570         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4571         (_Float128): Define as long double, always.
4572         (L): Apply long double type suffix, always.
4574         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4575         _Float128, excepting comments.
4577         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4578         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4579         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4580         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4581         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4582         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4583         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4584         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4585         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4586         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4587         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4588         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4589         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4591         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4592         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4593         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4594         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4595         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4596         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4598         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4599         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4600         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4601         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4602         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4603         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4604         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4605         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4606         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4607         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4608         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4609         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4610         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4611         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4612         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4613         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4615         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4616         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4617         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4618         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4619         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4620         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4621         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4622         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4623         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4624         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4625         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4626         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4627         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4628         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4629         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4630         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4631         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4632         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4633         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4638         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4639         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4640         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4641         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4642         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4643         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4644         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4646         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4647         _Float128, and include math_private.h.
4648         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4650         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4651         long double semantics.
4652         (_Float128): Likewise.
4653         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4654         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4658 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4660         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4661         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4662         * sysdeps/s390/configure: Regenerated.
4663         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4664         instruction for raising over-/underflow if z196 zarch is supported
4665         by default.
4666         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4668 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4670         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4671         it point to a dumb buffer for RPC to fill it.
4673 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4675         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4676         instead of if/else.
4677         (do_sin_slow): Likewise.
4678         (do_sincos_1): Use fabs instead of if/else.
4679         (do_sincos_2): Likewise.
4680         (__sin): Likewise.
4681         (__cos): Likewise.
4682         (slow2): Likewise.
4683         (sloww): Likewise.
4684         (sloww1): Likewise.  Drop argument M.
4685         (sloww2): Use fabs instead of if/else.
4686         (bsloww): Likewise.
4687         (bsloww1): Likewise.
4688         (bsloww2): Likewise.
4690         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4691         fall through comment.
4692         (do_sincos_1): Likewise.
4694         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4695         Consolidate switch cases 0 and 2.
4697 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4699         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4700         (libm-calls): Remove the above.
4702         * math/s_cexp_template.c: Update using type-generic macros.
4703         * math/s_clog10_template.c: Likewise.
4704         * math/s_cpow_template.c: Likewise.
4705         * math/s_clog_template.c: Likewise.
4706         * math/s_cproj_template.c: Likewise.
4707         * math/s_csqrt_template.c: Likewise.
4709         * math/s_cexp.c: Removed.
4710         * math/s_cexpf.c: Removed.
4711         * math/s_cexpl.c: Removed.
4712         * math/s_clog10.c: Removed.
4713         * math/s_clog10f.c: Removed.
4714         * math/s_clog10l.c: Removed.
4715         * math/s_cpow.c: Removed.
4716         * math/s_cpowf.c: Removed.
4717         * math/s_cpowl.c: Removed.
4718         * math/s_clog.c: Removed.
4719         * math/s_clogf.c: Removed.
4720         * math/s_clogl.c: Removed.
4721         * math/s_cproj.c: Removed.
4722         * math/s_cprojf.c: Removed.
4723         * math/s_cprojl.c: Removed.
4724         * math/s_csqrt.c: Removed.
4725         * math/s_csqrtf.c: Removed.
4726         * math/s_csqrtl.c: Removed.
4728         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4729         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4730         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4731         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4732         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4733         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4735         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4736         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4737         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4738         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4739         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4740         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4741         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4742         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4743         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4744         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4745         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4747         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4748         version.
4750         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4751         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4752         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4753         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4755 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4757         * s_cexp_template.c: Copy of s_cexp.c.
4758         * s_clog_template.c: Copy of s_clog.c.
4759         * s_clog10_template.c: Copy of s_clog10.c.
4760         * s_cpow_template.c: Copy of s_cpow.c.
4761         * s_cproj_template.c: Copy of s_cproj.c.
4762         * s_csqrt_template.c: Copy of s_csqrt.c.
4764 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4766         [BZ #20517]
4767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4768         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4769         exported.
4771 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4773         * math/fetestexceptflag.c: New file.
4774         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4775         Stefan Liebler.
4776         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4777         (fetestexceptflag): New function declaration.
4778         * manual/arith.texi (fetestexceptflag): Document function.
4779         * math/Versions (fetestexceptflag): New libm symbol at version
4780         GLIBC_2.25.
4781         * math/Makefile (libm-support): Add fetestexceptflag.
4782         (tests): Add test-fetestexceptflag.
4783         * math/test-fetestexceptflag.c: New file.
4784         * sysdeps/nacl/libm.abilist: Update.
4785         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4786         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4787         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4798         Likewise.
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4802         Likewise.
4803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4804         Likewise.
4805         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4811         Likewise.
4812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4813         Likewise.
4814         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4818 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4820         [BZ #20432]
4821         Avoid strong references to malloc-internal symbols when linking
4822         statically, to support statically interposed mallocs.
4823         * include/libc-symbols.h (call_function_static_weak): New macro.
4824         * malloc/Makefile (tests): Add tst-interpose-nothread,
4825         tst-interpose-thread, tst-interpose-static-nothread,
4826         tst-interpose-static-thread.
4827         (tests-static): Add tst-interpose-static-nothread,
4828         tst-interpose-static-thread.
4829         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4830         tst-interpose-aux-thread.o.
4831         (test-extras): Add tst-interpose-aux-nothread,
4832         tst-interpose-aux-thread.
4833         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4834         tst-interpose-aux-nothread.o.
4835         (tst-interpose-thread, tst-interpose-static-thread): Link with
4836         tst-interpose-aux-thread.o and libthread.
4837         * malloc/tst-interpose-aux-nothread.c: New file.
4838         * malloc/tst-interpose-aux-thread.c: Likewise.
4839         * malloc/tst-interpose-aux.c: Likewise.
4840         * malloc/tst-interpose-aux.h: Likewise.
4841         * malloc/tst-interpose-nothread.c: Likewise.
4842         * malloc/tst-interpose-skeleton.c: Likewise.
4843         * malloc/tst-interpose-static-nothread.c: Likewise.
4844         * malloc/tst-interpose-static-thread.c: Likewise.
4845         * malloc/tst-interpose-thread.c: Likewise.
4846         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4847         * sysdeps/mach/hurd/fork.c (__fork): Only call
4848         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4849         __malloc_fork_unlock_child if defined.
4850         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4852 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4854         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4855         timespec C99 designated initialization.
4857 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4859         [BZ #19946]
4860         Avoid expected SIGALRM signals.
4861         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4862         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4863         (xpthread_create, xpthread_detach, xpthread_join)
4864         (delayed_exit_thread, delayed_exit): New functions.
4865         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4866         (tf): Use xpthread_cond_wait.
4867         (do_test): Likewise.  Replace alarm with delayed_exit.
4868         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4869         (do_test): Call delayed_exit.  Report failure.
4870         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4871         (do_test): Call delayed_exit.
4872         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4873         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4874         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4875         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4876         error.
4877         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4878         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4879         error.
4880         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4881         (do_test): Call delayed_exit.
4882         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4883         (do_test): Call delayed_exit.
4884         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4885         (do_test): Call delayed_exit instead of alarm.  Use
4886         xpthread_mutex_lock.
4887         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4888         (do_test): Call delayed_exit instead of alarm.  Use
4889         xpthread_mutex_lock.
4890         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4891         (do_test): Call delayed_exit instead of alarm.
4892         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4893         (do_test): Call delayed_exit instead of alarm.  Use
4894         xpthread_spin_lock.
4895         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4896         (do_test): Call delayed_exit instead of alarm.  Use
4897         xpthread_join.
4899 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4901         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4902         adjust CFA when allocating register save area on re-aligned
4903         stack.
4905 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4907         * string/tst-cmp.c: New test.
4908         * string/Makefile (tests): Add it.
4910 2016-08-25  Mark Wielaard  <mark@klomp.org>
4912         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4913         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4914         (check_tree_recurse): Use newly defined accessors.
4915         (check_tree): Likewise.
4916         (maybe_split_for_insert): Likewise.
4917         (__tfind): Likewise.
4918         (__tdelete): Likewise.
4919         (trecurse): Likewise.
4920         (tdestroy_recurse): Likewise.
4921         (__tsearch): Likewise. And add asserts for malloc alignment.
4922         (__twalk): Cast root to node in case CHECK_TREE is defined.
4924 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4926         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4928 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4930         * math/Makefile (libm-gen-calls): Add
4931         catan, catanh, ctan, ctanh.
4932         (libm-calls): Remove the above.
4934         * math/s_catan_template.c: Update using type-generic macros.
4935         * math/s_catanh_template.c: Likewise.
4936         * math/s_ctan_template.c: Likewise.
4937         * math/s_ctanh_template.c: Likewise.
4939         * math/s_catanf.c: Removed.
4940         * math/s_catan.c: Removed.
4941         * math/s_catanl.c: Removed.
4942         * math/s_catanhf.c: Removed.
4943         * math/s_catanh.c: Removed.
4944         * math/s_catanhl.c: Removed.
4945         * math/s_ctanf.c: Removed.
4946         * math/s_ctan.c: Removed.
4947         * math/s_ctanl.c: Removed.
4948         * math/s_ctanhf.c: Removed.
4949         * math/s_ctanh.c: Removed.
4950         * math/s_ctanhl.c: Removed.
4952         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4953         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4954         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4955         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4956         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4957         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4959         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4960         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4961         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4962         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4964 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4966         * s_catan_template.c: Copy of s_catan.c.
4967         * s_catanh_template.c: Copy of s_catanh.c.
4968         * s_ctan_template.c: Copy of s_ctan.c.
4969         * s_ctanh_template.c: Copy of s_ctanh.c.
4971 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4973         * math/Makefile (gen-libm-calls): Move
4974         casin, casinh, csin, csinh here.
4975         (libm-calls): Remove the above.
4977         * math/s_casin_template.c: Update using type-generic macros.
4978         * math/s_casinh_template.c: Likewise.
4979         * math/s_csin_template.c: Likewise.
4980         * math/s_csinh_template.c: Likewise.
4981         * math/k_casinh_template.c: Likewise.
4983         * math/s_casinf.c: Removed.
4984         * math/s_casin.c: Removed.
4985         * math/s_casinl.c: Removed.
4986         * math/s_casinh.c: Removed.
4987         * math/s_casinhf.c: Removed.
4988         * math/s_casinhl.c: Removed.
4989         * math/s_csin.c: Removed.
4990         * math/s_csinf.c: Removed.
4991         * math/s_csinl.c: Removed.
4992         * math/s_csinh.c: Removed.
4993         * math/s_csinhf.c: Removed.
4994         * math/s_csinhl.c: Removed.
4995         * math/k_casinh.c: Removed.
4996         * math/k_casinhf.c: Removed.
4997         * math/k_casinhl.c: Removed.
4999         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5000         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5001         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5002         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5004         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5005         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5006         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5007         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5008         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5009         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5010         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5011         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5013         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5014         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5015         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5016         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5018         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5019         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5020         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5021         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5023 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5025         * s_casin_template.c: Copy of s_casin.c.
5026         * s_casinh_template.c: Copy of s_casinh.c.
5027         * s_csin_template.c: Copy of s_csin.c.
5028         * s_csinh_template.c: Copy of s_csinh.c.
5029         * k_casinh_template.c: Copy of k_casinh.c.
5031 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5033         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5035 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5037         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5038         (mul_split) Remove, rename as mul_splitl, remove
5039         redundant float.h include, and include via mul_splitl.h
5041         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5042         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5043         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5044         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5045         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5047         * math/mul_splitl.h: New file.
5049         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5050         Move into mul_split.h, and remove redundant float.h include.
5052         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5053         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5054         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5055         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5057         * math/mul_split.h: New file.
5059 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5061         * math/Makefile (libm-gen-calls): Move
5062         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5063         (libm-calls): Remove above.
5065         * math/s_cacos_template.c: Update using type-generic macros.
5066         * math/s_cacosh_template.c: Likewise.
5067         * math/s_ccos_template.c: Likewise.
5068         * math/s_ccosh_template.c: Likwise.
5070         * math/s_cacosf.c: Removed.
5071         * math/s_cacos.c: Removed.
5072         * math/s_cacosl.c: Removed.
5073         * math/s_cacoshf.c: Removed.
5074         * math/s_cacosh.c: Removed.
5075         * math/s_cacoshl.c: Removed.
5076         * math/s_ccosf.c: Removed.
5077         * math/s_ccos.c: Removed.
5078         * math/s_ccosl.c: Removed.
5079         * math/s_ccoshf.c: Removed.
5080         * math/s_ccosh.c: Removed.
5081         * math/s_ccoshl.c: Removed.
5083         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5084         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5085         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5086         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5087         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5088         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5090         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5091         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5092         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5093         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5095         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5096         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5097         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5098         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5100 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5102         * s_cacos_template.c: Copy of s_cacos.c.
5103         * s_cacosh_template.c: Copy of s_cacosh.c.
5104         * s_ccos_template.c: Copy of s_ccos.c.
5105         * s_ccosh_template.c: Copy of s_ccosh.c.
5107 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5109         * stdlib/tst-strtod-round-skeleton.c:
5110         Refactored from tst-strtod-round.c.
5112         (L_): New macro to apply literal modifier.
5113         (FNPFX): New macro to select str or wcs prefix.
5114         (CHAR): New macro to choose wchar_t or char.
5115         (STRM): New macro to choose printf for tested character type.
5117         (STRTO): New macro to choose appropriate string -> real function.
5118         (FNPFXS): Stringitized version of FNPFX.
5119         (STR): Support for above macro.
5120         (STRX): Likewise.
5122         (TEST): Update with above macros.
5123         (test): Likewise.
5124         (GEN_ONE_TEST): Likewise.
5125         (test_in_one_mode): Likewise.
5127         * stdlib/tst-strtod-round.c: New file.
5128         * wcsmbs/tst-wcstod-round.c: New file.
5130         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5131         (tst-wcstod-round): Add libm depencency for fesetround.
5133 2016-08-19  Zack Weinberg  <zackw@panix.com>
5135         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5137 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5139         [BZ #20477]
5140         * resolv/res_hconf.c (do_init): Use atomic access.
5141         * resolv/res_hconf.h: Add comments.
5142         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5143         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5144         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5146 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5148         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5149         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5151         Likewise.
5153 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5155         [BZ #16907]
5156         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5157         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5158         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5159         (__attribute__): Remove definition.
5161 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5163         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5164         Remove unused sqrtl declaration.
5166 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5168         * math/Makefile: (gen-libm-templates.stmp): New rule.
5169         (libm-calls): Move carg conj cimag and cabs into ...
5170         (gen-libm-calls): New variable.
5171         (generated): Inform Make objects from gen-libm-calls
5172         may be generated.
5174         * sysdeps/generic/math-type-macros.h: New file.
5175         * sysdeps/generic/math-type-macros-float.h: Likewise.
5176         * sysdeps/generic/math-type-macros-double.h: Likewise.
5177         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5178         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5179         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5181         * math/cabs.c: Refactor into
5182         * math/cabs_template.c: new file.
5183         * math/cabsf.c: Removed.
5184         * math/cabsl.c: Removed.
5185         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5186         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5188         * math/carg.c: Refactor into
5189         * math/carg_template.c: new file.
5190         * math/cargf.c: Removed.
5191         * math/cargl.c: Removed.
5192         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5193         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5195         * math/conj.c: Refactor into
5196         * math/conj_template.c: new file.
5197         * math/conjf.c: Removed.
5198         * math/conjl.c: Removed.
5199         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5200         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5202         * math/cimag.c: Refactor into
5203         * math/cimag_template.c: new file.
5204         * math/cimagf.c: Removed.
5205         * math/cimagl.c: Removed.
5206         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5207         * sysdeps/ieee754/ldbl-opt/cimagl.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 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5218         Reduce time to expected nptl/tst-once5 failure.
5219         * nptl/tst-once5.cc (TIMEOUT): Define.
5221 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5223         [BZ #20452]
5224         Avoid additional copies of objects in libc.a in static libraries.
5225         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5226         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5227         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5228         rt-sysdep.
5229         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5230         Add nptl-sysdep.
5231         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5232         Add ptw-sysdep.
5233         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5234         rt-sysdep.
5235         * sysdeps/unix/sysv/linux/alpha/Makefile
5236         (libpthread-shared-only-routines): Add ptw-sysdep,
5237         ptw-sigprocmask, ptw-rt_sigaction.
5238         * sysdeps/unix/sysv/linux/ia64/Makefile
5239         (librt-shared-only-routines): Add rt-sysdep.
5240         * sysdeps/unix/sysv/linux/i386/Makefile
5241         (libpthread-shared-only-routines): Add libc-do-syscall.
5242         * sysdeps/unix/sysv/linux/microblaze/Makefile
5243         (libpthread-shared-only-routines): Add sysdep.
5244         * sysdeps/unix/sysv/linux/powerpc/Makefile
5245         (librt-shared-only-routines): Add rt-sysdep.
5246         (libpthread-shared-only-routines): Add sysdep.
5247         * sysdeps/unix/sysv/linux/s390/Makefile
5248         (librt-shared-only-routines): Add rt-sysdep.
5249         * sysdeps/unix/sysv/linux/sparc/Makefile
5250         (librt-shared-only-routines): Add rt-sysdep.
5251         (libpthread-shared-only-routines): Add sysdep.
5252         * sysdeps/unix/sysv/linux/tile/Makefile
5253         (libpthread-shared-only-routines): Likewise.
5255 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5257         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5258         Mask implicit bit out of unpacked value.
5259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5260         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5263         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5265         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5267         * sysdeps/s390/fpu/fesetexcept.c: New file.
5269         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5270         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5271         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5273         * sysdeps/mips/fpu/fesetexcept.c: New file.
5275         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5277         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5279         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5281         * sysdeps/arm/fesetexcept.c: New file.
5283         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5285         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5287         * math/fesetexcept.c: New file.
5288         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5289         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5290         * math/fenv.h: Define
5291         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5292         <bits/libc-header-start.h> instead of including <features.h>.
5293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5294         declaration.
5295         * manual/arith.texi (fesetexcept): Document function.
5296         * math/Versions (fesetexcept): New libm symbol at version
5297         GLIBC_2.25.
5298         * math/Makefile (libm-support): Add fesetexcept.
5299         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5300         * math/test-fesetexcept.c: New file.
5301         * math/test-fesetexcept-traps.c: Likewise.
5302         * sysdeps/nacl/libm.abilist: Update.
5303         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5304         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5305         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5306         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5307         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5308         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5309         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5310         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5312         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5313         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5314         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5318         Likewise.
5319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5320         Likewise.
5321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5322         Likewise.
5323         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5324         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5325         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5326         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5327         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5329         Likewise.
5330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5331         Likewise.
5332         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5333         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5334         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5336 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5338         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5339         New.
5340         (do_test): Apply default_stack_size_in_mb if not set.
5341         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5343 2016-08-15  Andreas Schwab  <schwab@suse.de>
5345         [BZ #20435]
5346         CVE-2016-6323
5347         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5348         as .cantunwind.
5350 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5352         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5353         comment from fraiseexcpt.c.
5355         * math/test-fexcept.c (feraiseexcept_exact): New function.
5356         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5357         (test_except): Likewise.
5359 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5361         [BZ #20455]
5362         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5363         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5364         to be restored.
5366         * math/test-fexcept-traps.c: New file.
5367         * math/test-fexcept.c: Likewise.
5368         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5369         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5370         macro.
5371         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5372         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5374 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5376         * include/atomic.h (atomic_fetch_and_relaxed,
5377         atomic_fetch_and_release, atomic_fetch_or_release,
5378         atomic_fetch_xor_release): New.
5380 2016-08-06  Christian Seiler  <christian@iwakd.de>
5382         [BZ #20444]
5383         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5384         MACH_PORT_NULL.
5386 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5388         * math/s_fdim.c: Avoid alias renamed.
5389         * math/s_fdimf.c: Likewise.
5390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5391         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5392         Add s_fdimf-vis3, s_fdim-vis3.
5393         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5394         (CFLAGS-s_fdim-vis3.c): Likewise.
5395         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5396         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5398 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5401         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5402         Remove s_fdimf-vis3, s_fdim-vis3.
5403         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5404         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5411         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5412         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5414 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5416         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5417         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5418         -Wa,-Av9a -mvis.
5420 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5422         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5423         LIT() to individual constants in simple expressions
5424         after splitting on spaces.
5425         (_apply_lit): Rename replaced version, and use it to
5426         apply to what appears to be a token.
5428         * math/libm-test.inc: Fix many, many issues with
5429         spacing.
5431 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5433         * math/math.h: Move comment about <bits/mathdef.h> definitions
5434         above inclusion of <bits/mathdef.h>.  Do not mention
5435         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5437 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5439         * include/atomic.h (atomic_exchange_relaxed): New.
5441 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5443         * math/e_scalb.c: Do not include <fenv.h>.
5444         (invalid_fn): Do calculation resulting in NaN instead of raising
5445         FE_INVALID and returning a NaN explicitly.
5446         * math/e_scalbf.c: Do not include <fenv.h>.
5447         (invalid_fn): Do calculation resulting in NaN instead of raising
5448         FE_INVALID and returning a NaN explicitly.
5449         * math/e_scalbl.c: Do not include <fenv.h>.
5450         (invalid_fn): Do calculation resulting in NaN instead of raising
5451         FE_INVALID and returning a NaN explicitly.
5453 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5455         * po/de.po: Updated from Translation Project.
5456         * po/fi.po: Likewise.
5457         * po/sv.po: Likewise.
5459 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5461         [BZ #20452]
5462         Use sysdep.o from libc.a in static libraries.
5463         * sysdeps/unix/sysv/linux/i386/Makefile
5464         (libpthread-shared-only-routines): Add sysdep.
5465         (librt-shared-only-routines): Likewise.
5467 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5469         * math/tgmath.h (nextdown): Define if
5470         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5471         (nextup): Likewise.
5473         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5474         macro.
5475         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5476         Document.
5477         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5478         Document macro.
5479         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5480         (exp10f): Likewise.
5481         (exp10l): Likewise.
5482         * math/bits/mathcalls.h (exp10): Declare if
5483         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5485         * manual/arith.texi (nextup): Fix typo in last change.
5487 2016-08-03  Zack Weinberg  <zackw@panix.com>
5489         [BZ #19239]
5490         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5491         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5492         define major, minor, and makedev to issue deprecation warnings on use.
5493         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5494         previously-activated deprecation warnings for these macros and prevent
5495         subsequent inclusions of this header from having any effect.
5496         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5497         including <sys/sysmacros.h>, and undefine it again afterward.
5499 2016-08-03  Zack Weinberg  <zackw@panix.com>
5501         * sysdeps/generic/sys/sysmacros.h: Delete file.
5502         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5503         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5504         * bits/sysmacros.h: ... here; this encoding is now the generic
5505         encoding.  Now defines only the following macros:
5506         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5507         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5508         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5510         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5511         bits/sysmacros.h and the above new macros to generate the
5512         public implementations of major, minor, and makedev.
5513         * misc/tst-makedev.c: New test.
5514         * include/sys/sysmacros.h: New wrapper.
5516         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5517         (routines): Add makedev.
5518         (tests): Add tst-makedev.
5519         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5520         gnu_dev_makedev.
5521         * posix/Makefile (headers): Remove sys/sysmacros.h.
5522         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5524         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5525         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5526         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5527         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5528         * sysdeps/unix/sysv/linux/arm/libc.abilist
5529         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5530         * sysdeps/unix/sysv/linux/i386/libc.abilist
5531         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5532         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5533         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5534         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5535         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5536         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5537         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5538         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5539         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5544         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5545         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5546         * sysdeps/unix/sysv/linux/sh/libc.abilist
5547         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5548         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5551         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5552         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5553         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5554         Add GLIBC_2.25.
5556         * include/features.h (__glibc_clang_prereq): New macro.
5557         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5558         (__attribute_deprecated_msg__): New macros.
5560 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5562         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5563         macro.
5564         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5565         * manual/arith.texi (issignaling): Document as ISO from TS
5566         18661-1:2014.
5567         (nextup): Likewise.
5568         (nextupf): Likewise.
5569         (nextupl): Likewise.
5570         (nextdown): Likewise.
5571         (nextdownf): Likewise.
5572         (nextdownl): Likewise.
5573         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5574         macro.
5575         * math/math.h: Define
5576         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5577         <bits/libc-header-start.h> instead of including <features.h>.
5578         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5579         [__USE_GNU].
5580         * math/bits/mathcalls.h (nextdown): Declare if
5581         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5582         (nextup): Likewise.
5583         (__issignaling): Likewise.
5585 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5587         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5588         check, and remove __glibc_likely hint
5589         from FP_INFINITE check.
5590         * s_csinhf.c (__csinhf): Likewise.
5592         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5593         hint from FP_INFINITE check.
5594         * s_csinhl.c (__csinhl): Likewise.
5596 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5598         * math/Makefile (libm-calls): Insert F placeholder into
5599         object names.  Move w_lgamma_compat* routines into
5600         (libm-compat-calls): New variable.
5601         (libm-compat-calls-ldouble-yes): New variable.
5602         (calls): Insert F placeholder.
5603         (generated): Redefine using new type-foreach macro call.
5604         (routines): Likewise.
5606         (types): New variable to hold a list of symbolic names
5607         for each type supported by the target machine.
5608         (libm-routines): Redefine using new types variable.
5609         (type-foreach): macro to replace fooF with the
5610         appropriately suffixed foo for each types.
5612         (type-ldouble-suffix): New variable.
5613         (type-ldouble-routines): Likewise.
5614         (type-ldouble-yes): Likewise.
5615         (type-double-suffix): Likewise.
5616         (type-double-routines): Likewise.
5617         (type-float-suffix): Likewise.
5618         (type-float-routines): Likewise.
5620         (dbl-only-routines): Remove.
5621         (long-c-yes): Likewise.
5622         (long-m-routines): Likewise.
5623         (long-m-support): Likewise.
5624         (long-m-yes): Likewise.
5625         (test-longdouble-yes): Likewise.
5627         (test-float.o): Simplify by increasing the scope of the
5628         recipe which adds libm-test.stmp to the vector types.
5629         (test-ifloat.o): Likewise.
5630         (test-float-finite.o): Likewise.
5631         (test-double.o): Likewise
5632         (test-idouble.o): Likewise.
5633         (test-double-finite.o): Likewise.
5634         (test-ldouble.o): Likewise
5635         (test-ildoubl.o): Likewise.
5636         (test-ldouble-finite.o): Likewise.
5638         (libm-tests): Redefine type tests using foreach and the
5639         list of types in types.
5641         (CPPFLAGS-test-ildoubl.c): Rename to
5642         (CPPFLAGS-test-ildouble.c): New variable
5644         * math/test-ildoubl.c: Rename to
5645         * math/test-ildouble.c: New file.
5647 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5649         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5650         Use fabsl instead of fabs.
5651         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5652         Likewise.
5653         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5654         Add long double suffix to constant to ensure proper
5655         promotion to long double.
5657 2016-08-03  Tom Tromey  <tom@tromey.com>
5659         [BZ #20311]
5660         * nptl_db/Makefile (headers): Add proc_service.h.
5661         * nptl_db/proc_service.h: Add include guard.  Use
5662         __BEGIN/__END_DECLS.
5663         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5664         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5665         arguments.
5668 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5670         [BZ #17730]
5671         Avoid using memalign for TCB allocations.
5672         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5673         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5674         Avoid alignment gap in the TLS_DTV_AT_TP case.
5675         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5676         determine the pointer to free.
5677         * nptl/tst-tls3-malloc.c: New test.
5678         * nptl/Makefile (tests): Add it.
5679         (tst-tls3-malloc): Link with libdl, libpthread.
5680         (LDFLAGS-tst-tls3-malloc): Set.
5681         (tst-tls3-malloc.out): Depend on DSO used in test.
5683 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5685         [BZ #17730]
5686         Avoid using memalign for TLS allocations.
5687         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5688         is_static member with to_free member.
5689         (union dtv): Use struct dtv_pointer.
5690         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5691         dtv_pointer instead of is_static.
5692         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5693         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5694         instead of val.
5695         (allocate_dtv_entry): New function.
5696         (allocate_and_init): Return struct dtv_pointer.  Call
5697         allocate_dtv_entry instead of __libc_memalign.
5698         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5699         instead of val.
5700         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5701         instead of is_static.  Adjust call to allocate_and_init.
5702         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5703         struct dtv_pointer instead of val.
5705 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5707         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5708         (MALLOC_ALIGN_MASK): Move ...
5709         * malloc/malloc-internal.h: ... to here.
5710         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5712 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5714         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5715         (UDP_ENCAP_GTP1U): Likewise.
5717         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5718         (PF_MAX): Update value.
5719         (AF_QIPCRTR): New macro.
5721 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5723         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5724         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5725         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5727         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5728         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5729         s_truncf-vis3, s_trunc-vis3.
5730         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5731         (CFLAGS-s_ceil-vis3.c): Likewise.
5732         (CFLAGS-s_floorf-vis3.c): Likewise.
5733         (CFLAGS-s_floor-vis3.c): Likewise.
5734         (CFLAGS-s_truncf-vis3.c): Likewise.
5735         (CFLAGS-s_trunc-vis3.c): Likewise.
5736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5749 2016-08-02  David S. Miller  <davem@davemloft.net>
5751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5752         (__nearbyint_vis3): Don't check for sNaN before float register is
5753         loaded with the incoming argument.
5754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5755         (__nearbyintf_vis3): Likewise.
5756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5757         Likewise.
5758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5759         Likewise.
5761         * string/test-strncmp.c (do_test_limit): Make sure the test data
5762         stream is aligned as required for the type "CHAR".
5763         (do_test): Likewise.
5765 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5767         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5768         by beq instructions jumping to the end of the function.
5769         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5770         clobber list. Use "i" constraint instead of "X".
5771         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5772         of "X".
5774 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5776         * bits/libc-header-start.h: New file.
5777         * Makefile (headers): Add bits/libc-header-start.h.
5778         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5779         (__GLIBC_USE): New macro.
5780         * libio/stdio.h: Define
5781         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5782         <bits/libc-header-start.h> instead of including <features.h>.
5783         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5784         (open_memstream): Likewise.
5785         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5786         (__asprintf): Likewise.
5787         (asprintf): Likewise.
5788         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5789         (getdelim): Likewise.
5790         (getline): Likewise.
5791         * string/string.h: Define
5792         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5793         <bits/libc-header-start.h> instead of including <features.h>.
5794         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5795         (strndup): Likewise.
5796         * wcsmbs/wchar.h: Define
5797         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5798         <bits/libc-header-start.h> instead of including <features.h>.
5799         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5800         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5802 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5804         Support linking against compatibility symbols, for use in tests.
5805         * include/libc-symbols.h (symbol_version_reference): New macro.
5806         (symbol_version): Use it.
5807         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5808         (compat_symbol): Use compat_symbol_reference.
5809         (compat_symbol_1, compat_symbol_2): Remove.
5810         (compat_symbol_reference, compat_symbol_reference_1)
5811         (compat_symbol_reference_2): New macro.  Use
5812         symbol_version_reference.
5814 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5816         [BZ #19469]
5817         * malloc/Makefile (CPPFLAGS): Compile tests with
5818         -DTEST_NO_MALLOPT.
5819         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5821 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5823         [BZ #20033]
5824         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5825         finite version.
5826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5828         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5829         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5830         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5833         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5834         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5835         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5840         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5843         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5844         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5845         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5846         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5847         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5848         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5849         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5850         in zero power.
5852 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5854         [BZ #20370]
5855         * malloc/arena.c (get_free_list): Update comment.  Assert that
5856         arenas on the free list have no attached threads.
5857         (remove_from_free_list): New function.
5858         (reused_arena): Call it.
5860 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5862         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5863         when it is a NaN.
5864         [_IEEE_FP_INEXACT] Remove.
5865         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5866         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5867         when it is a NaN.
5868         [_IEEE_FP_INEXACT] Remove.
5869         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5870         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5871         when it is a NaN.
5872         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5873         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5874         when its absolute value is greater than 0x1.0p52.
5875         [_IEEE_FP_INEXACT] Remove.
5876         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5877         when its absolute value is greater than 0x1.0p23.
5878         [_IEEE_FP_INEXACT] Remove.
5880 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5882         * version.h (RELEASE): Set to "development"
5883         (VERSION): Set to 2.24.90.
5884         * NEWS: Add 2.25 section.
5886         * version.h (RELEASE): Set to "stable"
5887         (VERSION): Set to 2.24.
5888         * include/features.h (__GLIBC_MINOR__): Set to 24.
5890         * NEWS: Add 2.24 fixed bugs.
5891         * po/libc.pot: Regenerate.
5893 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5896         [$(subdir) = math] (libm-sysdep_routines): Remove.
5897         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5898         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5899         s_truncf-vis3, s_trunc-vis3.
5900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5902         file.
5903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5925         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5929         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5936         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5937         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5938         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5939         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5940         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5941         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5942         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5943         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5944         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5945         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5947 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5949         [BZ #20384]
5950         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5951         test-double-libmvec-sincos-avx-main.o,
5952         test-double-libmvec-sincos-avx2-main.o,
5953         test-double-libmvec-sincos-main.o,
5954         test-float-libmvec-sincosf-avx-main.o,
5955         test-float-libmvec-sincosf-avx2-main.o and
5956         test-float-libmvec-sincosf-main.o.
5957         test-float-libmvec-sincosf-avx512-main.o.
5958         ($(objpfx)test-double-libmvec-sincos): Also link with
5959         $(objpfx)test-double-libmvec-sincos-main.o.
5960         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5961         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5962         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5963         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5964         ($(objpfx)test-float-libmvec-sincosf): Also link with
5965         $(objpfx)test-float-libmvec-sincosf-main.o.
5966         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5967         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5968         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5969         test-double-libmvec-sincos-avx512-main.o and
5970         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5971         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5972         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5973         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5974         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5975         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5976         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5977         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5978         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5979         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5980         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5981         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5982         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5983         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5984         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5985         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5986         -DREQUIRE_AVX2.
5987         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5988         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5989         -DREQUIRE_AVX512F.
5990         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5991         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5992         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5993         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5994         file.
5995         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5996         Likewise.
5997         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5998         Likewise.
5999         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6000         Likewise.
6001         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6002         Likewise.
6003         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6004         Likewise.
6005         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6006         Likewise.
6007         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6008         Likewise.
6010 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6012         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6014 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6016         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6017         and typo in a comment about AT_HWCAP entry.
6019 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6021         * sysdeps/aarch64/libm-test-ulps: Updated.
6023 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6025         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6026         of r13 as it is not restored in mvcle case.
6028 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6030         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6031         Rename "ret" to "__ret".
6032         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6033         inline_syscall5, inline_syscall6): Likewise.
6035 2016-07-19   Will Newton  <will.newton@gmail.com>
6037         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6038         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6039         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6040         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6041         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6043 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6045         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6046         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6047         -mfpmath=387 with $(rtld-CFLAGS).
6048         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6049         $(rtld-CFLAGS).
6051 2016-07-18   Ross Burton  <ross.burton@intel.com>
6052              Khem Raj  <raj.khem@gmail.com>
6054         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6055         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6056         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6057         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6058         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6059         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6060         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6061         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6062         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6063         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6064         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6065         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6066         R_METAG_TLS_DTPOFF): New.
6068 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6069             Matt Clay  <mclay@lycos.com>
6071         [BZ #20357]
6072         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6073         to call __mpsin/__mpcos and to negate values.
6074         * math/auto-libm-test-in: Add test.
6075         * math/auto-libm-test-out: Regenerate.
6077 2016-07-18  Zack Weinberg  <zackw@panix.com>
6079         * grp/Makefile: Don't install the internal header grp-merge.h.
6081 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6083         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6085 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6087         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6089 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6091         [BZ #15368]
6092         * sysdeps/unix/sysv/linux/nptl-signals.h
6093         (__nptl_clear_internal_signals): New function.
6094         (__libc_signal_block_all): Likewise.
6095         (__libc_signal_block_app): Likewise.
6096         (__libc_signal_restore_set): Likewise.
6097         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6098         implementation.
6099         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6100         the cached pid/tid value in pthread structure.
6102 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6104         [BZ #20347]
6105         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6107 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6109         [BZ #20348]
6110         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6111         preadv64, pwrite64 and pwritev64.
6113 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6115         [BZ #20350]
6116         * posix/tst-preadwrite.c: Renamed to ...
6117         * posix/tst-preadwrite-common.c: This.
6118         (PREAD): Removed.
6119         (PWRITE): Likewise.
6120         (STRINGIFY): Likewise.
6121         (STRINGIFY2): Likewise.
6122         (do_prepare): Make it static and remove function arguments.
6123         (do_test): Likewise.
6124         (PREPARE): Updated.
6125         (TEST_FUNCTION): New.
6126         (name): Make it static.
6127         (fd): Likewise.
6128         (do_prepare): Use create_temp_file.
6129         (do_test): Renamed to ...
6130         (do_test_with_offset): This.  Make it static and accept offset.
6131         Properly check return value of PWRITE and PREAD.  Return bytes
6132         read.  Don't close fd nor unlink name.
6133         * posix/tst-preadwrite.c: Rewrite.
6134         * posix/tst-preadwrite64.c: Likewise.
6136 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6138         [BZ #20309]
6139         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6140         -mtls-dialect=gnu2 works.
6141         * configure: Regenerated.
6142         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6143         (tests): Add tst-gnu2-tls1.
6144         (modules-names): Add tst-gnu2-tls1mod.
6145         ($(objpfx)tst-gnu2-tls1): New.
6146         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6147         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6148         * elf/tst-gnu2-tls1.c: New file.
6149         * elf/tst-gnu2-tls1mod.c: Likewise.
6150         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6151         bytes for push in the PLT entry to align the stack.
6153 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6155         [BZ #20349]
6156         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6158 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6160         [BZ #18707]
6161         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6162         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6164 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6166         * sysdeps/unix/sysv/linux/sysdep.h
6167         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6168         guards.
6169         * misc/tst-preadvwritev-common.c: New file.
6170         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6171         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6172         a check for files larger than 2GB.
6174         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6175         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6176         * sysdeps/unix/sysv/linux/pread.c
6177         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6178         __OFF_T_MATCHES_OFF64_T.
6179         * sysdeps/unix/sysv/linux/pread64.c
6180         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6181         * sysdeps/unix/sysv/linux/preadv.c
6182         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6183         * sysdeps/unix/sysv/linux/preadv64.c
6184         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6185         * sysdeps/unix/sysv/linux/pwrite.c
6186         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6187         * sysdeps/unix/sysv/linux/pwrite64.c
6188         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6189         * sysdeps/unix/sysv/linux/pwritev.c
6190         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6191         * sysdeps/unix/sysv/linux/pwritev64.c
6192         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6194 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6196         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6197         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6199 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6201         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6203 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6205         [BZ #20240]
6206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6207         (CFLAGS-s_modf-ppc32.c): New variable.
6208         (CFLAGS-s_modff-ppc32.c): Likewise.
6209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6210         (CFLAGS-s_modf-ppc64.c): Likewise.
6211         (CFLAGS-s_modff-ppc64.c): Likewise.
6213 2016-07-07  Andreas Schwab  <schwab@suse.de>
6215         [BZ #20263]
6216         * nptl/tst-robust10.c: New test.
6217         * nptl/Makefile (tests): Add tst-robust10.
6219 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6221         [BZ #20263]
6222         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6224 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6226         * sysdeps/s390/linkmap.h (struct link_map_machine):
6227         Remove member gotplt and add member jmprel.
6228         * sysdeps/s390/s390-32/dl-machine.h
6229         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6230         instead of gotplt with &got[3].
6231         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6232         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6234 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6236         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6238 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6240         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6241         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6242         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6243         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6244         * libio/vtables.c (_IO_vtable_check)
6245         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6246         * libio/libioP.h (IO_set_accept_foreign_vtables)
6247         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6249 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6251         [BZ #20314]
6252         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6253         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6254         $(common-objpfx)cmath.
6255         ($(common-objpfx)cstdlib): New target.
6256         ($(common-objpfx)cmath): Likewise.
6258 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6260         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6262 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6264         [BZ #20327]
6265         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6266         are not part of the string.
6268 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6270         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6271         * nptl/tst-cancel4-common.h (fifoname): New variable.
6272         (fifofd): Likewise.
6273         (cl_fifo): New function.
6274         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6275         SIGINT.
6276         (tf_open): Add early cancel test.
6278 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6280         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6282 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6284         * sysdeps/generic/ldsodefs.h
6285         (dl_symbol_visibility_binds_local_p): New inline function.
6286         * elf/dl-addr.c (determine_info): Treat hidden and internal
6287         symbols as local.
6288         * elf/dl-lookup.c (do_lookup_x): Likewise.
6289         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6291 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6293         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6294         invalid exception for a sNaN input.
6295         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6296         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6297         (__nearbyint_vis3): Likewise
6298         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6299         (__nearbyintf_vis3): Likewise
6300         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6301         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6302         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6303         Likewise.
6304         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6305         Likewise.
6307 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6309         [BZ #20139]
6310         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6311         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6312         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6313         2.24 or above.
6314         (HAVE_AVX512_ASM_SUPPORT): Removed.
6315         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6316         * sysdeps/x86_64/configure: Regenerated.
6317         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6318         check unconditional.
6319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6320         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6321         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6322         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6323         Likewise.
6324         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6325         Likewise.
6326         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6327         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6328         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6330         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6331         Likewise.
6332         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6333         Likewise.
6334         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6335         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6337         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6339         Likewise.
6340         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6341         Likewise.
6342         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6343         Likewise.
6344         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6345         Likewise.
6346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6347         Likewise.
6348         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6349         Likewise.
6350         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6351         Likewise.
6352         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6353         Likewise.
6354         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6355         Likewise.
6356         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6357         Likewise.
6358         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6359         Likewise.
6361 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6363         [BZ #20024]
6364         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6366         of this implementation of vector function.
6367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6370         Likewise.
6371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6373         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6374         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6375         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6376         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6377         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6378         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6379         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6380         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6381         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6382         for testing vector sincos with fixed ABI.
6383         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6384         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6385         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6386         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6387         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6388         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6389         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6390         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6391         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6392         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6393         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6394         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6395         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6396         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6397         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6398         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6400 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6402         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6404 2016-06-30  Anton Blanchard  <anton@samba.org>
6406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6407         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6408         s_sinf-ppc64.
6409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6412         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6414 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6418         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6419         e_expf-ppc64.
6420         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6423         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6425 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6427         [BZ #20277]
6428         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6429         when SHARED is defined.
6431 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6433         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6434         (index_arch_Prefer_ERMS): Likewise.
6435         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6436         __memcpy_erms for Prefer_ERMS.
6437         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6438         (__memmove_erms): Enabled for libc.a.
6439         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6440         __memmove_erms or Prefer_ERMS.
6441         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6442         __mempcpy_erms for Prefer_ERMS.
6443         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6444         __memset_erms for Prefer_ERMS.
6446 2016-06-30  Andreas Schwab  <schwab@suse.de>
6448         [BZ #20262]
6449         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6450         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6451         of memory.
6453 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6455         [BZ #18645]
6456         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6457         (test-extras): Add tst-cleanupx4aux.
6458         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6459         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6460         tst-cleanupx4aux.o.
6461         * nptl/tst-cleanupx4aux.c: New file.
6463 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6465         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6467 2016-06-29  Andreas Schwab  <schwab@suse.de>
6469         [BZ #20260]
6470         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6471         address before the beginning of the string as an integer to avoid
6472         array-bounds warning.
6474 2016-06-28  Richard Henderson  <rth@redhat.com>
6476         * elf/elf.h (EM_BPF): New.
6477         (EM_NUM): Update.
6478         (R_BPF_NONE, R_BPF_MAP_FD): New.
6480         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6481         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6482         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6483         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6484         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6485         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6486         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6487         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6488         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6489         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6490         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6491         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6492         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6493         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6494         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6495         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6496         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6497         (EM_NUM): Update.
6499 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6501         [BZ #18960]
6502         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6503         Set _nl_current_LC_CATEGORY_used to two instead of one.
6505 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6507         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6508         (do_test): ... this.
6509         (TEST_FUNCTION): New macro.
6510          Include test-skeleton.c.
6511         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6512         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6514 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6516         [BZ #15479]
6517         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6518         floating-point environment rather than just control word.
6519         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6520         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6521         floating-point environment, with "invalid" exceptions merged in,
6522         rather than just control word.
6523         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6524         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6525         "inexact" exceptions.
6527         [BZ #15479]
6528         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6529         floating-point environment rather than just control word.
6530         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6531         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6532         floating-point environment, with "invalid" exceptions merged in,
6533         rather than just control word.
6534         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6535         * math/libm-test.inc (floor_test_data): Do not allow spurious
6536         "inexact" exceptions.
6538         [BZ #15479]
6539         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6540         floating-point environment rather than just control word.
6541         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6542         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6543         floating-point environment, with "invalid" exceptions merged in,
6544         rather than just control word.
6545         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6546         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6547         "inexact" exceptions.
6549 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6551         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6552         __libc_vfork.
6553         (__vfork) [IS_IN (libc)]: Remove alias.
6554         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6555         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6556         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6558 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6560         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6561         of atomic_compare_and_exchange_bool_rel.
6562         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6563         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6564         catomic_compare_and_exchange_bool_rel): Remove.
6565         * sysdeps/aarch64/atomic-machine.h
6566         (atomic_compare_and_exchange_bool_rel): Likewise.
6567         * sysdeps/alpha/atomic-machine.h
6568         (atomic_compare_and_exchange_bool_rel): Likewise.
6569         * sysdeps/arm/atomic-machine.h
6570         (atomic_compare_and_exchange_bool_rel): Likewise.
6571         * sysdeps/mips/atomic-machine.h
6572         (atomic_compare_and_exchange_bool_rel): Likewise.
6573         * sysdeps/microblaze/atomic-machine.h
6574         ( __arch_compare_and_exchange_bool_8_rel,
6575         __arch_compare_and_exchange_bool_16_rel): Likewise.
6576         * sysdeps/powerpc/atomic-machine.h
6577         ( __arch_compare_and_exchange_bool_8_rel,
6578         __arch_compare_and_exchange_bool_16_rel): Likewise.
6579         * sysdeps/powerpc/powerpc32/atomic-machine.h
6580         ( __arch_compare_and_exchange_bool_32_rel,
6581         __arch_compare_and_exchange_bool_64_rel): Likewise.
6582         * sysdeps/powerpc/powerpc64/atomic-machine.h
6583         ( __arch_compare_and_exchange_bool_32_rel,
6584         __arch_compare_and_exchange_bool_64_rel): Likewise.
6585         * sysdeps/tile/atomic-machine.h
6586         (atomic_compare_and_exchange_bool_rel): Likewise.
6588 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6590         [BZ #20296]
6591         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6592         when either argument is a NaN.
6593         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6594         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6596         * math/libm-test.inc (snan_value_ld): New macro.
6597         (isgreater_test_data): Add sNaN tests.
6598         (isgreaterequal_test_data): Likewise.
6599         (isless_test_data): Likewise.
6600         (islessequal_test_data): Likewise.
6601         (islessgreater_test_data): Likewise.
6602         (isunordered_test_data): Likewise.
6603         (nextafter_test_data): Likewise.
6604         (nexttoward_test_data): Likewise.
6605         (remainder_test_data): Likewise.
6606         (remquo_test_data): Likewise.
6607         (significand_test_data): Likewise.
6608         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6610 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6612         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6613         environment macros are defined.
6614         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6616 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6618         [BZ #20191]
6619         Implement vtable verification in libio.
6620         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6621         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6622         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6623         _IO_new_file_init_internal instead of _IO_file_init.
6624         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6625         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6626         * libio/Makefile (routines): Add vtables.
6627         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6628         (_IO_init): Remove, not for internal use.
6629         (_IO_init_internal): Declare, internal replacement for _IO_init.
6630         (_IO_file_init): Remove, not for internal use.
6631         (_IO_new_file_init): Remove, not for internal use.
6632         (_IO_new_file_init_internal): Declare, internal replacement for
6633         _IO_new_file_init.
6634         (_IO_old_file_init): Remove, not for internal use.
6635         (_IO_old_file_init_internal): Declare, internal replacement for
6636         _IO_old_file_init.
6637         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6638         internal use.
6639         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6640         Declare.
6641         (libio_vtable): New macro.
6642         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6643         functions.
6644         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6645         _IO_new_file_init.
6646         (_IO_new_file_init): New externally visible wrapper which disables
6647         vtable verification.
6648         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6649         Define as vtables.
6650         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6651         (_IO_init): New externally visible wrapper which disables
6652         vtable verification.
6653         * libio/iofdopen.c (_IO_new_fdopen): Call
6654         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6655         comment.
6656         * libio/iofopen.c (__fopen_internal): Call
6657         _IO_new_file_init_internal instead of _IO_file_init.
6658         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6659         Define as vtables.
6660         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6661         _IO_new_file_init_internal instead of _IO_file_init.
6662         * libio/iopopen.c (_IO_new_popen): Likewise.
6663         (_IO_proc_jumps): Define as vtable.
6664         * libio/iovdprintf.c (_IO_vdprintf): Call
6665         _IO_new_file_init_internal instead of _IO_file_init.
6666         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6667         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6668         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6669         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6670         _IO_old_file_init.
6671         (_IO_old_file_init): New externally visible wrapper which disables
6672         vtable verification.
6673         (_IO_old_file_jumps): Define as vtable.
6674         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6675         _IO_old_file_init_internal instead of _IO_old_file_init.
6676         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6677         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6678         (_IO_old_proc_jumps): Define as vtable.
6679         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6680         Define as vtables.
6681         * libio/vtables.c: New file.
6682         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6683         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6684         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6685         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6686         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6687         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6688         instead of _IO_init.
6690 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6692         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6694 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6696         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6697         potentially unused.
6699 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6701         * test-skeleton.c (write_message): New function.
6702         * malloc/tst-mallocfork2.c (write_message): Remove.
6703         * debug/tst-longjmp_chk2.c (write_indented): New function.
6704         (write_message): Remove.
6705         (stackoverflow_handler): Call write_indented.
6707 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6709         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6710         "inexact" exceptions after fnstenv.
6711         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6712         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6713         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6715 2015-06-22  Zack Weinberg  <zackw@panix.com>
6717         * sysdeps/generic/bits/hwcap.h: Moved to ...
6718         * bits/hwcap.h: Here.
6720 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6722         * sysdeps/aarch64/memcpy.S (memcpy):
6723         Further tuning for performance.
6725 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6727         [BZ #20284]
6728         * malloc/arena.c (reused_arena): Do not return NULL if we start
6729         out with a non-corrupted arena.
6731 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6733         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6734         * misc/tst-preadvwritev.c: New file.
6735         * misc/tst-preadvwritev64.c: Likewise.
6736         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6737         usage.
6738         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6739         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6740         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6741         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6743 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6745         [BZ #19654]
6746         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6747         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6748         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6749         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6750         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6751         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6752         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6753         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6754         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6755         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6756         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6757         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6758         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6759         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6760         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6761         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6762         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6763         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6764         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6765         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6766         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6767         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6768         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6769         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6770         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6771         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6773 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6775         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6776         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6778 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6780         * sysdeps/aarch64/memcpy.S (memcpy):
6781         Rewrite of optimized memcpy and memmove.
6782         * sysdeps/aarch64/memmove.S (memmove): Remove
6783         memmove code (merged into memcpy.S).
6785 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6787         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6788         * sysdeps/generic/dl-dtv.h: New file.
6789         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6790         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6791         (dtv_t): Remove.
6792         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6793         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6794         (dtv_t): Remove.
6795         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6796         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6797         (dtv_t): Remove.
6798         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6799         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6800         (dtv_t): Remove.
6801         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6802         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6803         (dtv_t): Remove.
6804         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6805         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6806         (dtv_t): Remove.
6807         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6808         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6809         (dtv_t): Remove.
6810         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6811         (dtv_t): Remove.
6812         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6813         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6814         (dtv_t): Remove.
6815         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6816         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6817         (dtv_t): Remove.
6818         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6819         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6820         (dtv_t): Remove.
6821         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6822         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6823         (dtv_t): Remove.
6824         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6825         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6826         (dtv_t): Remove.
6827         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6828         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6829         (dtv_t): Remove.
6830         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6831         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6832         (dtv_t): Remove.
6833         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6834         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6835         (dtv_t): Remove.
6837 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6839         Revert symbol poisoning of  __malloc_initialize_hook.
6840         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6841         poisoning.
6842         * malloc/Makefile: Remove un-poisoning.
6843         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6844         instead of old__malloc_initialize_hook.
6845         * malloc/malloc-hooks.h: Likewise.
6846         * malloc/malloc.c: Likewise.
6847         * malloc/mcheck-init.c: Likewise.
6849 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6851         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6853 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6855         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6856         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6857         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6858         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6860 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6862         * NEWS: Mention addition of nextup and nextdown.
6863         * manual/arith.texi: Document nextup and nextdown.
6864         * manual/libm-err-tab.pl: Add nextup and nextdown.
6865         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6866         * math/Versions (libm): Add GLIBC_2.24.
6867         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6868         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6869         Add new test.
6870         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6871         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6872         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6873         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6874         (nextup_test_data): Likewise.
6875         (nextdown_test_data): Likewise.
6876         * math/s_nextdown.c: New file.
6877         * math/s_nextdownf.c: Likewise.
6878         * math/s_nextdownl.c: Likewise.
6879         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6880         F(nextup): New function.
6881         F(nextdown): Likewise.
6882         * math/tgmath.h: Add nextup and nextdown.
6883         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6884         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6885         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6886         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6887         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6888         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6889         Add nextup and nextdown.
6890         (CFLAGS-nldbl-nextup.c): New variable.
6891         (CFLAGS-nldbl-nextdown.c): Likewise.
6892         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6893         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6894         * sysdeps/nacl/libm.abilist: Update.
6895         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6896         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6897         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6898         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6924 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6926         * manual/pattern.texi: Fix typos & grammar errors.
6928 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6930         * manual/search.texi: Fix typos & grammar errors.
6932 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6934         * manual/message.texi: Fix typos & grammar errors.
6936 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6938         * manual/contrib.texi: Fix spelling typos.
6939         * manual/crypt.texi: Likewise.
6940         * manual/filesys.texi: Likewise.
6941         * manual/locale.texi: Likewise.
6942         * manual/message.texi: Likewise.
6943         * manual/nss.texi: Likewise.
6944         * manual/string.texi: Likewise.
6946 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6948         * manual/locale.texi: Fix typos & grammar errors.
6950 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6952         * manual/charset.texi: Fix typos & grammar errors.
6954 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6956         * manual/string.texi: Fix typos.
6958 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6960         * manual/ctype.texi: Fix typos.
6962 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6964         * manual/memory.texi: Fix various typos & grammar errors.
6966 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6968         [BZ #20255]
6969         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6970         * math/libm-test.inc (fdim_test_data): Add another test.
6972         [BZ #6796]
6973         [BZ #20255]
6974         [BZ #20256]
6975         * math/s_fdim.c: Include <math_private.h>.
6976         (__fdim): Use math_narrow_eval on result.
6977         * math/s_fdimf.c: Include <math_private.h>.
6978         (__fdimf): Use math_narrow_eval on result.
6979         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6980         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6981         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6982         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6983         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6984         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6985         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6986         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6987         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6988         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6989         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6990         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6991         overflow.  Add sNaN tests.
6993         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6994         fpclassify.
6995         * math/s_fdimf.c (__fdimf): Likewise.
6996         * math/s_fdiml.c (__fdiml): Likewise.
6998 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7000         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7001         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7003         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7004         ifunc'ed strcasecmp/strncasecmp.
7005         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7006         [EALIGN]: Removed.
7007         [END]: Likewise.
7008         [__strcasecmp]: Define instead of the above to control symbol name.
7009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7010         for __strcasecmp_power8.
7011         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7012         for __strncasecmp_power8.
7013         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7015         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7016         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7017         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7018         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7020 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7022         [BZ #20252]
7023         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7024         arguments when second argument is a NaN.
7025         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7026         qNaN tests.
7028         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7029         (conj_test_data): Likewise.
7030         (copysign_test_data): Likewise.
7031         (creal_test_data): Likewise.
7032         (fma_test_data): Likewise.
7033         (fmod_test_data): Likewise.
7035         [BZ #20250]
7036         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7037         itself.
7038         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7039         zero input to itself.
7040         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7041         Likewise.
7042         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7043         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7044         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7045         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7046         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7048 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7050         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7051         * nptl/tst-cancel4-common.c: New file.
7052         * nptl/tst-cancel4-common.h: Likewise.
7053         * nptl/tst-cancel4.c: Move common definitions to
7054         tst-cancel4-common.{c,h} file.
7055         * nptl/tst-cancel4_1.c: New test.
7056         * nptl/tst-cancel4_2.c: New test.
7058 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7060         [BZ #20248]
7061         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7062         (write_message): New function.
7063         (stackoverflow_handler): Call it instead of printf, to avoid
7064         excessive stack usage by printf.
7065         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7067 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7069         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7070         (prio_inherit_missing): Remove define.
7071         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7072         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7074         Likewise.
7075         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7076         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7078         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7079         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7080         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7082 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7084         [BZ #19670]
7085         [BZ #19672]
7087         * io/test-lfs.c (do_prepare): Use xmalloc.
7088         * io/tst-fcntl.c (do_prepare): Likewise.
7089         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7090         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7091         * login/tst-utmp.c (do_prepare): Likewise.
7092         * posix/tst-exec.c (do_prepare): Likewise.
7093         * posix/tst-pathconf.c (prepare): Likewise.
7094         * posix/tst-spawn.c (do_prepare): Likewise.
7095         * posix/tst-truncate.c (do_prepare): Likewise.
7096         * rt/tst-aio.c (do_prepare): Likewise.
7097         * rt/tst-aio64.c (do_prepare): Likewise.
7099 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7101         [BZ #20237]
7102         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7103         (get*ent): Set entidx to NULL during initialization.  If entidx is
7104         NULL, start iteration from the beginning.
7106 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7108         * malloc/malloc.c (musable): Return correct size for dumped fake
7109         mmapped chunk.
7111 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7113         [BZ #20222]
7114         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7115         (_IO_cookie_write): Likewise.
7116         (_IO_cookie_seek): Likewise.
7117         (_IO_cookie_close): Likewise.
7118         (_IO_old_cookie_seek): Likewise.
7119         (set_callbacks): New function.
7120         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7122 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7124         * locale/programs/localedef.c (oldstyle_tables): Remove.
7125         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7127 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7129         [BZ #20240]
7130         * math/Makefile (CFLAGS-s_modf.c): New variable.
7131         (CFLAGS-s_modff.c): Likewise.
7132         (CFLAGS-s_modfl.c): Likewise.
7133         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7135 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7137         [BZ #20215]
7138         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7139         [!__GNUC_PREREQ (3,2)]: Likewise.
7141 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7143         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7144         (msghdr.msg_controllen): Likewise.
7145         (cmsghdr.cmsg_len): Likewise.
7146         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7147         ptw-oldsendmsg.
7148         (CFLAGS-oldrecvmsg.c): Remove rule.
7149         (CFLAGS-oldsendmsg.c): Likewise.
7150         (CFLAGS-recvmsg.c): Add rule.
7151         (CFLAGS-sendmsg.c): Likewise.
7152         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7153         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7154         (CFLAGS-recvmsg.c): Remove rule.
7155         (CFLAGS-sendmsg.c): Likewise.
7156         (CFLAGS-oldrecvmsg.c): Likewise.
7157         (CFLAGS-oldsendmsg.c): Likewise.
7158         (CFLAGS-recvmmsg.c): Likewise.
7159         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7160         to kernel defined interfaces.
7161         (msghdr.msg_controllen): Likewise.
7162         (cmsghdr.cmsg_len): Likewise.
7163         (msghdr.__glibc_reserved1): Remove member.
7164         (msghdr.__glibc_reserved2): Likewise.
7165         (cmsghdr.__glibc_reserved1): Likewise.
7166         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7167         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7168         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7169         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7170         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7171         version.
7172         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7173         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7174         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7175         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7176         Remove recvmsg and sendmsg.
7177         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7178         Likewise.
7179         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7182         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7183         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7188         [libc] (GLIBC_2.24): Likewise.
7189         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7190         Likewise.
7191         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7194         [libc] (GLIBC_2.24): Likewise.
7195         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7200         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7201         Likewise.
7202         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7203         Likewise.
7204         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7205         Likewise.
7206         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7207         Likewise.
7208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7209         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7210         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7211         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7212         version for {recv,send,recm,sendm}msg.
7213         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7215         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7216         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7220         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7221         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7222         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7223         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7224         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7228         Likewise.
7229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7235         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7236         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7239         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7241         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7243 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7245         [BZ #19564]
7246         Remove __malloc_initialize_hook from the API.
7247         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7248         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7249         #pragma GCC poison.
7250         * malloc/malloc-hooks.h: New file.
7251         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7252         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7253         (old__malloc_initialize_hook): Rename from
7254         __malloc_initialize_hook to evade poisoning.  Turn into compat
7255         symbol.
7256         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7257         __malloc_initialize_hook.
7258         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7259         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7260         * manual/memory.texi (Hooks for Malloc): Remove
7261         __malloc_initialize_hook.  Adjust hook example.
7263 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7265         [BZ #20235]
7266         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7267         itself.
7268         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7269         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7271         [BZ #20234]
7272         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7273         infinity or NaN input to itself.
7275         [BZ #20233]
7276         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7277         to itself.
7279         [BZ #20232]
7280         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7281         itself.
7283 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7285         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7286         __libc_start_main via GOT.
7288 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7290         * sysdeps/x86_64/memcopy.h: New file.
7291         * sysdeps/x86_64/wordcopy.c: Likewise.
7293 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7295         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7296         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7297         <cstdlib>.
7298         (optimization_barrier): New.
7299         (do_test): Use it.  Call quick_exit in the global namespace.
7300         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7301         instead of <cstdlib>, <thread>.
7302         (optimization_barrier): New.
7303         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7304         Call quick_exit in the global namespace.
7305         (do_test): Call optimization_barrier.  Use pthread_create,
7306         pthread_join instead of std::thread.
7308 2016-06-09  Andreas Schwab  <schwab@suse.de>
7310         [BZ #19755]
7311         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7312         new entries in auto-propagate mode.
7313         * nscd/grpcache.c (cache_addgr): Likewise.
7315 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7317         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7318         New functions.
7319         (add_temp_file): Use them.
7321 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7323         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7325 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7327         [BZ #20229]
7328         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7329         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7330         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7332         [BZ #20228]
7333         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7334         itself.
7335         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7336         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7338         [BZ #20227]
7339         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7340         itself.
7341         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7342         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7343         * math/libm-test.inc (log_test_data): Add sNaN tests.
7345         [BZ #20226]
7346         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7347         itself.
7348         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7349         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7350         (exp10_test_data): Likewise.
7351         (expm1_test_data): Likewise.
7353         [BZ #20225]
7354         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7355         itself.
7356         * math/s_ldexpf.c (__ldexpf): Likewise.
7357         * math/s_ldexpl.c (__ldexpl): Likewise.
7358         * math/w_scalbln.c (__w_scalbln): Likewise.
7359         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7360         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7361         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7362         (scalbln_test_data): Likewise.
7364         [BZ #20224]
7365         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7366         argument to itself.
7367         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7369 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7371         [BZ #19776]
7372         * sysdeps/x86_64/memcpy.S: Make it dummy.
7373         * sysdeps/x86_64/mempcpy.S: Likewise.
7374         * sysdeps/x86_64/memmove.S: New file.
7375         * sysdeps/x86_64/memmove_chk.S: Likewise.
7376         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7377         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7378         * sysdeps/x86_64/memmove.c: Removed.
7379         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7380         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7381         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7382         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7383         Likewise.
7384         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7385         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7387         memcpy-sse2-unaligned, memmove-avx-unaligned,
7388         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7390         (__libc_ifunc_impl_list): Replace
7391         __memmove_chk_avx512_unaligned_2 with
7392         __memmove_chk_avx512_unaligned.  Remove
7393         __memmove_chk_avx_unaligned_2.  Replace
7394         __memmove_chk_sse2_unaligned_2 with
7395         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7396         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7397         with __memmove_avx512_unaligned.  Replace
7398         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7399         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7400         with __memcpy_chk_avx512_unaligned.  Remove
7401         __memcpy_chk_avx_unaligned_2.  Replace
7402         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7403         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7404         Replace __memcpy_avx512_unaligned_2 with
7405         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7406         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7407         with __mempcpy_chk_avx512_unaligned.  Remove
7408         __mempcpy_chk_avx_unaligned_2.  Replace
7409         __mempcpy_chk_sse2_unaligned_2 with
7410         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7411         Replace __mempcpy_avx512_unaligned_2 with
7412         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7413         Replace __mempcpy_sse2_unaligned_2 with
7414         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7415         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7416         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7417         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7418         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7419         (ENTRY): Removed.
7420         (END): Likewise.
7421         (ENTRY_CHK): Likewise.
7422         (libc_hidden_builtin_def): Likewise.
7423         Don't include ../memcpy.S.
7424         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7425         __memcpy_chk_avx512_unaligned_erms and
7426         __memcpy_chk_avx512_unaligned.  Use
7427         __memcpy_chk_avx_unaligned_erms and
7428         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7429         Default to __memcpy_chk_sse2_unaligned.
7430         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7431         Change function suffix from unaligned_2 to unaligned.
7432         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7433         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7434         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7435         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7436         (ENTRY): Removed.
7437         (END): Likewise.
7438         (ENTRY_CHK): Likewise.
7439         (libc_hidden_builtin_def): Likewise.
7440         Don't include ../mempcpy.S.
7441         (mempcpy): New.  Add a weak alias.
7442         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7443         __mempcpy_chk_avx512_unaligned_erms and
7444         __mempcpy_chk_avx512_unaligned.  Use
7445         __mempcpy_chk_avx_unaligned_erms and
7446         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7447         Default to __mempcpy_chk_sse2_unaligned.
7449 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7451         [BZ #19881]
7452         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7453         into ...
7454         * sysdeps/x86_64/memset.S: This.
7455         (__bzero): Removed.
7456         (__memset_tail): Likewise.
7457         (__memset_chk): Likewise.
7458         (memset): Likewise.
7459         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7460         defined.
7461         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7462         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7463         (__memset_zero_constant_len_parameter): Check SHARED instead of
7464         PIC.
7465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7466         memset-avx2 and memset-sse2-unaligned-erms.
7467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7468         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7469         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7470         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7471         (__bzero): Enabled.
7472         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7473         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7474         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7475         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7476         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7477         (memset): Removed.
7478         (__memset_chk): Likewise.
7479         (MEMSET_SYMBOL): New.
7480         (libc_hidden_builtin_def): Replace __memset_sse2 with
7481         __memset_sse2_unaligned.
7482         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7483         __memset_chk_sse2 and __memset_chk_avx2 with
7484         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7485         Use __memset_chk_sse2_unaligned_erms or
7486         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7487         __memset_chk_avx512_unaligned_erms and
7488         __memset_chk_avx512_unaligned.
7490 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7492         * math/gen-auto-libm-test.c (fp_format_desc): remove
7493         suffix member.
7494         (output_generic_value): Remove usage of suffix member,
7495         and the resulting unuse of the fp_format argument.
7496         (output_for_one_input_case): Remove unused fp_format
7497         parameter.
7499         * math/auto-libm-test-out: Regenerate.
7501         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7502         usage with TEST_COND_ibm128.
7503         (TEST_COND_flt_32): Remove.
7504         (TEST_COND_dbl_64): Remove.
7505         (TEST_COND_ldbl_96_intel): Remove.
7506         (TEST_COND_ldbl_96_m68k): Remove.
7507         (TEST_COND_ldbl_128): Remove.
7509 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7511         * auto-libm-test-in:
7512         Replace flt-32 usage with binary32.
7513         Replace dbl-64 usage with binary64.
7514         Replace ldbl-intel-96 usage with intel96.
7515         Replace ldbl-m68k-96 usage with m68k96.
7516         Replace ldbl-128ibm usage with ibm128.
7517         Replace ldbl-128 usage with binary128.
7519         * auto-libm-test-out: Regenerate.
7521 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7523         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7524         (parse_ulps): Dynamically generate type name matching
7525         string from all_floats.
7526         (get_ulps): Generate the ulps as an array instead.
7527         (output_ulps): Dynamically compose the type based
7528         on the number of supported formats, and print
7529         the indices as type specific helper macros.
7531         * math/libm-test.inc: Remove comment about CHOOSE.
7532         (ulp_data): Generate the type in libm-test-ulps.h.
7533         (ULP_IDX): New macro.
7534         (find_ulps): Update usage of max_ulp.
7536         * math/test-double-vlen2.h (CHOOSE): Remove.
7537         * math/test-double-vlen4.h (CHOOSE): Likewise.
7538         * math/test-double-vlen8.h (CHOOSE): Likewise.
7539         * math/test-float.c (CHOOSE): Likewise.
7540         * math/test-float-finite.c (CHOOSE): Likewise.
7541         * math/test-double.c (CHOOSE): Likewise.
7542         * math/test-double-finite.c (CHOOSE): Likewise.
7543         * math/test-idouble.c (CHOOSE): Likewise.
7544         * math/test-ifloat.c (CHOOSE): Likewise.
7545         * math/test-ildoubl.c (CHOOSE): Likewise.
7546         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7547         * math/test-ldouble.c (CHOOSE): Likewise.
7549         * math/test-float.h (TEST_FLOAT): Remove.
7550         * math/test-double.h (TEST_DOUBLE): Likewise.
7551         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7553 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7555         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7556         (parse_args): Strip C suffix from floating point literals
7557         typed with 'f' and wrap them with LIT().
7559         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7560         (test_ff_f_data_nexttoward): Rename to
7561         (test_fj_f_data): New struct.
7562         (nexttoward_test_data): Relabel tests as
7563         TEST_fj_f instead of TEST_ff_f.
7565 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7567         Emacs bug 23726.
7568         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7569         (__libc_realloc): Correct size computation for dumped fake mmapped
7570         chunks.
7572 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7574         [BZ #20219]
7575         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7576         to itself.
7577         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7579         [BZ #20218]
7580         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7581         to itself.
7582         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7584 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7586         [BZ #20195]
7587         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7588         check to ...
7589         (init_cpu_features): Here.
7591 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7593         [BZ #20214]
7594         * sysdeps/unix/sysv/linux/bits/in.h
7595         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7596          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7597         Define to 1.
7598         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7599          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7600         Define to 0.
7601         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7602         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7604 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7606         [BZ #20198]
7607         * stdlib/Makefile (tests): Add tst-quick_exit, and
7608         tst-thread-quick_exit.
7609         [ifeq ($(have-cxx-thread_local),yes)]
7610         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7611         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7612         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7613         (LDLIBS-tst-thread-quick_exit): Likewise.
7614         [ifneq ($(have-cxx-thread_local),yes)]
7615         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7616         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7617         If run_dtors is true call __call_tls_dtors.
7618         (exit): Call __run_exit_handlers with run_dtors set to true.
7619         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7620         definition.
7621         * stdlib/quick_exit.c (quick_exit): Remove function.
7622         (__new_quick_exit): New function.
7623         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7624         function.
7625         * stdlib/tst-quick_exit.cc: New file.
7626         * stdlib/tst-thread-quick_exit.cc: New file.
7627         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7628         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7629         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7630         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7631         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7632         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7633         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7634         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7635         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7636         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7637         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7638         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7639         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7640         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7641         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7642         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7647         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7648         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7649         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7650         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7651         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7654         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7655         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7656         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7658 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7660         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7661         a typo in comments.
7663 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7665         [BZ #20213]
7666         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7667         argument to itself.
7668         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7670 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7672         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7673         required flags.
7674         (CFLAGS-pwritev64.c): Likewise.
7675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7677         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7678         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7679         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7680         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7681         syscall from auto-generation.
7682         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7683         [WORDSIZE == 64] (pwritev64): Remove macro.
7684         [!PWRITEV] (PWRITEV): Likewise.
7685         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7686         [!PWRITEV] (PWRITE): Likewise.
7687         [!PWRITEV] (OFF_T): Likewise.
7688         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7689         (LO_HI_LONG): Remove macro.
7690         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7691         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7692         (PWRITEV): Remove macro.
7693         (PWRITEV_REPLACEMENTE): Likewise.
7694         (PWRITE): Likewise.
7695         (OFF_T): Likewise.
7696         (pwritev64): New function.
7697         * nptl/tst-cancel4.c (tf_writev): Add test.
7699         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7700         required flags.
7701         (CFLAGS-preadv64.c): Likewise.
7702         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7703         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7704         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7705         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7706         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7707         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7708         syscall from auto-generation.
7709         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7710         [WORDSIZE == 64] (preadv64): Remove macro.
7711         [!PREADV] (PREADV): Likewise.
7712         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7713         [!PREADV] (PREAD): Likewise.
7714         [!PREADV] (OFF_T): Likewise.
7715         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7716         (LO_HI_LONG): Remove macro.
7717         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7718         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7719         (PREADV): Remove macro.
7720         (PREADV_REPLACEMENTE): Likewise.
7721         (PREAD): Likewise.
7722         (OFF_T): Likewise.
7723         (preadv64): New function.
7724         * nptl/tst-cancel4.c (tf_preadv): Add test.
7726 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7728         [BZ #20212]
7729         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7730         argument to itself.
7731         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7733 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7735         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7736         New symbol defined as libc_hidden_def.
7737         (strcasestr): Became a weak alias to __strcasestr.
7738         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7739         according to multi-arch support.  Move __stpncpy hidden
7740         definition from here to...
7741         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7742         symbol stpncpy.
7743         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7744         libc_hidden_builtin_def.
7745         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7746         memset symbol to use when multi-arch support is available.
7748 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7750         * dlfcn/tst-rec-dlopen.c: Include string.h.
7752 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7754         * manual/install.texi: Remove mention of --without-tls
7755         * INSTALL: Regenerate.
7757 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7759         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7760         Remove.
7761         (call_function, interposed_malloc_called): New variables.
7762         (malloc): New function.
7763         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7764         and clear call_function as needed.
7766 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7768         * include/wchar.h (__wmemset): Use __typeof.
7770 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7772         * include/wchar.h (__wmemset): Declare function without typeof.
7774 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7776         [BZ #20205]
7777         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7778         exponent when incrementing negative subnormal with low mantissa
7779         word zero.
7780         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7781         Add another test.
7783 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7785         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7786         __wmemset instead of wmemset.
7788 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7790         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7791         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7792         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7793         __USE_KERNEL_IPV6_DEFS to 0.
7794         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7795         Update comment.
7797 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7799         [BZ #19861]
7800         Do not use IFUNC resolver with potentially unrelocated symbol.
7801         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7802         (DEFINE_FORK): Remove macro and inline definition.
7803         (fork_alias): Renamed from fork_ifunc.
7804         (__fork_alias): Renamed from __fork_ifunc.
7806 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7808         [BZ 19653]
7809         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7810         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7812 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7814         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7815         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7816         i386-linux-gnu).
7817         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7818         Set to no.
7819         * sysdeps/mach/hurd/configure: Refresh.
7821 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7823         [BZ #20178]
7824         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7825         on failure instead of exit.
7827 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7829         [BZ #3629]
7830         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7831         of POSIX.1-2008.
7833 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7835         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7836           Use PLT entry for calling _hurd_self_sigstate.
7838 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7840         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7841         available logical processors with SMT level type sharing L2
7842         cache for Intel processors.
7844 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7846         [BZ #20160]
7847         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7848         argument to itself before returning the result.
7849         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7850         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7851         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7852         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7853         Likewise.
7854         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7855         Likewise.
7856         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7857         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7858         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7859         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7860         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7861         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7863         [BZ #20160]
7864         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7865         argument to itself before returning the result.
7866         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7867         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7868         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7869         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7870         Likewise.
7871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7872         Likewise.
7873         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7874         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7875         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7876         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7877         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7878         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7880 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7882         * libm-test.inc: Replace usage of M_El with
7883         (lit_e): New macro.
7885 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7887         * libm-test.inc: Replace usage of M_PI_4l with
7888         (lit_pi_4_d): New macro.
7890 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7892         * libm-test.inc: Replace usage of M_PIl with
7893         (lit_pi): New macro.
7895 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7897         * libm-test.inc: Replace usage of M_PI2l with
7898         (lit_pi_2_d): New macro.
7900         * math/test-double.h (LITM): New macro.
7901         * math/test-float.h (LITM): Likewise.
7902         * math/test-ldouble.h (LITM): Likewise.
7904 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7906         * libm-test.inc (M_PI_34l): Rename to
7907         (lit_pi_3_m_4_d): New Macro.
7908         (M_PI_34_LOG10El): Rename to
7909         (lit_pi_3_m_4_ln10_m_d): New Macro.
7910         (M_PI2_LOG10El): Rename to
7911         (lit_pi_2_ln10_m_d):  New Macro.
7912         (M_PI4_LOG10El): Rename to
7913         (lit_pi_4_ln10_m_d):  New Macro.
7914         (M_PI_LOG10El): Rename to
7915         (lit_pi_ln10_d):  New Macro.
7917 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7919         [BZ #20157]
7920         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7921         determine whether to negate low half if [_ARCH_PPCGR], and integer
7922         comparison otherwise.
7923         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7924         determine whether to negate low half.
7926         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7927         (NO_TEST_INLINE_DOUBLE): Likewise.
7928         (TEST_COND_x86_64): Likewise.
7929         (TEST_COND_x86): Likewise.
7930         (M_PI_6l): Likewise.
7932 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7934         * math/libm-test.inc:
7935         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7936         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7937         (TEST_LDOUBLE): Update usage to evaluate as true if
7938         the guarded tests match the property being tested.
7939         (LDBL_MAX_EXP): Change to MAX_EXP.
7940         (LDBL_MIN_EXP): Change to MIN_EXP.
7941         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7942         nexttoward tests.
7944 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7946         * math/libm-test.inc:
7947         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7948         (TYPE_MIN): Likewise.
7949         (TYPE_TRUE_MIN): Likewise.
7950         (TYPE_MAX): Likewise.
7951         (MIN_EXP): Likewise.
7952         (MAX_EXP): Likewise.
7953         (MANT_DIG): Likewise.
7955         (FSTR_MAX): New macro.
7956         (__CONCATX): Likewise.
7957         (QTYPE_STR): Likewise.
7958         (TEST_COND_binary32): Likewise.
7959         (TEST_COND_binary64): Likewise.
7960         (TEST_COND_binary128): Likewise.
7961         (TEST_COND_ibm128): Likewise.
7962         (TEST_COND_intel96): Likewise.
7963         (TEST_COND_m68k96): Likewise.
7965         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7966         (TEST_COND_dbl_64): Likewise.
7967         (TEST_COND_ldbl_96_intel): Likewise.
7968         (TEST_COND_ldbl_96_m68k): Likewise.
7969         (TEST_COND_ldbl_128): Likewise.
7970         (TEST_COND_ldbl_128ibm): Likewise.
7972         (plus_zero): Redefine using LIT macro.
7973         (minus_zero): Likewise.
7974         (plus_infty): Redefine as (INF).
7975         (minux_infty): Redefine as (-INF).
7976         (max_value): Redefine as TYPE_MAX.
7977         (min_value): Redefine as TYPE_MIN.
7978         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7980         (print_float): Refactor to use snprintf to convert FLOAT values
7981         to string. This brings it closer to dropin replacement of strtof
7982         for the TS 18661 defined types.
7983         (update_stats): Likewise.
7984         (print_complex_function_ulps): Likewise.
7985         (print_max_error): Likewise.
7986         (print_complex_max_error): Likewise.
7987         (check_float_internal): Likewise.
7989         * math/test-float.h (PREFIX): New macro.
7990         (LIT): Likewise.
7991         (TYPE_STR): Likewise.
7992         (FTOSTR): Likewise.
7994         * math/test-double.h (PREFIX): New macro.
7995         (LIT): Likewise.
7996         (TYPE_STR): Likewise.
7997         (FTOSTR): Likewise.
7999         * math/test-ldouble.h (PREFIX): New macro.
8000         (LIT): Likewise.
8001         (TYPE_STR): Likewise.
8002         (FTOSTR): Likewise.
8004 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8006         [BZ #20156]
8007         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8008         to itself when zero or not finite.
8009         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8010         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8011         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8012         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8014 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8016         [BZ #20153]
8017         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8018         x * x + x for infinities and NaNs.
8020         [BZ #20151]
8021         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8022         argument to itself before returning result.
8023         (__ieee754_y0l): Likewise.
8024         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8025         (__ieee754_y1l).
8027         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8028         (atan_test_data): Likewise.
8029         (ceil_test_data): Likewise.
8030         (cos_test_data): Likewise.
8031         (cosh_test_data): Likewise.
8032         (erf_test_data): Likewise.
8033         (exp2_test_data): Likewise.
8034         (fabs_test_data): Likewise.
8035         (floor_test_data): Likewise.
8036         (ilogb_test_data): Likewise.
8037         (j0_test_data): Likewise.
8038         (j1_test_data): Likewise.
8039         (jn_test_data): Likewise.
8040         (lgamma_test_data): Likewise.
8041         (lrint_test_data): Likewise.
8042         (llrint_test_data): Likewise.
8043         (logb_test_data): Likewise.
8044         (lround_test_data): Likewise.
8045         (llround_test_data): Likewise.
8046         (nearbyint_test_data): Likewise.
8047         (rint_test_data): Likewise.
8048         (round_test_data): Likewise.
8049         (sin_test_data): Likewise.
8050         (sincos_test_data): Likewise.
8051         (sinh_test_data): Likewise.
8052         (sqrt_test_data): Likewise.
8053         (tan_test_data): Likewise.
8054         (tanh_test_data): Likewise.
8055         (tgamma_test_data): Likewise.
8056         (trunc_test_data): Likewise.
8057         (y0_test_data): Likewise.
8058         (y1_test_data): Likewise.
8059         (yn_test_data): Likewise.
8061         * math/libm-test.inc: Update comment about NaN testing.
8062         (TEST_SNAN): New macro.
8063         (snan_value): Likewise.
8064         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8065         (fpclassify_test_data): Add sNaN tests.
8066         (isfinite_test_data): Likewise.
8067         (isinf_test_data): Likewise.
8068         (isnan_test_data): Likewise.
8069         (isnormal_test_data): Likewise.
8070         (issignaling_test_data): Likewise.
8071         (signbit_test_data): Likewise.
8072         * math/gen-libm-test.pl (%beautify): Add snan_value.
8073         (show_exceptions): Add argument $test_snan.
8074         (parse_args): Handle snan_value as non-finite.  Update call to
8075         show_exceptions.
8076         * math/Makefile (libm-test-no-inline-cflags): Add
8077         -fsignaling-nans.
8079 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8081         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8082         (CFLAGS-oldsendmsg.c): Add rule.
8083         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8084         Correct recvmsg symbol name.
8085         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8086         Likewise.
8088 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8090         * sysdeps/unix/sysv/linux/Makefile
8091         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8092         oldsendmmsg.
8093         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8094         sendmmsg.
8095         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8096         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8097         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8098         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8103         Likewise.
8104         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8105         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8106         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8107         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8108         iovlen and controllen fields to adjust to POSIX specification.
8109         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8111         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8112         and change to correct expected type.
8113         (msghdr.msg_controllen): Likewise.
8114         (cmsghdr.cmsg_len): Likewise.
8115         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8116         expected POSIX assumption about the size.
8117         (msghdr.msg_controllen): Likewise.
8118         (msghdr.__glibc_reserved1): Likewise.
8119         (msghdr.__glibc_reserved2): Likewise.
8120         (cmsghdr.cmsg_len): Likewise.
8121         (cmsghdr.__glibc_reserved1): Likewise.
8122         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8123         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8124         (CFLAGS-sendmsg.c): Remove rule.
8125         (CFLAGS-recvmsg.c): Likewise.
8126         (CFLAGS-oldsendmsg.c): Add rule.
8127         (CFLAGS-oldrecvmsg.c): Likewise.
8128         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8129         recvmsg and sendmsg.
8130         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8131         Likewise.
8132         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8133         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8134         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8135         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8136         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8137         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8138         Likewise.
8139         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8140         Likewise.
8141         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8142         Likewise.
8143         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8144         Likewise.
8145         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8146         Likewise.
8147         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8148         Likewise.
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8150         (GLIBC_2.24): Likewise.
8151         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8152         Likewise.
8153         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8154         Likewise.
8155         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8156         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8157         Likewise.
8158         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8159         Likewise.
8160         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8161         Likewise.
8162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8163         (GLIBC_2.24): Likewise.
8164         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8165         Likewise.
8166         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8167         Likewise.
8168         * sysdeps/unix/sysv/linux/Makefile
8169         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8170         (CFLAGS-sendmsg.c): Add rule.
8171         (CFLAGS-recvmsg.c): Likewise.
8172         (CFLAGS-oldsendmsg.c): Likewise.
8173         (CFLAGS-oldrecvmsg.c): Likewise.
8174         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8175         initialization.
8176         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8177         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8178         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8179         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8180         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8181         iovlen and controllen fields to adjust to POSIX specification.
8182         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8183         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8184         added recvmsg and sendmsg.
8185         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8186         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8187         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8188         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8189         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8190         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8191         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8192         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8193         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8194         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8195         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8196         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8198         Likewise.
8199         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8201         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8202         Likewise.
8203         Likewise.
8204         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8206         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8207         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8208         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8209         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8213         Likewise.
8214         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8215         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8217         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8218         from auto-generation.
8219         (sendmsg): Likewise.
8220         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8221         (sendmsg): Likewise.
8222         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8223         (sendmsg): Likewise.
8224         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8225         (sendmsg): Likewise.
8226         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8227         (sendmsg): Likewise.
8228         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8229         (sendmsg): Likewise.
8230         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8231         Likewise.
8232         (sendmsg): Likewise.
8233         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8234         (sendmsg): Likewise.
8235         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8237         Remove.
8238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8239         Likewise.
8240         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8241         Undefine.
8242         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8243         Likewise.
8244         * sysdeps/unix/sysv/linux/kernel-features.h
8245         (__ASSUME_SENDMSG_SYSCALL): Define.
8246         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8248         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8249         Remove.
8250         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8251         Likewise.
8252         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8253         Undefine.
8254         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8255         Likewise.
8256         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8258         Remove.
8259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8260         Likewise.
8261         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8262         Undefine.
8263         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8264         Likewise.
8265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8266         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8267         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8268         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8269         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8270         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8271         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8272         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8273         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8275 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8277         * stdlib/gen-tst-strtod-round.c: Add backslash to
8278         compile command in comment.
8279         (printfp): Remove the literal suffix, and define an infinite
8280         value as INF to avoid expansion clash with INFINITY.
8281         (round_str): Remove the literal suffix.
8282         (round_for_all): Likewise, remove the now duplicate ldbl-64
8283         entry, and remove some magic constants.
8285         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8286         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8287         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8288         (_CONCAT): New macro.
8289         (CONCAT): Likewise.
8290         (CHOOSE_ld): Likewise.
8291         (CHOOSE_f): Likewise.
8292         (CHOOSE_d): Likewise.
8293         (FTYPE_MEMBER): Likewise.
8294         (BOOL_MEMBER): Likewise.
8295         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8296         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8297         (_XNTRY): Likewise.
8298         (XNTRY): Likewise.
8299         (_ENTRY): Likewise.
8300         (ENTRY): Likewise.
8301         (test_exactness): Generate members via macro.
8302         (test_results): Likewise.
8303         (test): Update members.
8304         (TEST): Redefine using new macros.
8305         (INF): New macro.
8306         (fetestmodes): New structure.
8307         (do_test): Refactor to be type generic.
8308         (test_in_one_mode): Refactor duplicate code into
8309         (GEN_ONE_TEST): New macro.
8311         * stdlib/tst-strtod-round-data.h: Regenerate.
8313         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8314         Extend to pass additional arbitrary parameters to
8315         generators.
8317 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8319         [BZ #15479]
8320         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8321         floating-point state after first floating-point operation on
8322         input.  Restore full floating-point state instead of just rounding
8323         mode.
8324         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8325         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8326         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8327         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8328         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8330         [BZ #15479]
8331         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8332         floating-point state after first floating-point operation on
8333         input.  Restore full floating-point state instead of just rounding
8334         mode.
8335         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8336         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8337         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8338         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8339         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8341 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8343         [BZ #19727]
8344         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8345         valid high surrogate.
8346         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8347         of an utf16 surrogate.
8348         * iconv/gconv_simple.c (BODY): Likewise.
8349         * iconvdata/bug-iconv12.c: New file.
8350         * iconvdata/Makefile (tests): Add bug-iconv12.
8352 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8354         [BZ #19726]
8355         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8356         outptrp in case of an illegal input.
8357         * iconv/tst-iconv6.c: New file.
8358         * iconv/Makefile (tests): Add tst-iconv6.
8360 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8362         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8363         an error in case of a value in range of an utf16 low surrogate.
8365 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8367         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8368         an error in case of a value in range of an utf16 low surrogate.
8370 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8372         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8373         Move to ...
8374         * sysdeps/s390/Makefile: ... here.
8375         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8376         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8377         (BRANCH_ON_COUNT): New define.
8378         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8379         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8380         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8381         run on s390-32, too.
8382         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8383         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8384         run on s390-32, too.
8385         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8386         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8387         run on s390-32, too.
8389 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8391         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8392         etf3eh or new vector loop-variant.
8394 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8396         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8397         etf3eh or new vector loop-variant.
8399 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8401         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8402         or new vector loop-variant.
8404 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8406         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8407         Rename to TR_LOOP and usage of tr instead of troo instruction.
8409 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8411         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8412         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8414 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8416         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8417         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8418         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8419         New override define.
8420         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8422 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8424         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8425         * sysdeps/s390/configure.ac: Add test for S390 vector register
8426         support in gcc.
8427         * sysdeps/s390/configure: Regenerated.
8429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8431         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8432         Install file from $(objpfx)gconv-modules.
8433         ($(objpfx)gconv-modules): Concatenate architecture specific file
8434         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8435         * sysdeps/s390/gconv-modules: New file.
8436         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8437         Deleted.
8438         ($(objpfx)gconv-modules-s390): Deleted.
8439         (sysdeps-gconv-modules): New variable.
8441 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8443         [BZ #15479]
8444         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8445         of immediate operand to rounding instruction.
8446         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8447         Likewise.
8448         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8449         Likewise.
8450         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8451         Likewise.
8453 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8455         * math/libm-test.inc (MIN_EXP): Directly define as
8456         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8458 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8460         * math/libm-test.inc (MANT_DIG): Directly define as
8461         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8463 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8465         * stdlib/gen-tst-strtod-round.c (main):
8466           Change usage to more closely match the generated
8467           output.  Add usage and compilation instructions.
8468           (string_to_fp): Add and use FILE* parameter as
8469           output target.
8470           (print_fp): Likewise.
8471           (round_str): Likewise.
8472           (round_for_all): Likewise.
8473         * stdlib/tst-strtod-round.c (tests): Move into
8474         * stdlib/tst-strtod-round-data.h: New file.
8476 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8478         [BZ #15479]
8479         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8480         (__round): Do not force "inexact" exception.
8481         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8482         variable.
8483         (__round): Do not force "inexact" exception.
8484         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8485         (__roundf): Do not force "inexact" exception.
8486         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8487         (__roundl): Do not force "inexact" exception.
8488         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8489         (__roundl): Do not force "inexact" exception.
8490         * math/libm-test.inc (round_test_data): Do not allow spurious
8491         "inexact" exceptions.
8493         [BZ #15479]
8494         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8495         exception in comment.
8496         (huge): Remove variable.
8497         (__floor): Do not force "inexact" exception.
8498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8499         "inexact" exception in comment.
8500         (huge): Remove variable.
8501         (__floor): Do not force "inexact" exception.
8502         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8503         exception in comment.
8504         (huge): Remove variable.
8505         (__floorf): Do not force "inexact" exception.
8506         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8507         exception in comment.
8508         (huge): Remove variable.
8509         (__floorl): Do not force "inexact" exception.
8511         [BZ #15479]
8512         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8513         exception in comment.
8514         (huge): Remove variable.
8515         (__ceil): Do not force "inexact" exception.
8516         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8517         "inexact" exception in comment.
8518         (huge): Remove variable.
8519         (__ceil): Do not force "inexact" exception.
8520         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8521         (__ceilf): Do not force "inexact" exception.
8522         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8523         exception in comment.
8524         (huge): Remove variable.
8525         (__ceill): Do not force "inexact" exception.
8527 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8529         * config.h.in (BIND_NOW): New.
8530         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8531         * configure: Regenerated.
8532         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8533         indirect branch via the GOT slot.
8535 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8537         [BZ #19765]
8538         * sysdeps/s390/mempcpy.S: New File.
8539         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8541         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8542         Add mempcpy variants.
8543         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8544         (memcpy): Adjust to be usable from mempcpy entry point.
8545         (__memcpy_mvcle): Likewise.
8546         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8547         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8548         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8549         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8550         (__memcpy_z10): Likewise.
8551         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8553 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8555         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8556         Remove __GI_ symbol.
8557         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8558         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8559         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8560         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8561         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8562         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8564 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8566         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8567         Use cghi instead of chi to compare 64bit value.
8569 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8571         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8572         Jump to 1MB check before executing mvc-loop.
8574 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8576         [BZ #6527]
8577         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8578         unconditionally.
8579         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8581 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8583         * stdlib/tst-strtod6.c (do_test): Use new type generic
8584         invocation of the test function.
8585         (test): Refactor into ...
8586         (TEST_STRTOD): New macro base function.
8588 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8590         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8591         (TEST_STRTOD): New macro.
8592         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8594 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8596         * stdlib/tst-strtod6.c (do_test): Use new type generic
8597         invocation of the test function.
8598         (test): Refactor into ...
8599         (TEST_STRTOD): New macro base function.
8601 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8603         CVE-2016-4429
8604         [BZ #20112]
8605         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8606         payload.
8608 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8610         [BZ #20111]
8611         * bits/sockaddr.h (_SS_SIZE): Define.
8612         * bits/socket.h (_SS_SIZE): Remove.
8613         (_SS_PADSIZE): Adjust to account for all padding.
8614         (struct sockaddr_storage): Update comment.  Avoid implicit
8615         padding.
8616         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8617         (_SS_PADSIZE): Adjust to account for all padding.
8618         (struct sockaddr_storage): Update comment.  Avoid implicit
8619         padding.
8620         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8621         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8622         (_SS_PADSIZE): Adjust to account for all padding.
8623         (struct sockaddr_storage): Update comment.  Avoid implicit
8624         padding.
8625         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8626         __SS_SIZE is 126 in this version.
8627         * inet/tst-sockaddr.c: New file.
8628         * inet/Makefile (tests): Add tst-sockaddr.c
8629         (tst-sockaddr.c): Compile with non-strict aliasing.
8631 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8633         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8634         [XPG3 || XPG4].
8635         (NL_ARGMAX): Also expect for [XPG3].
8636         (NL_LANGMAX): Likewise.
8637         (NL_MSGMAX): Likewise.
8638         (NL_NMAX): Likewise.
8639         (NL_SETMAX): Likewise.
8640         (NL_TEXTMAX): Likewise.
8641         (NZERO): Likewise.
8642         (TMP_MAX): Likewise.
8643         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8644         variable.
8646         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8647         (PF_MAX): Update value.
8648         (AF_KCM): New macro.
8649         (SOL_NETBEUI): Likewise.
8650         (SOL_LLC): Likewise.
8651         (SOL_DCCP): Likewise.
8652         (SOL_NETLINK): Likewise.
8653         (SOL_TIPC): Likewise.
8654         (SOL_RXRPC): Likewise.
8655         (SOL_PPPOL2TP): Likewise.
8656         (SOL_BLUETOOTH): Likewise.
8657         (SOL_PNPIPE): Likewise.
8658         (SOL_RDS): Likewise.
8659         (SOL_IUCV): Likewise.
8660         (SOL_CAIF): Likewise.
8661         (SOL_ALG): Likewise.
8662         (SOL_NFC): Likewise.
8663         (SOL_KCM): Likewise.
8664         (MSG_BATCH): New enum value and macro.
8666 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8668         [BZ #18185]
8669         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8670         sharing L2 cache to 2 for Knights Landing.
8672 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8674         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8675         (FTW_DP): Do not expect for [XPG3 || XPG4].
8676         (FTW_SL): Do not expect for [XPG3].
8677         (FTW_SLN): Likewise.
8678         (FTW_PHYS): Likewise.
8679         (FTW_MOUNT): Likewise.
8680         (FTW_DEPTH): Likewise.
8681         (FTW_CHDIR): Likewise.
8682         (nftw): Likewise.
8683         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8684         variable.
8686 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8688         * manual/errno.texi: Fix various typos & grammar errors.
8690 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8692         * manual/intro.texi: Fix duplicated typo.
8694 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8696         [BZ #13304]
8697         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8698         <float.h>, <math_private.h> and <stdlib.h>.
8699         (add_split): New function.
8700         (mul_split): Likewise.
8701         (ext_val): New typedef.
8702         (store_ext_val): New function.
8703         (mul_ext_val): New function.
8704         (compare): New function.
8705         (add_split_ext): New function.
8706         (__fmal): After checking for Inf, NaN and zero, compute result as
8707         an exact sum of scaled double values in round-to-nearest before
8708         adding those up and adjusting for other rounding modes.
8709         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8710         tests of fma.
8711         * math/auto-libm-test-out: Regenerated.
8713 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8715         [BZ #20119]
8716         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8717         processor level type mask for CPUID with EAX == 11.
8719 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8721         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8722         logical threads if the HTT bit is 0.
8723         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8724         (index_cpu_HTT): Likewise.
8725         (reg_HTT): Likewise.
8727 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8729         [BZ #20115]
8730         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8731         Remove alignments on jump targets.
8733 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8735         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8736         (getpwent): Likewise.
8737         (setpwent): Likewise.
8738         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8739         variable.
8741         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8742         (remque): Likewise.
8743         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8744         variable.
8746 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8748         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8749         not being tested.
8751 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8753         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8754         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8755         call.
8756         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8757         (__condvar_cleanup1): Likewise.
8759 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8761         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8762         New
8763         (__pthread_unwind): Renamed to ...
8764         (PTHREAD_UNWIND): This.
8765         (__pthread_enable_asynccancel): Replace
8766         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8768 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8770         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8771         (CLONE_NEWCGROUP): New macro.
8773         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8774         (Q_GETNEXTQUOTA): New macro.
8776 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8778         [BZ #19907]
8779         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8780         buffer updated by the previous run.
8781         * string/test-memcpy.c (do_one_test): Likewise.
8782         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8783         * string/test-memmove.c (do_one_test): Likewise.
8785 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8787         [BZ #20094]
8788         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8789         not [__USE_XOPEN].
8790         (unlockpt): Likewise.
8791         (ptsname): Likewise.
8792         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8793         variable.
8795         [BZ #20076]
8796         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8797         instead of [__USE_UNIX98].
8798         (S_ISSOCK): Likewise.
8799         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8800         variable.
8802         [BZ #20074]
8803         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8804         [__USE_POSIX].
8805         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8806         variable.
8808         [BZ #20051]
8809         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8810         (ttyslot): Do not declare.
8811         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8812         (ttyslot): New prototype.
8813         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8814         variable.
8815         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8817 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8819         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8821 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8823         Fix race condition in tst-mallocfork2, use fewer resources.
8824         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8825         to current process group.
8826         (signal_sender): Yield in the non-sleeping case.
8828 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8830         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8831         (ecvt): Likewise.
8832         (fcvt): Likewise.
8833         (gcvt): Likewise.
8834         (getsubopt): Likewise.
8835         (grantpt): Likewise.
8836         (initstate): Likewise.
8837         (l64a): Likewise.
8838         (mktemp): Likewise.
8839         (mkstemp): Likewise.
8840         (ptsname): Likewise.
8841         (random): Likewise.
8842         (realpath): Likewise.
8843         (setstate): Likewise.
8844         (srandom): Likewise.
8845         (ttyslot): Likewise.
8846         (unlockpt): Likewise.
8847         (valloc): Likewise.
8849         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8850         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8851         variable.
8853 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8855         [BZ #20072]
8856         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8857         init_cpu_features only if SHARED is defined.
8858         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8860 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8862         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8863         non-inclusive caches on Intel processors.
8865 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8867         * malloc/malloc.c (dumped_main_arena_start)
8868         (dumped_main_arena_end): New variables.
8869         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8870         (do_check_chunk): Skip dumped fake mmapped chunks.
8871         (munmap_chunk): Likewise.
8872         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8873         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8874         mmapped chunks.
8875         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8876         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8877         and dumped_main_arena_end to cover the dumped heap.
8879 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8881         * conform/data/time.h-data (getdate_err): Do not expect for
8882         [XPG3].
8883         (getdate): Likewise.
8884         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8885         variable.
8887         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8888         (F_ULOCK): Likewise.
8889         (F_TEST): Likewise.
8890         (F_TLOCK): Likewise.
8891         (useconds_t): Likewise.
8892         (intptr_t): Do not expect for [XPG3] or [XPG4].
8893         (brk): Do not expect for [XPG3]
8894         (fchown): Likewise.
8895         (fchdir): Likewise.
8896         (ftruncate): Likewise.
8897         (getdtablesize): Likewise.
8898         (gethostid): Likewise.
8899         (getpagesize): Likewise.
8900         (getpgid): Likewise.
8901         (getsid): Likewise.
8902         (getwd): Likewise.
8903         (lchown): Likewise.
8904         (lockf): Likewise.
8905         (readlink): Likewise.
8906         (sbrk): Likewise.
8907         (setpgrp): Likewise.
8908         (setregid): Likewise.
8909         (setreuid): Likewise.
8910         (symlink): Likewise.
8911         (sync): Likewise.
8912         (truncate): Likewise.
8913         (ualarm): Likewise.
8914         (usleep): Likewise.
8915         (vfork): Likewise.
8916         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8917         variable.
8919         [BZ #20054]
8920         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8921         not [__USE_UNIX98].
8922         * conform/data/unistd.h-data (gethostname): Do not expect for
8923         [XPG3].
8925         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8926         [!POSIX] (S_IFBLK): Likewise.
8927         [!POSIX] (S_IFCHR): Likewise.
8928         [!POSIX] (S_IFIFO): Likewise.
8929         [!POSIX] (S_IFREG): Likewise.
8930         [!POSIX] (S_IFDIR): Likewise.
8931         [!POSIX] (S_IFLNK): Likewise.
8932         [!POSIX] (S_IFSOCK): Likewise.
8933         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8934         variable.
8935         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8937 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8939         * sysdeps/aarch64/memset.S (__memset):
8940         Rewrite of optimized memset.
8942 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8944         [BZ #19703]
8945         Partially async-signal-safe fork for single-threaded processes.
8946         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8947         variable.  Do not acquire and reset/release malloc and libio locks
8948         in single-threaded processes.
8949         * malloc/tst-mallocfork2.c: New file.
8950         * malloc/Makefile (tests): Add it.
8952 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8954         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8955         argument.  Use scratch buffer instead of extend_alloca.
8956         (gethosts): Use scratch buffer instead of extend_alloca.
8957         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8958         extend_alloca.
8959         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8961 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8963         [BZ #20055]
8964         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8965         instead of [__USE_UNIX98].
8966         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8967         [__USE_UNIX98].
8968         * conform/data/termios.h-data (tcgetsid): Do not expect for
8969         [XPG3].
8970         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8971         variable.
8972         (test-xfail-XPG4/termios.h/conform): Likewise.
8974 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8976         Do not use mcheck in localedef.
8977         * locale/programs/localedef.c (turn_on_mcheck)
8978         (__malloc_initialize_hook): Remove.
8980 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8982         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8983         * sysdeps/s390/s390-64/Makefile: Likewise.
8985 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8987         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8988         Remove ifunc-defines.sym.
8989         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8990         Likewise.
8991         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8992         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8993         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8994         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8995         rtld-global-offsets.sym.
8996         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8997         * sysdeps/x86/cpu-features-offsets.sym: This.
8998         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8999         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9001 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9003         [BZ #20073]
9004         * io/sys/stat.h (fchmod): Declare for
9005         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9006         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9007         variable.
9009         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9010         [XPG3] (S_IFSOCK): Likewise.
9011         [XPG3] (S_ISVTX): Likewise.
9012         [XPG3] (S_ISLNK): Likewise.
9013         [XPG3] (S_ISSOCK): Likewise.
9014         [XPG3] (fchmod): Likewise.
9015         [XPG3] (lstat): Likewise.
9016         [XPG3] (mknod): Likewise.
9018         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9019         [XPG3].  Expect type long and XFAIL for [XPG4].
9020         (st_blocks): Likewise.
9022         [BZ #20044]
9023         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9024         (pthread_atfork): New prototype.
9025         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9026         variable.
9028         [BZ #20043]
9029         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9030         prototype.
9032 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9034         [BZ #20017]
9035         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9036         gmtime.
9038 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9040         [BZ #19994]
9041         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9042         flag in _res.options.
9044 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9046         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9047         [XPG3 || XPG4].
9048         (blksize_t): Likewise.
9049         (clockid_t): Likewise.
9050         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9051         variable.
9052         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9054 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9056         * sysdeps/unix/sysv/linux/s390/init-first.c:
9057         Add VDSO_SYMBOL(getcpu).
9058         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9059         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9060         Add VDSO_SYMBOL(getcpu).
9061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9062         New define HAVE_GETCPU_VSYSCALL.
9063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9065 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9067         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9068         instead of <sysdeps/x86_64/cacheinfo.c>.
9069         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9070         * sysdeps/x86/cacheinfo.c: Here.
9072 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9074         * malloc/malloc-internal.h: Adjust header file guard.
9076 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9078         [BZ #19787]
9079         * inet/getnameinfo.c (check_sprintf_result): New function.
9080         (CHECKED_SNPRINTF): New macro.
9081         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9082         to the host buffer.
9083         (gni_host_local): Use checked_copy to copy the host name.
9084         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9085         (gni_serv_local): Use checked_copy to copy the service name.
9086         (getnameinfo): Remove unnecessary truncation of result buffers.
9088 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9090         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9091         in case of inet_ntop failure.
9093 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9095         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9096         avoid long lines.
9097         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9098         variables.
9099         (gni_host_inet, gni_host_local): Add comment.
9100         (gni_host): Add comment.  Use temporary to avoid long lines.
9102 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9104         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9105         registers specifiers where general purpose registers specifiers should
9106         have been used.
9108 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9110         [BZ #19779]
9111         CVE-2016-1234
9112         Avoid copying names of directory entries.
9113         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9114         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9115         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9116         (struct readdir_result): New type.
9117         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9118         (GL_READDIR): New macros.
9119         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9120         (convert_dirent, convert_dirent64): New functions.
9121         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9122         convert_dirent64.  Adjust references to the readdir result.
9123         * sysdeps/unix/sysv/linux/i386/glob64.c:
9124         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9125         * posix/bug-glob2.c (LONG_NAME): Define.
9126         (filesystem): Add LONG_NAME.
9127         (my_DIR): Increase the size of room_for_dirent.
9129 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9131         [BZ #20041]
9132         * misc/sys/select.h (__need_timespec): Only define if
9133         [__USE_XOPEN2K].
9134         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9135         variable.
9136         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9137         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9138         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9140 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9141             Segher Boessenkool  <segher@gcc.gnu.org>
9143         [BZ #20004]
9144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9145         (__novec_swapcontext): Add missing load.
9147 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9149         [BZ #20023]
9150         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9151         <time.h>.
9152         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9153         variable.
9154         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9156 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9159         flags CLONE_VM compare.
9161 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9163         [BZ #20031]
9164         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9165         completely empty.
9167 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9169         [BZ #19573]
9170         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9171         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9172         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9173         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9174         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9175         (hesiod_free_list): Mark as hidden.
9176         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9177         res_set, res_get.
9178         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9179         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9180         (hesiod_init): Remove obsolete res_ninit call.
9181         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9182         (hesiod_bind): Do not call init.
9183         (get_txt_records): Use res_mkquery, res_send instead of
9184         res_nmkquery, res_nsend.
9185         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9186         instead of _nss_hesiod_init.
9187         (_nss_hesiod_initgroups_dyn): Likewise.
9188         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9189         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9190         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9192 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9194         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9195         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9197 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9199         * hesiod/hesiod.h: Remove RCS keyword.
9200         * hesiod/hesiod_p.h: Likewise.
9202         * hesiod/hesiod.c: Likewise.
9204 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9206         [BZ #12450]
9207         * locale/iso-639.def: Add Samogitian/sgs.
9209 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9211         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9213         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9215 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9216             Carlos O'Donell  <carlos@redhat.com>
9218         [BZ #19072]
9219         * grp/Makefile (headers): Add grp-merge.h
9220         (routines): Add grp-merge.
9221         * grp/getgrgid_r.c: Include grp-merge.h.
9222         (DEEPCOPY_FN): Define.
9223         (MERGE_FN): Define.
9224         * grp/getgrname_r.c: Include grp-merge.h.
9225         (DEEPCOPY_FN): Define.
9226         (MERGE_FN): Define.
9227         * grp/grp-merge.c: New file.
9228         * grp/grp-merge.h: New file.
9229         * include/grp-merge.h: New file.
9230         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9231         __copy_grp@GLIBC_PRIVATE.
9232         * manual/nss.texi (Actions in the NSS configuration): Describe
9233         return, continue, and merge.
9234         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9235         (DEEPCOPY_FN): Define.
9236         (MERGE_FN): Define.
9237         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9238         (DEEPCOPY_FN): Define.
9239         (MERGE_FN): Define.
9240         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9241         [!MERGE_FN]: Define __merge_einval.
9242         (CHECK_MERGE): Define.
9243         (REENTRANT_NAME): Process merge if do_merge is true.
9244         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9245         (__nss_getent_r): Likewise.
9246         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9247         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9249 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9251         [BZ #20012]
9252         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9253         length to calculate the buffer to read.
9254         (fmemopen_write): Set the buffer position based on bytes written.
9255         (fmemopen_seek): Return EINVAL for invalid whence modes.
9257         [BZ #19957]
9258         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9259         tst-getpid2.
9260         (test): Add tst-clone2.
9261         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9262         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9263         pid/tid fields for CLONE_VM.
9264         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9265         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9266         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9267         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9268         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9269         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9270         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9271         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9275         Likewise.
9276         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9277         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9278         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9279         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9280         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9281         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9282         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9283         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9285 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9287         [BZ #19642]
9288         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9289         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9290         (gni_serv_local, gni_serv): New functions extracted from
9291         getnameinfo.
9292         (getnameinfo): Call gni_host and gni_serv to perform the
9293         processing.  Always free scratch buffer.
9295 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9297         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9298         remaining bytes in the dest string, with zeros.
9300 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9302         [BZ #20010]
9303         CVE-2016-3706
9304         * sysdeps/posix/getaddrinfo.c
9305         (convert_hostent_to_gaih_addrtuple): New function.
9306         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9307         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9308         AF_INET data.
9310 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9312         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9313         callback function gl_readdir.
9314         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9315         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9316         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9317         memcpy to copy the name.
9318         * manual/pattern.texi (Calling Glob): Document requirements for
9319         implementations of the gl_readdir callback function.
9320         * manual/examples/mkdirent.c: New example.
9321         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9322         per the manual guidance.
9323         * posix/tst-gnuglob.c (my_readdir): Likewise.
9325 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9327         [BZ #20014]
9328         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9329         not [__USE_POSIX].
9330         (getchar_unlocked): Likewise.
9331         (putc_unlocked): Likewise.
9332         (putchar_unlocked): Likewise.
9333         (flockfile): Likewise.
9334         (ftrylockfile): Likewise.
9335         (funlockfile): Likewise.
9336         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9337         variable.
9338         (test-xfail-XPG4/stdio.h/conform): Likewise.
9340         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9341         Expect constant.
9342         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9343         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9344         variable.
9345         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9346         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9348         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9349         [__USE_LARGEFILE64] (off64_t): Likewise.
9350         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9351         variable.
9353 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9355         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9357 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9359         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9360         * resolv/res_init.c: Likewise.
9361         * resolv/res_mkquery.c: Likewise.
9363 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9365         * resolv/res_init.c (isascii): Do not define.  Use definition in
9366         <ctype.h>.
9367         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9368         (LOG_AUTH): Remove.
9369         (SPRINTF): Remove, adjust caller.
9370         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9372 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9374         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9375         SUNSECURITY conditional.
9376         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9378 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9380         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9381         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9382         Remove BSD-related preprocessor conditionals.
9383         * conf/portability.h: Remove.
9385 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9387         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9388         * resolv/res_data.c: Likewise.
9390 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9392         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9393         * resolv/res_data.c: Remove code conditional on ultrix.
9395 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9397         * resolv/res_init.c (RFC1535): Do not define.  Remove
9398         RFC1535 preprocessor conditionals.
9399         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9400         because there configuration options which make the resolver
9401         behavior different.
9403 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9405         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9406         RESOLVSORT preprocessor conditionals.
9407         * resolv/nss_dns/dns-host.c: Likewise.
9408         * resolv/res_init.c: Likewise.
9410 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9412         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9413         is never defined.
9415 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9417         * inet/inet_lnaof.c: Remove SCSS keyword.
9418         * inet/inet_mkadr.c: Likewise.
9419         * inet/inet_net.c: Likewise.
9420         * inet/inet_netof.c: Likewise.
9421         * inet/rcmd.c: Likewise.
9422         * inet/rexec.c: Likewise.
9423         * inet/ruserpass.c: Likewise.
9425 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9427         * resolv/inet_addr.c: Remove _LIBC conditionals.
9428         * resolv/res_data.c: Likewise.
9429         * resolv/res_init.c: Likewise.
9430         * resolv/res_mkquery.c: Likewise.
9431         * resolv/res_libc.c: Update comment.
9432         * resolv/README: Update.
9434 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9436         * resolv/gethnamaddr.c: Remove SCSS keyword.
9437         * resolv/herror.c: Likewise.
9438         * resolv/inet_addr.c: Likewise.
9439         * resolv/inet_net_ntop.c: Likewise.
9440         * resolv/inet_net_pton.c: Likewise.
9441         * resolv/inet_neta.c: Likewise.
9442         * resolv/inet_ntop.c: Likewise.
9443         * resolv/inet_pton.c: Likewise.
9444         * resolv/ns_date.c: Remove RCS keyword.
9445         * resolv/ns_name.c: Likewise.
9446         * resolv/ns_netint.c: Likewise.
9447         * resolv/ns_parse.c: Likewise.
9448         * resolv/ns_print.c: Likewise.
9449         * resolv/ns_samedomain.c: Likewise.
9450         * resolv/ns_ttl.c: Likewise.
9451         * resolv/nsap_addr.c: Likewise.
9452         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9453         * resolv/res_data.c: Remove RCS keyword.
9454         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9455         * resolv/res_init.c: Likewise.
9456         * resolv/res_mkquery.c: Likewise.
9457         * resolv/res_query.c: Likewise.
9458         * resolv/res_send.c: Likewise.
9460 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9462         * conform/data/stdio.h-data (fdopen): Expect also for
9463         [XPG3 || XPG4].
9465         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9466         (fseeko): Likewise.
9467         (ftello): Likewise.
9468         (ftrylockfile): Likewise.
9469         (funlockfile): Likewise.
9470         (getc_unlocked): Likewise.
9471         (getchar_unlocked): Likewise.
9472         (putc_unlocked): Likewise.
9473         (putchar_unlocked): Likewise.
9475 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9477         [BZ #19868]
9478         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9479         DNS packet syntax checks (which were not needed before).  Skip
9480         over non-PTR records.
9482 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9484         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9485         definition.  Include <stddef.h> instead.
9487 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9489         [BZ #19831]
9490         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9491         function.
9492         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9493         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9495 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9497         [BZ #19862]
9498         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9499         (getanswer_r): Do not call syslog.
9500         (gaih_getanswer_slice): Likewise.
9501         * resolv/gethnamaddr.c (AskedForGot): Remove.
9502         (getanswer): Do not call syslog.
9503         (gethostbyaddr): Likewise.
9505 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9507         * conform/data/signal.h-data (union sigval): Expect also if
9508         [XOPEN2K].
9509         (struct sigevent): Likewise.
9510         (SIGEV_NONE): Likewise.
9511         (SIGEV_SIGNAL): Likewise.
9512         (SIGEV_THREAD): Likewise.
9513         (SIGRTMIN): Likewise.
9514         (SIGRTMAX): Likewise.
9515         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9516         variable.
9517         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9519 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9521         [BZ #19830]
9522         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9523         (gaih_getanswer_slice): Likewise.
9524         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9525         Also check for availability of RR metadata.
9527 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9529         [BZ #19825]
9530         * resolv/res_send.c (send_vc): Remove early *resplen2
9531         initialization.  Set *resplen2 on socket error.  Call
9532         close_and_return_error for other errors.
9534 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9536         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9537         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9538         (SCM_IUCV_TRGCLS): New define.
9540 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9542         [BZ #20005]
9543         * libio/fmemopen.c (fmemopen_write): Update internal position after
9544         write.
9545         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9546         * stdio-common/tst-fmemopen4.c: New file..
9548 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9550         [BZ #19996]
9551         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9552         not [__USE_XOPEN2K].
9553         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9554         variable.
9556         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9557         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9558         variable.
9560         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9561         [__USE_XOPEN2K8].
9562         [__USE_LARGEFILE64] (off64_t): Likewise.
9563         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9564         variable.
9566 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9568         [BZ #19989]
9569         * libio/stdio.h (cuserid): Do not declare if
9570         [__USE_XOPEN2K && !__USE_GNU].
9571         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9572         variable.
9574 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9576         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9577         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9579         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9580         ifunc'ed strcspn.
9581         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9582         [EALIGN]: Removed.
9583         [END]: Likewise
9584         [STRSPN]: Define instead of the above to control symbol name.
9585         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9586         New file.
9587         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9588         Likewise.
9589         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9590         Likewise.
9591         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9592         Likewise.
9593         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9594         [INITIAL_MASK]: New macro.
9595         [STRCSPN]: Likewise.
9596         [UPDATE_MASK]: Likewise.
9597         [USE_AS_STRCSPN]: Lisewise.
9599 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9601         [BZ #19931]
9602         * stdio-common/tst-vfprintf-width-prec.c: New file.
9603         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9604         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9605         (generated): Add mtrace-related files.
9606         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9607         (tst-%-mem.out): New pattern rule, replaces
9608         tst-printf-bz18872-mem.out.
9609         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9610         specifier, deallocate any previously allocated work buffer.
9612 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9614         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9615         Add nop before __startcontext, add explaining comments.
9617 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9619         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9620         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9621         completely different API.
9623         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9624         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9625         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9626         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9627         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9628         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9629         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9630         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9631         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9632         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9634 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9636         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9638 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9640         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9641         when it is the default of 0.
9643 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9645         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9646         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9647         (sysdep_routines): Add new strcasestr targets.
9648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9649         (__libc_ifunc_impl_list): Likewise.
9650         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9651         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9652         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9653         * sysdeps/powerpc/powerpc64/power8/Makefile:
9654         New file to add strcasestr-ppc64 to sysdep_routines.
9655         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9656         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9658 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9660         * benchtests/Makefile (wcsmbs-benchset): Include only for
9661         native builds and runs.
9662         (LOCALES): Likewise.
9663         (bench-build): Build timing-type here instead of the bench
9664         target.  Generate locale only for native builds.
9665         * benchtests/README: Add note for cross-building.
9667         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9669         * benchtests/README: Update README to include instructions on
9670         using bench-build.
9672         * Makefile.in (bench-build): New target.
9673         * Rules (PHONY): Add bench-build target.
9674         * benchtests/Makefile (bench): Depend on bench-build.
9675         (bench-build): New target.
9677 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9679         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9680         profil_reply_port.
9681         (profile_waiter): Do not initialize profil_reply_port.
9682         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9683         frequency instead of tick length in us.
9685 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9687         [BZ #18712]
9688         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9689         (__old_mempcpy_small): Likewise.
9690         (__old_strcpy_small): Likewise.
9691         (__old_stpcpy_small): Likewise.
9692         (__old_strpbrk_c2): Fix compat symbol name.
9693         (__old_strpbrk_c3): Likewise.
9694         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9695         (__mempcpy_small): Remove.
9696         (__strcpy_small): Remove.
9697         (__stpcpy_small): Remove.
9699 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9701         [BZ #19400]
9702         * locale/iso-639.def: Add the Talossan/tzl language.
9704 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9706         [BZ #16983]
9707         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9708         comment.  Add "ln" to strchr check on postal_fmt.
9710 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9712         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9713         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9714         tel_dom_fmt.
9716 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9718         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9719         (sysdep_routines): Added __strlen_power8.
9720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9721         __strlen_power8 entry.
9722         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9723         Implementation for POWER8.
9724         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9725         for __strlen_power8.
9726         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9727         Implementation for POWER8.
9729 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9731         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9733 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9735         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9736         Goldmont and Airmont processors.
9738 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9740         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9741         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9742         (__STRING2_SMALL_GET32): Remove.
9743         (memset): Remove.
9744         (__memset_1): Remove.
9745         (__memset_gc): Remove.
9746         (__mempcpy): Remove.
9747         (mempcpy): Remove.
9748         (__mempcpy_args): Remove.
9749         (strchr): Remove.
9750         (strcpy): Remove.
9751         (strcpy_args): Remove.
9752         (__stpcpy_args): Remove.
9753         (__strcmp_cc): Remove.
9754         (__strcmp_gc): Remove.
9755         (strstr): Remove.
9757 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9759         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9760         * nis/nis_call.c (nis_server_cache_add): Likewise.
9762 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9764         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9766 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9768         * malloc/arena.c (__malloc_fork_lock_parent)
9769         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9770         internal_function attribute.
9772 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9774         * stdio-common/printf_fp.c (__printf_fp_l):
9775         Rename ___printf_fp_l to __printf_fp_l and
9776         remove strong alias. Use libc_hidden_def instead
9777         of ldbl_hidden_def macro.
9779 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9781         Remove malloc hooks from fork handler.  They are no longer needed
9782         because malloc runs right before fork, and no malloc calls from
9783         other fork handlers are not possible anymore.
9784         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9785         declarations.
9786         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9787         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9788         (atfork_recursive_cntr): Remove.
9789         (__malloc_fork_lock_parent): Do not override malloc hooks and
9790         thread_arena.
9791         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9792         thread_arena.
9793         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9794         thread_arena instead of save_arena.
9796 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9798         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9799         (thread_atfork, thread_atfork_static): Remove.
9800         * sysdeps/mach/hurd/malloc-machine.h:
9801         (thread_atfork, thread_atfork_static): Remove.
9803 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9805         [BZ #19431]
9806         Run the malloc fork handler as late as possible to avoid deadlocks.
9807         * malloc/malloc-internal.h: New file.
9808         * malloc/malloc.c: Include it.
9809         * malloc/arena.c (ATFORK_MEM): Remove.
9810         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9811         Update comment.
9812         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9813         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9814         Remove outdated comment.
9815         (ptmalloc_init): Do not call thread_atfork.  Remove
9816         thread_atfork_static.
9817         * malloc/tst-malloc-fork-deadlock.c: New file.
9818         * Makefile (tests): Add tst-malloc-fork-deadlock.
9819         (tst-malloc-fork-deadlock): Link against libpthread.
9820         * manual/memory.texi (Aligned Memory Blocks): Update safety
9821         annotation comments.
9822         * sysdeps/nptl/fork.c (__libc_fork): Call
9823         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9824         __malloc_fork_unlock_child.
9825         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9827 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9829         [BZ #19613]
9830         Remove union wait.
9831         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9832         (w_stopsig, w_stopval): Remove.
9833         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9834         stat_loc argument.
9835         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9836         (__WAIT_STATUS_DEFN): Remove.
9837         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9838         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9839         (wait, wait3, wait4): Use int * for the stat_loc argument.
9840         * posix/wait.c (__wait): Likewise.
9841         * posix/wait3.c (__wait3): Likewise.
9842         * posix/wait4.c (__wait4): Likewise.
9843         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9844         (__WAIT_STATUS_DEFN): Remove.
9845         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9846         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9847         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9848         argument.
9849         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9850         * sysdeps/posix/wait3.c (__wait3): Likewise.
9851         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9852         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9853         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9854         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9855         stat_loc argument.
9856         * manual/process.texi (BSD Wait Functions): Remove union wait.
9858 2016-04-13  Andreas Schwab  <schwab@suse.de>
9860         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9861         (test-extras): Add tst-tlsalign-vars.
9862         * math/Makefile: Wrap long lines.
9863         (libm-vec-test-wrappers): Define.
9864         (test-extras): Add $(libm-vec-test-wrappers).
9865         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9866         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9867         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9868         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9869         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9870         (extra-test-objs): Add corresponding objects.
9872 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9874         [BZ #19928]
9875         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9876         New.
9877         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9878         times of shared cache size.
9879         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9880         (VMOVNT): New.
9881         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9882         (VMOVNT): Likewise.
9883         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9884         (VMOVNT): Likewise.
9885         (VMOVU): Changed to movups for smaller code sizes.
9886         (VMOVA): Changed to movaps for smaller code sizes.
9887         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9888         comments.
9889         (PREFETCH): New.
9890         (PREFETCH_SIZE): Likewise.
9891         (PREFETCHED_LOAD_SIZE): Likewise.
9892         (PREFETCH_ONE_SET): Likewise.
9893         Rewrite to use forward and backward loops, which move 4 vector
9894         registers at a time, to support overlapping addresses and use
9895         non temporal store if size is above the threshold and there is
9896         no overlap between destination and source.
9898 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9900         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9901         Include dl-vdso.
9902         * sysdeps/unix/sysv/linux/mips/Versions: Add
9903         __vdso_clock_gettime.
9904         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9905         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9906         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9907         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9908         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9909         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9910         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9911         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9912         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9914 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9916         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9917         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9918         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9920         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9921         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9924         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9925         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9926         syscalls generation.
9927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9928         [__NR_pwrite64] (__NR_write): Remove define.
9929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9930         [__NR_pwrite64] (__NR_write): Remove define.
9931         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9932         Remove define.
9933         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9934         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9935         Remove define.
9936         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9937         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9938         Linux implementation as base.
9939         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9941         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9942         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9943         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9947         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9949         syscall generation.
9950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9951         [__NR_pread64] (__NR_pread): Remove define.
9952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9953         [__NR_pread64] (__NR_pread): Likewise.
9954         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9955         define.
9956         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9957         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9958         Remove define.
9959         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9960         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9961         Linux implementation as base.
9962         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9963         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9964         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9966         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9967         definition.
9968         (__ALIGNMENT_COUNT): Likewise.
9969         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9970         (__ALIGNMENT_COUNT): Likewise.
9971         (SYSCALL_LL): New define.
9972         (SYSCALL_LL64): Likewise.
9973         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9974         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9975         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9976         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9978         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9979         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9980         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9981         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9982         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9983         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9985 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9987         [BZ #19865]
9988         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9989         original buffer before retry.
9991 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9993         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9994         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9995         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9996         GLRO(dl_auxv) list.
9997         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9998         including <ldsodefs.h>.
9999         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10001 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10003         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10004         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10005         $(CPPFLAGS).
10007 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10009         [BZ #17950]
10010         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10011         Add -mfpmath=387.
10013 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10015         * sysdeps/i386/configure.ac: Change == to = when calling test.
10016         * sysdeps/x86_64/configure.ac: Likewise.
10017         * sysdeps/i386/configure: Regenerated.
10018         * sysdeps/x86_64/configure: Likewise.
10020 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10022         [BZ #16137]
10023         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10024         * benchtests/bench-strcoll.c (input_files): Likewise.
10025         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10026         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10027         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10029 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10031         [BZ #19929]
10032         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10033         [__USE_XOPEN2K8 && !__USE_GNU].
10034         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10035         variable.
10037         [BZ #19925]
10038         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10039         define if [!__USE_MISC && __USE_XOPEN2K].
10040         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10041         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10042         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10043         Likewise.
10044         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10045         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10046         variable.
10047         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10049 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10051         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10052         (sysdep_routines): Add new strspn targets.
10053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10054         (__libc_ifunc_impl_list): Add strspn.
10055         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10056         New file.
10057         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10058         Likewise.
10059         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10060         Likewise.
10061         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10062         Likewise.
10064 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10066         * misc/hsearch_r.c: Include <limits.h>.
10068 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10070         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10072 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10074         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10075         (MEMCPY_SYMBOL): New.
10076         (MEMPCPY_SYMBOL): Likewise.
10077         (MEMMOVE_CHK_SYMBOL): Likewise.
10078         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10079         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10080         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10081         Provide alias for memcpy in libc.a and ld.so.
10083 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10085         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10086         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10087         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10088         Disabled fro now.
10089         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10090         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10092 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10094         * benchtests/Makefile (string-benchset): Add memcpy-large,
10095         memmove-large and memset-large.
10096         * benchtests/bench-memcpy-large.c: New file.
10097         * benchtests/bench-memmove-large.c: Likewise.
10098         * benchtests/bench-memmove-large.c: Likewise.
10099         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10101 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10103         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10104         32-bit displacement to avoid long nop between instructions.
10106 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10108         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10109         a comment on VMOVU and VMOVA.
10111 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10113         [BZ #19633]
10114         Use specified locale for number formatting in strfmon_l.
10115         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10116         (__nl_lookup_word): New inline functions.
10117         * include/printf.h (__print_fp_l): Declare.
10118         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10119         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10120         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10121         (___printf_fp): New function.
10122         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10123         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10124         * stdlib/tst-strfmon_l.c (do_test): New test.
10125         * stdlib/Makefile (tests): Add kt.
10126         (LOCALES): Build additional locales.
10127         (tst-strfmon_l.out): Require locales.
10129 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10131         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10132         if not in libc.
10133         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10134         Likewise.
10135         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10136         Likewise.
10137         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10138         Likewise.
10140 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10142         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10143         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10144         with unaligned_erms.
10145         (__memmove_erms): Skip if source == destination.
10146         (__memmove_unaligned_erms): Don't check source == destination
10147         first.
10149 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10151         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10152         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10154 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10156         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10157         * string/strspn.c (strspn): Likewise.
10159 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10161         * benchtests/bench-memset.c (do_test): Support 64-byte
10162         alignment.
10163         (test_main): Test 64-byte alignment.
10165 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10167         * benchtests/bench-memmove.c (test_main): Test 64-byte
10168         alignment.
10170 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10172         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10174 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10176         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10177         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10178         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10180         * string/strpbrk.c (strpbrk): Rewrite function.
10181         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10182         (__strpbrk_c2): Likewise.
10183         (__strpbrk_c3): Likewise.
10184         * string/string-inlines.c
10185         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10186         Likewise.
10187         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10188         Likewise.
10190         * string/strspn.c (strcspn): Rewrite function.
10191         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10192         (__strspn_c1): Remove inline function.
10193         (__strspn_c2): Likewise.
10194         (__strspn_c3): Likewise.
10195         * string/string-inlines.c
10196         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10197         compatibility symbol.
10198         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10199         Likewise.
10200         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10201         Likewise.
10202         * string/string-inlines.c: Include generic version.
10204 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10205             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10207         * string/Version (libc): Add GLIBC_2.24.
10208         * string/strcspn.c (strcspn): Rewrite function.
10209         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10210         (__strcspn_c1): Remove inline function.
10211         (__strcspn_c2): Likewise.
10212         (__strcspn_c3): Likewise.
10213         * string/string-inline.c
10214         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10215         compatibility symbol.
10216         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10217         Likewise.
10218         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10219         Likewise.
10220         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10222 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10224         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10225         Use ahi instead of aghi to adjust stack pointer.
10227 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10229         [BZ #19853]
10230         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10231         TEST to take significant digits as second parameter.
10232         [TEST]: Redefine in terms of TEST_N taking 30
10233         significant digits.
10234         (do_test): Add test case to demonstrate precision
10235         failure in the ldbl-128ibm printf.
10236         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10237         (__mpn_extract_long_double): Carry 7 extra intermediate
10238         bits of precision to aide computing difference when
10239         signs differ.
10241 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10243         [BZ #19881]
10244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10245         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10246         memset-avx512-unaligned-erms.
10247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10248         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10249         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10250         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10251         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10252         __memset_sse2_unaligned_erms, __memset_erms,
10253         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10254         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10255         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10256         file.
10257         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10258         Likewise.
10259         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10260         Likewise.
10261         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10262         Likewise.
10264 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10266         [BZ #19776]
10267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10268         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10269         memmove-avx512-unaligned-erms.
10270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10271         (__libc_ifunc_impl_list): Test
10272         __memmove_chk_avx512_unaligned_2,
10273         __memmove_chk_avx512_unaligned_erms,
10274         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10275         __memmove_chk_sse2_unaligned_2,
10276         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10277         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10278         __memmove_avx512_unaligned_erms, __memmove_erms,
10279         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10280         __memcpy_chk_avx512_unaligned_2,
10281         __memcpy_chk_avx512_unaligned_erms,
10282         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10283         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10284         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10285         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10286         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10287         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10288         __mempcpy_chk_avx512_unaligned_erms,
10289         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10290         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10291         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10292         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10293         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10294         __mempcpy_erms.
10295         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10296         file.
10297         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10298         Likwise.
10299         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10300         Likwise.
10301         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10302         Likwise.
10304 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10306         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10307         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10308         (La_s390_64_regs): Likewise.
10309         (La_s390_32_retval): Append vector register lrv_v24.
10310         (La_s390_64_retval): Likeweise.
10311         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10312         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10313         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10314         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10316 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10318         [BZ #19916]
10319         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10320         to create a non-vector/vector version for _dl_runtime_resolve and
10321         _dl_runtime_profile. Move implementation to ...
10322         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10323         (_dl_runtime_resolve) Save and restore fpr/vrs.
10324         (_dl_runtime_profile) Save and restore vrs and fix some issues
10325         if _dl_call_pltexit is called.
10326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10327         Choose the correct resolver function if running on a machine with vx.
10328         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10329         to create a non-vector/vector version for _dl_runtime_resolve and
10330         _dl_runtime_profile. Move implementation to ...
10331         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10332         (_dl_runtime_resolve) Save and restore fpr/vrs.
10333         (_dl_runtime_profile) Save and restore vrs and fix some issues
10334         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10335         Choose the correct resolver function if running on a machine with vx.
10337 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10339         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10341 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10343         [BZ #19509]
10344         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10345         skip_map != NULL.
10346         * elf/tst-dlsym-error.c: New file.
10347         * elf/Makefile (tests): Add tst-dlsym-error.
10348         (tst-dlsym-error): Link against libdl.
10350 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10352         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10353         (__ASSUME_FUTIMESAT): Remove macro.
10354         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10356 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10358         [BZ #19879]
10359         CVE-2016-3075
10360         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10361         copy name.
10363 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10365         [BZ #19837]
10366         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10367         error if parse_line fails.
10369 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10371         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10372         (index_cpu_ERMS): Likewise.
10373         (reg_ERMS): Likewise.
10375 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10377         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10378         PER_LINUX_FDPIC): Add.
10380 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10383         memcpy-avx512-no-vzeroupper.
10384         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10385         to ...
10386         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10387         (MEMCPY): Don't define.
10388         (MEMCPY_CHK): Likewise.
10389         (MEMPCPY): Likewise.
10390         (MEMPCPY_CHK): Likewise.
10391         (MEMPCPY_CHK): Renamed to ...
10392         (__mempcpy_chk_avx512_no_vzeroupper): This.
10393         (MEMPCPY_CHK): Renamed to ...
10394         (__mempcpy_chk_avx512_no_vzeroupper): This.
10395         (MEMCPY_CHK): Renamed to ...
10396         (__memmove_chk_avx512_no_vzeroupper): This.
10397         (MEMCPY): Renamed to ...
10398         (__memmove_avx512_no_vzeroupper): This.
10399         (__memcpy_avx512_no_vzeroupper): New alias.
10400         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10402 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10404         [BZ #18858]
10405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10406         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10407         and mempcpy-avx512-no-vzeroupper.
10408         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10409         New.
10410         (MEMPCPY): Likewise.
10411         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10412         (MEMPCPY_CHK): New.
10413         (MEMPCPY): Likewise.
10414         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10415         (MEMPCPY): Likewise.
10416         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10417         (MEMPCPY): Likewise.
10418         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10419         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10420         Likewise.
10421         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10422         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10424 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10425              Amit Pawar  <Amit.Pawar@amd.com>
10427         [BZ #19583]
10428         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10429         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10430         processors.  Set Fast_Copy_Backward for AMD Excavator
10431         processors.
10432         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10433         New.
10434         (index_arch_Fast_Unaligned_Copy): Likewise.
10435         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10436         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10438 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10440         [BZ #19791]
10441         * resolv/res_send.c (close_and_return_error): New function.
10442         (send_dg): Initialize *resplen2 after reopen failure.  Call
10443         close_and_return_error for error returns.  On error paths without
10444         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10445         successful return.
10447 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10449         [BZ# 19860]
10450         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10451         zero if the compiler does not provide the AVX512F bit.
10453 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10455         [BZ #19848]
10456         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10457         from 8 to 4.
10458         (__ieee754_powl): Compare integer exponent against 4 not 8.
10459         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10460         from 8 to 4.
10461         (__ieee754_powl): Compare integer exponent against 4 not 8.
10462         * math/auto-libm-test-in: Add more tests of pow.
10463         * math/auto-libm-test-out: Regenerated.
10464         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10467 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10469         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10470         Make code unconditional.
10471         [!__NR_utimensat]: Remove conditional code.
10472         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10473         Make code unconditional.
10474         [!__NR_utimensat]: Remove conditional code.
10475         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10476         Make code unconditional.
10477         [!__NR_utimensat]: Remove conditional code.
10479 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10481         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10482         Make code unconditional.
10484 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10486         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10487         call-clobbered %eax on retry path.
10488         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10490 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10492         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10493         Don't set %rcx twice before "rep movsb".
10495 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10497         [BZ #19583]
10498         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10499         inline.  Check family before setting family, model and
10500         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10501         bits here.
10502         (init_cpu_features): Replace HAS_CPU_FEATURE and
10503         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10504         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10505         for Intel processors with usable AVX2.  Call get_common_indeces
10506         for other processors with family == NULL.
10507         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10508         (CPU_FEATURES_ARCH_P): Likewise.
10509         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10510         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10512 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10514         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10515         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10516         $(shared-thread-library) instead of hardcoding the path to libpthread.
10518 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10520         * sysdeps/unix/sysv/linux/kernel-features.h
10521         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10522         * sysdeps/unix/sysv/linux/getdents.c
10523         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10524         [!have_no_getdents64_defined]: Likewise.
10525         (__GETDENTS): Remove __have_no_getdents64 conditional.
10527 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10530         Remove macro.
10531         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10532         <kernel-features.h>.
10533         (signalfd) [__NR_signalfd4]: Make code unconditional.
10534         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10536 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10538         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10539         style.
10541 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10543         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10544         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10545         __pthread_unwind.
10546         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10547         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10548         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10549         (__condvar_cleanup1): Likewise.
10551 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10553         [BZ #19822]
10554         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10555         move it to the final $@ location.
10557 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10559         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10560         access where posix_spawn success and pid argument is null.
10561         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10562         success case.
10564 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10566         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10568         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10570         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10571         and __fcntl.
10572         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10573         __fcntl only.
10574         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10575         adding attribute_hidden to __open and __fcntl.
10577         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10578         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10579         depend on libc-modules.h,
10580         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10582 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10584         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10585         Remove macro.
10586         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10587         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10588         entry.
10590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10591         Remove macro.
10592         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10593         include <kernel-features.h>.
10594         [!__ASSUME_FALLOCATE]: Remove conditional code.
10595         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10597 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10599         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10600         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10601         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10602         (_ZGVdN4v_cos_avx2): Likewise.
10603         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10604         (_ZGVdN4v_cos): Likewise.
10605         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10606         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10607         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10608         (_ZGVdN4v_exp_avx2): Likewise.
10609         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10610         (_ZGVdN4v_exp): Likewise.
10611         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10612         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10613         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10614         (_ZGVdN4v_log_avx2): Likewise.
10615         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10616         (_ZGVdN4v_log): Likewise.
10617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10618         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10619         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10620         (_ZGVdN4vv_pow_avx2): Likewise.
10621         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10622         (_ZGVdN4vv_pow): Likewise.
10623         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10624         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10625         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10626         (_ZGVdN4v_sin_avx2): Likewise.
10627         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10628         (_ZGVdN4v_sin): Likewise.
10629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10630         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10632         (_ZGVdN4vvv_sincos_avx2): Likewise.
10633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10634         (_ZGVdN4vvv_sincos): Likewise.
10635         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10636         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10638         (_ZGVbN4v_cosf_sse4): Likewise.
10639         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10640         (_ZGVdN8v_cosf_avx2): Likewise.
10641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10642         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10644         (_ZGVbN4v_expf_sse4): Likewise.
10645         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10646         (_ZGVdN8v_expf_avx2): Likewise.
10647         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10648         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10650         (_ZGVbN4v_logf_sse4): Likewise.
10651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10652         (_ZGVdN8v_logf_avx2): Likewise.
10653         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10654         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10655         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10656         (_ZGVbN4vv_powf_sse4): Likewise.
10657         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10658         (_ZGVdN8vv_powf_avx2): Likewise.
10659         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10660         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10662         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10664         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10666         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10667         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10668         (_ZGVbN4v_sinf_sse4): Likewise.
10669         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10670         (_ZGVdN8v_sinf_avx2): Likewise.
10671         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10672         Use JUMPTARGET to call callee.
10673         (WRAPPER_IMPL_SSE2_ff): Likewise.
10674         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10675         (WRAPPER_IMPL_AVX): Likewise.
10676         (WRAPPER_IMPL_AVX_ff): Likewise.
10677         (WRAPPER_IMPL_AVX_fFF): Likewise.
10678         (WRAPPER_IMPL_AVX512): Likewise.
10679         (WRAPPER_IMPL_AVX512_ff): Likewise.
10680         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10681         Likewise.
10682         (WRAPPER_IMPL_SSE2_ff): Likewise.
10683         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10684         (WRAPPER_IMPL_AVX): Likewise.
10685         (WRAPPER_IMPL_AVX_ff): Likewise.
10686         (WRAPPER_IMPL_AVX_fFF): Likewise.
10687         (WRAPPER_IMPL_AVX512): Likewise.
10688         (WRAPPER_IMPL_AVX512_ff): Likewise.
10689         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10691 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10693         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10694         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10695         qualifier.
10696         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10697         internal_function qualifiers.
10699 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10701         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10702         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10703         * math/atest-exp.c (exp_mpn): Mark chk unused.
10704         * math/atest-exp2.c (exp_mpn): Likwise.
10705         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10706         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10708 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10711         Remove macro.
10712         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10713         <kernel-features.h>.
10714         [__NR_ppoll]: Make code unconditional.
10715         [!__ASSUME_PPOLL]: Remove conditional code.
10717         * sysdeps/unix/sysv/linux/kernel-features.h
10718         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10719         (__ASSUME_ACCEPT4): Likewise.
10720         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10721         Define.
10722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10723         Likewise.
10724         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10725         Likewise.
10726         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10727         Likewise.
10728         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10729         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10731         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10732         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10735         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10736         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10737         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10738         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10739         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10740         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10741         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10742         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10743         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10744         Likewise.
10745         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10746         Likewise.
10747         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10748         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10749         0x040300].
10750         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10751         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10752         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10753         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10754         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10755         0x030300].
10756         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10757         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10758         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10759         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10760         0x040300].
10761         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10762         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10765         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10766         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10767         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10768         0x030300].
10769         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10770         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10771         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10773         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10774         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10777         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10778         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10779         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10780         0x040300].
10781         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10783         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10784         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10786         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10787         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10788         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10789         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10790         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10791         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10792         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10793         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10795         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10796         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10797         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10798         Likewise.
10799         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10800         Likewise.
10802 2016-03-15  Andreas Schwab  <schwab@suse.de>
10804         [BZ #19257]
10805         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10806         statp->_u._ext.nscount as loop count.
10808 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10810         * math/test-signgam-finite-c99.c: Also #undef
10811         __LIBC_INTERNAL_MATH_INLINES.
10812         * math/test-signgam-main.c: Likewise.
10814 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10816         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10817         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10818         (MADV_FREE): Likewise.
10819         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10820         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10821         EPOLLEXCLUSIVE.
10823 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10825         * timezone/README: Remove mention of checktab.awk. Mention wiki
10826         SharedSourceFiles.
10828 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10830         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10831         WUNTRACED.
10833 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10835         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10836         order to match the type of p when calling atomic_exchange_acq().
10838 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10840         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10841         cfi_offset calls.
10842         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10843         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10844         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10845         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10846         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10848 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10850         * timezone/checktab.awk: Removed.
10852 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10854         * manual/math.texi (Errors in Math Functions): Document relaxed
10855         accuracy goals for IBM long double.
10856         * math/libm-test.inc (test_exceptions): Always allow spurious
10857         "underflow" and "inexact" exceptions for IBM long double.
10859 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10861         [BZ #19762]
10862         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10863         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10864         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10865         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10866         (bit_arch_*): This for feature array.
10867         (bit_*): Renamed to ...
10868         (bit_cpu_*): This for cpu array.
10869         (index_*): Renamed to ...
10870         (index_arch_*): This for feature array.
10871         (index_*): Renamed to ...
10872         (index_cpu_*): This for cpu array.
10873         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10874         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10875         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10876         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10877         bit_##name with index_cpu_##name and bit_cpu_##name.
10878         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10879         bit_##name with index_arch_##name and bit_arch_##name.
10881 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10883         [BZ #19792]
10884         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10885         Terminate FDE before return label.
10887 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10889         [BZ #19790]
10890         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10891         (rintl): Define as macro.
10892         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10893         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10894         of fesetround.  Ensure results are evaluated before end of scope.
10895         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10896         USE_AS_NEARBYINTL and include s_rintl.c.
10897         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10898         Disable exception traps in new environment.
10899         (libc_feholdsetround_ppc_ctx): Likewise.
10901 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10903         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10904         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10905         (tst_audit10_aux) [__AVX512F__]: ... here.
10907 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10909         * include/sys/auxv.h: New file.
10911 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10913         [BZ #19759]
10914         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10916 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10918         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10919         operand modifier.
10920         (feclearexcept): Likewise.
10922 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10924         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10925         to reflect the entire 32-bit HWCAP.
10926         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10927         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10929 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10931         [BZ #19783]
10932         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10933         $(test-via-rtld-prefix).
10934         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10936 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10938         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10939         union wait.  Report any non-zero exit status as error.
10941 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10943         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10944         configured with --enable-hardcoded-path-in-tests.
10946 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10948         [BZ #19677]
10949         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10950         (__ieee754_remainderl): Put zero low parts in canonical form.
10951         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10952         file.  Based on
10953         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10954         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10955         with wrapper round test-fmodrem-ldbl-128ibm.c.
10956         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10957         file.
10958         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10959         Likewise.
10960         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10961         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10963 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10965         [BZ #19610]
10966         * elf/ldconfig.c (opt_link): Update comment.
10967         (options): Update help string for option -X.
10968         (search_dir): Unlink stale symbolic link only if updating symbolic
10969         links.
10970         * elf/tst-ldconfig-X.sh: New file.
10971         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10972         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10974 2016-03-07  Andreas Schwab  <schwab@suse.de>
10976         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10977         needed arguments.
10979 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10981         [BZ #15333]
10982         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10983         to lstat64.
10985 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10987         * libio/filedoalloc.c (isatty): Remove.
10988         (local_isatty): Add comment.  Call __isatty directly.
10989         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10990         * libio/wfiledoalloc.c (isatty): Remove.
10991         (_IO_wfile_doallocate): Update comment.
10993 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10995         [BZ #19269]
10996         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10997         tst-audit4-aux.o.
10998         (tst-audit10): Depend on tst-audit10-aux.o.
10999         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11000         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11001         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11002         instead of inline AVX code.
11003         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11004         instead of inline AVX512 code.
11005         * sysdeps/x86_64/tst-audit4-aux.c: New file
11006         * sysdeps/x86_64/tst-audit10-aux.c: New file
11008         [BZ #19648]
11009         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11011 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11013         [BZ #14750]
11014         [BZ #10354]
11015         [BZ #18433]
11016         * include/sched.h (__clone): Add hidden prototype.
11017         (__clone2): Likewise.
11018         * include/unistd.h (__dup): Likewise.
11019         * posix/Makefile (tests): Add tst-spawn2.
11020         * posix/tst-spawn2.c: New file.
11021         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11022         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11023         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11024         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11025         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11026         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11027         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11028         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11029         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11030         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11031         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11033         Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11035         Likewise.
11036         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11037         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11038         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11039         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11040         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11041         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11042         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11043         * sysdeps/unix/sysv/linux/nptl-signals.h
11044         (____nptl_is_internal_signal): New function.
11045         * sysdeps/unix/sysv/linux/spawni.c: New file.
11047         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11048         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11049         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11050         * posix/tst-execvp2.c (do_test): Likewise.
11051         * posix/tst-execvp3.c (do_test): Likewise.
11052         * posix/tst-execvp4.c (do_test): Likewise.
11053         * posix/tst-execvpe1.c: New file.
11054         * posix/tst-execvpe2.c: Likewise.
11055         * posix/tst-execvpe3.c: Likewise.
11056         * posix/tst-execvpe4.c: Likewise.
11057         * posix/tst-execvpe5.c: Likewise.
11058         * posix/tst-execvpe6.c: Likewise.
11060         [BZ #19534]
11061         * posix/execl.c (execl): Remove dynamic memory allocation.
11062         * posix/execle.c (execle): Likewise.
11063         * posix/execlp.c (execlp): Likewise.
11065 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11067         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11068         Replace .text with .text.avx512.
11069         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11070         Likewise.
11072 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11074         * sysdeps/generic/libnsl.abilist: New file.
11075         * sysdeps/generic/libutil.abilist: New file.
11077 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11079         [BZ #19762]
11080         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11081         HAS_ARCH_FEATURE with Fast_Rep_String.
11082         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11083         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11084         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11085         Likewise.
11086         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11087         Likewise.
11088         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11090         Likewise.
11091         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11092         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11093         Likewise.
11095 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11097         [BZ #19745]
11098         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11099         with *%rax in call.
11101 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11103         [BZ #19745]
11104         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11105         with *__libc_start_main@GOTPCREL(%rip) in call.
11107 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11109         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11110         inside conditional for nonempty $(CXX).
11112         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11113         nonempty.
11115         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11116         to test for empty $(CXX) rather than $(CXX) of "no".
11118 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11120         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11122 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11123             H.J. Lu  <hongjiu.lu@intel.com>
11125         [BZ #18880]
11126         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11127         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11128         enable __memcpy_ssse3_back.
11130 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11132         [BZ #19758]
11133         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11134         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11136 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11138         [BZ #19490]
11139         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11140         (__fentry__): Likewise.
11142 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11144         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11145         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11147 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11149         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11150         __mcount_internal directly.
11151         (C_LABEL(__fentry__)): Likewise.
11152         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11153         directly.
11155 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11157         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11158         (__start_context): Call __setcontext directly.
11160 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11162         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11163         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11164         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11165         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11166         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11167         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11168         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11169         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11170         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11171         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11172         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11173         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11174         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11175         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11176         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11177         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11178         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11180         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11181         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11182         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11183         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11184         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11185         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11186         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11187         Remove conditional code.
11188         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11189         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11190         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11191         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11192         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11193         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11194         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11195         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11196         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11197         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11198         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11199         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11201 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11203         * NEWS (2.23): Fix typo in bug 19048 text.
11205 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11207         [BZ #14259]
11208         * Makeconfig: Rename msgcatdir to localedir.
11209         Rename inst_msgcatdir to inst_localedir.
11210         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11211         * config.make.in: Add localedir.
11212         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11213         (ldd-rewrite): Likewise.
11214         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11215         (install-others): Use inst_localedir.
11216         (CPPFLAGS): Use localedir.
11217         * locale/Makefile (locale-CPPFLAGS): Likewise.
11218         * po/Makefile (mo-installed): Use inst_localedir.
11220         [BZ #19575]
11221         * localedata/charmaps/GB18030: Update comments regarding PAU to
11222         non-PUA mappings.
11224 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11226         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11227         test for header.
11228         * sysdeps/unix/sysv/linux/configure: Regenerated.
11229         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11230         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11231         Remove conditional code.
11232         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11234         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11235         Define to 3.2.0.
11236         (arch_minimum_kernel): Likewise.
11237         * sysdeps/unix/sysv/linux/configure: Regenerated.
11238         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11239         Define to 2.6.32.
11240         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11241         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11242         (arch_minimum_kernel): Define to 2.6.32.
11243         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11244         * README: Document Linux 3.2 requirement.
11245         * manual/install.texi (Linux): Document Linux 3.2 headers
11246         requirement.
11247         * INSTALL: Regenerated.
11249 2016-02-24  Andreas Schwab  <schwab@suse.de>
11251         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11252         if !NO_LONG_DOUBLE.
11254 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11256         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11257         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11259 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11261         [BZ #19512]
11262         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11264 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11266         * posix/tst-dir.c: Include libc-internal.h.
11268 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11270         [BZ #19056]
11271         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11272         * manual/filesys.texi (Reading/Closing Directory): Mention
11273         deprecaion.
11274         * posix/tst-dir.c (main): Disable deprecation warning in test.
11276 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11278         [BZ #19679]
11279         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11280         Renamed to ...
11281         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11282         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11283         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11284         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11285         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11286         * sysdeps/x86_64/dl-trampoline.h
11287         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11288         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11290 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11292         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11294 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11296         * elf/elf.h (R_386_GOT32X): New.
11297         (R_386_NUM): Update.
11298         (R_X86_64_GOTPCRELX: New.
11299         (R_X86_64_REX_GOTPCRELX): New.
11300         (R_X86_64_NUM): Update.
11302 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11304         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11306 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11308         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11309         assign attr->stackaddr to it, and adjust it down when
11310         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11311         [_STACK_GROWS_UP]: Delete assert.
11312         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11313         Implement stack grows up logic.
11314         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11315         stack grows up logic.
11317 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11319         * NEWS: Update with 2.24 template.
11321 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11323         [BZ #19678]
11324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11325         Ensure +0.0 is returned when taking the next value below the least
11326         positive value.
11328 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11330         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11331         available.  Do not define NO_THREADS.
11332         * malloc/malloc.c: Do not check NO_THREADS.
11333         * malloc/arena.c: Likewise.
11335 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11337         * malloc/malloc.c (__libc_mallinfo): Update comment.
11338         (struct malloc_par): Remove max_total_mem member, it was always 0.
11339         (int_mallinfo): Store 0 into usmblks (no functional change).
11340         * malloc/hooks.c (struct malloc_state): Document that
11341         max_total_mem is always 0.
11342         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11343         always 0.
11344         * manual/memory.texi (Statistics of Malloc): Likewise.
11346 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11348         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11349         * malloc/arena.c (arena_max): Remove.
11350         (heap_trim, _int_new_arena): Do not update arena_max.
11352 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11354         * resolv/res_init.c (res_ninit): Update comment.
11356 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11358         [BZ #19505]
11359         * posix/spawn_int.h: Add headers and include guard.
11360         (__spawn_valid_fd): New function.
11361         * posix/spawn_faction_addopen.c
11362         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11363         * posix/spawn_faction_addclose.c
11364         (posix_spawn_file_actions_addclose): Likewise.
11365         * posix/spawn_faction_adddup2.c
11366         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11367         second file descriptor.
11368         * posix/spawn_valid_fd.c: New file.
11369         * posix/tst-posix_spawn-fd.c: New file.
11370         * posix/Makefile (routines): Add spawn_valid_fd.
11371         (tests): Add tst-posix_spawn-fd.
11373 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11375         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11376         (do_test): Limit the number of arenas, so that we can use fewer
11377         outer threads.  Limit timeout to 3 seconds, in preparation for a
11378         larger TIMEOUT value.
11380 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11382         [BZ #19674]
11383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11384         sign in overflowing and underflowing results when overflow or
11385         underflow is detected early.  Include sign in result before rather
11386         than after scaling.
11388         [BZ #19603]
11389         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11390         (__ieee754_remainderl): Adjust sign of integer version of low part
11391         when taking absolute value of high part.
11392         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11393         * math/libm-test.inc (remainder_test_data): Add another test.
11394         (remquo_test_data): Likewise.
11396 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11398         [BZ #19602]
11399         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11400         equal high parts and both low parts zero specially.
11401         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11402         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11403         Add test-fmodl-ldbl-128ibm.
11405         [BZ #19595]
11406         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11407         common logic for all cases of shifting subnormal results.  Do not
11408         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11409         exponent to ldbl_insert_mantissa in subnormal case.
11411         [BZ #19594]
11412         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11413         on high and low parts then adjust result and use
11414         ldbl_canonicalize_int if needed.
11416         [BZ #19593]
11417         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11418         on high part and __floor or __ceil on low part then use
11419         ldbl_canonicalize_int if needed.
11421         [BZ #19592]
11422         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11423         high and low parts then use ldbl_canonicalize_int if needed.
11425         [BZ #17899]
11426         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11427         New function.
11428         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11429         on high and low parts then use ldbl_canonicalize_int if needed.
11431 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11433         * configure: Regenerated.
11435         * po/libc.pot: Regenerated.
11437         * po/be.po: Updated translation.
11438         * po/bg.po: Likewise.
11439         * po/ca.po: Likewise.
11440         * po/cs.po: Likewise.
11441         * po/da.po: Likewise.
11442         * po/el.po: Likewise.
11443         * po/eo.po: Likewise.
11444         * po/es.po: Likewise.
11445         * po/fi.po: Likewise.
11446         * po/fr.po: Likewise.
11447         * po/gl.po: Likewise.
11448         * po/hr.po: Likewise.
11449         * po/hu.po: Likewise.
11450         * po/ia.po: Likewise.
11451         * po/id.po: Likewise.
11452         * po/it.po: Likewise.
11453         * po/ja.po: Likewise.
11454         * po/lt.po: Likewise.
11455         * po/nb.po: Likewise.
11456         * po/nl.po: Likewise.
11457         * po/pt_BR.po: Likewise.
11458         * po/rw.po: Likewise.
11459         * po/sk.po: Likewise.
11460         * po/sl.po: Likewise.
11461         * po/sv.po: Likewise.
11462         * po/tr.po: Likewise.
11463         * po/zh_CN.po: Likewise.
11464         * po/zh_TW.po: Likewise.
11466         * version.h (RELEAES): Set to "development".
11467         (VERSION): Set to 2.23.90.
11469         * version.h (RELEASE): Set to "stable".
11470         (VERSION): Set to 2.23.
11471         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11473         * NEWS: Updated fixed bugs.
11475 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11476             Wilco Dijkstra  <wdijkstr@arm.com>
11478         [BZ #19462]
11479         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11480         (_STRING_INLINE_unaligned): This.
11481         * include/string.h: Include <string_private.h>.
11482         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11483         _STRING_INLINE_unaligned.
11484         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11485         (_STRING_INLINE_unaligned): New.
11486         * sysdeps/aarch64/string_private.h: New file.
11487         * sysdeps/generic/string_private.h: Likewise.
11488         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11489         * sysdeps/s390/string_private.h: Likewise.
11490         * sysdeps/x86/string_private.h: Likewise.
11491         * sysdeps/m68k/m680x0/m68020/bits/string.h
11492         (_STRING_ARCH_unaligned): Renamed to ...
11493         (_STRING_INLINE_unaligned): This.
11494         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11495         to ...
11496         (_STRING_INLINE_unaligned): This.
11497         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11498         to ...
11499         (_STRING_INLINE_unaligned): This.
11500         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11501         to ...
11502         (_STRING_INLINE_unaligned): This.
11504 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11505             H.J. Lu  <hongjiu.lu@intel.com>
11507         [BZ #19590]
11508         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11509         relocation.
11511 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11513         [BZ #18665]
11514         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11515         *herrno_p.
11516         (gaih_getanswer): Document functional behviour. Return tryagain
11517         if any result is tryagain.
11518         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11519         when freed.
11520         * resolv/res_send.c: Add copyright text.
11521         (__libc_res_nsend): Document that MAXPACKET is expected.
11522         (send_vc): Document. Remove buffer reuse.
11523         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11524         size of the buffer. Add Dprint for truncated UDP buffer.
11526 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11528         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11529         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11530         * INSTALL: Regenerate.
11532 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11533             Jonathan Wakely  <jwakely@redhat.com>
11534             Carlos O'Donell  <carlos@redhat.com>
11536         [BZ 19439]
11537         * math/Makefile (tests): Add test-math-isinff.
11538         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11539         * math/bits/mathcalls.h [__USE_MISC]: Use
11540         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11541         functions not in C++11 and which don't conflict e.g. isinff,
11542         isinfl etc.
11543         * math/test-math-isinff.cc: New file.
11545 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11547         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11549 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11551         [BZ #19529]
11552         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11554 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11556         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11558 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11560         [BZ #19550]
11561         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11562         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11563         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11564         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11565         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11566         New syscall entry.
11567         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11568         New syscall entry.
11569         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11570         syscall entry.
11572 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11574         [BZ #18240]
11575         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11576         unsigned int wraparound.
11578 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11580         [BZ #18240]
11581         * misc/bug18240.c: New test.
11582         * misc/Makefile (tests): Add it.
11584 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11585             Joseph Myers  <joseph@codesourcery.com>
11587         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11588         load in branch delay slot when less than a word of input left.
11590 2016-01-27  Andreas Schwab  <schwab@suse.de>
11592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11593         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11594         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11595         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11597 2016-01-26  David S. Miller  <davem@davemloft.net>
11599         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11601 2016-01-25  David S. Miller  <davem@davemloft.net>
11603         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11604         __sqrtl_finite.
11605         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11606         instead using versioned_symbol.
11607         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11608         of entries.
11610         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11611         __sqrtl_finite to GLIBC_2.23
11613 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11615         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11617 2016-01-25  Andreas Schwab  <schwab@suse.de>
11619         [BZ #17514]
11620         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11621         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11622         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11623         * nptl/tst-mutex-errorcheck.c: New file.
11625 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11627         [BZ #18560]
11628         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11629         (IPCOP_semop): Likewise.
11630         (IPCOP_semget): Likewise.
11631         (IPCOP_semctl): Likewise.
11632         (IPCOP_msgsnd): Likewise.
11633         (IPCOP_msgrcv): Likewise.
11634         (IPCOP_msgget): Likewise.
11635         (IPCOP_msgctl): Likewise.
11636         (IPCOP_shmat): Likewise.
11637         (IPCOP_shmdt): Likewise.
11638         (IPCOP_shmget): Likewise.
11639         (IPCOP_shmctl): Likewise.
11641 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11643         * string/tst-endian.c: Include <libc-internal.h>.
11644         (do_test): Ignore tautological-compare warnings around
11645         "htobeXX (beXXtoh (i)) != i" and
11646         "htoleXX (leXXtoh (i)) != i" if-statements.
11648 2016-01-24  David S. Miller  <davem@davemloft.net>
11650         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11651         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11652         alias.
11653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11654         __sqrtl_finite.
11656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11658 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11660         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11661         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11662         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11664 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11666         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11667         (thread_func): Use new function to simplify barrier check.
11668         (do_test): Use new function to simplify checking barrier exit
11669         code, and actually join the child thread.
11671 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11673         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11674         semicolon.
11675         (__libc_tend): Likewise.
11676         (__libc_tabort): Likewise.
11678 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11680         * sysdeps/nios2/libm-test-ulps: Update.
11681         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11682         (__gtsf2): Likewise.
11683         (__unorddf2): Likewise.
11684         (__unordsf2): Likewise.
11685         (__ledf2): Likewise.
11687 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11689         * nis/nis_table.c (__follow_path): Disable diagnostic for
11690         uninitialized variable that is a false positive for gcc 4.7.
11691         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11693 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11695         * sysdeps/nacl/lowlevellock-futex.h
11696         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11697         Always evaluate PRIVATE argument.
11699 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11701         [BZ #19490]
11702         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11703         (pthread_cond_broadcast): Use ENTRY/END
11704         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11705         (pthread_cond_signal): Likewise.
11706         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11707         Likewise.
11708         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11709         Likewise.
11710         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11711         Likewise.
11713 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11715         * sysdeps/ieee754/dbl-64/s_finite.c
11716         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11717         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11718         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11719         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11720         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11723         (__gtsf2): Add as optional for libc.so.
11724         (__unordsf2): Likewise.
11725         (__signbit): Remove for libc.so.
11726         (__signbitl): Likewise.
11728 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11730         * iconvdata/bug-iconv11.c (test_ibm93x):
11731         Use %zu printf format specifier for size_t argument.
11733 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11735         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11736         already-recorded ulps.
11737         * sysdeps/arm/libm-test-ulps: Regenerated.
11738         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11739         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11740         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11742 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11743             Paul Pluzhnikov  <ppluzhnikov@google.com>
11745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11746         assembler not supporting AVX-512.
11748 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11750         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11752 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11754         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11755         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11757         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11759         * sysdeps/arm/libm-test-ulps: Regenerated.
11761 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11763         [BZ #19451]
11764         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11766 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11768         [BZ #19486]
11769         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11770         * sysdeps/generic/fix-fp-int-convert-overflow.h
11771         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11772         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11773         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11774         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11775         Likewise.
11776         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11777         Avoid conversions to long int where inexact exceptions
11778         could be raised.
11779         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11780         Likewise.
11781         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11782         Avoid conversions to long long int where inexact exceptions
11783         could be raised.
11784         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11785         Likewise.
11787 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11789         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11790         * configure: Regenerated.
11792 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11794         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11796 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11798         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11799         outside of comment.
11801 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11803         * nptl/tst-barrier1.c: Add description on first line.
11804         * nptl/tst-barrier2.c: Likewise.
11805         * nptl/tst-barrier3.c: Likewise.
11806         * nptl/tst-barrier4.c: Likewise.
11807         * nptl/tst-barrier5.c: Likewise.
11809 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11811         [BZ #18868]
11812         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11814 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11818         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11819         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11820         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11821         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11822         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11823         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11824         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11825         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11826         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11828 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11830         [BZ #13065]
11831         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11832         new implementation.
11833         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11834         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11835         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11836         (BARRIER_IN_THRESHOLD): New macro.
11837         * nptl/pthread_barrierattr_setpshared.c
11838         (pthread_barrierattr_setpshared): Clean up.
11839         * nptl/tst-barrier4.c: Correct comment.
11840         * nptl/tst-barrier5.c: New file.
11841         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11842         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11843         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11844         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11845         * nptl/lowlevelbarrier.sym: Remove.
11846         * nptl/DESIGN-barrier.txt: Remove.
11847         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11848         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11849         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11850         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11851         error.
11852         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11853         implementation.
11855 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11857         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11858         (do_child): Mask SIGRTMIN while thr is running.
11860 2016-01-15  Martin Sebor  <msebor@redhat.com>
11862         [BZ #19432]
11863         * iconvdata/Makefile: Add bug-iconv11.
11864         * iconvdata/bug-iconv11.c: New test.
11865         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11866         * iconvdata/ibm933.c: Same.
11867         * iconvdata/ibm935.c: Same.
11868         * iconvdata/ibm937.c: Same.
11869         * iconvdata/ibm939.c: Same.
11871 2016-01-15  Martin Sebor  <msebor@redhat.com>
11873         [BZ #19443]
11874         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11875         [DEBUG] (_ufc_set_bits): Declare used.
11876         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11877         [DEBUG] (print_all): Declare used.
11878         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11879         operands of the ternary ?: expression to target type.
11880         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11881         calling the undeclared abort.
11882         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11884 2016-01-15  Martin Sebor  <msebor@redhat.com>
11886         [BZ #18755]
11887         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11888         warnings.
11889         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11890         (__gai_create_helper_thread): Same.
11891         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11892         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11893         to suppress -Wmaybe-uninitialized warnings.
11895 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11897         [BZ #19465]
11898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11899         inside if.
11900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11904 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11906         [BZ #19466]
11907         * time/tst-mktime2.c (time_t_max): Removed.
11908         (time_t_min): Likewise.
11909         (TYPE_SIGNED): New.
11910         (TYPE_MINIMUM): Likewise.
11911         (TYPE_MAXIMUM): Likewise.
11912         (TIME_T_MIN): Likewise.
11913         (TIME_T_MAX): Likewise.
11914         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11915         and TIME_T_MIN.
11916         (do_test): Likewise.
11918 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11920         [BZ #19467]
11921         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11922         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11924 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11926         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11928 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11930         * benchtests/Makefile (PYTHON): Define.
11931         (bench-func): Use $(PYTHON) to run python scripts.
11932         ($(objpfx)bench-%.c): Likewise.
11934 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11936         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11937         leading slash when `file_name' is "/".
11939 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11941         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11942         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11943         Likewise.
11944         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11945         Likewise.
11946         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11947         Likewise.
11948         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11949         enum constant and macro.
11950         (PTRACE_SETSIGMASK): Likewise.
11951         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11952         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11953         (PTRACE_GETSIGMASK): Likewise.
11954         (PTRACE_SETSIGMASK): Likewise.
11955         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11956         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11957         Likewise.
11958         (PTRACE_SETSIGMASK): Likewise.
11959         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11960         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11961         (PTRACE_GETSIGMASK): Likewise.
11962         (PTRACE_SETSIGMASK): Likewise.
11963         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11964         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11965         Likewise.
11966         (PTRACE_SETSIGMASK): Likewise.
11967         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11968         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11969         Likewise.
11970         (PTRACE_SETSIGMASK): Likewise.
11971         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11972         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11973         Likewise.
11974         (PTRACE_SETSIGMASK): Likewise.
11975         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11977 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11978             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11980         [BZ #19439]
11981         * math/bits/mathcalls.h
11982         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11983         prototype.
11984         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11986 2016-01-11  Andreas Schwab  <schwab@suse.de>
11988         [BZ #19253]
11989         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11990         cache when TZDEFRULES was used.
11991         * time/tst-tzname.c: New file.
11992         * time/Makefile (test): Add tst-tzname.
11993         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11994         * timezone/Makefile (test-zones): Add $(posixrules-file).
11995         ($(testdata)/$(posixrules-file)): New rule.
11997 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11999         Fix doc quoting problems with Texinfo 5
12000         Without this change, in the info file output, Texinfo 5 quotes code
12001         in text with undirected single quotes 'like this' and generates
12002         code examples that with many PDF readers cannot be cut out of PDFs
12003         and pasted into code.
12004         * manual/libc.texinfo: Configure the libc manual like the GNU
12005         Emacs manual, by using @documentencoding and setting
12006         txicodequoteundirected and txicodequotebacktick.  This way,
12007         Texinfo 5 quotes code in text with directed single quotes ‘like
12008         this’ and produces examples that can be cut out of PDFs.  This
12009         change causes Texinfo 5 to generate info files that contain UTF-8
12010         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12011         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12013 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12015         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12016         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12017         barriers to their respective compiler built-ins.
12018         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12019         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12020         * sysdeps/powerpc/sysdep.h: Likewise.
12021         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12022         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12023         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12025 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12027         * scripts/config.guess: Revert previous shebang change.
12028         * scripts/config.sub: Likewise.
12029         * scripts/mkinstalldirs: Likewise.
12031 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12033         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12034         PPC_FEATURE2_HAS_IEEE128.
12035         * sysdeps/powerpc/dl-procinfo.c:
12036         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12038 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12040         [BZ #19415]
12041         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12042         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12043         (_dl_lookup_address): Rewrite using function resolver trampoline.
12044         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12045         two bits in address.
12047 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12049         * longlong.h: Change !__SHMEDIA__ to
12050         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12051         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12053 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12054             Joseph Myers  <joseph@codesourcery.com>
12055             Mark Shinwell  <shinwell@codesourcery.com>
12056             Andrew Stubbs  <ams@codesourcery.com>
12057             Rich Felker <dalias@libc.org>
12059         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12061 2016-01-07  Richard Henderson  <rth@redhat.com>
12063         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12065 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12067         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12068         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12069         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12070         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12071         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12073 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12074             Joseph Myers  <joseph@codesourcery.com>
12076         * timezone/private.h: Update from tzcode 2015g.
12077         * timezone/tzfile.h: Likewise.
12078         * timezone/tzselect.ksh: Likewise.
12079         * timezone/zdump.c: Likewise.
12080         * timezone/zic.c: Likewise.
12081         * timezone/ialloc.c: Remove file.
12082         * timezone/scheck.c: Likewise.
12083         * timezone/Makefile (extra-objs): Remove variable.
12084         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12085         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12086         -Wno-maybe-uninitialized.
12087         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12088         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12089         (CFLAGS-ialloc.c): Remove variable.
12090         (CFLAGS-scheck.c): Likewise.
12091         * timezone/README: Update list of files from tzcode.
12093 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12095         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12096         instead of __fxprintf when _LIBC is undefined.
12098 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12100         * catgets/test-gencat.sh: Remove space after shebang.
12101         * conform/GlibcConform.pm: Likewise.
12102         * conform/check-header-lists.sh: Likewise.
12103         * conform/conformtest.pl: Likewise.
12104         * conform/linknamespace.pl: Likewise.
12105         * conform/list-header-symbols.pl: Likewise.
12106         * debug/catchsegv.sh: Likewise.
12107         * elf/genrtldtbl.awk: Likewise.
12108         * elf/tst-pathopt.sh: Likewise.
12109         * elf/tst-rtld-load-self.sh: Likewise.
12110         * grp/tst_fgetgrent.sh: Likewise.
12111         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12112         * iconvdata/gen-8bit-gap.sh: Likewise.
12113         * iconvdata/gen-8bit.sh: Likewise.
12114         * iconvdata/run-iconv-test.sh: Likewise.
12115         * intl/tst-gettext.sh: Likewise.
12116         * intl/tst-gettext2.sh: Likewise.
12117         * intl/tst-gettext4.sh: Likewise.
12118         * intl/tst-gettext6.sh: Likewise.
12119         * intl/tst-translit.sh: Likewise.
12120         * io/ftwtest-sh: Likewise.
12121         * libio/test-freopen.sh: Likewise.
12122         * locale/gen-translit.pl: Likewise.
12123         * malloc/tst-mtrace.sh: Likewise.
12124         * manual/check-safety.sh: Likewise.
12125         * manual/libc-texinfo.sh: Likewise.
12126         * manual/tsort.awk: Likewise.
12127         * manual/xtract-typefun.awk: Likewise.
12128         * nptl/tst-cancel-wrappers.sh: Likewise.
12129         * nptl/tst-tls6.sh: Likewise.
12130         * posix/globtest.sh: Likewise.
12131         * posix/tst-getconf.sh: Likewise.
12132         * posix/wordexp-tst.sh: Likewise.
12133         * scripts/check-c++-types.sh: Likewise.
12134         * scripts/check-local-headers.sh: Likewise.
12135         * scripts/config.guess: Likewise.
12136         * scripts/config.sub: Likewise.
12137         * scripts/cpp: Likewise.
12138         * scripts/cross-test-ssh.sh: Likewise.
12139         * scripts/documented.sh: Likewise.
12140         * scripts/evaluate-test.sh: Likewise.
12141         * scripts/gen-libc-abis: Likewise.
12142         * scripts/gen-sorted.awk: Likewise.
12143         * scripts/list-fixed-bugs.py: Likewise.
12144         * scripts/merge-test-results.sh: Likewise.
12145         * scripts/mkinstalldirs: Likewise.
12146         * scripts/rellns-sh: Likewise.
12147         * scripts/test-installation.pl: Likewise.
12148         * scripts/update-copyrights: Likewise.
12149         * stdio-common/tst-printf.sh: Likewise.
12150         * stdio-common/tst-unbputc.sh: Likewise.
12151         * stdlib/tst-fmtmsg.sh: Likewise.
12152         * stdlib/tst-setcontext3.sh: Likewise.
12153         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12154         * sysdeps/unix/make-syscalls.sh: Likewise.
12156 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12158         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12159         asm stw with atomic_exchange_rel.  Add explanatory comment.
12160         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12161         Likewise.
12163 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12165         [BZ #19122]
12166         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12167         * sysdeps/generic/dl-unistd.h: New file.
12168         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12170 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12172          [BZ #19122]
12173          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12174          * sysdeps/generic/dl-mman.h: New file.
12175          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12177 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12179         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12180         trailing whitespace removed.
12181         * scripts/config.guess: Update to version 2016-01-01.
12182         * scripts/config.sub: Update to version 2016-01-01.
12183         * scripts/move-if-change: Update from gnulib.
12185 2016-01-04  Anton Blanchard  <anton@samba.org>
12187         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12188         for array indices.
12189         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12191 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12193         * NEWS: Update copyright dates.
12194         * catgets/gencat.c (print_version): Likewise.
12195         * csu/version.c (banner): Likewise.
12196         * debug/catchsegv.sh: Likewise.
12197         * debug/pcprofiledump.c (print_version): Likewise.
12198         * debug/xtrace.sh (do_version): Likewise.
12199         * elf/ldconfig.c (print_version): Likewise.
12200         * elf/ldd.bash.in: Likewise.
12201         * elf/pldd.c (print_version): Likewise.
12202         * elf/sotruss.sh: Likewise.
12203         * elf/sprof.c (print_version): Likewise.
12204         * iconv/iconv_prog.c (print_version): Likewise.
12205         * iconv/iconvconfig.c (print_version): Likewise.
12206         * locale/programs/locale.c (print_version): Likewise.
12207         * locale/programs/localedef.c (print_version): Likewise.
12208         * login/programs/pt_chown.c (print_version): Likewise.
12209         * malloc/memusage.sh (do_version): Likewise.
12210         * malloc/memusagestat.c (print_version): Likewise.
12211         * malloc/mtrace.pl: Likewise.
12212         * manual/libc.texinfo: Likewise.
12213         * nptl/version.c (banner): Likewise.
12214         * nscd/nscd.c (print_version): Likewise.
12215         * nss/getent.c (print_version): Likewise.
12216         * nss/makedb.c (print_version): Likewise.
12217         * posix/getconf.c (main): Likewise.
12218         * scripts/test-installation.pl: Likewise.
12219         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12221         * All files with FSF copyright notices: Update copyright dates
12222         using scripts/update-copyrights.
12223         * intl/plural.c: Regenerated.
12224         * locale/programs/charmap-kw.h: Likewise.
12225         * locale/programs/locfile-kw.h: Likewise.
12227 2016-01-02  Helge Deller  <deller@gmx.de>
12229         [BZ #19285]
12230         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12231         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12232         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12233         (MADV_xxK_PAGES): Remove.
12235 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12237         [BZ #15421]
12238         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12239         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12240         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12241         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12243 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12245         [BZ #19408]
12246         * sysdeps/unix/sysv/linux/personality.c: New file.
12247         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12248         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12249         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12250         (sysdep_routines): Add personality.
12251         (tests): Add tst-personality.
12252         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12254         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12255         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12256         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12257         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12258         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12259         Likewise.
12260         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12261         Likewise.
12262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12263         Likewise.
12264         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12265         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12266         Likewise.
12268 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12270         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12271         (PATH_ARM_SYSTYPE): Remove.
12272         (PATH_CPUINFO): Likewise.
12273         (IO_BASE_FOOTBRIDGE): Likewise.
12274         (IO_SHIFT_FOOTBRIDGE): Likewise.
12275         (struct platform): Likewise.
12276         (init_iosys): Remove compatibility code for 2.4 kernels.
12277         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12279 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12281         * malloc/tst-malloc-thread-fail.c: New file.
12282         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12283         (tst-malloc-thread-fail): Link against libpthread.
12285 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12287         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12288         (get_parser): New function.
12289         (main): New function.
12291 2015-12-29  Rob Wu  <rob@robwu.nl>
12293         [BZ #19369]
12294         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12296 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12298         [BZ #19270]
12299         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12301 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12303         [BZ #15421]
12304         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12306 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12308         [BZ #13690]
12309         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12310         after releasing it.
12311         (__lll_robust_unlock): Likewise.
12312         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12313         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12314         (lll_robust_unlock): Likewise.
12315         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12316         Prevent warnings in callers.
12318 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12320         * malloc/arena.c (list_lock): Update comment.
12322 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12324         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12325         __parse_hwcap_and_convert_at_platform to libc.a.
12327 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12329         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12330         platform and feature support for POWER9.
12331         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12332         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12333         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12334         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12335         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12336         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12337         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12338         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12340 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12342         Harmonize generic stdio-lock support with nptl
12344         This fixes build when _IO_funlockfile is a macro, fixes build where
12345         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12346         stack unwind.
12348         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12349         _IO_release_lock ): Use cleanup attribute on new
12350         _IO_acquire_lock_file variable instead of assuming that
12351         _IO_release_lock will be called.
12352         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12353         _IO_acquire_lock_needs_exceptions_enabled.
12354         (_IO_acquire_lock_clear_flags2): New macro.
12356 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12358         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12360 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12362         [BZ #19182]
12363         * malloc/arena.c (list_lock): Document lock ordering requirements.
12364         (free_list_lock): New lock.
12365         (ptmalloc_lock_all): Comment on free_list_lock.
12366         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12367         (detach_arena): Update comment.  free_list_lock is now needed.
12368         (_int_new_arena): Use free_list_lock around detach_arena call.
12369         Acquire arena lock after list_lock.  Add comment, including FIXME
12370         about incorrect synchronization.
12371         (get_free_list): Switch to free_list_lock.
12372         (reused_arena): Acquire free_list_lock around detach_arena call
12373         and attached threads counter update.  Add two FIXMEs about
12374         incorrect synchronization.
12375         (arena_thread_freeres): Switch to free_list_lock.
12376         * malloc/malloc.c (struct malloc_state): Update comments to
12377         mention free_list_lock.
12379 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12381         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12382         Remove functions.
12383         (sloww, sloww1): Accept argument to offset quadrant.
12384         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12385         quadrant.
12386         (__sin, __cos): Consolidate common code into new functions.
12387         (reduce_sincos_1, do_sincos_1): New functions.
12388         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12391         code to new functions.
12392         (reduce_sincos_2, do_sincos_2): New functions.
12393         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12396         common code for sincos.
12397         (__cos) [!IN_SINCOS]: Likewise.
12398         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12399         New function.
12400         (__sincos): Use it.
12402 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12404         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12405         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12406         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12408 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12410         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12413         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12414         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12415         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12416         index_Prefer_No_VZEROUPPER): New feature.
12417         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12418         Prefer_No_VZEROUPPER for Knights Landing.
12420 015-12-18  Torvald Riegel  <triegel@redhat.com>
12422         * math/atest-exp2.c (mp_exp_m1): Remove.
12424 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12426         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12427         syscalls.
12428         (__SYSCALL0): New macro.
12429         (__SYSCALL1): Likewise.
12430         (__SYSCALL2): Likewise.
12431         (__SYSCALL3): Likewise.
12432         (__SYSCALL4): Likewise.
12433         (__SYSCALL5): Likewise.
12434         (__SYSCALL6): Likewise.
12435         (__SYSCALL_CONCAT_X): Likewise.
12436         (__SYSCALL_CONCAT): Likewise.
12437         (__SYSCALL_DIST): Likewise.
12438         (__SYSCALL_CALL): Likewise.
12440 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12442         [BZ #19363]
12443         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12445 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12447         [BZ #19375]
12448         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12449         negative subnormals.
12451 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12454         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12455         (INTERNAL_SYSCALL_NCS): Use it.
12456         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12458 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12460         [BZ #19243]
12461         * malloc/arena.c (get_free_list): Remove assert and adjust
12462         reference count handling.  Add comment about reused_arena
12463         interaction.
12464         (reused_arena): Add comments abount get_free_list interaction.
12465         * malloc/tst-malloc-thread-exit.c: New file.
12466         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12467         (tst-malloc-thread-exit): Link against libpthread.
12469 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12471         [BZ #19367]
12472         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12473         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12474         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12475         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12476         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12478 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12480         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12481         Silvermont optimizations for Knights Landing.
12483 2015-12-15  Andreas Schwab  <schwab@suse.de>
12485         [BZ #17197]
12486         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12487         immediately after emitting SI.
12488         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12489         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12490         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12491         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12492         * iconvdata/bug-iconv10.c: New file.
12493         * iconvdata/Makefile (tests): Add bug-iconv10.
12494         ($(objpfx)bug-iconv10.out): New rule.
12496 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12498         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12499         aliasing violation.
12501 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12503         [BZ #18472]
12504         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12505         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12506         conditionals for them.
12507         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12508         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12510         sys/kdaemon.h.
12511         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12512         compat-only syscall, obsoleted in glibc 2.23.
12513         (create_module): Likewise.
12514         (get_kernel_syms): Likewise.
12515         (query_module): Likewise.
12516         (uselib): Likewise.
12517         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12519 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12521         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12522         <linux/version.h>.
12523         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12524         conditional code.
12525         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12526         and ioshift_name initialization.
12528 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12530         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12531         Fix indentation.
12533 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12535         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12537 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12539         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12541 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12542             Jakub Wilk  <jwilk@debian.org>
12544         [BZ #19347]
12545         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12546         to change the group of the device to the tty group.
12548 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12550         Split large string section; add truncation advice
12551         * manual/examples/strncat.c: Remove.
12552         This example was misleading, as the code would have undefined
12553         behavior if "hello" was longer than SIZE.  Anyway, the manual
12554         shouldn't encourage strncpy+strncat for this sort of thing.
12555         * manual/string.texi (Copying Strings and Arrays): Split into
12556         three sections Copying Strings and Arrays, Concatenating Strings,
12557         and Truncating Strings, as this section was way too long.  All
12558         cross-referenced changed.  Add advice about string-truncation
12559         functions.  Remove misleading strncat example.
12561 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12563         * manual/nss.texi (NSS Modules Interface): Document
12564         NSS_STATUS_NOTFOUND and SUCCESS.
12566 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12568         [BZ 18568]
12569         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12570         201505L, for Unicode 8.
12572 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12574         * locale/C-translit.h: Regenerate.
12576 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12578         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12579         and U+0153.
12581 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12583         [BZ #19351]
12584         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12585         expanding log(1+z), compare z rather than its square with epsilon
12586         to determine when to avoid evaluating the expansion.
12588         [BZ #19350]
12589         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12590         Increase overflow threshold.
12592         [BZ #19349]
12593         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12594         when small.
12596         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12597         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12598         New macro.
12599         [__LINUX_KERNEL_VERSION >= 0x040300]
12600         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12601         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12602         Likewise.
12603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12604         Likewise.
12605         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12606         Likewise.
12607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12608         Likewise.
12609         [__LINUX_KERNEL_VERSION >= 0x040300]
12610         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12611         [__LINUX_KERNEL_VERSION >= 0x040300]
12612         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12613         [__LINUX_KERNEL_VERSION >= 0x040300]
12614         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12615         [__LINUX_KERNEL_VERSION >= 0x040300]
12616         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12617         [__LINUX_KERNEL_VERSION >= 0x040300]
12618         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12620         Likewise.
12621         [__LINUX_KERNEL_VERSION >= 0x040300]
12622         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12623         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12624         Likewise.
12625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12626         Likewise.
12627         [__LINUX_KERNEL_VERSION >= 0x040300]
12628         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12630         Likewise.
12631         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12632         Likewise.
12633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12635         Likewise.
12636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12637         Likewise.
12638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12639         Likewise.
12640         [__LINUX_KERNEL_VERSION >= 0x040300]
12641         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12643         Likewise.
12644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12645         Likewise.
12646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12647         Likewise.
12648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12649         Likewise.
12650         [__LINUX_KERNEL_VERSION >= 0x040300]
12651         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12652         [__LINUX_KERNEL_VERSION >= 0x040300]
12653         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12654         [__LINUX_KERNEL_VERSION >= 0x040300]
12655         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12656         [__LINUX_KERNEL_VERSION >= 0x040300]
12657         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12658         [__LINUX_KERNEL_VERSION >= 0x040300]
12659         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12661         Likewise.
12662         [__LINUX_KERNEL_VERSION >= 0x040300]
12663         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12665         Likewise.
12666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12667         Likewise.
12668         [__LINUX_KERNEL_VERSION >= 0x040300]
12669         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12671         Likewise.
12672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12673         Likewise.
12674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12675         (__ASSUME_SOCKET_SYSCALL): Likewise.
12676         (__ASSUME_BIND_SYSCALL): Likewise.
12677         (__ASSUME_CONNECT_SYSCALL): Likewise.
12678         (__ASSUME_LISTEN_SYSCALL): Likewise.
12679         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12680         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12681         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12682         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12683         (__ASSUME_SEND_SYSCALL): Likewise.
12684         (__ASSUME_SENDTO_SYSCALL): Likewise.
12685         (__ASSUME_RECV_SYSCALL): Likewise.
12686         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12687         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12688         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12689         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12690         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12691         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12692         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12693         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12694         Likewise.
12695         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12696         Likewise.
12697         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12698         Likewise.
12699         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12700         Likewise.
12701         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12702         Likewise.
12703         [__LINUX_KERNEL_VERSION >= 0x020625]
12704         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12705         [__LINUX_KERNEL_VERSION >= 0x020625]
12706         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12707         [__LINUX_KERNEL_VERSION >= 0x020625]
12708         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12709         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12710         Likewise.
12711         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12712         Likewise.
12713         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12714         Likewise.
12715         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12716         Likewise.
12717         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12718         Likewise.
12719         [__LINUX_KERNEL_VERSION >= 0x020625]
12720         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12721         [__LINUX_KERNEL_VERSION >= 0x020625]
12722         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12724         Likewise.
12725         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12726         Likewise.
12728 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12730         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12731         record the current if the current ABI and CPU support the FP64
12732         extension.
12733         (has-modd-spreg): Define to record the current if the current ABI and
12734         CPU support 32-bit floating point values in odd FPU registers.
12735         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12736         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12737         $(has-modd-spreg) equals yes.
12738         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12739         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12740         $(has-modd-spreg) equal yes.
12742 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12744         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12745         basename.
12747 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12749         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12750         (bench-string): ... here.
12751         (bench): Add bench-string.
12752         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12753         to *-benchset to reflect what they are.
12754         (benchset): Adjust.
12756         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12757         cos-inputs.
12759 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12761         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12762         __attribute__ ((__simd__)) for vector math function declarations.
12764 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12766         Fix typo in strncat, wcsncat manual entries
12767         * manual/string.texi (Copying and Concatenation): Fix typos in
12768         sample implementations of strncat and wcsncat, by having them use
12769         the old value of the destination length, not the new one.
12771 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12773         [BZ #16961]
12774         [BZ #16962]
12775         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12776         string on the stack for strtod.
12777         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12778         a string on the stack for strtof.
12779         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12780         constructing a string on the stack for strtold.
12781         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12782         __strtold_nan to GLIBC_PRIVATE.
12783         * math/test-nan-overflow.c: New file.
12784         * math/test-nan-payload.c: Likewise.
12785         * math/Makefile (tests): Add test-nan-overflow and
12786         test-nan-payload.
12788 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12790         Consistency about byte vs character in string.texi
12791         * manual/string.texi (String and Array Utilities):
12792         Distinguish more carefully among bytes, multibyte characters,
12793         and wide characters.  Use "byte" when talking about C 'char',
12794         to distinguish it more clearly from multibyte characters.
12795         Say "wide character" or "multibyte character" instead of
12796         "character", when a wide or multibyte character is intended.
12797         Similarly for "multibyte string" versus "string".
12798         Define these terms more carefully.
12800 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12802         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12803         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12804         Likewise.
12805         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12806         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12807         * sysdeps/sh/math_private.h: New file.
12808         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12809         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12810         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12811         long double function name.
12812         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12813         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12814         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12815         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12818         Remove __finitel, __isinfl, and __isnanl.
12819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12823         Remove __finitel.
12824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12825         Likewise.
12826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12828 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12830         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12831         installed libmvec_nonshared.a.
12833 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12835         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12836         (sysdep_routines): Likewise.
12837         (sysdep-rtld-routines): Likewise.
12838         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12839         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12840         * sysdeps/powerpc/Versions: Added new
12841         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12842         * sysdeps/powerpc/hwcapinfo.c: New file.
12843         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12844         and parse hwcap, hwcap2 and platform number information.
12845         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12846         to store HWCAP+HWCAP2 and platform number.
12847         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12848         for HWCAP+HWCAP2 and platform number in the TCB.
12849         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12850         the HWCAP, HWCAP2 and platform number in the TCB.
12851         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12852         (TLS_INIT_TP): Included calls to add the hwcap and
12853         at_platform values in the TCB in TP initialization.
12854         (TLS_DEFINE_INIT_TP): Likewise.
12855         (THREAD_GET_HWCAP): New macro.
12856         (THREAD_SET_HWCAP): Likewise.
12857         (THREAD_GET_AT_PLATFORM): Likewise.
12858         (THREAD_SET_AT_PLATFORM): Likewise.
12859         * sysdeps/powerpc/powerpc32/dl-machine.h:
12860         (dl_platform_init): New function that calls
12861         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12862         powerpc32.
12863         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12864         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12865         this functionality, static linking case.
12866         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12867         linking case.
12868         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12869         __parse_hwcap_and_convert_at_platform for the static linking case.
12870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12871         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12872         ABI list for GLIBC 2.23.
12873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12874         Likewise.
12875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12876         Likewise.
12878 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12880         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12881         * configure: Regenerate.
12882         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12883         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12885 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12887         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12888         * iconvdata/ibm933.c: Likewise.
12889         * iconvdata/ibm935.c: Likewise.
12890         * iconvdata/ibm937.c: Likewise.
12891         * iconvdata/ibm939.c: Likewise.
12893 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12895         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12896         pthread_join.
12897         * nptl/tst-cancel21.c (tf): Likewise.
12899 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12901         [BZ #19313]
12902         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12903         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12904         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12905         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12906         Likewise.
12907         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12908         Likewise.
12909         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12910         Likewise.
12911         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12912         Likewise.
12913         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12914         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12915         unsigned long int with __CPU_MASK_TYPE.
12917 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12919         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12921 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12923         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12924         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12925         t512.x.
12926         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12928 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12930         [BZ #19214]
12931         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12932         argument to return extended model.  Update family and model
12933         with extended family and model when family == 0x0f.
12934         (init_cpu_features): Updated.
12936 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12938         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12939         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12941         * sysdeps/mach/hurd/mmap64.c: New file.
12943 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12945         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12946         rights for its main user thread in NEWTASK.
12948 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12950         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12951         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12953 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12955         [BZ #14259]
12956         * Makeconfig: Rename localedir to complocaledir.
12957         Rename inst_localedir to inst_complocaledir.
12958         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12959         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12960         * configure.ac: Use libc_cv_complocaledir.
12961         * configure: Regenerate.
12962         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12963         -DCOMPLOCALEDIR.
12964         * locale/findlocale.c: Use COMPLOCALEDIR.
12965         * locale/loadarchive.c: Likewise.
12966         * locale/programs/locale.c: Likewise.
12967         * locale/programs/localedef.c: Likewise.
12968         * locale/programs/locarchive.c: Likewise.
12969         * localedata/Makefile: Use inst_complocaledir.
12970         * sysdeps/gnu/configure: Regenerate.
12971         * sysdeps/hppa/configure: Regenerate.
12972         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12973         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12975         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12976         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12977         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12978         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12980 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12982         [BZ #19058]
12983         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12984         AS_NEEDED.
12985         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12986         workaround.
12987         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12988         libmvec-static-only-routines): Added new file.
12989         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12991 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12993         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12994         of interrupted RPC instead of restoring it.
12996         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12997         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12998         libc_hidden_def.
12999         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13000         into initialized data instead of common. Define rtld_hidden_data_def.
13001         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13002         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13003         libc_hidden_def.
13004         (if_freenameindex): Add libc_hidden_weak.
13005         (if_nameindex): Add libc_hidden_weak.
13006         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13007         __open64.
13008         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13009         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13010         * sysdeps/mach/nanosleep.c: Include <time.h>
13011         (__nanosleep): Rename to __libc_nanosleep.
13012         (__nanosleep): Add weak_alias.
13013         (nanosleep): Update alias.
13015 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13017         * stdlib/strtod_nan.c: New file.
13018         * stdlib/strtod_nan_double.h: Likewise.
13019         * stdlib/strtod_nan_float.h: Likewise.
13020         * stdlib/strtod_nan_main.c: Likewise.
13021         * stdlib/strtod_nan_narrow.h: Likewise.
13022         * stdlib/strtod_nan_wide.h: Likewise.
13023         * stdlib/strtof_nan.c: Likewise.
13024         * stdlib/strtold_nan.c: Likewise.
13025         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13026         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13027         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13028         * wcsmbs/wcstod_nan.c: Likewise.
13029         * wcsmbs/wcstof_nan.c: Likewise.
13030         * wcsmbs/wcstold_nan.c: Likewise.
13031         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13032         strtold_nan.
13033         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13034         wcstof_nan.
13035         * include/stdlib.h (__strtof_nan): Declare and use
13036         libc_hidden_proto.
13037         (__strtod_nan): Likewise.
13038         (__strtold_nan): Likewise.
13039         (__wcstof_nan): Likewise.
13040         (__wcstod_nan): Likewise.
13041         (__wcstold_nan): Likewise.
13042         * include/wchar.h (____wcstoull_l_internal): Declare.
13043         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13044         (____strtoull_l_internal): Remove declaration.
13045         (STRTOF_NAN): Define macro.
13046         (SET_MANTISSA): Remove macro.
13047         (STRTOULL): Likewise.
13048         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13049         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13050         (STRTOF_NAN): Define macro.
13051         (SET_MANTISSA): Remove macro.
13052         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13053         (SET_MANTISSA): Remove macro.
13054         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13055         macro.
13056         (SET_MANTISSA): Remove macro.
13057         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13058         macro.
13059         (SET_MANTISSA): Remove macro.
13060         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13061         (SET_MANTISSA): Remove macro.
13062         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13063         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13064         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13066         [BZ #19266]
13067         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13068         upper case and lower case letters inside NAN(), not using TOLOWER.
13069         * stdlib/tst-strtod-nan-locale-main.c: New file.
13070         * stdlib/tst-strtod-nan-locale.c: Likewise.
13071         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13072         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13073         Depend on $(gen-locales).
13074         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13075         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13076         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13077         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13078         Depend on $(gen-locales).
13079         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13081 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13083         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13085         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13087         __finitel, __isinfl, and __isnanl.
13088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13089         Likewise.
13090         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13092         __finitel.
13093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13094         Likewise.
13095         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13097 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13099         * malloc/memusage.c (me): Remove redundant getenv call.
13101 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13103         [BZ #19143]
13104         [BZ #19164]
13105         * nptl/check-cpuset.h: Remove.
13106         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13107         Remove CPU set size check.
13108         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13109         Likewise.
13110         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13111         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13112         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13113         (__pthread_setaffinity_new): Remove CPU set size check.
13114         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13115         (__kernel_cpumask_size): Remove.
13116         (__sched_setaffinity_new): Remove CPU set size check.
13117         * manual/threads.texi (Default Thread Attributes): Remove stale
13118         reference to check_cpuset_attr, determine_cpumask_size in comment.
13119         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13120         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13121         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13122         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13123         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13124         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13125         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13126         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13127         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13128         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13129         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13130         skeleton test file.
13131         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13132         tst-affinity-pid.
13134 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13136         * scripts/update-abilist.sh: New file.
13137         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13138         * Makerules (update-all-abi-%, update-all-abi)
13139         (subdir_update-all-abi): New targets.
13140         * elf/Makefile (update-all-abi): New target.
13142 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13144         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13145         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13146         (__libc_lock_define_initialized): Use it.
13147         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13148         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13149         * malloc/malloc.c (main_arena): Likewise.
13150         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13151         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13153 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13155         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13156         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13157         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13158         (PTRACE_O_MASK): Update value.
13159         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13160         New value in enum __ptrace_setoptions.
13161         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13162         (PTRACE_O_MASK): Update value.
13163         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13164         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13165         (PTRACE_O_MASK): Update value.
13166         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13167         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13168         (PTRACE_O_MASK): Update value.
13169         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13170         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13171         (PTRACE_O_MASK): Update value.
13172         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13173         New value in enum __ptrace_setoptions.
13174         (PTRACE_O_MASK): Update value.
13175         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13176         New value in enum __ptrace_setoptions.
13177         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13178         (PTRACE_O_MASK): Update value.
13180         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13181         New macro.
13182         (PACKET_AUXDATA): Likewise.
13183         (PACKET_ORIGDEV): Likewise.
13184         (PACKET_VERSION): Likewise.
13185         (PACKET_HDRLEN): Likewise.
13186         (PACKET_RESERVE): Likewise.
13187         (PACKET_TX_RING): Likewise.
13188         (PACKET_LOSS): Likewise.
13189         (PACKET_VNET_HDR): Likewise.
13190         (PACKET_TX_TIMESTAMP): Likewise.
13191         (PACKET_TIMESTAMP): Likewise.
13192         (PACKET_FANOUT): Likewise.
13193         (PACKET_TX_HAS_OFF): Likewise.
13194         (PACKET_QDISC_BYPASS): Likewise.
13195         (PACKET_ROLLOVER_STATS): Likewise.
13196         (PACKET_FANOUT_DATA): Likewise.
13197         (PACKET_MR_UNICAST): Likewise.
13199         [BZ #19242]
13200         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13201         (TOUPPER): Likewise.
13202         * stdlib/tst-strtol-locale-main.c: New file.
13203         * stdlib/tst-strtol-locale.c: Likewise.
13204         * stdlib/Makefile (tests): Add tst-strtol-locale.
13205         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13206         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13207         Depend on $(gen-locales).
13208         * wcsmbs/tst-wcstol-locale.c: New file.
13209         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13210         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13211         tr_TR.ISO-8859-9.
13212         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13213         Depend on $(gen-locales).
13215 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13217         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13218         __glibc_likely instead of __builtin_expect.  After falling back to
13219         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13220         system interface to register the code pages as occupied.
13222 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13224         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13225         [!ARM_MATH_PRIVATE_H].
13226         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13227         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13228         [!HPPA_MATH_PRIVATE_H].
13229         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13230         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13231         to [!I386_MATH_PRIVATE_H].
13232         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13233         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13234         Change guard to [!M68K_MATH_PRIVATE_H].
13235         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13236         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13237         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13238         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13239         macro.
13240         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13241         [!MIPS_MATH_PRIVATE_H].
13242         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13243         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13244         [!NIO2_MATH_PRIVATE_H].
13245         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13246         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13247         [!TILE_MATH_PRIVATE_H].
13248         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13250         [BZ #15421]
13251         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13252         initialize with 0 and define as weak alias of __signgam.
13253         * include/math.h [!_ISOMAC] (__signgam): Declare.
13254         * math/Makefile (libm-calls): Add w_lgamma_compat.
13255         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13256         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13257         test-signgam-ullong-init.
13258         (tests-static): Add test-signgam-uchar-static,
13259         test-signgam-uchar-init-static, test-signgam-uint-static,
13260         test-signgam-uint-init-static, test-signgam-ullong-static and
13261         test-signgam-ullong-init-static.
13262         (CFLAGS-test-signgam-uchar.c): New variable.
13263         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13264         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13265         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13266         (CFLAGS-test-signgam-uint.c): Likewise.
13267         (CFLAGS-test-signgam-uint-init.c): Likewise.
13268         (CFLAGS-test-signgam-uint-static.c): Likewise.
13269         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13270         (CFLAGS-test-signgam-ullong.c): Likewise.
13271         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13272         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13273         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13274         * math/Versions (libm): Add GLIBC_2.23.
13275         * math/lgamma-compat.h: New file.
13276         * math/test-signgam-main.c: Likewise.
13277         * math/test-signgam-uchar-init-static.c: Likewise.
13278         * math/test-signgam-uchar-init.c: Likewise.
13279         * math/test-signgam-uchar-static.c: Likewise.
13280         * math/test-signgam-uchar.c: Likewise.
13281         * math/test-signgam-uint-init-static.c: Likewise.
13282         * math/test-signgam-uint-init.c: Likewise.
13283         * math/test-signgam-uint-static.c: Likewise.
13284         * math/test-signgam-uint.c: Likewise.
13285         * math/test-signgam-ullong-init-static.c: Likewise.
13286         * math/test-signgam-ullong-init.c: Likewise.
13287         * math/test-signgam-ullong-static.c: Likewise.
13288         * math/test-signgam-ullong.c: Likewise.
13289         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13290         wrapper of w_lgamma_main.c.
13291         * math/w_lgamma_compat.c: New file.
13292         * math/w_lgamma_compatf.c: Likewise.
13293         * math/w_lgamma_compatl.c: Likewise.
13294         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13295         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13296         defining compatibility symbols.
13297         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13298         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13299         wrapper of w_lgammaf_main.c.
13300         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13301         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13302         defining compatibility symbols.
13303         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13304         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13305         wrapper of w_lgammal_main.c.
13306         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13307         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13308         defining compatibility symbols.
13309         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13310         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13311         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13312         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13313         <lgamma-compat.h>.
13314         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13315         (__ieee754_gamma): Define as alias.
13316         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13317         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13318         <lgamma-compat.h>.
13319         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13320         (__ieee754_gammaf): Define as alias.
13321         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13322         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13323         <lgamma-compat.h>.
13324         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13325         (__ieee754_gammal): Define as alias.
13326         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13327         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13328         <math/w_lgamma_compat.c>.
13329         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13330         Define as alias of __lgamma_compat and use in defining lgammal.
13331         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13332         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13333         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13334         (USE_AS_COMPAT): New macro.
13335         (LGAMMA_OLD_VER): Undefine and redefine.
13336         (lgammal): Do not define here.
13337         (gammal): Only define here if [GAMMA_ALIAS].
13338         * conform/linknamespace.pl (@whitelist): Remove signgam.
13339         * sysdeps/nacl/libm.abilist: Update.
13340         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13341         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13342         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13343         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13344         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13345         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13346         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13347         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13348         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13349         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13350         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13351         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13353         Likewise.
13354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13355         Likewise.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13357         Likewise.
13358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13359         Likewise.
13360         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13361         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13362         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13363         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13364         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13366         Likewise.
13367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13368         Likewise.
13369         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13370         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13371         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13373 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13375         [BZ #16364]
13376         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13377         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13379 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13381         * sysdeps/s390/fpu/bits/mathinline.h:
13382         Use __asm__ [__volatile__] instead of asm [volatile].
13383         * sysdeps/s390/abort-instr.h: Likewise.
13384         * sysdeps/s390/atomic-machine.h: Likewise.
13385         * sysdeps/s390/bits/string.h: Likewise.
13386         * sysdeps/s390/dl-tls.h: Likewise.
13387         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13388         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13389         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13390         * sysdeps/s390/fpu/fesetround.c: Likewise.
13391         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13392         * sysdeps/s390/fpu/s_fma.c: Likewise.
13393         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13394         * sysdeps/s390/memusage.h: Likewise.
13395         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13396         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13397         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13398         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13399         * sysdeps/s390/nptl/tls.h: Likewise.
13400         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13401         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13402         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13403         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13404         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13405         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13406         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13407         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13408         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13409         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13410         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13411         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13412         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13413         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13414         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13415         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13416         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13417         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13418         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13420         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13422         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13424 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13425             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13427         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13428         Add lwarx hint, and use macro for acquire instruction.
13429         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13430         Likewise.
13431         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13432         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13433         update to use new atomic macros.
13435 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13437         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13438         (__lll_trylock_elision): Fix setting of adapt_count.
13439         * sysdeps/unix/sysv/linux/powerpc/htm.h
13440         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13441         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13442         (_ABORT_SYSCALL): Renumber, and clarify definition.
13443         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13445 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13447         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13448         after system headers to prevent MIN/MAX redefinition.  Define
13449         HAVE_ALLOCA to preserve builtin alloca usage.
13451 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13454         static and don't set or restore rounding.
13455         (__cos)[IN_SINCOS]: Likewise.
13456         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13457         (__sincos): Set and restore rounding mode.  Remove check for infinite
13458         or NaN input.
13460         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13462         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13463         as used.
13465 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13467         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13469 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13471         * config.make.in (have-glob-dat-reloc): New.
13472         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13473         target supports GLOB_DAT relocaton. AC_SUBST.
13474         * configure: Regenerated.
13475         * elf/Makefile (tests): Add tst-prelink.
13476         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13477         (tst-prelink-ENV): New.
13478         ($(objpfx)tst-prelink-conflict.out): Likewise.
13479         ($(objpfx)tst-prelink-cmp.out): Likewise.
13480         * sysdeps/x86/tst-prelink.c: Moved to ...
13481         * elf/tst-prelink.c: Here.
13482         * sysdeps/x86/tst-prelink.exp: Moved to ...
13483         * elf/tst-prelink.exp: Here.
13484         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13485         (tst-prelink-ENV): Removed.
13486         ($(objpfx)tst-prelink-conflict.out): Likewise.
13487         ($(objpfx)tst-prelink-cmp.out): Likewise.
13488         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13490 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13492         [BZ #14551]
13493         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13494         (__mpn_construct_long_double): If high part overflows to infinity,
13495         set errno and recompute overflowed result of the correct sign.
13496         * sysdeps/ieee754/ldbl-128ibm/Makefile
13497         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13498         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13499         $(libm).
13500         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13502 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #15479]
13505         [BZ #19238]
13506         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13507         floating-point state after first operation on input.  Restore full
13508         state rather than just rounding mode.
13509         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13510         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13511         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13513         [BZ #19235]
13514         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13515         add 0.5 to integer arguments.
13516         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13517         Likewise.
13518         (.LC2): New object.
13520 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13522         * scripts/pylintrc (reports): Set to no.
13524 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13526         * elf/dl-load.c (open_verify): Take new argument FD.
13527         Skip __open call if passed FD is not -1.
13528         (_dl_map_object, open_path): Update callers.
13529         * elf/dl-sysdep-open.h: New file.
13530         * elf/dl-load.c: Include it.
13531         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13532         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13533         * sysdeps/nacl/dl-sysdep-open.h: New file.
13534         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13535         from libc to rtld.
13537 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13539         [BZ #19228]
13540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13541         and restore full floating-point state.
13542         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13543         Likewise.
13544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13545         Likewise.
13546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13547         Likewise.
13548         * math/test-nearbyint-except-2.c: New file.
13549         * math/Makefile (tests): Add test-nearbyint-except-2.
13551 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13553         [BZ #19178]
13554         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13555         (tst-prelink-ENV): New.
13556         ($(objpfx)tst-prelink-conflict.out): Likewise.
13557         ($(objpfx)tst-prelink-cmp.out): Likewise.
13558         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13559         * sysdeps/x86/tst-prelink.c: New file.
13560         * sysdeps/x86/tst-prelink.exp: Likewise.
13562 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13564         * math/auto-libm-test-in: Add another test of pow.
13565         * math/auto-libm-test-out: Regenerated.
13566         * math/libm-test.inc (pow_test_data): Add another test.
13568 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13570         [BZ #19219]
13571         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13572         weak_alias to nearbyintl.
13574 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13576         * sysdeps/aarch64/bits/string.h: New file.
13577         (_STRING_ARCH_unaligned): Define.
13579 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13581         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13582         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13583         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13584         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13587 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13589         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13590         for original name of the DSO.  Add it to the name list of the DSO
13591         if it is actually given.
13592         (_dl_map_object): Keep track of whether an audit module rewrote
13593         the file name.  If yes, pass the original name to
13594         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13595         debugging is enabled, log the change of the file name.
13596         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13597         _dl_map_object_from_fd.
13598         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13599         * elf/tst-audit11.c: New file
13600         * elf/tst-auditmod11.c: New file.
13601         * elf/tst-audit11mod1.c: New file.
13602         * elf/tst-audit11mod2.c: New file.
13603         * elf/tst-audit11mod2.map: New file.
13604         * elf/tst-audit12.c: New file
13605         * elf/tst-auditmod12.c: New file.
13606         * elf/tst-audit12mod1.c: New file.
13607         * elf/tst-audit12mod2.c: New file.
13608         * elf/tst-audit12mod2.map: New file.
13609         * elf/tst-audit12mod3.c: New file.
13611 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13613         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13614         Don't create weak aliases,
13615         because versioned symbols are created later.
13616         * sysdeps/s390/s390-32/setjmp.S
13617         (setjmp, _setjmp): Remove weak and rename to an unique name
13618         in SHARED case due to existing versioned symbols.
13619         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13620         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13621         (getcontext): Create weak alias only in non SHARED case.
13622         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13624 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13626         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13627         (__ASSUME_*_SYSCALL) Define new macros.
13628         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13629         Remove socketcall syscalls.
13630         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13631         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13632         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13633         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13634         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13635         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13637 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13639         [BZ #12926]
13640         Terminate process on invalid netlink response.
13641         * sysdeps/unix/sysv/linux/netlinkaccess.h
13642         (__netlink_assert_response): Declare.
13643         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13644         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13645         (sysdep_routines): Add netlink_assert_response.
13646         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13647         __netlink_assert_response.
13648         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13649         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13650         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13651         __netlink_assert_response.
13653 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13655         [BZ #19178]
13656         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13657         (RTYPE_CLASS_PLT): Likewise.
13658         (RTYPE_CLASS_COPY): Likewise.
13659         (RTYPE_CLASS_TLS): Likewise.
13660         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13661         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13662         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13663         DL_DEBUG_PRELINK.
13665 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13667         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13668         calls with argument -0.5.
13669         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13671         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13672         (libc_cv_z_nodlopen): Likewise.
13673         (libc_cv_z_initfirst): Likewise.
13674         * configure: Regenerated.
13676 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13678         Simplify abilist format to be line-based.
13679         * scripts/abilist.awk: Collect descriptors in the descs variable.
13680         (emit): Write descs variable and sort it
13681         externally, with sort.
13682         * sysdeps/**/*.abilist: Convert to new format.
13684 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13686         [BZ #11460]
13687         * io/Makefile (routines): Add fts64.
13688         (tests): Add tst-fts and tst-fts-lfs.
13689         (CFLAGS-fts64.c): New.
13690         * io/Versions (GLIBC_2.23): New.
13691         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13692         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13693         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13694         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13695         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13696         (FTSENT64): Likewise.
13697         (fts64_children): Likewise.
13698         (fts64_close): Likewise.
13699         (fts64_open): Likewise.
13700         (fts64_read): Likewise.
13701         (fts64_set): Likewise.
13702         * io/fts64.c: New file.
13703         * io/tst-fts.c: New test.
13704         * io/tst-fts-lfs.c: Likewise.
13705         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13706         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13707         fts64_set.
13708         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13709         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13710         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13711         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13712         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13713         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13714         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13715         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13722         Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13724         Likewise.
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13729         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13730         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13731         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13734         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13735         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13736         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13737         * sysdeps/wordsize-64/fts.c: New file.
13738         * sysdeps/wordsize-64/fts64.c: Likewise.
13739         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13740         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13741         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13742         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13744 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13746         * math/libm-test.inc (NON_FINITE): New macro.
13747         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13748         * math/gen-libm-test.pl (show_exceptions): Add argument
13749         $non_finite.
13750         (parse_args): Update call to show_exceptions.
13751         * math/test-math-finite.h: New file.
13752         * math/test-math-no-finite.h: Likewise.
13753         * math/test-double-finite.c: Likewise.
13754         * math/test-float-finite.c: Likewise.
13755         * math/test-ldouble-finite.c: Likewise.
13756         * math/test-double.c: Include "test-math-no-finite.h".
13757         * math/test-float.c: Include "test-math-no-finite.h".
13758         * math/test-ldouble.c: Include "test-math-no-finite.h".
13759         * math/test-math-inline.h (TEST_FINITE): New macro.
13760         * math/test-math-vector.h (TEST_FINITE): Likewise.
13761         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13762         (libm-tests): Add test-float-finite and test-double-finite.
13763         ($(objpfx)test-float-finite.o): New dependency on
13764         $(objpfx)libm-test.stmp.
13765         ($(objpfx)test-double-finite.o): Likewise.
13766         ($(objpfx)test-ldouble-finite.o): Likewise.
13767         (libm-test-no-inline-cflags): New variable.
13768         (libm-test-finite-cflags): Likewise.
13769         (CFLAGS-test-float-finite.c): Likewise.
13770         (CFLAGS-test-double-finite.c): Likewise.
13771         (CFLAGS-test-ldouble-finite.c): Likewise.
13772         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13773         (CFLAGS-test-double.c): Likewise.
13774         (CFLAGS-test-ldouble.c): Likewise.
13776 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13778         * io/fcntl.c (__fcntl): Add ... to prototype.
13779         * misc/ioctl.c (__ioctl): Likewise.
13780         * misc/syscall.c (syscall): Likewise.
13782 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13784         * scripts/list-fixed-bugs.py: New file.
13786         [BZ #19213]
13787         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13788         returned for argument 1.
13789         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13790         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13791         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13792         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13793         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13794         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13796         [BZ #19211]
13797         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13798         __USE_XOPEN], not if [!__USE_ISOC99].
13799         (lgammaf): Likewise.
13800         (lgammal): Likewise.
13801         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13802         (gammaf): Likewise.
13803         (gammal): Likewise.
13804         * math/test-signgam-finite-c11.c: New file.
13805         * math/test-signgam-finite-c99.c: Likewise.
13806         * math/test-signgam-finite.c: Likewise.
13807         * math/Makefile (tests): Add test-signgam-finite,
13808         test-signgam-finite-c99 and test-signgam-finite-c11.
13809         (CFLAGS-test-signgam-finite.c): New variable.
13810         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13811         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13813         [BZ #19212]
13814         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13815         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13816         500].
13817         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13818         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13819         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13820         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13821         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13822         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13823         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13824         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13825         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13826         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13828         [BZ #19209]
13829         * math/bits/math-finite.h (ldexp): Remove declaration.
13830         (ldexpf): Likewise.
13831         (ldexpl): Likewise.
13833         [BZ #19205]
13834         * math/bits/math-finite.h (acosf): Condition declaration on
13835         [__USE_ISOC99].
13836         (acosl): Likewise.
13837         (acoshf): Likewise.
13838         (acoshl): Likewise.
13839         (asinf): Likewise.
13840         (asinl): Likewise.
13841         (atan2f): Likewise.
13842         (atan2l): Likewise.
13843         (atanhf): Likewise.
13844         (atanhl): Likewise.
13845         (coshf): Likewise.
13846         (coshl): Likewise.
13847         (expf): Likewise.
13848         (expl): Likewise.
13849         (fmodf): Likewise.
13850         (fmodl): Likewise.
13851         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13852         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13853         (j0l): Likewise.
13854         (y0f): Likewise.
13855         (y0l): Likewise.
13856         (j1f): Likewise.
13857         (j1l): Likewise.
13858         (y1f): Likewise.
13859         (y1l): Likewise.
13860         (jnf): Likewise.
13861         (jnl): Likewise.
13862         (ynf): Likewise.
13863         (ynl): Likewise.
13864         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13865         (lgammal_r): Likewise.
13866         (__lgamma_r_finite): New declaration.
13867         (__lgammaf_r_finite): Likewise.
13868         (__lgammal_r_finite): Likewise.
13869         (lgamma): Use __lgamma_r_finite.
13870         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13871         __lgammaf_r_finite.
13872         (lgammal): Condition definition on [__USE_ISOC99].  Use
13873         __lgammal_r_finite.
13874         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13875         __lgamma_r_finite.
13876         (gammaf): Condition definition on [__USE_ISOC99].  Use
13877         __lgammaf_r_finite.
13878         (gammal): Condition definition on [__USE_ISOC99].  Use
13879         __lgammal_r_finite.
13880         (logf): Condition declaration on [__USE_ISOC99].
13881         (logl): Likewise.
13882         (log10f): Likewise.
13883         (log10l): Likewise.
13884         (ldexpf): Likewise.
13885         (ldexpl): Likewise.
13886         (powf): Likewise.
13887         (powl): Likewise.
13888         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13889         __USE_ISOC99].
13890         (remainderf): Condition declaration on [__USE_ISOC99].
13891         (remainderl): Likewise.
13892         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13893         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13894         (scalbl): Likewise.
13895         (sinhf): Condition declaration on [__USE_ISOC99].
13896         (sinhl): Likewise.
13897         (sqrtf): Likewise.
13898         (sqrtl): Likewise.
13900 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13902         * sysdeps/arm/atomic-machine.h
13903         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13904         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13905         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13906         Remove conditional code.
13907         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13908         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13909         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13910         Change conditional to [__ASSEMBLER__].
13911         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13912         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13913         [!__ASSEMBLER__].
13914         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13915         code.
13916         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13917         conditional macro definitions.
13918         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13919         (__arch_compare_and_exchange_val_16_acq): Likewise.
13920         (__arch_compare_and_exchange_val_32_acq): Likewise.
13921         (atomic_exchange_and_add): Likewise.
13922         (atomic_add): Likewise.
13923         (atomic_add_negative): Likewise.
13924         (atomic_add_zero): Likewise.
13925         (atomic_bit_set): Likewise.
13926         (atomic_bit_test_set): Likewise.
13927         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13928         code unconditional.
13929         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13931         * math/test-math-errno.h: New file.
13932         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13933         empty.
13934         (TEST_ERRNO): New macro.
13935         (TEST_EXCEPTIONS): Likewise.
13936         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13937         (TEST_EXCEPTIONS): Likewise.
13938         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13939         * math/test-double.c: Include "test-math-errno.h".
13940         * math/test-float.c: Likewise.
13941         * math/test-ldouble.c: Likewise.
13942         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13943         code unconditional.
13944         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13945         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13946         unconditional.
13947         (test_errno): Only run code if TEST_ERRNO.
13948         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13950 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13952         * nptl/tst-once5.cc: Remove attribution.
13954 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13956         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13957         sqrt, tan, tanh, y0, y1 and yn.
13958         * math/auto-libm-test-out: Regenerated.
13959         * math/libm-test.inc (scalb_test_data): Add more tests.
13960         (scalbn_test_data): Likewise.
13961         (scalbln_test_data): Likewise.
13962         (signbit_test_data): Likewise.
13963         (sin_test_data): Likewise.
13964         (sincos_test_data): Likewise.
13965         (sinh_test_data): Likewise.
13966         (sqrt_test_data): Likewise.
13967         (tan_test_data): Likewise.
13968         (tanh_test_data): Likewise.
13969         (tgamma_test_data): Likewise.
13970         (y0_test_data): Likewise.
13971         (y1_test_data): Likewise.
13972         (yn_test_data): Likewise.
13973         (significand_test_data): Likewise.
13974         * sysdeps/i386/fpu/libm-test-ulps: Update.
13976 2015-11-03  David Kastrup  <dak@gnu.org>
13978         [BZ #18604]
13979         * assert/assert.h (assert): Don't macro-expand failed assertion
13980         expression in error message.
13981         * malloc/malloc.c (assert): Likewise.
13983 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13985         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13986         test.
13987         * configure: Regenerated.
13989 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13991         * math/libm-test.inc (modf_test_data): Add more tests.
13992         (nearbyint_test_data): Likewise.
13993         (nextafter_test_data): Likewise.
13994         (nexttoward_test_data): Likewise.
13995         (pow_test_data): Likewise.
13996         (remainder_test_data): Likewise.
13997         (remquo_test_data): Likewise.
13998         (rint_test_data): Likewise.
14000         [BZ #19201]
14001         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14002         Check for zero remainder in case of large exponents and ensure
14003         correct sign of result in that case.
14004         * math/libm-test.inc (remainder_test_data): Add more tests.
14006         [BZ #6799]
14007         * math/s_nextafter.c: Include <errno.h>.
14008         (__nextafter): Set errno on overflow and underflow.
14009         * math/s_nexttowardf.c: Include <errno.h>.
14010         (__nexttowardf): Set errno on overflow and underflow.
14011         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14012         (__nextafterl): Set errno on overflow and underflow.
14013         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14014         (__nexttoward): Set errno on overflow and underflow.
14015         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14016         (__nexttowardf): Set errno on overflow and underflow.
14017         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14018         (__nextafterf): Set errno on overflow and underflow.
14019         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14020         (__nextafterl): Set errno on overflow and underflow.
14021         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14022         (__nexttoward): Set errno on overflow and underflow.
14023         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14024         (__nexttowardf): Set errno on overflow and underflow.
14025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14026         (__nextafterl): Set errno on overflow and underflow.
14027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14028         (__nexttoward): Set errno on overflow and underflow.
14029         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14030         (__nexttowardf): Set errno on overflow and underflow.
14031         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14032         (__nexttoward): Set errno on overflow and underflow.
14033         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14034         (__nexttowardf): Set errno on overflow and underflow.
14035         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14036         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14037         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14038         (__nextafterl): Set errno on overflow and underflow.
14039         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14040         setting to be missing on overflow.  Add more tests.
14041         (nexttoward_test_data): Likewise.
14043         * configure.ac (libc_cv_initfini_array): Remove configure test.
14044         * configure: Regenerated.
14046 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14048         [BZ #19189]
14049         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14050         non-finite argument handle arguments with negative sign.
14052         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14053         result from infinite argument.
14054         (j1_test_data): Likewise.
14055         (jn_test_data): Likewise.
14056         (y0_test_data): Likewise.
14057         (y1_test_data): Likewise.
14058         (yn_test_data): Likewise.
14060         [BZ #16171]
14061         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14062         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14063         * math/w_remainderf.c (dremf): Define as weak alias of
14064         __remainderf.
14065         * math/w_remainderl.c (dreml): Define as weak alias of
14066         __remainderl.
14067         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14068         __remainder.
14069         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14070         __remainderf.
14071         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14072         __remainderl.
14073         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14074         weak alias of remainderl.
14075         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14076         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14077         alias of __remainder.
14078         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14079         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14080         strong alias of __remainderl.
14081         (dreml): Use long_double_symbol.
14082         * math/Makefile (libm-calls): Remove w_drem.
14083         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14084         (CFLAGS-nldbl-drem.c): Remove variable.
14085         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14086         * math/w_drem.c: Remove file.
14087         * math/w_dremf.c: Likewise.
14088         * math/w_dreml.c: Likewise.
14089         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14090         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14091         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14093         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14094         * sysdeps/i386/configure: Regenerated.
14095         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14096         * sysdeps/x86_64/configure: Regenerated.
14098         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14099         test.
14100         (libc_cv_visibility_attribute): Likewise.
14101         (libc_cv_protected_data): Test unconditionally.
14102         (libc_cv_broken_visibility_attribute): Remove configure test.
14103         (libc_cv_have_sdata_section): Test unconditionally.
14104         * configure: Regenerated.
14106         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14107         * include/scratch_buffer.h: Include <stddef.h> instead of
14108         <libc-internal.h>.
14109         (struct scratch_buffer): Use max_align_t instead of
14110         libc_max_align_t.
14112 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14114         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14115         instead of extend_alloca.  Change control flow to avoid a goto.
14116         Remove assert which is trivially always true.
14118 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14120         [BZ #16068]
14121         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14122         (FE_ALL_EXCEPT_X86): New macro.
14123         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14124         FE_ALL_EXCEPT.  Ensure precision control is included in
14125         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14126         handle "denormal operand exception" and clear FZ and DAZ bits.
14127         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14128         (FE_ALL_EXCEPT_X86): New macro.
14129         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14130         FE_ALL_EXCEPT.  Ensure precision control is included in
14131         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14132         handle "denormal operand exception" and clear FZ and DAZ bits.
14133         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14134         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14135         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14136         test-fenv-x87 and test-fenv-sse-2.
14137         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14139         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14140         * math/test-double.h (BUILD_COMPLEX): New macro.
14141         * math/test-float.h (BUILD_COMPLEX): Likewise.
14142         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14144         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14145         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14146         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14148         instead of DBL_DENORM_MIN in comment.
14149         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14150         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14152         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14154         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14156 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14158         [BZ# 19048]
14159         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14160         attached_threads member.
14161         (main_arena): Initialize attached_threads.
14162         * malloc/arena.c (list_lock): Update comment.
14163         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14164         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14165         (deattach_arena): New function.
14166         (_int_new_arena): Initialize arena reference count and deattach
14167         replaced arena.
14168         (get_free_list, reused_arena): Update reference count and deattach
14169         replaced arena.
14170         (arena_thread_freeres): Update arena reference count and only put
14171         unreferenced arenas on the free list.
14173 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14175         [BZ #19181]
14176         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14177         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14178         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14179         * math/test-fenv-clear-main.c: New file.
14180         * math/test-fenv-clear.c: Likewise.
14181         * math/Makefile (tests): Add test-fenv-clear.
14182         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14183         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14184         test-fenv-clear-sse.
14185         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14187         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14188         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14189         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14191 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14193         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14194         static libc.
14196 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14198         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14199         test.
14200         * sysdeps/i386/configure: Regenerated.
14201         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14202         test.
14203         * sysdeps/x86_64/configure: Regenerated.
14204         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14206         memset-avx2 unconditionally instead of conditionally on
14207         [$(config-cflags-avx2) = yes].
14208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14209         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14210         unconditional.
14211         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14212         * sysdeps/x86_64/multiarch/memset_chk.S
14213         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14214         to [IS_IN (libc) && SHARED].
14216 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14218         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14219         configure test.
14220         * sysdeps/arm/configure: Regenerated.
14221         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14222         Define variable if not already defined.
14224         [BZ #17404]
14225         * sysdeps/mips/atomic-machine.h
14226         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14227         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14228         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14230         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14231         unconditional.
14232         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14233         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14234         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14235         unconditional.
14236         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14237         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14238         unconditional.
14239         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14240         * stdlib/setenv.c
14241         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14242         code unconditional.
14243         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14244         Remove conditional code.
14245         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14246         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14247         unconditional.
14248         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14249         code.
14250         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14251         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14252         unconditional.
14253         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14254         code.
14255         * sysdeps/ieee754/ldbl-128/k_tanl.c
14256         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14257         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14258         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14259         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14260         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14261         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14262         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14263         unconditional.
14264         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14265         code.
14266         * sysdeps/ieee754/ldbl-96/k_tanl.c
14267         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14268         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14270         * nptl/tst-initializers1-c11.c: New file.
14271         * nptl/tst-initializers1-gnu11.c: Likewise.
14272         * nptl/Makefile (tests): Add these new tests.
14273         (CFLAGS-tst-initializers1-c11.c): New variable.
14274         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14276         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14277         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14278         instead of -std=gnu99.
14279         * configure.ac (systemtap): Test with -std=gnu11 instead of
14280         -std=gnu99.
14281         * configure: Regenerated.
14282         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14283         in compilation command in comment.
14285         * sysdeps/nptl/configure.ac: Remove file.
14286         * sysdeps/nptl/configure: Remove generated file.
14287         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14288         * configure: Regenerated.
14289         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14290         * config.make.in (have-forced-unwind): Remove variable.
14291         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14292         unconditional.
14293         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14294         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14295         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14296         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14297         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14298         unconditional.
14300 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14302         [BZ #19174]
14303         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14304         .skip_lock_out_of_tbegin_retries.
14305         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14306         (__lll_lock_elision): Likewise, and respect a value of
14307         try_tbegin <= 0.
14309 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14311         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14312         statement.
14314 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14316         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14317         variable.
14318         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14319         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14321         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14322         of -std=c1x -D_ISOC11_SOURCE.
14324         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14325         * configure: Regenerated.
14326         * manual/install.texi (Tools for Compilation): Document
14327         requirement for GCC 4.7 or later.
14328         * INSTALL: Regenerated.
14330 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14332         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14333         on CNT to a conditional jump to 'puntdata'.
14335 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14337         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14338         (libc_cv_gcc_tls_model_attr): Likewise.
14339         * configure: Regenerated.
14341         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14342         * configure: Regenerated.
14343         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14345 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14347         * configure.ac (old_glibc_headers): Remove configure test.
14348         * configure: Regenerated.
14349         * config.make.in (old-glibc-headers): Remove variable.
14350         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14351         (install): Remove dependency on remove-old-headers.
14352         (headers2_0): Remove variable.
14353         (remove-old-headers): Remove rule.
14355         * configure.ac (libc_cv_dot_text): Remove configure test.
14356         (libc_cv_asm_set_directive): Use .text instead of
14357         ${libc_cv_dot_text} in configure test.
14358         * configure: Regenerated.
14360 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14362         [BZ #19168]
14363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14365 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14367         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14368         not support static linking.
14369         * configure: Regenerate.
14371 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14373         * math/libm-test.inc (check_float_internal): Do not special-case
14374         errors up to 0.5 ulp.
14376         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14377         log2.
14378         * math/auto-libm-test-out: Regenerated.
14379         * math/libm-test.inc (MAX_EXP): New macro.
14380         (ilogb_test_data): Add more tests.
14381         (isfinite_test_data): Likewise.
14382         (isgreater_test_data): Likewise.
14383         (isgreaterequal_test_data): Likewise.
14384         (isinf_test_data): Likewise.
14385         (isless_test_data): Likewise.
14386         (islessequal_test_data): Likewise.
14387         (islessgreater_test_data): Likewise.
14388         (isnan_test_data): Likewise.
14389         (isnormal_test_data): Likewise.
14390         (issignaling_test_data): Likewise.
14391         (isunordered_test_data): Likewise.
14392         (j0_test_data): Likewise.
14393         (j1_test_data): Likewise.
14394         (jn_test_data): Likewise.
14395         (lgamma_test_data): Likewise.
14396         (log_test_data): Likewise.
14397         (log10_test_data): Likewise.
14398         (log1p_test_data): Likewise.
14399         (log2_test_data): Likewise.
14400         (logb_test_data): Likewise.
14401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14403         [BZ #18611]
14404         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14405         avoid excess range and precision on underflow.
14406         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14407         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14408         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14409         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14410         underflow.
14411         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14412         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14413         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14414         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14415         * math/auto-libm-test-in: Do not allow missing errno setting for
14416         tests of j1 and jn.
14417         * math/auto-libm-test-out: Regenerated.
14419 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14421         [BZ #15491]
14422         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14423         floating-point environment instead of clearing all exceptions.
14424         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14425         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14426         merging in "invalid" exceptions from frndint.
14427         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14428         * math/test-nearbyint-except.c: New file.
14429         * math/Makefile (tests): Add test-nearbyint-except.
14431 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14433         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14435         * sysdeps/tile/libm-test-ulps: Regenerated.
14437 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14440         (__NR_sync_file_range2): Assume it is always defined.
14441         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14442         (__NR_sync_file_range): Assume it is always defined.
14444 2015-10-22  Andreas Schwab  <schwab@suse.de>
14446         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14447         INTERNAL_SYSCALL_ERRNO.
14448         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14449         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14450         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14451         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14452         Likewise.
14453         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14455 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14457         * io/tst-fcntl.c (fd): New static variable.
14458         (do_prepare): Open temporary file here....
14459         (do_test): ...not here.
14461         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14463 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14465         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14466         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14467         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14468         Moved before "#ifdef __ASSEMBLER__".
14470 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14472         [BZ #19156]
14473         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14474         arguments very close to 0.
14476 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14478         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14479         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14481 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14483         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14484         New.  Defined for GCC 5 and above when not compiling for
14485         profiling.
14486         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14488         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14489         Renamed to ...
14490         (CFLAGS-epoll_pwait.o): This.
14491         (CFLAGS-mmap.c): Renamed to ...
14492         (CFLAGS-mmap.o): This.
14493         (CFLAGS-mmap64.c): Renamed to ...
14494         (CFLAGS-mmap64.o): This.
14495         (CFLAGS-epoll_pwait.os): New.
14496         (CFLAGS-mmap.os): Likewise.
14497         (CFLAGS-mmap64.os): Likewise.
14498         (CFLAGS-semtimedop.os): Likewise.
14499         (CFLAGS-semtimedop.c): Renamed to ...
14500         (CFLAGS-semtimedop.o): This.
14502 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14504         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14505         warning message.
14507 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14509         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14510         * Makefile ($(objpfx)c++-types-check.out): Filter out
14511         $(+gccwarn-c) instead of -Wstrict-prototypes.
14513         * io/fts.c (fts_open): Convert to prototype-style function
14514         definition.
14515         * malloc/mcheck.c (mcheck): Likewise.
14516         (mcheck_pedantic): Likewise.
14517         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14518         internal_function.
14519         (re_search_internal): Likewise.
14520         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14521         prototype-style function definition.
14522         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14523         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14524         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14525         (xdr_utmpptr): Likewise.
14526         (xdr_utmparr): Likewise.
14527         (xdr_utmpidle): Likewise.
14528         (xdr_utmpidleptr): Likewise.
14529         (xdr_utmpidlearr): Likewise.
14531         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14532         log, log10 and log2.
14533         * math/auto-libm-test-out: Regenerated.
14534         * math/libm-test.inc (fmod_test_data): Add more tests.
14535         (fpclassify_test_data): Likewise.
14536         (frexp_test_data): Likewise.
14537         (hypot_test_data): Likewise.
14538         (ilogb_test_data): Likewise.
14540 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14542         * debug/fortify_fail.c (__fortify_fail): Convert to
14543         prototype-style function definition.  Use internal_function.
14544         * libio/genops.c (save_for_backup): Convert to prototype-style
14545         function definition.
14546         * libio/wgenops.c (save_for_wbackup): Likewise.
14547         * login/grantpt.c (grantpt): Likewise.
14548         * login/ptsname.c (ptsname): Likewise.
14549         (__ptsname_r): Likewise.
14550         * login/unlockpt.c (unlockpt): Likewise.
14551         * mach/msgserver.c (__mach_msg_server): Likewise.
14552         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14553         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14554         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14555         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14556         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14557         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14558         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14559         Likewise.
14560         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14561         internal_function.
14562         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14563         prototype-style function definition.
14564         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14565         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14566         (__pthread_create_2_0): Likewise.
14567         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14568         * nptl/register-atfork.c (__register_atfork): Likewise.
14569         * posix/glob.c (glob): Likewise.
14570         * posix/regcomp.c (re_comp): Likewise.
14571         * posix/regexec.c (re_exec): Likewise.
14572         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14573         [!__STDC__]: Remove conditional code.
14574         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14575         [!__STDC__]: Remove conditional code.
14576         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14577         [!__STDC__]: Remove conditional code.
14578         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14579         [!__STDC__]: Remove conditional code.
14580         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14581         [!__STDC__]: Remove conditional code.
14582         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14583         [!__STDC__]: Remove conditional code.
14584         * stdlib/mul.c [__STDC__]: Make code unconditional.
14585         [!__STDC__]: Remove conditional code.
14586         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14587         [!__STDC__]: Remove conditional code.
14588         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14589         [!__STDC__]: Remove conditional code.
14590         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14591         function definition.
14592         (STRTOF): Likewise.
14593         * stdlib/strtod_l.c (__STRTOF): Likewise.
14594         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14595         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14596         (__strtol_l): Likewise.
14597         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14598         [!__STDC__]: Remove conditional code.
14599         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14600         definition.
14601         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14602         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14603         type.
14604         (__strcasecmp): Convert to prototype-style function definition.
14605         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14606         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14607         type.
14608         (__strncasecmp): Convert to prototype-style function definition.
14609         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14610         * sunrpc/xdr.c (xdr_union): Likewise.
14611         * sunrpc/xdr_array.c (xdr_array): Likewise.
14612         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14613         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14614         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14615         Likewise.
14616         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14617         Likewise.
14618         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14619         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14620         Likewise.
14621         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14622         (LOCALE_PARAM_PROTO): Likewise.
14623         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14624         argument type.
14625         (ut_argument_spec): Remove macro.
14626         (ut_argument_spec_iso): Rename to ut_argument_spec.
14627         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14628         prototype-style function definition.
14629         (memcpy_uppcase): Likewise.
14630         (__strftime_internal): Likewise.
14631         (my_strftime): Likewise.
14632         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14633         (LOCALE_PARAM_DECL): Likewise.
14634         [_LIBC] (LOCALE_PARAM): Include argument type.
14635         (__strptime_internal): Convert to prototype-style function
14636         definition.
14637         (strptime): Likewise.
14638         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14639         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14640         type.
14641         (__wcscasecmp): Convert to prototype-style function definition.
14642         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14643         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14644         type.
14645         (__wcsncasecmp): Convert to prototype-style function definition.
14647         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14648         function definition.
14649         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14650         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14651         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14652         * elf/dl-minimal.c (_itoa): Likewise.
14653         * hurd/hurdmalloc.c (malloc): Likewise.
14654         (free): Likewise.
14655         (realloc): Likewise.
14656         * inet/inet6_option.c (inet6_option_space): Likewise.
14657         (inet6_option_init): Likewise.
14658         (inet6_option_append): Likewise.
14659         (inet6_option_alloc): Likewise.
14660         (inet6_option_next): Likewise.
14661         (inet6_option_find): Likewise.
14662         * io/ftw.c (FTW_NAME): Likewise.
14663         (NFTW_NAME): Likewise.
14664         (NFTW_NEW_NAME): Likewise.
14665         (NFTW_OLD_NAME): Likewise.
14666         * libio/iofwide.c (_IO_fwide): Likewise.
14667         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14668         (_IO_str_init_static): Likewise.
14669         (_IO_str_init_readonly): Likewise.
14670         (_IO_str_overflow): Likewise.
14671         (_IO_str_underflow): Likewise.
14672         (_IO_str_count): Likewise.
14673         (_IO_str_seekoff): Likewise.
14674         (_IO_str_pbackfail): Likewise.
14675         (_IO_str_finish): Likewise.
14676         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14677         (_IO_wstr_overflow): Likewise.
14678         (_IO_wstr_underflow): Likewise.
14679         (_IO_wstr_count): Likewise.
14680         (_IO_wstr_seekoff): Likewise.
14681         (_IO_wstr_pbackfail): Likewise.
14682         (_IO_wstr_finish): Likewise.
14683         * locale/programs/localedef.c (normalize_codeset): Likewise.
14684         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14685         (add_locales_to_archive): Likewise.
14686         (delete_locales_from_archive): Likewise.
14687         * malloc/malloc.c (__libc_mallinfo): Likewise.
14688         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14689         * misc/tsearch.c (__tfind): Likewise.
14690         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14691         * nptl/pthread_attr_getdetachstate.c
14692         (__pthread_attr_getdetachstate): Likewise.
14693         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14694         Likewise.
14695         * nptl/pthread_attr_getinheritsched.c
14696         (__pthread_attr_getinheritsched): Likewise.
14697         * nptl/pthread_attr_getschedparam.c
14698         (__pthread_attr_getschedparam): Likewise.
14699         * nptl/pthread_attr_getschedpolicy.c
14700         (__pthread_attr_getschedpolicy): Likewise.
14701         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14702         Likewise.
14703         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14704         Likewise.
14705         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14706         Likewise.
14707         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14708         Likewise.
14709         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14710         (__pthread_attr_init_2_0): Likewise.
14711         * nptl/pthread_attr_setdetachstate.c
14712         (__pthread_attr_setdetachstate): Likewise.
14713         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14714         Likewise.
14715         * nptl/pthread_attr_setinheritsched.c
14716         (__pthread_attr_setinheritsched): Likewise.
14717         * nptl/pthread_attr_setschedparam.c
14718         (__pthread_attr_setschedparam): Likewise.
14719         * nptl/pthread_attr_setschedpolicy.c
14720         (__pthread_attr_setschedpolicy): Likewise.
14721         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14722         Likewise.
14723         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14724         Likewise.
14725         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14726         Likewise.
14727         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14728         Likewise.
14729         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14730         Likewise.
14731         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14732         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14733         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14734         use internal_function.
14735         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14736         prototype-style function definition.
14737         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14738         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14739         internal_function.
14740         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14741         Convert to prototype-style function definition.
14742         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14743         Likewise.
14744         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14745         Likewise.
14746         (__pthread_mutex_unlock): Likewise.
14747         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14748         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14749         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14750         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14751         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14752         * nss/makedb.c (process_input): Likewise.
14753         * posix/fnmatch.c (__strchrnul): Likewise.
14754         (__wcschrnul): Likewise.
14755         (fnmatch): Likewise.
14756         * posix/fnmatch_loop.c (FCT): Likewise.
14757         * posix/glob.c (globfree): Likewise.
14758         (__glob_pattern_type): Likewise.
14759         (__glob_pattern_p): Likewise.
14760         * posix/regcomp.c (re_compile_pattern): Likewise.
14761         (re_set_syntax): Likewise.
14762         (re_compile_fastmap): Likewise.
14763         (regcomp): Likewise.
14764         (regerror): Likewise.
14765         (regfree): Likewise.
14766         * posix/regexec.c (regexec): Likewise.
14767         (re_match): Likewise.
14768         (re_search): Likewise.
14769         (re_match_2): Likewise.
14770         (re_search_2): Likewise.
14771         (re_search_stub): Likewise.  Use internal_function
14772         (re_copy_regs): Likewise.
14773         (re_set_registers): Convert to prototype-style function
14774         definition.
14775         (prune_impossible_nodes): Likewise.  Use internal_function.
14776         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14777         prototype-style function definition.
14778         (inet_net_pton_ipv4): Likewise.
14779         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14780         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14781         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14782         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14783         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14784         Make variadic.
14785         * time/strptime_l.c (localtime_r): Convert to prototype-style
14786         function definition.
14787         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14788         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14789         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14790         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14792         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14793         definition.
14794         (_ufc_doit_r): Likewise.
14795         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14796         (_ufc_output_conversion_r): Likewise.
14797         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14798         * inet/rcmd.c (rcmd_af): Likewise.
14799         (rcmd): Likewise.
14800         (ruserok_af): Likewise.
14801         (ruserok): Likewise.
14802         (ruserok2_sa): Likewise.
14803         (ruserok_sa): Likewise.
14804         (iruserok_af): Likewise.
14805         (iruserok): Likewise.
14806         (__ivaliduser): Likewise.
14807         (__validuser2_sa): Likewise.
14808         * inet/rexec.c (rexec_af): Likewise.
14809         (rexec): Likewise.
14810         * inet/ruserpass.c (ruserpass): Likewise.
14811         * locale/programs/xmalloc.c (xcalloc): Likewise.
14812         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14813         * math/w_drem.c (__drem): Likewise.
14814         * math/w_dremf.c (__dremf): Likewise.
14815         * math/w_dreml.c (__dreml): Likewise.
14816         * misc/daemon.c (daemon): Likewise.
14817         * resolv/res_debug.c (p_fqnname): Likewise.
14818         * stdlib/div.c (div): Likewise.
14819         * string/memcmp.c (memcmp_bytes): Likewise.
14820         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14821         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14823         * crypt/cert.c (main): Convert to prototype-style function
14824         definition.
14825         * io/pipe.c (__pipe): Likewise.
14826         * io/pipe2.c (__pipe2): Likewise.
14827         * misc/futimesat.c (futimesat): Likewise.
14828         * misc/utimes.c (__utimes): Likewise.
14829         * posix/execve.c (__execve): Likewise.
14830         * posix/execvp.c (execvp): Likewise.
14831         * posix/execvpe.c (__execvpe): Likewise.
14832         * posix/fexecve.c (fexecve): Likewise.
14833         * socket/socketpair.c (socketpair): Likewise.
14834         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14835         * stdlib/erand48.c (erand48): Likewise.
14836         * stdlib/erand48_r.c (__erand48_r): Likewise.
14837         * stdlib/jrand48.c (jrand48): Likewise.
14838         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14839         * stdlib/lcong48.c (lcong48): Likewise.
14840         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14841         * stdlib/nrand48.c (nrand48): Likewise.
14842         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14843         * stdlib/seed48.c (seed48): Likewise.
14844         * stdlib/seed48_r.c (__seed48_r): Likewise.
14845         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14846         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14847         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14849 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14851         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14852         * configure: Regenerated.
14853         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14854         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14855         unconditional.
14856         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14857         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14858         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14859         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14860         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14861         unconditional.
14862         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14864         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14865         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14867         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14868         function definition.
14869         * crypt/crypt_util.c (__encrypt_r): Likewise.
14870         * libio/genops.c (_IO_no_init): Likewise.
14871         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14872         (_IO_old_fopencookie): Likewise.
14873         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14874         * libio/iogetline.c (_IO_getline): Likewise.
14875         (_IO_getline_info): Likewise.
14876         * libio/iogetwline.c (_IO_getwline): Likewise.
14877         (_IO_getwline_info): Likewise.
14878         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14879         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14880         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14881         (find_entry): Likewise.
14882         (iterate_table): Likewise.
14883         (lookup): Likewise.
14884         * login/forkpty.c (forkpty): Likewise.
14885         * misc/hsearch_r.c (__hsearch_r): Likewise.
14886         * misc/select.c (__select): Likewise.
14887         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14888         Likewise.
14889         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14890         Likewise.
14891         * nptl/old_pthread_cond_timedwait.c
14892         (__pthread_cond_timedwait_2_0): Likewise.
14893         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14894         * nptl/pthread_barrierattr_getpshared.c
14895         (pthread_barrierattr_getpshared): Likewise.
14896         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14897         Likewise.
14898         * nptl/pthread_mutex_setprioceiling.c
14899         (pthread_mutex_setprioceiling): Likewise.
14900         * nptl/pthread_mutexattr_getprioceiling.c
14901         (pthread_mutexattr_getprioceiling): Likewise.
14902         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14903         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14904         Likewise.
14905         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14906         Likewise.
14907         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14908         Likewise.
14909         * socket/recvfrom.c (__recvfrom): Likewise.
14910         * socket/sendto.c (__sendto): Likewise.
14911         * socket/setsockopt.c (__setsockopt): Likewise.
14912         * stdio-common/_itoa.c (_itoa): Likewise.
14913         * stdio-common/_itowa.c (_itowa): Likewise.
14914         * stdio-common/reg-printf.c (__register_printf_specifier):
14915         Likewise.
14916         (__register_printf_function): Likewise.
14917         * stdio-common/tempname.c (__path_search): Likewise.
14918         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14919         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14920         * stdlib/random_r.c (__initstate_r): Likewise.
14921         * stdlib/setenv.c (__add_to_environ): Likewise.
14922         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14923         * streams/getpmsg.c (getpmsg): Likewise.
14924         * streams/putmsg.c (putmsg): Likewise.
14925         * streams/putpmsg.c (putpmsg): Likewise.
14926         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14927         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14928         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14929         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14930         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14931         * sunrpc/svc_udp.c (cache_get): Likewise.
14932         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14933         * sysdeps/mach/hurd/getcwd.c
14934         (__canonicalize_directory_name_internal): Likewise.
14935         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14936         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14937         * sysdeps/mach/hurd/select.c (__select): Likewise.
14938         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14939         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14940         * sysdeps/sparc/nptl/pthread_barrier_init.c
14941         (__pthread_barrier_init): Likewise.
14942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14943         (__pthread_cond_timedwait): Likewise.
14944         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14945         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14946         Likewise.
14947         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14948         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14949         Likewise.
14950         * sysvipc/semtimedop.c (semtimedop): Likewise.
14951         * time/setitimer.c (__setitimer): Likewise.
14952         * time/strftime_l.c (emacs_strftime): Likewise.
14954 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14956         * config.make.in (have-ssp): Delete.
14957         (stack-protector): New variable.
14958         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14959         cache test for -fstack-protector-strong.  Export stack_protector to
14960         the best ssp flag.
14961         * configure: Regenerated.
14962         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14963         * nscd/Makefile (CFLAGS-nscd): Likewise.
14964         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14966 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14968         [BZ #19122]
14969         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14970         attribute_hidden.
14972 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14974         [BZ #18743]
14975         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14976         code to...
14977         (ELIDE_LOCK): ...here.
14978         (__get_new_count): New function with part of the code from
14979         __elide_lock that updates the value of adapt_count after a
14980         transaction abort.
14981         (__elided_trylock): Moved this code to...
14982         (ELIDE_TRYLOCK): ...here.
14984 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14986         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14987         * configure: Regenerate.
14988         * INSTALL: Regenerate.
14989         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14990         and tweak grammar.
14992 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14994         * login/programs/pt_chown.c: Include signal.h
14995         (main): Clear any signal mask from the parent process.
14997 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14999         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15000         * configure: Regenerated.
15001         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15002         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15003         $(gnu89-inline-CFLAGS).
15005         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15006         test.
15007         (libc_cv_asm_weakext_directive): Likewise.
15008         * configure: Regenerated.
15009         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15010         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15011         * include/libc-symbols.h
15012         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15013         #error.
15014         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15015         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15017         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15018         prototype-style function definition.
15019         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15020         * sysdeps/i386/ffs.c (__ffs): Likewise.
15021         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15022         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15023         Likewise.
15024         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15025         Likewise.
15026         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15027         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15028         Likewise.
15029         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15030         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15031         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15032         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15033         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15034         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15035         * sysdeps/mach/hurd/access.c (__access): Likewise.
15036         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15037         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15038         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15039         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15040         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15041         (cthread_getspecific): Likewise.
15042         (cthread_setspecific): Likewise.
15043         (__libc_getspecific): Likewise.
15044         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15045         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15046         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15047         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15048         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15049         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15050         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15051         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15052         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15053         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15054         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15055         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15056         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15057         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15058         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15059         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15060         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15061         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15062         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15063         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15064         * sysdeps/mach/hurd/link.c (__link): Likewise.
15065         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15066         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15067         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15068         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15069         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15070         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15071         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15072         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15073         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15074         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15075         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15076         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15077         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15078         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15079         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15080         * sysdeps/mach/hurd/send.c (__send): Likewise.
15081         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15082         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15083         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15084         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15085         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15086         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15087         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15088         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15089         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15090         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15091         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15092         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15093         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15094         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15095         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15096         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15097         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15098         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15099         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15100         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15101         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15102         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15103         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15104         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15105         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15106         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15107         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15108         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15109         * sysdeps/posix/alarm.c (alarm): Likewise.
15110         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15111         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15112         * sysdeps/posix/dup.c (__dup): Likewise.
15113         * sysdeps/posix/dup2.c (__dup2): Likewise.
15114         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15115         (main): Likewise.
15116         * sysdeps/posix/flock.c (__flock): Likewise.
15117         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15118         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15119         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15120         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15121         * sysdeps/posix/isatty.c (__isatty): Likewise.
15122         * sysdeps/posix/killpg.c (killpg): Likewise.
15123         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15124         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15125         * sysdeps/posix/raise.c (raise): Likewise.
15126         * sysdeps/posix/remove.c (remove): Likewise.
15127         * sysdeps/posix/rename.c (rename): Likewise.
15128         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15129         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15130         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15131         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15132         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15133         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15134         * sysdeps/posix/sigset.c (sigset): Likewise.
15135         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15136         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15137         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15138         * sysdeps/posix/time.c (time): Likewise.
15139         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15140         (ttyname): Likewise.
15141         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15142         * sysdeps/posix/utime.c (utime): Likewise.
15143         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15144         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15145         Likewise.
15146         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15147         (pthread_spin_trylock): Likewise.
15148         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15149         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15150         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15151         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15152         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15153         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15154         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15155         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15156         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15157         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15158         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15159         * sysdeps/s390/ffs.c (__ffs): Likewise.
15160         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15161         Likewise.
15162         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15163         Likewise.
15164         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15165         Likewise.
15166         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15167         (pthread_barrier_destroy): Likewise.
15168         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15169         (__pthread_barrier_wait): Likewise.
15170         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15171         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15172         (__pthread_barrier_wait): Likewise.
15173         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15174         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15175         (memcmp_not_common_alignment): Likewise.
15176         (MEMCMP): Likewise.
15177         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15178         (_wordcopy_fwd_dest_aligned): Likewise.
15179         (_wordcopy_bwd_aligned): Likewise.
15180         (_wordcopy_bwd_dest_aligned): Likewise.
15181         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15182         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15183         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15184         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15185         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15186         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15187         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15188         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15189         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15190         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15191         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15192         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15193         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15194         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15195         * sysdeps/unix/stime.c (stime): Likewise.
15196         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15197         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15198         Likewise.  Use internal_function.
15199         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15200         Convert to prototype-style function definition.
15201         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15202         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15203         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15204         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15205         Likewise.  Use internal_function.
15206         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15207         prototype-style function definition
15208         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15209         Likewise.
15210         (__getlogin_r): Likewise.
15211         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15212         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15213         (__pthread_cond_broadcast): Likewise.
15214         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15215         (__pthread_cond_destroy): Likewise.
15216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15217         (__pthread_cond_init): Likewise.
15218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15219         (__pthread_cond_signal): Likewise.
15220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15221         (__pthread_cond_wait): Likewise.
15222         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15223         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15224         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15225         Likewise.
15226         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15227         Likewise.
15228         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15229         Likewise.
15230         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15231         Likewise.
15232         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15234         (__ftruncate64): Likewise.
15235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15236         (truncate64): Likewise.
15237         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15238         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15239         (pthread_getcpuclockid): Likewise.
15240         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15241         Likewise.
15242         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15243         Likewise.
15244         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15245         Likewise.
15246         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15247         Likewise.
15248         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15249         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15250         (__libc_sigaction): Likewise.
15251         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15254         (__sigprocmask): Likewise.
15255         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15256         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15257         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15259         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15260         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15261         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15262         Likewise.
15263         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15264         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15265         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15266         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15267         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15268         Likewise.
15269         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15270         (__sigprocmask): Likewise.
15271         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15272         (cfgetispeed): Likewise.
15273         (cfsetospeed): Likewise.
15274         (cfsetispeed): Likewise.
15275         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15276         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15277         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15278         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15279         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15280         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15281         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15282         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15283         Likewise.
15284         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15285         Likewise.
15286         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15287         Likewise.
15288         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15289         Likewise.
15290         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15292 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15294         sunrpc: Rewrite with explicit TLS access using __thread.
15295         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15296         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15297         directly.
15298         (__rpc_thread_variables): Access thread_rpc_vars directly.
15299         Eliminate redundant assignment of the tvp variable.
15301 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15303         malloc: Rewrite with explicit TLS access using __thread.
15304         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15305         (tsd_setspecific, tsd_getspecific): Remove.
15306         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15307         (tsd_setspecific, tsd_getspecific): Likewise.
15308         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15309         (tsd_setspecific, tsd_getspecific): Likewise.
15310         * malloc/arena.c (thread_arena): New TLS variable.
15311         (arena_key): Remove variable.
15312         (arena_get): Use thread_arena.
15313         (arena_lookup): Remove macro.
15314         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15315         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15316         (_int_new_arena, get_free_list, reused_arena)
15317         (arena_thread_freeres): Use thread_arena.
15318         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15319         tsd_getspecific, tsd_setspecific from safety annotations.
15320         (Allocating Cleared Space): Remove arena_lookup from safety
15321         annotations.
15323 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15325         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15326         struct scratch_buffer instead of extend_alloca.
15328 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15330         * sysdeps/unix/sysv/linux/kernel-features.h
15331         (__ASSUME_SOCK_CLOEXEC): Remove.
15332         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15333         (__have_paccept): Remove unused macro.
15334         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15335         * misc/syslog.c (openlog_internal): Remove fallback code for
15336         !__ASSUME_SOCK_CLOEXEC.
15337         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15338         missing SOCK_CLOEXEC.
15339         * nscd/connections.c (have_sock_cloexec): Remove definition.
15340         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15341         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15342         !__ASSUME_SOCK_CLOEXEC.
15343         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15344         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15345         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15346         definition.
15347         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15348         code for !__ASSUME_SOCK_CLOEXEC.
15350 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15352         [BZ #18982]
15353         * manual/stdio.texi (Variable Arguments Output): Add portability
15354         note, explaining that vfprintf clobbers the va_list pointer.
15356 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15358         * math/libm-test.inc (fabs_test_data): Add more tests.
15359         (fdim_test_data): Likewise.
15360         (fma_test_data): Likewise.
15361         (fmax_test_data): Likewise.
15362         (fmin_test_data): Likewise.
15363         (fmod_test_data): Likewise.
15365 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15367         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15368         data.
15370 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15372         * math/libm-test.inc (ceil_test_data): Add more tests and more
15373         expectations for "inexact".
15374         (floor_test_data): Add more tests.
15375         (round_test_data): Likewise.
15376         (trunc_test_data): Likewise.
15378         * crypt/cert.c (good_bye): Convert to prototype-style function
15379         definition.
15380         (get8): Likewise.
15381         (put8): Likewise.
15382         * crypt/crypt-entry.c (crypt): Likewise.
15383         (__fcrypt): Likewise.
15384         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15385         (_ufc_set_bits): Likewise.
15386         (_ufc_clearmem): Likewise.
15387         (__init_des_r): Likewise.
15388         (shuffle_sb): Likewise.
15389         (shuffle_sb): Likewise.
15390         (_ufc_setup_salt_r): Likewise.
15391         (_ufc_mk_keytab_r): Likewise.
15392         (_ufc_dofinalperm_r): Likewise.
15393         (encrypt): Likewise.
15394         (__setkey_r): Likewise.
15395         (setkey): Likewise.
15396         * crypt/md5.c (md5_init_ctx): Likewise.
15397         (md5_read_ctx): Likewise.
15398         (md5_finish_ctx): Likewise.
15399         (md5_stream): Likewise.
15400         (md5_buffer): Likewise.
15401         (md5_process_bytes): Likewise.
15402         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15403         (__sha256_finish_ctx): Likewise.
15404         (__sha256_process_bytes): Likewise.
15405         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15406         (__sha512_finish_ctx): Likewise.
15407         (__sha512_process_bytes): Likewise.
15408         * ctype/isctype.c (__isctype): Likewise.
15409         * debug/backtrace.c (__backtrace): Likewise.
15410         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15411         * debug/fgets_chk.c (__fgets_chk): Likewise.
15412         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15413         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15414         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15415         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15416         * debug/memset_chk.c (__memset_chk): Likewise.
15417         * debug/strcat_chk.c (__strcat_chk): Likewise.
15418         * debug/strncat_chk.c (__strncat_chk): Likewise.
15419         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15420         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15421         * dirent/dirfd.c (dirfd): Likewise.
15422         * dirent/getdents.c (__getdirentries): Likewise.
15423         * dirent/getdents64.c (getdirentries64): Likewise.
15424         * dirent/rewinddir.c (__rewinddir): Likewise.
15425         * dirent/seekdir.c (seekdir): Likewise.
15426         * dirent/telldir.c (telldir): Likewise.
15427         * elf/sln.c (makesymlinks): Likewise.
15428         (makesymlink): Likewise.
15429         * gmon/gmon.c (__moncontrol): Likewise.
15430         (__monstartup): Likewise.
15431         (write_hist): Likewise.
15432         (write_call_graph): Likewise.
15433         (write_bb_counts): Likewise.
15434         * grp/setgroups.c (setgroups): Likewise.
15435         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15436         * inet/inet_net.c (inet_network): Likewise.
15437         * inet/inet_netof.c (inet_netof): Likewise.
15438         * inet/rcmd.c (rresvport_af): Likewise.
15439         (rresvport): Likewise.
15440         * io/access.c (__access): Likewise.
15441         * io/chdir.c (__chdir): Likewise.
15442         * io/chmod.c (__chmod): Likewise.
15443         * io/chown.c (__chown): Likewise.
15444         * io/close.c (__close): Likewise.
15445         * io/creat.c (creat): Likewise.
15446         * io/creat64.c (creat64): Likewise.
15447         * io/dup.c (__dup): Likewise.
15448         * io/dup2.c (__dup2): Likewise.
15449         * io/dup3.c (__dup3): Likewise.
15450         * io/euidaccess.c (__euidaccess): Likewise.
15451         * io/faccessat.c (faccessat): Likewise.
15452         * io/fchmod.c (__fchmod): Likewise.
15453         * io/fchmodat.c (fchmodat): Likewise.
15454         * io/fchown.c (__fchown): Likewise.
15455         * io/fchownat.c (fchownat): Likewise.
15456         * io/fcntl.c (__fcntl): Likewise.
15457         * io/flock.c (__flock): Likewise.
15458         * io/fts.c (fts_load): Likewise.
15459         (fts_close): Likewise.
15460         (fts_read): Likewise.
15461         (fts_set): Likewise.
15462         (fts_children): Likewise.
15463         (fts_build): Likewise.
15464         (fts_stat): Likewise.
15465         (fts_sort): Likewise.
15466         (fts_alloc): Likewise.
15467         (fts_lfree): Likewise.
15468         (fts_palloc): Likewise.
15469         (fts_padjust): Likewise.
15470         (fts_maxarglen): Likewise.
15471         (fts_safe_changedir): Likewise.
15472         * io/getwd.c (getwd): Likewise.
15473         * io/isatty.c (__isatty): Likewise.
15474         * io/lchown.c (__lchown): Likewise.
15475         * io/link.c (__link): Likewise.
15476         * io/linkat.c (linkat): Likewise.
15477         * io/lseek.c (__libc_lseek): Likewise.
15478         * io/mkdir.c (__mkdir): Likewise.
15479         * io/mkdirat.c (mkdirat): Likewise.
15480         * io/mkfifo.c (mkfifo): Likewise.
15481         * io/mkfifoat.c (mkfifoat): Likewise.
15482         * io/open.c (__libc_open): Likewise.
15483         * io/open64.c (__libc_open64): Likewise.
15484         * io/readlink.c (__readlink): Likewise.
15485         * io/readlinkat.c (readlinkat): Likewise.
15486         * io/rmdir.c (__rmdir): Likewise.
15487         * io/symlink.c (__symlink): Likewise.
15488         * io/symlinkat.c (symlinkat): Likewise.
15489         * io/ttyname.c (ttyname): Likewise.
15490         * io/ttyname_r.c (__ttyname_r): Likewise.
15491         * io/umask.c (__umask): Likewise.
15492         * io/unlink.c (__unlink): Likewise.
15493         * io/unlinkat.c (unlinkat): Likewise.
15494         * io/utime.c (utime): Likewise.
15495         * libio/clearerr.c (clearerr): Likewise.
15496         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15497         * libio/feof.c (_IO_feof): Likewise.
15498         * libio/feof_u.c (feof_unlocked): Likewise.
15499         * libio/ferror.c (_IO_ferror): Likewise.
15500         * libio/ferror_u.c (ferror_unlocked): Likewise.
15501         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15502         * libio/fileno.c (__fileno): Likewise.
15503         * libio/fputc.c (fputc): Likewise.
15504         * libio/fputc_u.c (fputc_unlocked): Likewise.
15505         * libio/fputwc.c (fputwc): Likewise.
15506         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15507         * libio/freopen.c (freopen): Likewise.
15508         * libio/freopen64.c (freopen64): Likewise.
15509         * libio/fseek.c (fseek): Likewise.
15510         * libio/fseeko.c (fseeko): Likewise.
15511         * libio/fseeko64.c (fseeko64): Likewise.
15512         * libio/ftello.c (__ftello): Likewise.
15513         * libio/ftello64.c (ftello64): Likewise.
15514         * libio/fwide.c (fwide): Likewise.
15515         * libio/genops.c (_IO_un_link): Likewise.
15516         (_IO_link_in): Likewise.
15517         (_IO_least_marker): Likewise.
15518         (_IO_switch_to_main_get_area): Likewise.
15519         (_IO_switch_to_backup_area): Likewise.
15520         (_IO_switch_to_get_mode): Likewise.
15521         (_IO_free_backup_area): Likewise.
15522         (_IO_switch_to_put_mode): Likewise.
15523         (__overflow): Likewise.
15524         (__underflow): Likewise.
15525         (__uflow): Likewise.
15526         (_IO_setb): Likewise.
15527         (_IO_doallocbuf): Likewise.
15528         (_IO_default_underflow): Likewise.
15529         (_IO_default_uflow): Likewise.
15530         (_IO_default_xsputn): Likewise.
15531         (_IO_sgetn): Likewise.
15532         (_IO_default_xsgetn): Likewise.
15533         (_IO_sync): Likewise.
15534         (_IO_default_setbuf): Likewise.
15535         (_IO_default_seekpos): Likewise.
15536         (_IO_default_doallocate): Likewise.
15537         (_IO_init): Likewise.
15538         (_IO_old_init): Likewise.
15539         (_IO_default_sync): Likewise.
15540         (_IO_default_finish): Likewise.
15541         (_IO_default_seekoff): Likewise.
15542         (_IO_sputbackc): Likewise.
15543         (_IO_sungetc): Likewise.
15544         (_IO_set_column): Likewise.
15545         (_IO_set_column): Likewise.
15546         (_IO_adjust_column): Likewise.
15547         (_IO_get_column): Likewise.
15548         (_IO_init_marker): Likewise.
15549         (_IO_remove_marker): Likewise.
15550         (_IO_marker_difference): Likewise.
15551         (_IO_marker_delta): Likewise.
15552         (_IO_seekmark): Likewise.
15553         (_IO_unsave_markers): Likewise.
15554         (_IO_nobackup_pbackfail): Likewise.
15555         (_IO_default_pbackfail): Likewise.
15556         (_IO_default_seek): Likewise.
15557         (_IO_default_stat): Likewise.
15558         (_IO_default_read): Likewise.
15559         (_IO_default_write): Likewise.
15560         (_IO_default_showmanyc): Likewise.
15561         (_IO_default_imbue): Likewise.
15562         (_IO_iter_next): Likewise.
15563         (_IO_iter_file): Likewise.
15564         * libio/getc.c (_IO_getc): Likewise.
15565         * libio/getwc.c (_IO_getwc): Likewise.
15566         * libio/iofclose.c (_IO_new_fclose): Likewise.
15567         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15568         * libio/iofflush.c (_IO_fflush): Likewise.
15569         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15570         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15571         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15572         * libio/iofgets.c (_IO_fgets): Likewise.
15573         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15574         * libio/iofgetws.c (fgetws): Likewise.
15575         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15576         * libio/iofopen64.c (_IO_fopen64): Likewise.
15577         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15578         (_IO_cookie_write): Likewise.
15579         (_IO_cookie_seek): Likewise.
15580         (_IO_cookie_close): Likewise.
15581         (_IO_cookie_seekoff): Likewise.
15582         (_IO_old_cookie_seek): Likewise.
15583         * libio/iofputs.c (_IO_fputs): Likewise.
15584         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15585         * libio/iofputws.c (fputws): Likewise.
15586         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15587         * libio/iofread.c (_IO_fread): Likewise.
15588         * libio/iofread_u.c (__fread_unlocked): Likewise.
15589         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15590         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15591         * libio/ioftell.c (_IO_ftell): Likewise.
15592         * libio/iofwrite.c (_IO_fwrite): Likewise.
15593         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15594         * libio/iogets.c (_IO_gets): Likewise.
15595         * libio/iopadn.c (_IO_padn): Likewise.
15596         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15597         (_IO_new_popen): Likewise.
15598         (_IO_new_proc_close): Likewise.
15599         * libio/ioputs.c (_IO_puts): Likewise.
15600         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15601         (_IO_seekoff): Likewise.
15602         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15603         (_IO_seekpos): Likewise.
15604         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15605         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15606         * libio/ioungetc.c (_IO_ungetc): Likewise.
15607         * libio/ioungetwc.c (ungetwc): Likewise.
15608         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15609         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15610         * libio/iowpadn.c (_IO_wpadn): Likewise.
15611         * libio/libc_fatal.c (__libc_fatal): Likewise.
15612         * libio/memstream.c (__open_memstream): Likewise.
15613         (_IO_mem_sync): Likewise.
15614         (_IO_mem_finish): Likewise.
15615         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15616         (_IO_old_file_close_it): Likewise.
15617         (_IO_old_file_finish): Likewise.
15618         (_IO_old_file_fopen): Likewise.
15619         (_IO_old_file_attach): Likewise.
15620         (_IO_old_file_setbuf): Likewise.
15621         (_IO_old_do_write): Likewise.
15622         (old_do_write): Likewise.
15623         (_IO_old_file_underflow): Likewise.
15624         (_IO_old_file_overflow): Likewise.
15625         (_IO_old_file_sync): Likewise.
15626         (_IO_old_file_seekoff): Likewise.
15627         (_IO_old_file_write): Likewise.
15628         (_IO_old_file_xsputn): Likewise.
15629         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15630         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15631         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15632         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15633         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15634         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15635         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15636         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15637         (_IO_old_popen): Likewise.
15638         (_IO_old_proc_close): Likewise.
15639         * libio/oldpclose.c (__old_pclose): Likewise.
15640         * libio/pclose.c (__new_pclose): Likewise.
15641         * libio/peekc.c (_IO_peekc_locked): Likewise.
15642         * libio/putc.c (_IO_putc): Likewise.
15643         * libio/putc_u.c (putc_unlocked): Likewise.
15644         * libio/putchar.c (putchar): Likewise.
15645         * libio/putchar_u.c (putchar_unlocked): Likewise.
15646         * libio/putwc.c (putwc): Likewise.
15647         * libio/putwc_u.c (putwc_unlocked): Likewise.
15648         * libio/putwchar.c (putwchar): Likewise.
15649         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15650         * libio/rewind.c (rewind): Likewise.
15651         * libio/setbuf.c (setbuf): Likewise.
15652         * libio/setlinebuf.c (setlinebuf): Likewise.
15653         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15654         * libio/vscanf.c (_IO_vscanf): Likewise.
15655         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15656         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15657         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15658         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15659         (_IO_switch_to_main_wget_area): Likewise.
15660         (_IO_switch_to_wbackup_area): Likewise.
15661         (_IO_wsetb): Likewise.
15662         (_IO_wdefault_pbackfail): Likewise.
15663         (_IO_wdefault_finish): Likewise.
15664         (_IO_wdefault_uflow): Likewise.
15665         (__woverflow): Likewise.
15666         (__wuflow): Likewise.
15667         (__wunderflow): Likewise.
15668         (_IO_wdefault_xsputn): Likewise.
15669         (_IO_wdefault_xsgetn): Likewise.
15670         (_IO_wdoallocbuf): Likewise.
15671         (_IO_wdefault_doallocate): Likewise.
15672         (_IO_switch_to_wget_mode): Likewise.
15673         (_IO_free_wbackup_area): Likewise.
15674         (_IO_switch_to_wput_mode): Likewise.
15675         (_IO_sputbackwc): Likewise.
15676         (_IO_sungetwc): Likewise.
15677         (_IO_adjust_wcolumn): Likewise.
15678         (_IO_init_wmarker): Likewise.
15679         (_IO_wmarker_delta): Likewise.
15680         (_IO_seekwmark): Likewise.
15681         (_IO_unsave_wmarkers): Likewise.
15682         * libio/wmemstream.c (open_wmemstream): Likewise.
15683         (_IO_wmem_sync): Likewise.
15684         (_IO_wmem_finish): Likewise.
15685         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15686         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15687         * locale/programs/simple-hash.c (init_hash): Likewise.
15688         (delete_hash): Likewise.
15689         (insert_entry): Likewise.
15690         (set_entry): Likewise.
15691         (next_prime): Likewise.
15692         (is_prime): Likewise.
15693         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15694         (xmalloc): Likewise.
15695         (xrealloc): Likewise.
15696         * locale/programs/xstrdup.c (xstrdup): Likewise.
15697         * localedata/collate-test.c (xstrcoll): Likewise.
15698         * localedata/xfrm-test.c (xstrcmp): Likewise.
15699         * login/getlogin_r.c (__getlogin_r): Likewise.
15700         * login/getpt.c (__posix_openpt): Likewise.
15701         * login/login_tty.c (login_tty): Likewise.
15702         * login/setlogin.c (setlogin): Likewise.
15703         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15704         (mach_msg_destroy_port): Likewise.
15705         (mach_msg_destroy_memory): Likewise.
15706         * malloc/mcheck.c (flood): Likewise.
15707         * misc/acct.c (acct): Likewise.
15708         * misc/brk.c (__brk): Likewise.
15709         * misc/chflags.c (chflags): Likewise.
15710         * misc/chroot.c (chroot): Likewise.
15711         * misc/fchflags.c (fchflags): Likewise.
15712         * misc/fstab.c (getfsspec): Likewise.
15713         (getfsfile): Likewise.
15714         * misc/fsync.c (fsync): Likewise.
15715         * misc/ftruncate.c (__ftruncate): Likewise.
15716         * misc/ftruncate64.c (__ftruncate64): Likewise.
15717         * misc/getdomain.c (getdomainname): Likewise.
15718         (getdomainname): Likewise.
15719         * misc/gethostname.c (__gethostname): Likewise.
15720         * misc/getpass.c (getpass): Likewise.
15721         * misc/getttyent.c (skip): Likewise.
15722         (value): Likewise.
15723         * misc/gtty.c (gtty): Likewise.
15724         * misc/hsearch.c (hsearch): Likewise.
15725         (hcreate): Likewise.
15726         * misc/hsearch_r.c (__hcreate_r): Likewise.
15727         (__hdestroy_r): Likewise.
15728         * misc/ioctl.c (__ioctl): Likewise.
15729         * misc/mkdtemp.c (mkdtemp): Likewise.
15730         * misc/mkostemp.c (mkostemp): Likewise.
15731         * misc/mkostemp64.c (mkostemp64): Likewise.
15732         * misc/mkostemps.c (mkostemps): Likewise.
15733         * misc/mkostemps64.c (mkostemps64): Likewise.
15734         * misc/mkstemp.c (mkstemp): Likewise.
15735         * misc/mkstemp64.c (mkstemp64): Likewise.
15736         * misc/mkstemps.c (mkstemps): Likewise.
15737         * misc/mkstemps64.c (mkstemps64): Likewise.
15738         * misc/mktemp.c (__mktemp): Likewise.
15739         * misc/preadv.c (preadv): Likewise.
15740         * misc/preadv64.c (preadv64): Likewise.
15741         * misc/pwritev.c (pwritev): Likewise.
15742         * misc/pwritev64.c (pwritev64): Likewise.
15743         * misc/readv.c (__readv): Likewise.
15744         * misc/revoke.c (revoke): Likewise.
15745         * misc/setdomain.c (setdomainname): Likewise.
15746         * misc/setegid.c (setegid): Likewise.
15747         * misc/seteuid.c (seteuid): Likewise.
15748         * misc/sethostid.c (sethostid): Likewise.
15749         * misc/sethostname.c (sethostname): Likewise.
15750         * misc/setregid.c (__setregid): Likewise.
15751         * misc/setreuid.c (__setreuid): Likewise.
15752         * misc/sstk.c (sstk): Likewise.
15753         * misc/stty.c (stty): Likewise.
15754         * misc/syscall.c (syscall): Likewise.
15755         * misc/syslog.c (setlogmask): Likewise.
15756         * misc/truncate.c (__truncate): Likewise.
15757         * misc/truncate64.c (truncate64): Likewise.
15758         * misc/ualarm.c (ualarm): Likewise.
15759         * misc/usleep.c (usleep): Likewise.
15760         * misc/ustat.c (ustat): Likewise.
15761         * misc/writev.c (__writev): Likewise.
15762         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15763         * nptl/old_pthread_cond_broadcast.c
15764         (__pthread_cond_broadcast_2_0): Likewise.
15765         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15766         Likewise.
15767         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15768         Likewise.
15769         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15770         Likewise.
15771         * nptl/pt-raise.c (raise): Likewise.
15772         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15773         Likewise.
15774         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15775         * nptl/pthread_barrierattr_destroy.c
15776         (pthread_barrierattr_destroy): Likewise.
15777         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15778         Likewise.
15779         * nptl/pthread_barrierattr_setpshared.c
15780         (pthread_barrierattr_setpshared): Likewise.
15781         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15782         Likewise.
15783         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15784         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15785         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15786         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15787         Likewise.
15788         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15789         Likewise.
15790         * nptl/pthread_condattr_getpshared.c
15791         (pthread_condattr_getpshared): Likewise.
15792         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15793         Likewise.
15794         * nptl/pthread_condattr_setpshared.c
15795         (pthread_condattr_setpshared): Likewise.
15796         * nptl/pthread_detach.c (pthread_detach): Likewise.
15797         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15798         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15799         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15800         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15801         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15802         Likewise.
15803         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15804         Likewise.
15805         * nptl/pthread_mutex_getprioceiling.c
15806         (pthread_mutex_getprioceiling): Likewise.
15807         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15808         Likewise.
15809         * nptl/pthread_mutexattr_getprotocol.c
15810         (pthread_mutexattr_getprotocol): Likewise.
15811         * nptl/pthread_mutexattr_getpshared.c
15812         (pthread_mutexattr_getpshared): Likewise.
15813         * nptl/pthread_mutexattr_getrobust.c
15814         (pthread_mutexattr_getrobust): Likewise.
15815         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15816         Likewise.
15817         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15818         Likewise.
15819         * nptl/pthread_mutexattr_setprioceiling.c
15820         (pthread_mutexattr_setprioceiling): Likewise.
15821         * nptl/pthread_mutexattr_setprotocol.c
15822         (pthread_mutexattr_setprotocol): Likewise.
15823         * nptl/pthread_mutexattr_setpshared.c
15824         (pthread_mutexattr_setpshared): Likewise.
15825         * nptl/pthread_mutexattr_setrobust.c
15826         (pthread_mutexattr_setrobust): Likewise.
15827         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15828         Likewise.
15829         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15830         Likewise.
15831         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15832         Likewise.
15833         * nptl/pthread_rwlockattr_getkind_np.c
15834         (pthread_rwlockattr_getkind_np): Likewise.
15835         * nptl/pthread_rwlockattr_getpshared.c
15836         (pthread_rwlockattr_getpshared): Likewise.
15837         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15838         Likewise.
15839         * nptl/pthread_rwlockattr_setkind_np.c
15840         (pthread_rwlockattr_setkind_np): Likewise.
15841         * nptl/pthread_rwlockattr_setpshared.c
15842         (pthread_rwlockattr_setpshared): Likewise.
15843         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15844         Likewise.
15845         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15846         Likewise.
15847         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15848         Likewise.
15849         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15850         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15851         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15852         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15853         * nptl/sem_close.c (sem_close): Likewise.
15854         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15855         * nptl/sem_init.c (__old_sem_init): Likewise.
15856         * nptl/sigaction.c (__sigaction): Likewise.
15857         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15858         * posix/_exit.c (_exit): Likewise.
15859         * posix/alarm.c (alarm): Likewise.
15860         * posix/confstr.c (confstr): Likewise.
15861         * posix/fpathconf.c (__fpathconf): Likewise.
15862         * posix/getgroups.c (__getgroups): Likewise.
15863         * posix/getpgid.c (__getpgid): Likewise.
15864         * posix/group_member.c (__group_member): Likewise.
15865         * posix/pathconf.c (__pathconf): Likewise.
15866         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15867         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15868         * posix/setgid.c (__setgid): Likewise.
15869         * posix/setpgid.c (__setpgid): Likewise.
15870         * posix/setuid.c (__setuid): Likewise.
15871         * posix/sleep.c (__sleep): Likewise.
15872         * posix/sysconf.c (__sysconf): Likewise.
15873         * posix/times.c (__times): Likewise.
15874         * posix/uname.c (__uname): Likewise.
15875         * posix/waitid.c (__waitid): Likewise.
15876         * pwd/getpw.c (__getpw): Likewise.
15877         * resolv/base64.c (b64_pton): Likewise.
15878         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15879         * resolv/gethnamaddr.c (Dprintf): Likewise.
15880         (gethostbyname): Likewise.
15881         (gethostbyname2): Likewise.
15882         (gethostbyaddr): Likewise.
15883         (_sethtent): Likewise.
15884         (_gethtbyname): Likewise.
15885         (_gethtbyname2): Likewise.
15886         (_gethtbyaddr): Likewise.
15887         (map_v4v6_address): Likewise.
15888         (map_v4v6_hostent): Likewise.
15889         (addrsort): Likewise.
15890         (ht_sethostent): Likewise.
15891         (ht_gethostbyname): Likewise.
15892         (ht_gethostbyaddr): Likewise.
15893         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15894         (inet_net_ntop_ipv4): Likewise.
15895         * resolv/inet_neta.c (inet_neta): Likewise.
15896         * resolv/inet_ntop.c (inet_ntop): Likewise.
15897         (inet_ntop4): Likewise.
15898         (inet_ntop6): Likewise.
15899         * resolv/inet_pton.c (__inet_pton): Likewise.
15900         (inet_pton4): Likewise.
15901         (inet_pton6): Likewise.
15902         * resolv/res_debug.c (loc_aton): Likewise.
15903         (loc_ntoa): Likewise.
15904         * resource/getpriority.c (__getpriority): Likewise.
15905         * resource/getrusage.c (__getrusage): Likewise.
15906         * resource/nice.c (nice): Likewise.
15907         * resource/setpriority.c (__setpriority): Likewise.
15908         * resource/setrlimit64.c (setrlimit64): Likewise.
15909         * resource/vlimit.c (vlimit): Likewise.
15910         * resource/vtimes.c (vtimes): Likewise.
15911         * rt/aio_error.c (aio_error): Likewise.
15912         * rt/aio_return.c (aio_return): Likewise.
15913         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15914         * signal/kill.c (__kill): Likewise.
15915         * signal/killpg.c (killpg): Likewise.
15916         * signal/raise.c (raise): Likewise.
15917         * signal/sigaction.c (__sigaction): Likewise.
15918         * signal/sigaddset.c (sigaddset): Likewise.
15919         * signal/sigaltstack.c (sigaltstack): Likewise.
15920         * signal/sigandset.c (sigandset): Likewise.
15921         * signal/sigblock.c (__sigblock): Likewise.
15922         * signal/sigdelset.c (sigdelset): Likewise.
15923         * signal/sigempty.c (sigemptyset): Likewise.
15924         * signal/sigfillset.c (sigfillset): Likewise.
15925         * signal/sighold.c (sighold): Likewise.
15926         * signal/sigignore.c (sigignore): Likewise.
15927         * signal/sigintr.c (siginterrupt): Likewise.
15928         * signal/sigisempty.c (sigisemptyset): Likewise.
15929         * signal/sigismem.c (sigismember): Likewise.
15930         * signal/signal.c (signal): Likewise.
15931         * signal/sigorset.c (sigorset): Likewise.
15932         * signal/sigpause.c (__sigpause): Likewise.
15933         * signal/sigpending.c (sigpending): Likewise.
15934         * signal/sigprocmask.c (__sigprocmask): Likewise.
15935         * signal/sigrelse.c (sigrelse): Likewise.
15936         * signal/sigreturn.c (__sigreturn): Likewise.
15937         * signal/sigset.c (sigset): Likewise.
15938         * signal/sigsetmask.c (__sigsetmask): Likewise.
15939         * signal/sigstack.c (sigstack): Likewise.
15940         * signal/sigsuspend.c (__sigsuspend): Likewise.
15941         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15942         * signal/sysv_signal.c (__sysv_signal): Likewise.
15943         * socket/accept.c (accept): Likewise.
15944         * socket/accept4.c (__libc_accept4): Likewise.
15945         * socket/bind.c (__bind): Likewise.
15946         * socket/connect.c (__connect): Likewise.
15947         * socket/getpeername.c (getpeername): Likewise.
15948         * socket/getsockname.c (__getsockname): Likewise.
15949         * socket/getsockopt.c (getsockopt): Likewise.
15950         * socket/listen.c (__listen): Likewise.
15951         * socket/recv.c (__recv): Likewise.
15952         * socket/recvmsg.c (__recvmsg): Likewise.
15953         * socket/send.c (__send): Likewise.
15954         * socket/sendmsg.c (__sendmsg): Likewise.
15955         * socket/shutdown.c (shutdown): Likewise.
15956         * socket/sockatmark.c (sockatmark): Likewise.
15957         * socket/socket.c (__socket): Likewise.
15958         * stdio-common/ctermid.c (ctermid): Likewise.
15959         * stdio-common/cuserid.c (cuserid): Likewise.
15960         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15961         * stdio-common/remove.c (remove): Likewise.
15962         * stdio-common/rename.c (rename): Likewise.
15963         * stdio-common/renameat.c (renameat): Likewise.
15964         * stdio-common/tempname.c (__gen_tempname): Likewise.
15965         * stdio-common/xbug.c (InitBuffer): Likewise.
15966         (AppendToBuffer): Likewise.
15967         (ReadFile): Likewise.
15968         * stdlib/a64l.c (a64l): Likewise.
15969         * stdlib/drand48_r.c (drand48_r): Likewise.
15970         * stdlib/getcontext.c (getcontext): Likewise.
15971         * stdlib/getenv.c (getenv): Likewise.
15972         * stdlib/l64a.c (l64a): Likewise.
15973         * stdlib/llabs.c (llabs): Likewise.
15974         * stdlib/lldiv.c (lldiv): Likewise.
15975         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15976         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15977         * stdlib/putenv.c (putenv): Likewise.
15978         * stdlib/random.c (__srandom): Likewise.
15979         (__initstate): Likewise.
15980         (__setstate): Likewise.
15981         * stdlib/random_r.c (__srandom_r): Likewise.
15982         (__setstate_r): Likewise.
15983         (__random_r): Likewise.
15984         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15985         * stdlib/setcontext.c (setcontext): Likewise.
15986         * stdlib/setenv.c (setenv): Likewise.
15987         (unsetenv): Likewise.
15988         * stdlib/srand48.c (srand48): Likewise.
15989         * stdlib/srand48_r.c (__srand48_r): Likewise.
15990         * stdlib/swapcontext.c (swapcontext): Likewise.
15991         * stdlib/system.c (__libc_system): Likewise.
15992         * stdlib/tst-strtod.c (expand): Likewise.
15993         * stdlib/tst-strtol.c (expand): Likewise.
15994         * stdlib/tst-strtoll.c (expand): Likewise.
15995         * streams/fattach.c (fattach): Likewise.
15996         * streams/fdetach.c (fdetach): Likewise.
15997         * streams/getmsg.c (getmsg): Likewise.
15998         * streams/isastream.c (isastream): Likewise.
15999         * string/ffs.c (__ffs): Likewise.
16000         * string/ffsll.c (ffsll): Likewise.
16001         * string/memcmp.c (memcmp_common_alignment): Likewise.
16002         (memcmp_not_common_alignment): Likewise.
16003         (MEMCMP): Likewise.
16004         * string/memcpy.c (memcpy): Likewise.
16005         * string/memmove.c (MEMMOVE): Likewise.
16006         * string/memset.c (memset): Likewise.
16007         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16008         * string/strchrnul.c (STRCHRNUL): Likewise.
16009         * string/strerror.c (strerror): Likewise.
16010         * string/strndup.c (__strndup): Likewise.
16011         * string/strverscmp.c (__strverscmp): Likewise.
16012         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16013         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16014         (clnttcp_freeres): Likewise.
16015         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16016         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16017         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16018         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16019         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16020         (xdr_callhdr): Likewise.
16021         * sunrpc/rpcinfo.c (udpping): Likewise.
16022         (tcpping): Likewise.
16023         (pstatus): Likewise.
16024         (pmapdump): Likewise.
16025         (brdcst): Likewise.
16026         (deletereg): Likewise.
16027         (getprognum): Likewise.
16028         (getvers): Likewise.
16029         (get_inet_address): Likewise.
16030         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16031         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16032         (svcudp_stat): Likewise.
16033         (svcudp_recv): Likewise.
16034         (svcudp_reply): Likewise.
16035         (svcudp_getargs): Likewise.
16036         (svcudp_freeargs): Likewise.
16037         (svcudp_destroy): Likewise.
16038         * sunrpc/xdr.c (xdr_bytes): Likewise.
16039         (xdr_netobj): Likewise.
16040         (xdr_string): Likewise.
16041         (xdr_wrapstring): Likewise.
16042         * sunrpc/xdr_float.c (xdr_float): Likewise.
16043         (xdr_double): Likewise.
16044         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16045         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16046         * sysvipc/ftok.c (ftok): Likewise.
16047         * sysvipc/msgctl.c (msgctl): Likewise.
16048         * sysvipc/msgget.c (msgget): Likewise.
16049         * sysvipc/msgrcv.c (msgrcv): Likewise.
16050         * sysvipc/msgsnd.c (msgsnd): Likewise.
16051         * sysvipc/semget.c (semget): Likewise.
16052         * sysvipc/semop.c (semop): Likewise.
16053         * sysvipc/shmat.c (shmat): Likewise.
16054         * sysvipc/shmctl.c (shmctl): Likewise.
16055         * sysvipc/shmdt.c (shmdt): Likewise.
16056         * sysvipc/shmget.c (shmget): Likewise.
16057         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16058         * termios/speed.c (cfgetospeed): Likewise.
16059         (cfgetispeed): Likewise.
16060         (cfsetospeed): Likewise.
16061         (cfsetispeed): Likewise.
16062         * termios/tcflow.c (tcflow): Likewise.
16063         * termios/tcflush.c (tcflush): Likewise.
16064         * termios/tcgetattr.c (__tcgetattr): Likewise.
16065         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16066         * termios/tcgetsid.c (tcgetsid): Likewise.
16067         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16068         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16069         * time/adjtime.c (__adjtime): Likewise.
16070         * time/dysize.c (dysize): Likewise.
16071         * time/ftime.c (ftime): Likewise.
16072         * time/getitimer.c (__getitimer): Likewise.
16073         * time/gettimeofday.c (__gettimeofday): Likewise.
16074         * time/gmtime.c (__gmtime_r): Likewise.
16075         (gmtime): Likewise.
16076         * time/localtime.c (__localtime_r): Likewise.
16077         (localtime): Likewise.
16078         * time/offtime.c (__offtime): Likewise.
16079         * time/settimeofday.c (__settimeofday): Likewise.
16080         * time/stime.c (stime): Likewise.
16081         * time/strftime_l.c (tm_diff): Likewise.
16082         (iso_week_days): Likewise.
16083         * time/strptime.c (strptime): Likewise.
16084         * time/time.c (time): Likewise.
16085         * time/timespec_get.c (timespec_get): Likewise.
16086         * time/tzset.c (tzset_internal): Likewise.
16087         (compute_change): Likewise.
16088         (__tz_compute): Likewise.
16089         * wcsmbs/btowc.c (__btowc): Likewise.
16090         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16091         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16092         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16093         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16094         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16095         * wcsmbs/wcscat.c (__wcscat): Likewise.
16096         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16097         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16098         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16099         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16100         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16101         * wcsmbs/wcslen.c (__wcslen): Likewise.
16102         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16103         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16104         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16105         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16106         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16107         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16108         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16109         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16110         * wcsmbs/wcstok.c (wcstok): Likewise.
16111         * wcsmbs/wctob.c (wctob): Likewise.
16112         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16113         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16114         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16115         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16116         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16117         * wcsmbs/wmemset.c (__wmemset): Likewise.
16118         * wctype/wcfuncs.c (__towlower): Likewise.
16119         (__towupper): Likewise.
16121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16122         (lll_unlock_elision): Add adapt_count parameter.
16124 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16126         * sysdeps/nptl/configure.ac: Do not give errors based on the
16127         results of top-level configure tests.
16128         * sysdeps/nptl/configure: Regenerated.
16130         * configure.ac (libc_cv_Bgroup): Remove configure test.
16131         * configure: Regenerated.
16132         * config.make.in (have-Bgroup): Remove variable.
16134         * configure.ac (sizeof_long_double): Remove configure test.
16135         * configure: Regenerated.
16136         * config.make.in (sizeof-long-double): Remove variable.
16138         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16139         * configure: Regenerated.
16140         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16141         variable.
16142         (exceptions): Likewise.
16143         * sysdeps/arm/configure: Regenerated.
16144         * config.make.in (exceptions): Remove variable.
16145         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16146         $(exceptions).
16147         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16148         (CFLAGS-vdprintf_chk.c): Likewise.
16149         (CFLAGS-printf_chk.c): Likewise.
16150         (CFLAGS-fprintf_chk.c): Likewise.
16151         (CFLAGS-vprintf_chk.c): Likewise.
16152         (CFLAGS-vfprintf_chk.c): Likewise.
16153         (CFLAGS-gets_chk.c): Likewise.
16154         (CFLAGS-fgets_chk.c): Likewise.
16155         (CFLAGS-fgets_u_chk.c): Likewise.
16156         (CFLAGS-fread_chk.c): Likewise.
16157         (CFLAGS-fread_u_chk.c): Likewise.
16158         (CFLAGS-wprintf_chk.c): Likewise.
16159         (CFLAGS-fwprintf_chk.c): Likewise.
16160         (CFLAGS-vwprintf_chk.c): Likewise.
16161         (CFLAGS-vfwprintf_chk.c): Likewise.
16162         (CFLAGS-fgetws_chk.c): Likewise.
16163         (CFLAGS-fgetws_u_chk.c): Likewise.
16164         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16165         (CFLAGS-fputc.c): Likewise.
16166         (CFLAGS-fputwc.c): Likewise.
16167         (CFLAGS-freopen64.c): Likewise.
16168         (CFLAGS-freopen.c): Likewise.
16169         (CFLAGS-fseek.c): Likewise.
16170         (CFLAGS-fseeko64.c): Likewise.
16171         (CFLAGS-fseeko.c): Likewise.
16172         (CFLAGS-ftello64.c): Likewise.
16173         (CFLAGS-ftello.c): Likewise.
16174         (CFLAGS-fwide.c): Likewise.
16175         (CFLAGS-genops.c): Likewise.
16176         (CFLAGS-getc.c): Likewise.
16177         (CFLAGS-getchar.c): Likewise.
16178         (CFLAGS-getwc.c): Likewise.
16179         (CFLAGS-getwchar.c): Likewise.
16180         (CFLAGS-iofclose.c): Likewise.
16181         (CFLAGS-iofflush.c): Likewise.
16182         (CFLAGS-iofgetpos64.c): Likewise.
16183         (CFLAGS-iofgetpos.c): Likewise.
16184         (CFLAGS-iofgets.c): Likewise.
16185         (CFLAGS-iofgetws.c): Likewise.
16186         (CFLAGS-iofputs.c): Likewise.
16187         (CFLAGS-iofputws.c): Likewise.
16188         (CFLAGS-iofread.c): Likewise.
16189         (CFLAGS-iofsetpos64.c): Likewise.
16190         (CFLAGS-iofsetpos.c): Likewise.
16191         (CFLAGS-ioftell.c): Likewise.
16192         (CFLAGS-iofwrite.c): Likewise.
16193         (CFLAGS-iogetdelim.c): Likewise.
16194         (CFLAGS-iogetline.c): Likewise.
16195         (CFLAGS-iogets.c): Likewise.
16196         (CFLAGS-iogetwline.c): Likewise.
16197         (CFLAGS-ioputs.c): Likewise.
16198         (CFLAGS-ioseekoff.c): Likewise.
16199         (CFLAGS-ioseekpos.c): Likewise.
16200         (CFLAGS-iosetbuffer.c): Likewise.
16201         (CFLAGS-iosetvbuf.c): Likewise.
16202         (CFLAGS-ioungetc.c): Likewise.
16203         (CFLAGS-ioungetwc.c): Likewise.
16204         (CFLAGS-oldfileops.c): Likewise.
16205         (CFLAGS-oldiofclose.c): Likewise.
16206         (CFLAGS-oldiofgetpos64.c): Likewise.
16207         (CFLAGS-oldiofgetpos.c): Likewise.
16208         (CFLAGS-oldiofsetpos64.c): Likewise.
16209         (CFLAGS-oldiofsetpos.c): Likewise.
16210         (CFLAGS-peekc.c): Likewise.
16211         (CFLAGS-putc.c): Likewise.
16212         (CFLAGS-putchar.c): Likewise.
16213         (CFLAGS-putwc.c): Likewise.
16214         (CFLAGS-putwchar.c): Likewise.
16215         (CFLAGS-rewind.c): Likewise.
16216         (CFLAGS-wfileops.c): Likewise.
16217         (CFLAGS-wgenops.c): Likewise.
16218         (CFLAGS-oldiofopen.c): Likewise.
16219         (CFLAGS-iofopen.c): Likewise.
16220         (CFLAGS-iofopen64.c): Likewise.
16221         (CFLAGS-oldtmpfile.c): Likewise.
16222         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16223         (CFLAGS-fprintf.c): Likewise.
16224         (CFLAGS-printf.c): Likewise.
16225         (CFLAGS-vfwprintf.c): Likewise.
16226         (CFLAGS-vfscanf.c): Likewise.
16227         (CFLAGS-vfwscanf.c): Likewise.
16228         (CFLAGS-fscanf.c): Likewise.
16229         (CFLAGS-scanf.c): Likewise.
16230         (CFLAGS-isoc99_vfscanf.c): Likewise.
16231         (CFLAGS-isoc99_vscanf.c): Likewise.
16232         (CFLAGS-isoc99_fscanf.c): Likewise.
16233         (CFLAGS-isoc99_scanf.c): Likewise.
16234         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16235         (CFLAGS-isoc99_fwscanf.c): Likewise.
16236         (CFLAGS-isoc99_vwscanf.c): Likewise.
16237         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16239         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16240         after mkstemp64.
16241         * login/tst-utmp.c (do_prepare): Likewise.
16242         * rt/tst-aio.c (do_prepare): Likewise.
16243         * rt/tst-aio64.c (do_prepare): Likewise.
16245 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16247         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16248         (__lll_lock_elision): Remove adapt_count decrement...
16249         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16250         (__lll_trylock_elision): Likewise.
16251         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16252         (__lll_unlock_elision): ... to here. And utilize
16253         new adapt_count parameter.
16254         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16255         (__lll_unlock_elision): Update to include adapt_count
16256         parameter.
16257         (lll_unlock_elision): Pass pointer to adapt_count
16258         variable.
16260 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16262         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16263         Add elision adapt_count parameter to list of arguments.
16264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16265         (lll_unlock_elision): Update with new parameter list
16266         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16267         (lll_unlock_elision): Likewise.
16268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16269         (lll_unlock_elision): Likewise.
16271 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16273         [BZ #19122]
16274         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16275         attribute_hidden.
16277         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16278         attribute_hidden.
16279         [IS_IN (rtld)] (__strdup): Likewise.
16280         [IS_IN (rtld)] (__strerror_r): Likewise.
16281         [IS_IN (rtld)] (__strsep_g): Likewise.
16282         [IS_IN (rtld)] (memchr): Likewise.
16283         [IS_IN (rtld)] (memcmp): Likewise.
16284         [IS_IN (rtld)] (memcpy): Likewise.
16285         [IS_IN (rtld)] (memmove): Likewise.
16286         [IS_IN (rtld)] (memset): Likewise.
16287         [IS_IN (rtld)] (rawmemchr): Likewise.
16288         [IS_IN (rtld)] (stpcpy): Likewise.
16289         [IS_IN (rtld)] (strchr): Likewise.
16290         [IS_IN (rtld)] (strcmp): Likewise.
16291         [IS_IN (rtld)] (strlen): Likewise.
16292         [IS_IN (rtld)] (strnlen): Likewise.
16293         [IS_IN (rtld)] (strsep): Likewise.
16295         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16296         attribute_hidden.
16297         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16299         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16300         attribute_hidden.
16301         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16303         * include/setjmp.h (__longjmp): Add attribute_hidden.
16304         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16306         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16307         Add attribute_hidden.
16309         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16310         [IS_IN (rtld)] (__open): Likewise.
16311         [IS_IN (rtld)] (__fcntl): Likewise.
16313         * include/dirent.h (__opendirat): Add attribute_hidden.
16314         (__getdents): Likewise.
16315         (__getdents64): Likewise.
16316         (__alloc_dir): Likewise.
16317         [IS_IN (rtld)] (__closedir): Likewise.
16318         [IS_IN (rtld)] (__fdopendir): Likewise.
16319         [IS_IN (rtld)] (__readdir): Likewise.
16320         [IS_IN (rtld)] (__readdir64): Likewise.
16321         [IS_IN (rtld)] (__rewinddir): Likewise.
16323         * include/dlfcn.h (_dl_catch_error): Moved to ...
16324         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16325         attribute_hidden.
16327         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16328         (_itoa_word): Likewise.
16330         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16331         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16332         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16333         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16334         (_dl_higher_prime_number): Likewise.
16335         (_dl_debug_printf_c): Likewise.
16336         (_dl_signal_cerror): Likewise.
16337         (_dl_receive_error): Likewise.
16338         (_dl_reloc_bad_type): Likewise.
16339         (_dl_resolve_conflicts): Likewise.
16340         (_dl_check_all_versions): Likewise.
16341         (_dl_check_map_versions): Likewise.
16342         (_dl_sort_fini): Likewise.
16343         (_dl_debug_initialize): Likewise.
16344         (_dl_init_paths): Likewise.
16345         (_dl_show_auxv): Likewise.
16346         (_dl_next_ld_env_entry): Likewise.
16347         (_dl_important_hwcaps): Likewise.
16348         (_dl_load_cache_lookup): Likewise.
16349         (_dl_update_slotinfo): Likewise.
16350         (_dl_show_scope): Likewise.
16352         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16353         attribute_hidden.
16354         (_wordcopy_fwd_dest_aligned): Likewise.
16355         (_wordcopy_bwd_aligned): Likewise.
16356         (_wordcopy_bwd_dest_aligned): Likewise.
16358         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16359         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16360         Likewise.
16361         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16362         Likewise.
16363         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16365 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16368         GCC 5 requirement.
16370 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16372         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16373         test.
16374         * sysdeps/i386/configure: Regenerated.
16375         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16376         code unconditional.
16378         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16379         test.
16380         (libc_cv_asm_popsection_directive): Likewise.
16381         * configure: Regenerated.
16382         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16383         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16384         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16385         (__make_section_unallocated): Make definition unconditional.
16386         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16387         Remove conditional definition.
16388         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16389         (__make_section_unallocated): Likewise.
16391         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16392         * configure: Regenerated.
16393         * config.make.in (static-libgcc): Remove variable.
16394         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16395         $(static-libgcc).
16396         (build-module-helper): Likewise.
16398         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16399         * configure: Regenerated.
16401 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16403         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16404         (struct char_buffer): New type.
16405         (char_buffer_start, char_buffer_size, char_buffer_error)
16406         (char_buffer_rewind, char_buffer_add): New functions.
16407         (ADDW): Remove macro, replaced by the char_buffer_add function.
16408         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16409         of extend_alloca.  Make control flow more explicit.
16411 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16413         [BZ #19137]
16414         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16415         Add -fomit-frame-pointer.
16416         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16418 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16420         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16421         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16422         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16423         only if !__GNUC_PREREQ (5,0).
16424         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16425         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16426         (INTERNAL_SYSCALL_NCS): Likewise.
16427         (LOADREGS_0): New macro for GCC 5.
16428         (ASMARGS_0): Likewise.
16429         (LOADREGS_1): Likewise.
16430         (ASMARGS_1): Likewise.
16431         (LOADREGS_2): Likewise.
16432         (ASMARGS_2): Likewise.
16433         (LOADREGS_3): Likewise.
16434         (ASMARGS_3): Likewise.
16435         (LOADREGS_4): Likewise.
16436         (ASMARGS_4): Likewise.
16437         (LOADREGS_5): Likewise.
16438         (ASMARGS_5): Likewise.
16439         (LOADREGS_6): Likewise.
16440         (ASMARGS_6): Likewise.
16442 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16444         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16445         -fomit-frame-pointer.
16446         (CFLAGS-mmap64.c): Likewise.
16447         (CFLAGS-semtimedop.c): Likewise.
16448         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16449         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16450         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16451         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16453 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16455         [BZ #18928]
16456         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16457         _dl_pointer_guard member.
16458         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16459         initializer.
16460         (security_init): Always set up pointer guard.
16461         (process_envvars): Do not process LD_POINTER_GUARD.
16463 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16465         [BZ #19134]
16466         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16467         (.LC2): Likewise.
16468         (.LC3): Likewise.
16469         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16471 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16473         [BZ #19129]
16474         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16475         r0 and r1.
16477 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16479         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16481 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16483         * include/stap-probe.h: Fix macro definition formatting.
16485 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16487         [BZ #19074]
16488         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16489         load and store num_ifs.
16491 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16493         [BZ #18822]
16494         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16495         (__sched_getaffinity_new): Add libc_hidden_proto and
16496         libc_hidden_def.
16498 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16500         [BZ #19007]
16501         * scripts/localplt.awk: Also allow GOT references.
16502         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16503         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16504         with "+ REL R_386_GLOB_DAT".
16505         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16506         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16508 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16510         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16511         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16512         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16513         Likewise.
16514         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16515         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16516         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16517         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16518         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16519         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16520         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16521         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16522         Likewise.
16523         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16525 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16527         [BZ #19125]
16528         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16529         <math_private.h> and <stdint.h>.
16530         (__llround): Avoid conversions to and from long long int, and
16531         subtractions, where those might raise spurious exceptions.
16532         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16533         <math_private.h> and <stdint.h>.
16534         (__llroundf): Avoid conversions to and from long long int, and
16535         subtractions, where those might raise spurious exceptions.
16537 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16539         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16540         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16541         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16542         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16543         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16544         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16545         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16546         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16547         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16548         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16549         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16550         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16551         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16552         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16553         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16554         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16555         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16556         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16557         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16558         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16559         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16560         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16561         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16562         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16563         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16564         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16565         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16566         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16567         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16568         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16569         (__xstat64_conv): Likewise.
16570         (__xstat32_conv): Likewise.
16572 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16574         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16575         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16576         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16577         <sysdeps/unix/sysv/linux/sysdep.h>.
16578         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16579         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16580         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16581         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16582         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16583         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16584         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16585         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16586         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16592         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16594         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16595         (sysdep-dl-routines): Add sysdep.
16596         [$(subdir) == nptl] (libpthread-routines): Likewise.
16597         [$(subdir) == rt] (librt-routines): Likewise.
16598         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16599         PIC when branching to SYSCALL_ERROR_LABEL.
16600         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16601         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16602         <sysdeps/unix/sysv/linux/sysdep.h>.
16603         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16604         (SYSCALL_ERROR_ERRNO): Removed.
16605         (SYSCALL_ERROR_HANDLER): Changed to empty.
16606         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16607         (__syscall_error): New prototype.
16608         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16609         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16611 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16613         [BZ #19124]
16614         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16615         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16616         _dl_runtime_resolve_avx.
16617         (_dl_runtime_profile_avx512): Make it a hidden alias of
16618         _dl_runtime_profile_avx.
16620 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16622         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16623         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16624         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16625         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16627         [BZ #16422]
16628         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16629         New configure test.
16630         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16631         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16632         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16633         <math_private.h> and <stdint.h>.
16634         (__llrint): Avoid conversions to long long int where those might
16635         raise spurious exceptions.
16636         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16637         <math_private.h> and <stdint.h>.
16638         (__llrintf): Avoid conversions to long long int where those might
16639         raise spurious exceptions.
16641 2015-10-12  Andreas Schwab  <schwab@suse.de>
16643         [BZ #18969]
16644         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16645         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16646         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16647         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16648         $(gen-locales).
16649         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16650         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16651         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16652         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16653         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16654         $(gen-locales).
16655         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16656         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16657         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16658         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16659         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16660         ($(objpfx)tst-ftell-active-handler.out)
16661         ($(objpfx)tst-ftell-append.out)
16662         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16663         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16664         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16665         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16666         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16667         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16668         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16669         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16670         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16671         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16672         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16673         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16674         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16675         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16676         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16677         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16678         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16679         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16680         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16681         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16682         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16683         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16684         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16685         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16686         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16687         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16688         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16689         $(gen-locales).
16690         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16691         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16692         $(gen-locales).
16693         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16694         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16695         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16696         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16697         $(gen-locales).
16698         * libio/tst_wprintf2.c (main): Use explicit locale.
16699         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16701 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16703         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16704         __msg_sig_post.
16705         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16707 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16709         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16710         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16712         * sysdeps/arm/libm-test-ulps: Regenerated.
16714         [BZ #15470]
16715         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16717         [BZ #16399]
16718         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16719         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16720         and <fix-fp-int-convert-overflow.h>.
16721         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16722         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16723         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16724         and <fix-fp-int-convert-overflow.h>.
16725         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16726         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16727         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16728         <fix-fp-int-convert-overflow.h>.
16729         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16730         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16731         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16732         <fix-fp-int-convert-overflow.h>.
16733         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16734         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16735         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16736         and <fix-fp-int-convert-overflow.h>.
16737         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16738         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16739         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16740         <limits.h> and <fix-fp-int-convert-overflow.h>.
16741         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16742         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16743         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16744         and <fix-fp-int-convert-overflow.h>.
16745         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16746         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16747         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16748         and <fix-fp-int-convert-overflow.h>.
16749         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16750         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16751         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16753 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16755         [BZ #18589]
16756         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16757         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16758         $(gen-locales).
16760 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16761             Phil Blundell <pb@pbcl.net>
16763         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16764         * nptl/tst-cancel26.c: New file.
16765         * nptl/tst-cancel27.c: Likewise.
16767 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16769         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16770         __ILP32__ isn't defined.
16771         (lrint): Likewise.
16772         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16773         (lrintf): Likewise.
16774         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16775         (lrintl): Likewise.
16776         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16777         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16778         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16780 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16782         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16783         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16785         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16786         file.
16787         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16788         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16790 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16792         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16793         configure test.
16794         * sysdeps/i386/configure: Regenerated.
16795         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16796         configure test.
16797         * sysdeps/x86_64/configure: Regenerated.
16798         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16799         Make code unconditional.
16801         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16802         test.
16803         * sysdeps/i386/configure: Regenerated.
16804         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16805         test.
16806         * sysdeps/x86_64/configure: Regenerated.
16807         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16808         Make code unconditional.
16809         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16810         Likewise.
16811         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16812         Likewise.
16813         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16814         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16815         code unconditional.
16816         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16817         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16818         code unconditional.
16819         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16820         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16821         code unconditional.
16822         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16823         code unconditional.
16824         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16825         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16826         code unconditional.
16827         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16828         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16829         code unconditional.
16830         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16831         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16832         code unconditional.
16833         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16834         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16835         code unconditional.
16836         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16837         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16839         [BZ #19095]
16840         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16841         mantissa to long int before shifting left.
16843 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16845         [BZ #19094]
16846         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16847         <limits.h>.
16848         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16849         when result overflows but exception would not result from cast.
16850         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16851         <limits.h>.
16852         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16853         when result overflows but exception would not result from cast.
16854         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16855         <limits.h>.
16856         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16857         when result overflows but exception would not result from cast.
16858         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16859         <limits.h>.
16860         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16861         when result overflows but exception would not result from cast.
16862         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16863         <limits.h>.
16864         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16865         when result overflows but exception would not result from cast.
16866         * math/libm-test.inc (lrint_test_data): Add more tests.
16867         (llrint_test_data): Likewise.
16869 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16871         [BZ #18872]
16872         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16873         Move out from under [$(run-built-tests) = yes] conditional.
16874         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16875         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16877 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16879         [BZ #18589]
16880         * string/Makefile (tests): Add bug-strcoll2.
16881         (LOCALES): Add cs_CZ.UTF-8.
16882         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16884         [BZ #18589]
16885         * string/bug-strcoll2.c: New file.
16886         * locale/categories.def: Revert commit
16887         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16888         * locale/langinfo.h: Likewise.
16889         * locale/localeinfo.h: Likewise.
16890         * locale/C-collate.c: Likewise.
16891         * locale/programs/ld-collate.c (collate_output): Likewise.
16892         * string/strcoll_l.c (STRDIFF): Likewise.
16893         (STRCOLL): Likewise.
16894         * wcsmbs/wcscoll_l.c: Likewise.
16896 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16898         * math/libm-test.inc (lround_test_data): Do not expect the absence
16899         of "inexact" for some tests with non-integer arguments.
16900         (llround_test_data): Likewise.
16902         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16903         test.
16904         (libc_cv_cc_sse2avx): Likewise.
16905         * sysdeps/i386/configure: Regenerated.
16906         * sysdeps/i386/i686/multiarch/Makefile
16907         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16908         [$(subdir) = math].
16909         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16910         code unconditional.
16911         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16912         Likewise.
16913         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16914         Likewise.
16915         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16916         Likewise.
16917         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16918         test.
16919         (libc_cv_cc_sse2avx): Likewise.
16920         * sysdeps/x86_64/configure: Regenerated.
16921         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16922         unconditional.
16923         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16924         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16925         unconditional.
16926         (_dl_runtime_profile)
16927         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16928         conditional code.
16929         * sysdeps/x86_64/fpu/multiarch/Makefile
16930         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16931         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16932         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16933         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16934         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16935         * sysdeps/x86_64/fpu/multiarch/e_log.c
16936         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16937         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16938         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16939         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16940         Likewise.
16941         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16942         Likewise.
16943         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16944         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16945         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16946         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16947         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16948         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16949         (HAVE_SSE2AVX_SUPPORT): Likewise.
16951 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16953         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16954         instead of #pragma optimize.
16956 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16958         [BZ #17195]
16959         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16960         as is similarly done in systrim and _int_free already.
16962 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16964         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16966 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16968         [BZ #19088]
16969         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16970         <limits.h>.
16971         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16972         overflows but exception would not result from cast.
16973         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16974         and <limits.h>.
16975         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16976         overflows but exception would not result from cast.
16977         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16978         <limits.h>.
16979         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16980         overflows but exception would not result from cast.
16981         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16982         <limits.h>.
16983         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16984         overflows but exception would not result from cast.
16985         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16986         <limits.h>.
16987         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16988         overflows but exception would not result from cast.
16989         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16990         <limits.h>.
16991         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16992         overflows but exception would not result from cast.
16993         * math/libm-test.inc (lround_test_data): Add more tests.
16994         (llround_test_data): Likewise.
16996 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16998         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16999         (CFLAGS-ialloc.c): Ditto.
17000         (CFLAGS-scheck.c): Ditto.
17002 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17004         [BZ #19086]
17005         * manual/filesys.texi (Storage Allocation): Fix argument order for
17006         posix_fallocate64.
17008 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17010         [BZ #19085]
17011         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17012         exponent below 48 inside case for non-overflowing exponent.
17013         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17015 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17017         * iconvdata/cp737.h (from_idx): Add const.
17018         * iconvdata/cp775.h (from_idx): Likewise.
17020 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17022         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17023         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17024         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17026         [BZ #19079]
17027         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17028         file, conditioned on [!_LP64].
17029         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17030         [!_LP64] (__lround): Do not define as function or alias.
17031         [!_LP64] (lround): Likewise.
17032         [!_LP64] (__lroundl): Likewise.
17033         [!_LP64] (lroundl): Likewise.
17034         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17035         macro.
17036         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17037         Likewise.
17039 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17041         * math/libm-test.inc (lrint_test_data): Add more tests.
17042         (llrint_test_data): Likewise.
17043         (lround_test_data): Likewise.
17044         (llround_test_data): Likewise.
17046         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17047         (llrint_test_data): Add tests used for lrint.
17049         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17050         test.
17051         * sysdeps/i386/configure: Regenerated.
17052         * sysdeps/i386/i686/multiarch/Makefile
17053         [$(config-cflags-sse4) = yes]: Make code unconditional.
17054         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17055         Likewise.
17056         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17057         Likewise.
17058         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17059         test.
17060         * sysdeps/x86_64/configure: Regenerated.
17061         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17062         Make code unconditional.
17063         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17064         Likewise.
17065         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17066         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17068         * scripts/rpm2dynsym.sh: Remove file.
17070 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17072         * configure.ac (libc_cv_cxx_thread_local): Define.
17073         * configure: Regenerate.
17074         * config.make.in (have-cxx-thread_local): Define.
17075         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17076         (LDLIBS-tst-thread_local1): Define.
17077         (tests): Add tst-thread_local1.
17078         [have-cxx-thread_local != yes] (tests-unsupported): Add
17079         tst-thread_local1.
17080         * nptl/tst-thread_local1.cc: New file.
17082 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17084         [BZ #19078]
17085         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17086         (u_thres): Likewise.
17087         (__expl): Determine whether to call __kernel_standard_l based on
17088         value of result, not argument.
17090         * math/libm-test.inc (scalb_test_data): Add more expectations for
17091         the "inexact" exception.
17093         [BZ #19077]
17094         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17095         0.0L for argument 1.0L.
17097         [BZ #19076]
17098         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17099         constant 0.0L when computing infinite result.
17101 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17103         [BZ #10432]
17104         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17105         malloc_usable_size.
17107 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17109         [BZ #19018]
17110         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17111         Mangle function pointer before storing it.
17112         (__call_tls_dtors): Demangle function pointer before calling it.
17114 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17116         [BZ #19012]
17117         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17118         Clean up on failure.
17120 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17122         [BZ #19071]
17123         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17124         long int variable to store possibly incremented high part of
17125         mantissa.
17126         * math/libm-test.inc (lround_test_data): Add tests used for
17127         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17128         for tests requiring 64-bit long.  Do not condition tests on
17129         [TEST_FLOAT] unnecessarily.
17130         (llround_test_data): Add tests used for lround.  Add another
17131         expectation for the "inexact" exception.  Do not condition tests
17132         on [TEST_FLOAT] unnecessarily.
17134         [BZ #887]
17135         [BZ #19049]
17136         [BZ #19050]
17137         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17138         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17139         <fix-int-fp-convert-zero.h>.
17140         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17141         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17142         <fix-int-fp-convert-zero.h>.
17143         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17144         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17145         <fix-int-fp-convert-zero.h>.
17146         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17147         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17148         <fix-int-fp-convert-zero.h>.
17149         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17150         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17151         <fix-int-fp-convert-zero.h>.
17152         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17153         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17154         <fix-int-fp-convert-zero.h>.
17155         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17156         * sysdeps/ieee754/flt-32/s_erff.c: Include
17157         <fix-int-fp-convert-zero.h>.
17158         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17159         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17160         <fix-int-fp-convert-zero.h>.
17161         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17163         <fix-int-fp-convert-zero.h>.
17164         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17165         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17166         <fix-int-fp-convert-zero.h>.
17167         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17168         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17169         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17170         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17171         file.
17172         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17174 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17176         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17178 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17180         [BZ #19059]
17181         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17182         overflowing computation.
17183         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17184         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17185         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17186         Likewise.
17187         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17188         Likewise.
17189         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17190         Likewise.
17191         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17192         Likewise.
17193         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17194         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17195         Likewise.
17196         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17197         Likewise.
17198         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17200         * nss/rewrite_field.c (__nss_rewrite_field): Use
17201         internal_function.
17202         * nss/valid_field.c (__nss_valid_field): Likewise.
17203         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17205 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17207         [BZ #18724]
17208         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17209         (__nss_invalid_field_characters, __nss_valid_field)
17210         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17211         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17212         tst-field.c: New file.
17213         * nss/Makefile (routines): Add valid_field, rewrite_field.
17214         (tests-static): Define unconditionally.
17215         (tests): Include tests-static.
17216         [build-static-nss] (tests-static): Use append.
17217         [build-static-nss] (tests): Remove modification.
17218         * nss/getent.c (print_group): Call putgrent.  Report error.
17219         (print_gshadow): Call putsgent.  Report error.
17220         (print_passwd): Call putpwent.  Report error.
17221         (print_shadow): Call putspent.  Report error.
17222         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17223         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17224         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17225         name, password, directory, shell fields for valid syntax.  Rewrite
17226         GECOS field to match syntax.
17227         * pwd/Makefile (tests): Add tst-putpwent.
17228         * pwd/tst-putpwent.c: New file.
17229         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17230         Check grName, grpasswd, gr_mem fields for valid syntax.
17231         Change loop variable i to size_t.
17232         * grp/Makefile (tests): Add tst-putgrent.
17233         * grp/tst-putgrent.c: New file.
17234         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17235         valid syntax.
17236         * shadow/Makefile (tests): Add tst-putspent.
17237         * shadow/tst-putspent.c: New file.
17238         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17239         sg_mem fields for valid syntax.
17240         * gshadow/Makefile (tests): Add tst-putsgent.
17241         * gshadow/tst-putsgent.c: New file.
17243 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17245         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17246         assembly instructions.
17248 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17250         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17251         prefix from operands.
17253 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17255         [BZ #16347]
17256         [BZ #19046]
17257         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17258         <libc-internal.h>.
17259         (MAXLGM): Do not use diagnostic control macros.
17260         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17261         threshold for ldbl-128ibm.
17262         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17263         instead of multiplying by log then subtracting.
17264         * math/auto-libm-test-in: Add more tests of lgamma.
17265         * math/auto-libm-test-out: Regenerated.
17267         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17268         (TYPE_HEX_DIG): Likewise.
17269         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17270         precisions when printing floating-point numbers.
17271         (check_float_internal): Likewise.
17273 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17275         [BZ #16620]
17276         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17277         of log (10) rounded downward to 48 bits.
17278         (log10_low): Use corresponding low part of log (10).
17280         [BZ #19032]
17281         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17282         compute result as (x - x) / (x - x) not as 0 / 0.
17283         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17284         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17286         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17287         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17288         and expm1.
17289         * math/auto-libm-test-out: Regenerated.
17290         * math/libm-test.inc (acos_test_data): Add more tests.
17291         (asin_test_data): Likewise.
17292         (asinh_test_data): Likewise.
17293         (atan_test_data): Likewise.
17294         (atanh_test_data): Likewise.
17295         (atan2_test_data): Likewise.
17296         (cbrt_test_data): Likewise.
17297         (ceil_test_data): Likewise.
17298         (copysign_test_data): Likewise.
17299         (cos_test_data): Likewise.
17300         (cosh_test_data): Likewise.
17301         (erf_test_data): Likewise.
17302         (erfc_test_data): Likewise.
17303         (exp_test_data): Likewise.
17304         (exp10_test_data): Likewise.
17305         (exp2_test_data): Likewise.
17306         (expm1_test_data): Likewise.
17307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17309 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17311         [BZ #19006]
17312         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17313         to ...
17314         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17315         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17316         to ...
17317         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17318         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17319         to ...
17320         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17321         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17322         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17323         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17324         to ...
17325         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17326         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17327         Moved to ...
17328         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17329         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17330         Moved to ...
17331         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17332         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17333         to ...
17334         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17335         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17336         Moved to ...
17337         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17338         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17339         to ...
17340         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17341         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17342         Removed.
17343         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17344         Likewise.
17345         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17346         Likewise.
17347         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17348         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17349         Likewise.
17350         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17351         Likewise.
17352         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17353         Likewise.
17354         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17355         Likewise.
17356         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17357         Likewise.
17358         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17359         Likewise.
17360         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17361         Likewise.
17362         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17363         Likewise.
17364         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17365         Likewise.
17366         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17367         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17368         Likewise.
17369         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17370         Likewise.
17371         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17372         Likewise.
17373         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17374         Likewise.
17375         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17376         Likewise.
17377         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17378         Replace ../i486/pthread_cond_timedwait.S with
17379         ../pthread_cond_timedwait.S.
17381 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17383         * math/libm-test.inc (acos_test_data): Refine expectations for
17384         errno and "inexact" exceptions.
17385         (acosh_test_data): Likewise.
17386         (asin_test_data): Likewise.
17387         (asinh_test_data): Likewise.
17388         (atan_test_data): Likewise.
17389         (atanh_test_data): Likewise.
17390         (atan2_test_data): Likewise.
17391         (cbrt_test_data): Likewise.
17392         (ceil_test_data): Likewise.
17393         (copysign_test_data): Likewise.
17394         (cosh_test_data): Likewise.
17395         (erf_test_data): Likewise.
17396         (erfc_test_data): Likewise.
17397         (exp_test_data): Likewise.
17398         (exp10_test_data): Likewise.
17399         (exp2_test_data): Likewise.
17400         (expm1_test_data): Likewise.
17401         (fabs_test_data): Likewise.
17402         (floor_test_data): Likewise.
17403         (fma_test_data): Likewise.
17404         (fmax_test_data): Likewise.
17405         (fmin_test_data): Likewise.
17406         (fmod_test_data): Likewise.
17407         (fpclassify_test_data): Likewise.
17408         (frexp_test_data): Likewise.
17409         (hypot_test_data): Likewise.
17410         (ilogb_test_data): Likewise.
17411         (isgreater_test_data): Likewise.
17412         (isgreaterequal_test_data): Likewise.
17413         (isinf_test_data): Likewise.
17414         (isless_test_data): Likewise.
17415         (islessequal_test_data): Likewise.
17416         (islessgreater_test_data): Likewise.
17417         (isnan_test_data): Likewise.
17418         (isnormal_test_data): Likewise.
17419         (issignaling_test_data): Likewise.
17420         (isunordered_test_data): Likewise.
17421         (j0_test_data): Likewise.
17422         (j1_test_data): Likewise.
17423         (jn_test_data): Likewise.
17424         (lgamma_test_data): Likewise.
17425         (lrint_test_data): Likewise.
17426         (llrint_test_data): Likewise.
17427         (log_test_data): Likewise.
17428         (log10_test_data): Likewise.
17429         (log1p_test_data): Likewise.
17430         (log2_test_data): Likewise.
17431         (logb_test_data): Likewise.
17432         (lround_test_data): Likewise.
17433         (llround_test_data): Likewise.
17434         (modf_test_data): Likewise.
17435         (nearbyint_test_data): Likewise.
17436         (nextafter_test_data): Likewise.
17437         (nexttoward_test_data): Likewise.
17438         (pow_test_data): Likewise.
17439         (remainder_test_data): Likewise.
17440         (remquo_test_data): Likewise.
17441         (rint_test_data): Likewise.
17442         (round_test_data): Likewise.
17443         (signbit_test_data): Likewise.
17444         (sinh_test_data): Likewise.
17445         (sqrt_test_data): Likewise.
17446         (tanh_test_data): Likewise.
17447         (tgamma_test_data): Likewise.
17448         (trunc_test_data): Likewise.
17449         (y0_test_data): Likewise.
17450         (y1_test_data): Likewise.
17451         (yn_test_data): Likewise.
17452         (significand_test_data): Likewise.
17454 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17456         * manual/filesys.texi (Storage Allocation): Document that
17457         posix_fallocate emulation fails when fd is open with O_WRONLY.
17459 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17461         [BZ #19016]
17462         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17463         allow more cases with X^2 + Y^2 >= 0.5.
17464         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17465         normal element in sum instead of special-casing based on values of
17466         arguments.
17467         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17468         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17469         -1 as normal element in sum instead of special-casing based on
17470         values of arguments.
17471         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17472         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17473         (__x2y2m1): Update comment.
17474         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17475         as normal element in sum instead of special-casing based on values
17476         of arguments.
17477         * math/s_clog.c (__clog): Handle more cases using log1p without
17478         hypot.
17479         * math/s_clog10.c (__clog10): Likewise.
17480         * math/s_clog10f.c (__clog10f): Likewise.
17481         * math/s_clog10l.c (__clog10l): Likewise.
17482         * math/s_clogf.c (__clogf): Likewise.
17483         * math/s_clogl.c (__clogl): Likewise.
17484         * math/auto-libm-test-in: Add more tests of clog and clog10.
17485         * math/auto-libm-test-out: Regenerated.
17486         * sysdeps/i386/fpu/libm-test-ulps: Update.
17487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17489 2015-09-28  Martin Sebor  <msebor@redhat.com>
17491         [BZ #18969]
17492         * string/Makefile (LOCALES): Define.
17493         (gen-locales.mk): Include.
17494         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17495         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17496         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17497         on setlocale failure.
17499 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17501         [BZ #18985]
17502         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17503         (__strftime_internal): Likewise.
17504         * time/tst-strftime.c (do_bz18985): New test.
17505         (do_test): Call it.
17507 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17509         [BZ #18956]
17510         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17511         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17512         extracting high part.
17513         * math/auto-libm-test-in: Add another test of pow.
17514         * math/auto-libm-test-out: Regenerated.
17515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17517 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17519         [BZ #18825]
17520         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17521         New macro.
17522         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17523         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17524         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17525         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17526         DBL_NARROW_EVAL, reloading the PIC register as needed.
17527         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17528         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17529         FLT_NARROW_EVAL.  Use separate return path for case when first
17530         argument is NaN.
17531         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17532         DEFINE_LDBL_MIN.
17533         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17534         PIC register.
17535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17536         math_check_force_underflow_nonneg.
17537         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17538         underflow for subnormal result.
17539         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17540         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17541         math_check_force_underflow_nonneg.
17542         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17543         math_check_force_underflow.
17544         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17545         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17546         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17547         DEFINE_LDBL_MIN.
17548         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17549         * math/auto-libm-test-in: Add more tests of pow.
17550         * math/auto-libm-test-out: Regenerated.
17552 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17554         * nss/bug17079.c (init_test_items): Add diagnostic for
17555         inconsistent entries.
17556         (test_buffer_size): Skip inconsistent entries.
17558 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17560         [BZ #13304]
17561         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17562         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17563         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17565         [BZ #13304]
17566         * sysdeps/microblaze/s_fma.c: New file.
17567         * sysdeps/microblaze/s_fmaf.c: Likewise.
17568         * sysdeps/microblaze/sfp-machine.h: Likewise.
17570 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17572         [BZ #17250]
17573         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17574         member.
17576 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17578         [BZ #18803]
17579         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17580         (MO): New macro.
17581         (__ieee754_hypot) [PIC]: Load PIC register.
17582         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17583         DBL_NARROW_EVAL.
17584         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17585         math_check_force_underflow_nonneg in case where result might be
17586         tiny.
17587         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17588         Likewise.
17589         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17590         Likewise.
17591         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17592         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17593         * math/auto-libm-test-in: Add more tests of hypot.
17594         * math/auto-libm-test-out: Regenerated.
17596 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17598         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17600 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17602         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17603         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17604         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17605         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17606         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17607         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17608         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17610         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17611         LOAD_PIC_REG.
17613         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17614         (FLT_CHECK_FORCE_UFLOW): Likewise.
17615         (DBL_CHECK_FORCE_UFLOW): Likewise.
17616         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17617         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17618         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17619         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17620         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17621         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17622         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17623         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17624         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17625         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17626         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17627         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17628         (flt_min): Replace with use of DEFINE_FLT_MIN.
17629         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17630         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17631         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17632         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17633         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17634         (flt_min): Replace with use of DEFINE_FLT_MIN.
17635         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17636         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17637         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17638         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17639         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17640         (flt_min): Replace with use of DEFINE_FLT_MIN.
17641         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17642         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17643         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17644         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17645         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17646         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17647         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17648         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17649         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17650         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17651         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17652         (flt_min): Replace with use of DEFINE_FLT_MIN.
17653         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17654         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17655         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17656         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17657         main computation.
17658         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17659         (flt_min): Replace with use of DEFINE_FLT_MIN.
17660         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17661         main computation.
17662         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17663         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17664         (MO): New macro.
17665         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17666         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17667         (flt_min): Replace with use of DEFINE_FLT_MIN.
17668         (MO): New macro.
17669         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17670         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17671         (__log1pl): Use MO.
17673         [BZ #19003]
17674         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17675         $(config-cflags-nofma).
17677 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17679         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17681 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17683         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17684         (TWO127): Likewise.
17686         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17687         (min_of_type): Likewise.
17688         (math_check_force_underflow): Likewise.
17689         (math_check_force_underflow_nonneg): Likewise.
17690         (math_check_force_underflow_complex): Likewise.
17691         * math/e_exp2l.c (__ieee754_exp2l): Use
17692         math_check_force_underflow_nonneg.
17693         * math/k_casinh.c (__kernel_casinh): Likewise.
17694         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17695         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17696         * math/s_catan.c (__catan): Use
17697         math_check_force_underflow_complex.
17698         * math/s_catanf.c (__catanf): Likewise.
17699         * math/s_catanh.c (__catanh): Likewise.
17700         * math/s_catanhf.c (__catanhf): Likewise.
17701         * math/s_catanhl.c (__catanhl): Likewise.
17702         * math/s_catanl.c (__catanl): Likewise.
17703         * math/s_ccosh.c (__ccosh): Likewise.
17704         * math/s_ccoshf.c (__ccoshf): Likewise.
17705         * math/s_ccoshl.c (__ccoshl): Likewise.
17706         * math/s_cexp.c (__cexp): Likewise.
17707         * math/s_cexpf.c (__cexpf): Likewise.
17708         * math/s_cexpl.c (__cexpl): Likewise.
17709         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17710         * math/s_clog10.c (__clog10): Likewise.
17711         * math/s_clog10f.c (__clog10f): Likewise.
17712         * math/s_clog10l.c (__clog10l): Likewise.
17713         * math/s_clogf.c (__clogf): Likewise.
17714         * math/s_clogl.c (__clogl): Likewise.
17715         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17716         * math/s_csinf.c (__csinf): Likewise.
17717         * math/s_csinh.c (__csinh): Likewise.
17718         * math/s_csinhf.c (__csinhf): Likewise.
17719         * math/s_csinhl.c (__csinhl): Likewise.
17720         * math/s_csinl.c (__csinl): Likewise.
17721         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17722         * math/s_csqrtf.c (__csqrtf): Likewise.
17723         * math/s_csqrtl.c (__csqrtl): Likewise.
17724         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17725         * math/s_ctanf.c (__ctanf): Likewise.
17726         * math/s_ctanh.c (__ctanh): Likewise.
17727         * math/s_ctanhf.c (__ctanhf): Likewise.
17728         * math/s_ctanhl.c (__ctanhl): Likewise.
17729         * math/s_ctanl.c (__ctanl): Likewise.
17730         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17731         instead of volatile.
17732         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17733         math_check_force_underflow.
17734         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17735         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17736         volatile when forcing underflow.
17737         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17738         math_check_force_underflow_nonneg.
17739         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17740         Likewise.
17741         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17742         math_check_force_underflow.
17743         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17744         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17745         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17746         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17747         math_check_force_underflow_nonneg.
17748         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17749         math_check_force_underflow.
17750         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17752         instead of volatile.
17753         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17754         math_check_force_underflow.
17755         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17756         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17757         math_check_force_underflow_nonneg.
17758         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17759         math_check_force_underflow.
17760         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17761         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17762         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17763         math_check_force_underflow_nonneg.
17764         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17765         Likewise.
17766         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17767         math_check_force_underflow.
17768         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17769         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17770         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17771         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17772         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17773         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17774         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17775         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17776         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17777         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17778         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17779         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17780         Likewise.
17781         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17782         math_check_force_underflow_nonneg.
17783         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17784         Likewise.
17785         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17786         math_check_force_underflow.
17787         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17788         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17789         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17790         Likewise.
17791         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17792         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17793         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17794         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17795         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17796         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17798         instead of volatile.
17799         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17800         math_check_force_underflow.
17801         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17803         math_check_force_underflow.
17804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17805         Likewise.
17806         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17807         Use math_check_force_underflow_nonneg.
17808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17809         math_check_force_underflow.
17810         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17811         Likewise.
17812         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17813         Likewise.
17814         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17815         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17816         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17817         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17819         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17820         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17821         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17822         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17823         math_check_force_underflow_nonneg.
17824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17825         math_check_force_underflow.
17826         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17827         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17828         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17829         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17830         math_check_force_underflow_nonneg.
17831         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17832         math_check_force_underflow.
17833         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17835         instead of volatile.
17836         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17837         math_check_force_underflow.
17839         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17840         * stdlib/strtod_l.c: Include <math_private.h>.
17841         (overflow_value): Use math_narrow_eval.
17842         (underflow_value): Likewise.
17843         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17844         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17845         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17846         (__ieee754_gamma_r): Likewise.
17847         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17848         Likewise.
17849         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17850         Likewise.
17851         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17852         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17853         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17854         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17855         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17856         (__ieee754_gammaf_r): Likewise.
17857         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17858         Likewise.
17859         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17860         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17861         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17862         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17863         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17864         volatile.
17865         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17866         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17867         math_narrow_eval.
17868         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17869         Likewise.
17870         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17871         Likewise.
17872         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17873         Likewise.
17874         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17875         volatile.
17876         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17877         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17878         math_narrow_eval.
17879         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17880         Likewise.
17881         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17882         Likewise.
17884 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17886         * nptl/Versions: Remove ignored symbols.
17888 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17890         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17891         * nss/Makefile (tests): Update.
17893 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17895         * nss/bug18287.c: New file.
17896         * nss/Makefile (tests): Add bug18287.
17898 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17900         * mach/Versions (__mach_host_self_): Add symbol.
17902 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17904         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17905         vm_page_size.
17907 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17909         Really fix sysdeps/i386/fpu/s_scalbn.S build
17911         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17912         (libc: GLIBC_2_22): Remove unused version set.
17914 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17916         * config.make.in (enable-timezone-tools): New variable.
17917         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17918         (enable_timezone_tools): Export to generated files.
17919         * configure: Regenerate.
17920         * INSTALL: Regenerate.
17921         * manual/install.texi (--disable-timezone-tools): Document new flag.
17922         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17923         ifeq ($(enable-timezone-tools),yes) check.
17925 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17927         * timezone/Makefile: Revert previous change.
17929         [BZ #18980]
17930         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17931         (DEFINE_DBL_MIN): Likewise.
17932         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17933         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17934         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17935         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17936         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17937         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17938         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17939         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17940         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17941         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17942         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17943         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17944         (flt_min): Replace with use of DEFINE_FLT_MIN.
17945         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17946         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17947         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17948         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17949         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17950         (flt_min): Replace with use of DEFINE_FLT_MIN.
17951         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17952         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17953         (flt_min): Replace with use of DEFINE_FLT_MIN.
17954         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17955         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17956         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17957         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17958         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17959         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17960         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17961         (__ieee754_pow): Use DBL_NARROW_EVAL.
17962         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17963         (__ieee754_powf): Use FLT_NARROW_EVAL.
17964         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17965         (__ieee754_expf_sse2): Convert double-precision result to single
17966         precision.
17967         * sysdeps/i386/fpu/libm-test-ulps: Update.
17969 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17971         * timezone/Makefile: Ignore unused variable errors due to private.h
17972         (time_t_min) and (time_t_max).
17973         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17974         Likewise.
17976 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17978         [BZ #18981]
17979         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17980         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17981         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17982         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17983         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17984         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17985         (__scalbn): Use DBL_NARROW_EVAL.
17986         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17987         (__scalbnf): Use FLT_NARROW_EVAL.
17989 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17991         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17992         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17993         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17994         * stdio-common/printf_fp.c (___printf_fp):
17995         Use signbit to get the sign. Use isinf macro to allow inlining.
17996         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17997         * stdio-common/printf_size.c (__printf_size): Likewise.
17999 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18001         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18003 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18005         [BZ #18980]
18006         * sysdeps/generic/math_private.h: Include <float.h>.
18007         (math_narrow_eval): New macro.
18008         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18009         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18010         math_narrow_eval on overflowing return value.
18011         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18012         Likewise.
18013         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18014         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18015         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18016         Likewise.
18017         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18019 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18021         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18022         * math/Makefile: Remove isinf_ns.c.
18023         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18024         * math/multc3.c (__multc3): Likewise.
18025         * math/s_casin.c (__casin): Likewise.
18026         * math/s_casinf.c (__casinf): Likewise.
18027         * math/s_casinl.c (__casinl): Likewise.
18028         * math/s_cproj.c (__cproj): Likewise.
18029         * math/s_cprojf.c (__cprojf): Likewise.
18030         * math/s_cprojl.c (__cprofl): Likewise.
18031         * math/s_ctan.c (__ctan): Likewise.
18032         * math/s_ctanf.c (__ctanf): Likewise.
18033         * math/s_ctanh.c (__ctanh): Likewise.
18034         * math/s_ctanhf.c (__ctanhf): Likewise.
18035         * math/s_ctanhl.c (__ctanhl): Likewise.
18036         * math/s_ctanl.c (__ctanl): Likewise.
18037         * math/w_fmod.c (__fmod): Likewise.
18038         * math/w_fmodf.c (__fmodf): Likewise.
18039         * math/w_fmodl.c (_fmodl): Likewise.
18040         * math/w_remainder.c (__remainder): Likewise.
18041         * math/w_remainderf.c (__remainderf): Likewise.
18042         * math/w_remainderl.c (__remainderl): Likewise.
18043         * math/w_scalb.c (__scalb): Likewise.
18044         * math/w_scalbf.c (__scalbf): Likewise.
18045         * math/w_scalbl.c (__scalbl): Likewise.
18046         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18047         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18048         with isinf.
18049         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18050         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18051         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18052         __isinf_nsf with isinf.
18053         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18054         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18055         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18056         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18057         with isinf.
18058         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18059         __isinf_nsl with isinf.
18060         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18061         with isinf.
18062         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18063         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18064         __isinf_nsl with isinf.
18065         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18066         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18067         with isinf.
18069 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18071         * resolv/base64.c (rcsid): Remove unused static.
18072         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18073         static.  (tqpi1): Likewise.
18074         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18075         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18076         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18077         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18078         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18079         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18080         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18081         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18082         Likewise.
18084 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18086         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18087         <nptl/pthreadP.h>.
18088         (_longjmp_unwind): Use __libc_ptf_call.
18089         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18091 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18093         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18094         * sysdeps/arm/__longjmp.S: Likewise.
18096 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18098         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18099         Use __builtin_signbit.
18100         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18101         Use __builtin_signbitf.
18102         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18103         Use __builtin_signbitl.
18104         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18105         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18107 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18109         [BZ #15367]
18110         [BZ #17441]
18112         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18113         * math/math.h (fpclassify): Use __builtin_fpclassify when
18114         available.  (signbit): Use __builtin_signbit(f/l).
18115         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18116         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18117         (isinf): Use __builtin_isinf_sign.
18119 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18121         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18122         * benchtests/bench-math-inlines.c: New benchmark.
18123         * benchtests/bench-util.h: New file.
18124         * benchtests/bench-util.c: New file.
18125         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18127 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18129         * elf/tst-dlmopen1.c: Define TEST_SO.
18130         (do_test): Use TEST_SO.
18132         * elf/dl-load.c: Include libc-internal.h.
18133         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18135 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18137         [BZ #17887]
18138         * time/strptime_l.c (__strptime_internal): Make %z accept
18139         [+-]HH:MM time zones.
18141 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18143         [BZ #17886]
18144         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18145         valid time zone.
18147 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18149         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18150         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18151         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18152         (__ASSUME_FDATASYNC): Delete.
18154 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18156         * conform/linknamespace.pl: Require weak undefined symbols to be
18157         in the standard namespace.
18158         (%strong_syms): Rename to %seen_syms.
18159         (%strong_seen): Rename to %seen_where.
18161 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18163         [BZ #18970]
18164         * misc/error.c (error): Replace pthread_setcancelstate with
18165         __pthread_setcancelstate.
18166         (error_at_line): Likewise.
18167         * posix/wordexp.c (parse_comm): Likewise.
18168         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18169         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18170         (__pthread_setcancelstate): This.
18171         (pthread_setcancelstate): Add an alias.
18172         * nptl/nptl-init.c (pthread_functions): Replace
18173         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18174         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18175         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18176         hidden_proto.
18177         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18178         it with hidden_def.
18179         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18180         (pthread_setcancelstate): Renamed to ...
18181         (__pthread_setcancelstate): This.
18182         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18183         __libc_ptf_call with __pthread_setcancelstate.
18185 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18186             Andreas Schwab  <schwab@suse.de>
18188         [BZ #17118]
18189         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18190         result when imaginary part of argument is infinite using sine and
18191         cosine.
18192         * math/s_ctanf.c (__ctanf): Likewise.
18193         * math/s_ctanl.c (__ctanl): Likewise.
18194         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18195         of result when real part of argument is infinite using sine and
18196         cosine.
18197         * math/s_ctanhf.c (__ctanhf): Likewise.
18198         * math/s_ctanhl.c (__ctanhl): Likewise.
18199         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18200         (ctanh_test_data): Add more tests of ctanh.
18202 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18204         [BZ #15384]
18205         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18206         bit-mask as in subtraction.
18207         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18208         Likewise.
18209         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18210         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18211         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18213         [BZ #18951]
18214         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18215         underflow exception for small results.
18216         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18217         Likewise.
18218         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18219         Likewise.
18220         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18221         Likewise.
18222         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18223         Likewise.
18224         * math/auto-libm-test-in: Add more tests of tgamma.
18225         * math/auto-libm-test-out: Regenerated.
18227 2015-09-17  Andreas Schwab  <schwab@suse.de>
18229         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18231 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18233         [BZ #18977]
18234         * math/bits/mathcalls.h
18235         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18236         not declare.
18237         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18238         Likewise.
18239         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18240         Likewise.
18241         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18242         Likewise.
18243         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18244         Likewise.
18245         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18246         Likewise.
18247         * conform/data/math.h-data
18248         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18249         function.
18250         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18251         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18252         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18253         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18254         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18255         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18256         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18257         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18258         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18259         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18262         [BZ #6803]
18263         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18264         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18265         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18266         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18267         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18268         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18269         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18270         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18271         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18272         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18273         Likewise.
18274         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18275         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18276         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18277         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18278         long_double_symbol calls.
18279         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18280         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18281         strong alias of __ldexpl.
18282         (scalbnl): Define using long_double_symbol.
18283         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18284         Remove alias.
18285         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18286         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18287         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18288         (scalbln_test_data): Add more errno expectations.
18290 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18292         Cache the host port like we cache the task port.  This way we do not
18293         need to call the kernel just to get the port.  Furthermore, we no
18294         longer increase the reference count on every invocation of
18295         `mach_host_self'.
18297         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18298         Protect declarations against the macro expansion.
18299         * mach/mach_init.c (__mach_host_self_): New variable.
18300         (mach_init): Initialize `__mach_host_self_'.
18301         * mach/mach_init.h (__mach_host_self_): New declaration.
18302         (__mach_host_self, mach_host_self): New macros.
18303         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18304         Release reference.
18306 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18308         [BZ #4404]
18309         * po/de.po: Update from Translation Project.
18311         [BZ #16415]
18312         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18313         (__expm1l): Remove code to handle positive infinity and overflow.
18314         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18315         variable.
18316         (__expm1l): Remove code to handle positive infinity and overflow.
18318 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18319             Paul Pluzhnikov  <ppluzhnikov@google.com>
18321         [BZ #18872]
18322         * stdio-common/Makefile (tst-printf-bz18872): New test.
18323         (tst-printf-bz18872-mem.out): Likewise.
18324         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18325         * stdio-common/vfprintf.c: Fix memory leaks.
18327 2015-09-16  Andreas Schwab  <schwab@suse.de>
18329         [BZ #17244]
18330         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18331         Remove extra va_start/va_end calls.
18333         [BZ #17243]
18334         * posix/execl.c (execl): Add missing va_end.
18335         * posix/execle.c (execle): Likewise.
18336         * posix/execlp.c (execlp): Likewise.
18338 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18340         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18341         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18343 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18345         [BZ #18967]
18346         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18347         undefine around includes of <bits/mathcalls.h>.
18348         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18349         not declare function.
18350         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18351         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18352         (scalb): Likewise.
18353         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18354         not define macro.
18355         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18356         variable.
18357         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18358         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18359         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18361         [BZ #18857]
18362         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18363         return non-finite argument without doing ordered comparisons on
18364         it.
18366         [BZ #16296]
18367         * math/fenv.h (fegetround): Use __attribute_pure__.
18368         * include/fenv.h (__fegetround): Likewise.
18370         [BZ #18595]
18371         * math/s_ctan.c (__ctan): Force underflow exception for results
18372         whose real or imaginary part has small absolute value.
18373         * math/s_ctanf.c (__ctanf): Likewise.
18374         * math/s_ctanh.c (__ctanh): Likewise.
18375         * math/s_ctanhf.c (__ctanhf): Likewise.
18376         * math/s_ctanhl.c (__ctanhl): Likewise.
18377         * math/s_ctanl.c (__ctanl): Likewise.
18378         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18379         and ctanh.  Add more tests of ctan and ctanh.
18381         [BZ #15918]
18382         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18383         handling of cases where one argument is an infinity.
18385         [BZ #18875]
18386         [BZ #18966]
18387         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18388         (MO): New macro.
18389         (__ieee754_exp10): For small results, force underflow exception
18390         and remove excess range and precision from return value.
18391         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18392         (MO): New macro.
18393         (__ieee754_exp10f): For small results, force underflow exception
18394         and remove excess range and precision from return value.
18395         * math/auto-libm-test-in: Add more tests of exp10.
18396         * math/auto-libm-test-out: Regenerated.
18398 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18400         [BZ #18875]
18401         [BZ #18961]
18402         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18403         (MO): New macro.
18404         (__ieee754_exp): For small results, force underflow exception and
18405         remove excess range and precision from return value.
18406         (__exp_finite): Likewise.
18407         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18408         (MO): New macro.
18409         (__ieee754_expf): For small results, force underflow exception and
18410         remove excess range and precision from return value.
18411         (__expf_finite): Likewise.
18412         * math/auto-libm-test-in: Add more tests of exp.
18413         * math/auto-libm-test-out: Regenerated.
18415         [BZ #16521]
18416         [BZ #18875]
18417         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18418         small results.
18419         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18420         (MO): New macro.
18421         (__ieee754_exp2): For small results, force underflow exception and
18422         remove excess range and precision from return value.
18423         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18424         (MO): New macro.
18425         (__ieee754_exp2f): For small results, force underflow exception
18426         and remove excess range and precision from return value.
18427         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18428         (MO): New macro.
18429         (__ieee754_exp2l): Force underflow exception for small results.
18430         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18431         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18432         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18433         (MO): New macro.
18434         (__ieee754_exp2l): Force underflow exception for small results.
18435         * math/auto-libm-test-in: Add more tests or exp2.
18436         * math/auto-libm-test-out: Regenerated.
18438 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18440         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18442         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18443         /dev/null.
18445 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18447         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18448         io fs process)): Drop spurious backslash.
18450 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18453         Use sysinfo system call instead of parsing /proc/meminfo.
18454         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18455         Likewise.
18457 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18459         [BZ #16985]
18460         * programs/localedef.c (main): Display argv[remaining] when
18461         output_path is NULL.
18463 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18465         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18466         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18467         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18468         tanh.
18469         * math/auto-libm-test-out: Regenerated.
18470         * sysdeps/i386/fpu/libm-test-ulps: Update.
18471         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18472         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18475 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18477         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18478         Use 'override' keyword to freeze the value here, preventing
18479         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18481 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18483         [BZ #14912]
18484         * sysdeps/aarch64/bits/atomic.h: Move to ...
18485         * sysdeps/aarch64/atomic-machine.h: ...here.
18486         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18487         _AARCH64_ATOMIC_MACHINE_H.
18488         * sysdeps/alpha/bits/atomic.h: Move to ...
18489         * sysdeps/alpha/atomic-machine.h: ...here.
18490         * sysdeps/arm/bits/atomic.h: Move to ...
18491         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18492         * bits/atomic.h: Move to ...
18493         * sysdeps/generic/atomic-machine.h: ...here.
18494         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18495         * sysdeps/i386/bits/atomic.h: Move to ...
18496         * sysdeps/i386/atomic-machine.h: ...here.
18497         * sysdeps/ia64/bits/atomic.h: Move to ...
18498         * sysdeps/ia64/atomic-machine.h: ...here.
18499         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18500         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18501         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18502         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18503         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18504         * sysdeps/microblaze/bits/atomic.h: Move to ...
18505         * sysdeps/microblaze/atomic-machine.h: ...here.
18506         * sysdeps/mips/bits/atomic.h: Move to ...
18507         * sysdeps/mips/atomic-machine.h: ...here.
18508         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18509         * sysdeps/powerpc/bits/atomic.h: Move to ...
18510         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18511         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18512         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18513         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18514         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18515         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18516         <atomic-machine.h> instead of <bits/atomic.h>.
18517         * sysdeps/s390/bits/atomic.h: Move to ...
18518         * sysdeps/s390/atomic-machine.h: ...here.
18519         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18520         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18521         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18522         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18523         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18524         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18525         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18526         * sysdeps/tile/bits/atomic.h: Move to ...
18527         * sysdeps/tile/atomic-machine.h: ...here.
18528         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18529         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18530         <sysdeps/tile/atomic-machine.h> instead of
18531         <sysdeps/tile/bits/atomic.h>.
18532         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18533         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18534         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18535         <sysdeps/tile/atomic-machine.h> instead of
18536         <sysdeps/tile/bits/atomic.h>.
18537         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18538         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18539         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18540         <sysdeps/arm/atomic-machine.h> instead of
18541         <sysdeps/arm/bits/atomic.h>.
18542         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18543         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18544         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18545         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18546         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18547         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18548         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18549         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18550         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18551         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18552         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18553         * sysdeps/x86_64/bits/atomic.h: Move to ...
18554         * sysdeps/x86_64/atomic-machine.h: ...here.
18555         * include/atomic.h: Include <atomic-machine.h> instead of
18556         <bits/atomic.h>.
18558         * sysdeps/mips/mips32/libm-test-ulps: Update.
18559         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18561         [BZ #18952]
18562         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18563         not convert non-integer negative arguments to int to determine the
18564         value of signgam.
18565         * math/auto-libm-test-in: Add more tests of lgamma.
18566         * math/auto-libm-test-out: Regenerated.
18568         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18569         cosh, csqrt, erfc, expm1 and lgamma.
18570         * math/auto-libm-test-out: Regenerated.
18571         * sysdeps/i386/fpu/libm-test-ulps: Update.
18572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18574 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18576         [BZ #2542]
18577         [BZ #2543]
18578         [BZ #2558]
18579         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18580         __lgamma_neg for arguments from -28.0 to -2.0.
18581         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18582         __lgamma_negf for arguments from -15.0 to -2.0.
18583         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18584         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18585         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18586         Call __lgamma_negl for arguments from -33.0 to -2.0.
18587         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18588         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18589         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18590         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18591         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18592         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18593         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18594         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18595         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18596         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18597         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18598         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18599         (__lgamma_neg): Likewise.
18600         (__lgamma_negl): Likewise.
18601         (__lgamma_product): Likewise.
18602         (__lgamma_productl): Likewise.
18603         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18604         * math/auto-libm-test-in: Add more tests of lgamma.
18605         * math/auto-libm-test-out: Regenerated.
18606         * sysdeps/i386/fpu/libm-test-ulps: Update.
18607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18609 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18611         [BZ #18675]
18612         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18614 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18616         [BZ #14912]
18617         * bits/libc-lock.h: Move to ...
18618         * sysdeps/generic/libc-lock.h: ...here.
18619         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18620         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18621         * sysdeps/mach/hurd/libc-lock.h: ...here.
18622         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18623         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18624         * sysdeps/mach/bits/libc-lock.h: Move to ...
18625         * sysdeps/mach/libc-lock.h: ...here.
18626         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18627         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18628         * sysdeps/nptl/libc-lock.h: ...here.
18629         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18630         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18631         * sysdeps/nptl/libc-lockP.h: ...here.
18632         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18633         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18634         <bits/libc-lock.h>.
18635         * dirent/scandir-tail.c: Likewise.
18636         * dlfcn/dlerror.c: Likewise.
18637         * elf/dl-close.c: Likewise.
18638         * elf/dl-iteratephdr.c: Likewise.
18639         * elf/dl-lookup.c: Likewise.
18640         * elf/dl-open.c: Likewise.
18641         * elf/dl-support.c: Likewise.
18642         * elf/dl-writev.h: Likewise.
18643         * elf/rtld.c: Likewise.
18644         * grp/fgetgrent.c: Likewise.
18645         * gshadow/fgetsgent.c: Likewise.
18646         * gshadow/sgetsgent.c: Likewise.
18647         * iconv/gconv_conf.c: Likewise.
18648         * iconv/gconv_db.c: Likewise.
18649         * iconv/gconv_dl.c: Likewise.
18650         * iconv/gconv_int.h: Likewise.
18651         * iconv/gconv_trans.c: Likewise.
18652         * include/link.h: Likewise.
18653         * inet/getnameinfo.c: Likewise.
18654         * inet/getnetgrent.c: Likewise.
18655         * inet/getnetgrent_r.c: Likewise.
18656         * intl/bindtextdom.c: Likewise.
18657         * intl/dcigettext.c: Likewise.
18658         * intl/finddomain.c: Likewise.
18659         * intl/gettextP.h: Likewise.
18660         * intl/loadmsgcat.c: Likewise.
18661         * intl/localealias.c: Likewise.
18662         * intl/textdomain.c: Likewise.
18663         * libidn/idn-stub.c: Likewise.
18664         * libio/libioP.h: Likewise.
18665         * locale/duplocale.c: Likewise.
18666         * locale/freelocale.c: Likewise.
18667         * locale/newlocale.c: Likewise.
18668         * locale/setlocale.c: Likewise.
18669         * login/getutent_r.c: Likewise.
18670         * login/getutid_r.c: Likewise.
18671         * login/getutline_r.c: Likewise.
18672         * login/utmp-private.h: Likewise.
18673         * login/utmpname.c: Likewise.
18674         * malloc/mtrace.c: Likewise.
18675         * misc/efgcvt.c: Likewise.
18676         * misc/error.c: Likewise.
18677         * misc/fstab.c: Likewise.
18678         * misc/getpass.c: Likewise.
18679         * misc/mntent.c: Likewise.
18680         * misc/syslog.c: Likewise.
18681         * nis/nis_call.c: Likewise.
18682         * nis/nis_callback.c: Likewise.
18683         * nis/nss-default.c: Likewise.
18684         * nis/nss_compat/compat-grp.c: Likewise.
18685         * nis/nss_compat/compat-initgroups.c: Likewise.
18686         * nis/nss_compat/compat-pwd.c: Likewise.
18687         * nis/nss_compat/compat-spwd.c: Likewise.
18688         * nis/nss_nis/nis-alias.c: Likewise.
18689         * nis/nss_nis/nis-ethers.c: Likewise.
18690         * nis/nss_nis/nis-grp.c: Likewise.
18691         * nis/nss_nis/nis-hosts.c: Likewise.
18692         * nis/nss_nis/nis-network.c: Likewise.
18693         * nis/nss_nis/nis-proto.c: Likewise.
18694         * nis/nss_nis/nis-pwd.c: Likewise.
18695         * nis/nss_nis/nis-rpc.c: Likewise.
18696         * nis/nss_nis/nis-service.c: Likewise.
18697         * nis/nss_nis/nis-spwd.c: Likewise.
18698         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18699         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18700         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18701         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18702         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18703         * nis/nss_nisplus/nisplus-network.c: Likewise.
18704         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18705         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18706         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18707         * nis/nss_nisplus/nisplus-service.c: Likewise.
18708         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18709         * nis/ypclnt.c: Likewise.
18710         * nptl/libc_pthread_init.c: Likewise.
18711         * nss/getXXbyYY.c: Likewise.
18712         * nss/getXXent.c: Likewise.
18713         * nss/getXXent_r.c: Likewise.
18714         * nss/nss_db/db-XXX.c: Likewise.
18715         * nss/nss_db/db-netgrp.c: Likewise.
18716         * nss/nss_db/nss_db.h: Likewise.
18717         * nss/nss_files/files-XXX.c: Likewise.
18718         * nss/nss_files/files-alias.c: Likewise.
18719         * nss/nsswitch.c: Likewise.
18720         * posix/regex_internal.h: Likewise.
18721         * posix/wordexp.c: Likewise.
18722         * pwd/fgetpwent.c: Likewise.
18723         * resolv/res_hconf.c: Likewise.
18724         * resolv/res_libc.c: Likewise.
18725         * shadow/fgetspent.c: Likewise.
18726         * shadow/lckpwdf.c: Likewise.
18727         * shadow/sgetspent.c: Likewise.
18728         * socket/opensock.c: Likewise.
18729         * stdio-common/reg-modifier.c: Likewise.
18730         * stdio-common/reg-printf.c: Likewise.
18731         * stdio-common/reg-type.c: Likewise.
18732         * stdio-common/vfprintf.c: Likewise.
18733         * stdio-common/vfscanf.c: Likewise.
18734         * stdlib/abort.c: Likewise.
18735         * stdlib/cxa_atexit.c: Likewise.
18736         * stdlib/fmtmsg.c: Likewise.
18737         * stdlib/random.c: Likewise.
18738         * stdlib/setenv.c: Likewise.
18739         * string/strsignal.c: Likewise.
18740         * sunrpc/auth_none.c: Likewise.
18741         * sunrpc/bindrsvprt.c: Likewise.
18742         * sunrpc/create_xid.c: Likewise.
18743         * sunrpc/key_call.c: Likewise.
18744         * sunrpc/rpc_thread.c: Likewise.
18745         * sysdeps/arm/backtrace.c: Likewise.
18746         * sysdeps/generic/ldsodefs.h: Likewise.
18747         * sysdeps/generic/stdio-lock.h: Likewise.
18748         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18749         * sysdeps/i386/backtrace.c: Likewise.
18750         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18751         * sysdeps/m68k/backtrace.c: Likewise.
18752         * sysdeps/mach/hurd/cthreads.c: Likewise.
18753         * sysdeps/mach/hurd/dirstream.h: Likewise.
18754         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18755         * sysdeps/nptl/malloc-machine.h: Likewise.
18756         * sysdeps/nptl/stdio-lock.h: Likewise.
18757         * sysdeps/posix/dirstream.h: Likewise.
18758         * sysdeps/posix/getaddrinfo.c: Likewise.
18759         * sysdeps/posix/system.c: Likewise.
18760         * sysdeps/pthread/aio_suspend.c: Likewise.
18761         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18762         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18763         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18764         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18765         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18766         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18767         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18768         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18769         * sysdeps/unix/sysv/linux/system.c: Likewise.
18770         * sysdeps/x86_64/backtrace.c: Likewise.
18771         * time/alt_digit.c: Likewise.
18772         * time/era.c: Likewise.
18773         * time/tzset.c: Likewise.
18774         * wcsmbs/wcsmbsload.c: Likewise.
18775         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18776         instead of <bits/libc-lock.h> in comment.
18778 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18780         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18781         Only use .set mips2 if the current ISA is below mips2.
18782         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18783         Likewise.
18784         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18785         mips32r2 if the current ISA is below mips32r2.
18786         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18787         (TLS_IE): Updated to use the TLD_RDHWR macro.
18788         (TLS_LE): Likewise.
18789         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18790         __ASSEMBLER__ condition.
18792 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18794         Fix parallel build of before-compile targets.
18796         * sysdeps/mach/Makefile ($(patsubst
18797         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18798         mach-before-compile target.
18799         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18800         io fs process)): Move rule to dedicated hurd-before-compile target.
18802 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18804         Fix rules generating headers in hurd/ and mach/ when initial make call
18805         has subdir= explicitly set.
18807         * sysdeps/mach/Makefile ($(patsubst
18808         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18809         calling $(MAKE).
18810         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18811         io fs process)): Force subdir to hurd when calling $(MAKE).
18812         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18813         subdir to mach when calling $(MAKE).
18815 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18817         Check sysheaders when looking for Mach and Hurd headers
18819         * sysdeps/mach/configure.ac: Add sysheaders check.
18820         * sysdeps/mach/configure: Regenerate.
18821         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18822         * sysdeps/mach/hurd/configure: Regenerate.
18824 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18826         [BZ #18921]
18827         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18828         Fix inverted sense of test of 'o_directory_works' value.
18829         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18830         Bernhard Voelker <mail@bernhard-voelker.de>.
18832 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #14912]
18835         * bits/linkmap.h: Move to ...
18836         * sysdeps/generic/linkmap.h: ...here.
18837         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18838         * sysdeps/aarch64/linkmap.h: ...here.
18839         * sysdeps/arm/bits/linkmap.h: Move to ...
18840         * sysdeps/arm/linkmap.h: ...here.
18841         * sysdeps/hppa/bits/linkmap.h: Move to ...
18842         * sysdeps/hppa/linkmap.h: ...here.
18843         * sysdeps/ia64/bits/linkmap.h: Move to ...
18844         * sysdeps/ia64/linkmap.h: ...here.
18845         * sysdeps/mips/bits/linkmap.h: Move to ...
18846         * sysdeps/mips/linkmap.h: ...here.
18847         * sysdeps/s390/bits/linkmap.h: Move to ...
18848         * sysdeps/s390/linkmap.h: ...here.
18849         * sysdeps/sh/bits/linkmap.h: Move to ...
18850         * sysdeps/sh/linkmap.h: ...here.
18851         * sysdeps/x86/bits/linkmap.h: Move to ...
18852         * sysdeps/x86/linkmap.h: ...here.
18853         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18855 2015-09-04  Andreas Schwab  <schwab@suse.de>
18857         [BZ #18635]
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18859         (__makecontext): Terminate FDE before return label.
18860         (__novec_makecontext): Likewise.
18862 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18864         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18865         first member of struct sv in syscall macro.
18867 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18869         [BZ #14912]
18870         * bits/stdio-lock.h: Move to ...
18871         * sysdeps/generic/stdio-lock.h: ...here.
18872         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18873         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18874         * sysdeps/nptl/stdio-lock.h: ...here.
18875         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18876         * include/libio.h: Include <stdio-lock.h> instead of
18877         <bits/stdio-lock.h>.
18878         * sysdeps/nptl/fork.c: Likewise.
18879         * sysdeps/pthread/flockfile.c: Likewise.
18880         * sysdeps/pthread/ftrylockfile.c: Likewise.
18881         * sysdeps/pthread/funlockfile.c: Likewise.
18883         [BZ #14912]
18884         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18885         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18886         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18887         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18888         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18889         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18890         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18892 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18894         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18895         (test-xfail-tst-protected1b): New variable.
18897 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18899         [BZ #14912]
18900         * bits/libc-tsd.h: Move to ...
18901         * sysdeps/generic/libc-tsd.h: ...here.
18902         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18903         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18904         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18905         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18906         * include/ctype.h: Include <libc-tsd.h> instead of
18907         <bits/libc-tsd.h>.
18908         * include/rpc/rpc.h: Likewise.
18909         * locale/localeinfo.h: Likewise.
18910         * sunrpc/rpc_thread.c: Likewise.
18911         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18912         * sysdeps/nptl/malloc-machine.h: Likewise.
18914         * Makefile (headers): Remove bits/libc-lock.h.
18915         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18917         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18918         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18919         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18920         <bits/stdio-lock.h>.
18921         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18922         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18924 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18926         [BZ #18757]
18927         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18928         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18929         BZ #18757.
18931 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18933         * malloc/mtrace.pl: Filter out NULL entries.
18935 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18937         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18938         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18939         macro.
18941         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18942         (TCP_CC_INFO): Likewise.
18943         (TCP_SAVE_SYN): Likewise.
18944         (TCP_SAVED_SYN): Likewise.
18946 2015-08-31  Brett Neumeier <brett@neumeier.us>
18948         [BZ #18870]
18949         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18951 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18953         [BZ #18873]
18954         Fix broken overflow check in posix_fallocate
18955         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18956         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18957         Fix parenthesization typo.
18959 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18961         [BZ #18887]
18962         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18963         tst-mntent-blank-passno.
18964         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18965         * misc/tst-mntent-blank-corrupt.c: New test.
18966         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18967         * misc/tst-mntent.c (do_test): ... here.
18969 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18971         [BZ #4404]
18972         * po/de.po: Fix SIGALRM typo.
18974 2015-08-28  James Perkins  <james@loowit.net>
18976         * time/tst-strptime2.c (tests): Replace short list of test
18977         strings for strptime %z specifier with code which exhaustively
18978         tests every combination of sign and 0 to 5 digits. Tests for
18979         rejection of invalid strings.
18981 2015-08-28  James Perkins  <james@loowit.net>
18983         [BZ #16141]
18984         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18985         calculation, removing incorrect decimal time rounding, so that
18986         all minute values result in a valid seconds value.
18987         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18988         offset range limits to UTC-99:59 through UTC+99:59 to parse
18989         current and historical use cases.
18990         * time/tst-strptime2.c (tests): Modify and add tests for the
18991         strptime %z input field descriptor, specifically conversion of
18992         minutes to seconds and validating an offset range of -9959 to
18993         +9959.
18995 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18996             Dmitry V. Levin  <ldv@altlinux.org>
18998         [BZ #18877]
18999         * posix/Makefile (tests): Add tst-mmap-offset.
19000         * posix/tst-mmap.c: New file.
19001         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19002         offset calculation for negative values.
19004 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19006         * sysdeps/i386/init-arch.h: New file.
19007         * sysdeps/i386/i586/init-arch.h: Likewise.
19008         * sysdeps/i386/i686/init-arch.h: Likewise.
19009         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19010         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19011         * sysdeps/x86/cpu-features.h (bit_I586): New.
19012         (bit_I686): Likewise.
19013         (bit_CX8): Likewise.
19014         (bit_CMOV): Likewise.
19015         (index_CX8): Likewise.
19016         (index_CMOV): Likewise.
19017         (index_I586): Likewise.
19018         (index_I686): Likewise.
19019         (reg_CX8): Likewise.
19020         (reg_CMOV): Likewise.
19021         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19022         available at compile-time.
19023         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19024         available at compile-time.
19025         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19026         (USE_I686): Likewise.
19028 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19030         * sysdeps/i386/bcopy.S: New file.
19031         * sysdeps/i386/bzero.S: Likewise.
19032         * sysdeps/i386/memcpy.S: Likewise.
19033         * sysdeps/i386/memmove.S: Likewise.
19034         * sysdeps/i386/mempcpy.S: Likewise.
19035         * sysdeps/i386/memset.S: Likewise.
19036         * sysdeps/i386/bzero.c: Removed.
19037         * sysdeps/i386/memset.c: Likewise.
19038         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19039         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19040         * sysdeps/i386/i586/memset_chk.S: Likewise.
19041         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19042         * sysdeps/i386/memcpy_chk.S: Here.
19043         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19044         * sysdeps/i386/memmove_chk.S: Here.
19045         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19046         * sysdeps/i386/mempcpy_chk.S: Likewise.
19047         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19048         * sysdeps/i386/memset_chk.S: Likewise.
19050 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19052         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19053         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19054         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19055         * soft-fp/fmadf4.c: Ditto.
19056         * soft-fp/fmatf4.c: Ditto.
19058 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19060         * sysdeps/i386/i586/Implies: Removed.
19061         * sysdeps/i386/i686/Implies: Likewise.
19063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19065         * sysdeps/i386/i486/strlen.S: Moved to ...
19066         * sysdeps/i386/strlen.S: Here.
19068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19070         * sysdeps/i386/i486/strcat.S: Moved to ...
19071         * sysdeps/i386/strcat.S: Here.
19073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19075         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19076         * sysdeps/i386/pthread_spin_trylock.S: Here.
19077         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19078         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19080 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19082         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19083         * sysdeps/i386/string-inlines.c: Here.
19085 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19087         * sysdeps/i386/i486/htonl.S: Moved ...
19088         * sysdeps/i386/htonl.S: here.
19090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19092         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19093         * sysdeps/i386/bits/atomic.h: Here.
19095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19097         * sysdeps/i386/i486/Versions: Removed.
19099 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19101         [BZ #2898]
19102         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19103         Based on patch by Aurelien Jarno.
19105 2015-08-26  Stan Shebs  <stanshebs@google.com>
19107         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19108         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19110 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19112         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19113         * sysdeps/powerpc/dl-procinfo.c:
19114         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19115         feature so it shows when LD_SHOW_AUXV=1.
19117 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19119         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19120         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19121         definition.  ISA 2.07B no longer requires full sync.
19123 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19125         [BZ #18863]
19126         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19127         (si_call_addr): Define.
19128         (si_syscall): Define.
19129         (si_arch): Define.
19131 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19133         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19134         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19135         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19136         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19137         (__memset_zero_constant_len_parameter): New.
19138         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19139         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19140         (__memset_zero_constant_len_parameter): Don't define if
19141         __memset_chk or USE_AS_BZERO are defined.
19143         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19144         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19145         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19147         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19148         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19149         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19150         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19151         comments.
19152         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19153         -mno-mmx for $(all-rtld-routines).
19154         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19155         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19156         i386.
19158 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19160         * sysdeps/generic/unwind.h
19161         (_Unwind_Word): Use __mode__(__unwind_word__)
19162         instead of __mode__(__word__).
19163         (_Unwind_Sword): Likewise.
19165         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19166         (MAX_NEEDED_INPUT): New define.
19167         (MAX_NEEDED_OUTPUT): New define.
19169         * NEWS: New item for IBM z13 string optimizations.
19171         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19172         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19173         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19174         * sysdeps/s390/multiarch/Makefile
19175         (sysdep_routines): Add memrchr functions.
19176         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19177         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19179         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19180         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19181         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19182         * sysdeps/s390/multiarch/Makefile
19183         (sysdep_routines): Add wmemcmp functions.
19184         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19185         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19186         * benchtests/bench-wmemcmp.c: New File.
19187         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19189         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19190         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19191         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19192         * sysdeps/s390/multiarch/Makefile
19193         (sysdep_routines): Add wmemset functions.
19194         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19195         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19196         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19197         * string/test-memset.c: Add wmemset support.
19198         * wcsmbs/test-wmemset.c: New File.
19199         * wcsmbs/Makefile (strop-tests): Add wmemset.
19200         * benchtests/bench-memset.c: Add wmemset support.
19201         * benchtests/bench-wmemset.c: New File.
19202         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19204         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19205         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19206         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19207         * sysdeps/s390/multiarch/Makefile
19208         (sysdep_routines): Add memccpy functions.
19209         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19210         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19211         * string/memccpy.c: Use MEMCCPY if defined.
19213         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19214         * sysdeps/s390/multiarch/memchr.c: Likewise.
19215         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19216         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19217         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19218         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19219         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19220         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19221         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19222         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19223         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19224         and rawmemchr functions.
19225         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19226         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19227         and wmemchr.
19228         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19229         * string/test-memchr.c: Add wmemchr support.
19230         * wcsmbs/test-wmemchr.c: New File.
19231         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19232         * benchtests/bench-memchr.c: Add wmemchr support.
19233         * benchtests/bench-wmemchr.c: New File.
19234         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19236         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19237         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19238         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19239         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19240         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19241         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19242         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19243         wcscspn functions.
19244         * sysdeps/s390/multiarch/ifunc-impl-list.c
19245         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19246         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19247         * string/test-strcspn.c: Add wcscspn support.
19248         * wcsmbs/test-wcscspn.c: New File.
19249         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19250         * benchtests/bench-strcspn.c: Add wcscspn support.
19251         * benchtests/bench-wcscspn.c: New File.
19252         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19254         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19255         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19256         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19257         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19258         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19259         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19260         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19261         wcspbrk functions.
19262         * sysdeps/s390/multiarch/ifunc-impl-list.c
19263         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19264         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19265         * string/test-strpbrk.c: Add wcspbrk support.
19266         * wcsmbs/test-wcspbrk.c: New File.
19267         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19268         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19269         * benchtests/bench-wcspbrk.c: New File.
19270         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19272         * sysdeps/s390/multiarch/strspn-c.c: New File.
19273         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19274         * sysdeps/s390/multiarch/strspn.c: Likewise.
19275         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19276         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19277         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19278         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19279         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19280         wcsspn functions.
19281         * sysdeps/s390/multiarch/ifunc-impl-list.c
19282         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19283         * string/test-strspn.c: Add wcsspn support.
19284         * wcsmbs/test-wcsspn.c: New File.
19285         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19286         * benchtests/bench-strspn.c: Add wcsspn support.
19287         * benchtests/bench-wcsspn.c: New File.
19288         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19290         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19291         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19292         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19293         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19294         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19295         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19297         wcsrchr functions.
19298         * sysdeps/s390/multiarch/ifunc-impl-list.c
19299         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19300         * benchtests/bench-wcsrchr.c: New File.
19301         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19303         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19304         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19305         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19306         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19307         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19308         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19310         wcschrnul functions.
19311         * sysdeps/s390/multiarch/ifunc-impl-list.c
19312         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19313         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19314         * string/test-strchr.c: Add wcschrnul support.
19315         * wcsmbs/test-wcschrnul.c: New File.
19316         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19317         * benchtests/bench-strchr.c: Add wcschrnul support.
19318         * benchtests/bench-wcschrnul.c: New File.
19319         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19321         * sysdeps/s390/multiarch/strchr-c.c: New File.
19322         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19323         * sysdeps/s390/multiarch/strchr.c: Likewise.
19324         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19325         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19326         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19328         wcschr functions.
19329         * sysdeps/s390/multiarch/ifunc-impl-list.c
19330         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19331         * string/strchr.c (STRCHR): Define and use macro.
19332         * benchtests/bench-wcschr.c: New File.
19333         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19335         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19336         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19337         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19338         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19339         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19340         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19341         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19342         wcsncmp functions.
19343         * sysdeps/s390/multiarch/ifunc-impl-list.c
19344         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19345         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19346         * benchtests/bench-strncmp.c: Add wcsncmp support.
19347         * benchtests/bench-wcsncmp.c: New File.
19348         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19350         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19351         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19352         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19353         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19354         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19355         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19356         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19358         wcscmp functions.
19359         * sysdeps/s390/multiarch/ifunc-impl-list.c
19360         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19361         * string/strcmp.c (STRCMP): Define and use macro.
19362         * benchtests/bench-wcscmp.c: New File.
19363         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19364         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19365         instead of _HAVE_STRING_ARCH_memchr.
19367         * sysdeps/s390/multiarch/strncat-c.c: New File.
19368         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19369         * sysdeps/s390/multiarch/strncat.c: Likewise.
19370         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19371         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19372         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19373         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19374         wcsncat functions.
19375         * sysdeps/s390/multiarch/ifunc-impl-list.c
19376         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19377         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19378         * string/test-strncat.c: Add wcsncat support.
19379         * wcsmbs/test-wcsncat.c: New File.
19380         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19381         * benchtests/bench-strncat.c: Add wcsncat support.
19382         * benchtests/bench-wcsncat.c: New File.
19383         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19385         * sysdeps/s390/multiarch/strcat-c.c: New File.
19386         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19387         * sysdeps/s390/multiarch/strcat.c: Likewise.
19388         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19389         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19390         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19391         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19392         wcscat functions.
19393         * sysdeps/s390/multiarch/ifunc-impl-list.c
19394         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19395         * string/strcat.c (STRCAT): Define and use macro.
19396         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19397         * string/test-strcat.c: Add wcscat support.
19398         * wcsmbs/test-wcscat.c: New File.
19399         * wcsmbs/Makefile (strop-tests): Add wcscat.
19400         * benchtests/bench-strcat.c: Add wcscat support.
19401         * benchtests/bench-wcscat.c: New File.
19402         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19404         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19405         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19406         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19407         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19408         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19409         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19411         wcpncpy functions.
19412         * sysdeps/s390/multiarch/ifunc-impl-list.c
19413         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19414         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19415         * string/test-stpncpy.c: Add wcpncpy support.
19416         * wcsmbs/test-wcpncpy.c: New File.
19417         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19418         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19419         * benchtests/bench-wcpncpy.c: New File.
19420         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19422         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19423         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19424         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19425         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19426         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19427         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19428         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19429         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19430         wcsncpy functions.
19431         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19432         * sysdeps/s390/multiarch/ifunc-impl-list.c
19433         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19434         * string/test-strncpy.c: Add wcsncpy support.
19435         * wcsmbs/test-wcsncpy.c: New File.
19436         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19437         * benchtests/bench-strncpy.c: Add wcsncpy support.
19438         * benchtests/bench-wcsncpy.c: New File.
19439         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19441         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19442         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19443         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19444         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19445         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19446         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19447         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19448         wcpcpy functions.
19449         * string/stpcpy.c: Use STPCPY if defined.
19450         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19451         * sysdeps/s390/multiarch/ifunc-impl-list.c
19452         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19453         * string/test-stpcpy.c: Add wcpcpy support.
19454         * wcsmbs/test-wcpcpy.c: New File.
19455         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19456         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19457         * benchtests/bench-wcpcpy.c: New File.
19458         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19460         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19461         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19462         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19463         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19464         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19465         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19466         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19467         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19468         wcscpy functions.
19469         * sysdeps/s390/multiarch/ifunc-impl-list.c
19470         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19471         * benchtests/bench-wcscpy.c: New File.
19472         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19474         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19475         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19476         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19477         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19478         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19479         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19480         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19481         wcsnlen functions.
19482         * sysdeps/s390/multiarch/ifunc-impl-list.c
19483         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19484         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19485         * string/test-strnlen.c: Add wcsnlen support.
19486         * wcsmbs/test-wcsnlen.c: New File.
19487         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19488         * benchtests/bench-strnlen.c: Add wcsnlen support.
19489         * benchtests/bench-wcsnlen.c: New File.
19490         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19492         * sysdeps/s390/multiarch/Makefile: New File.
19493         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19494         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19495         * sysdeps/s390/multiarch/strlen.c: Likewise.
19496         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19497         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19498         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19499         * string/strlen.c (STRLEN): Define and use macro.
19500         * sysdeps/s390/multiarch/ifunc-impl-list.c
19501         (IFUNC_VX_IMPL): New macro function.
19502         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19503         * benchtests/Makefile (wcsmbs-bench): New variable.
19504         (string-bench-all): Added wcsmbs-bench.
19505         * benchtests/bench-wcslen.c: New File.
19507         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19508         s390_vx_libc_ifunc2): New macro function.
19510         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19511         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19512         assembler support.
19513         * sysdeps/s390/configure: Regenerated.
19515         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19516         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19518         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19519         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19520         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19522         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19523         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19524         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19525         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19526         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19527         (memcmp, bcmp): Use __memcmp_default as alias source.
19528         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19529         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19530         Rename to __memcmp_default.
19531         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19532         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19533         (memcpy): Use __memcpy_default as alias source.
19534         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19535         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19536         Rename to __memcpy_default.
19537         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19538         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19539         (memset): Use __memset_default as alias source.
19540         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19541         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19542         Rename to __memset_default.
19543         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19544         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19545         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19546         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19547         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19548         (memcmp, bcmp): Use __memcmp_default as alias source.
19549         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19550         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19551         Rename to __memcmp_default.
19552         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19553         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19554         (memcpy): Use __memcpy_default as alias source.
19555         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19556         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19557         Rename to __memcpy_default.
19558         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19559         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19560         (memset): Use __memset_default as alias source.
19561         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19562         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19563         Rename to __memset_default.
19564         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19565         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19567         [BZ #18610]
19568         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19569         __ieee_instruction_pointer to __unused.
19570         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19571         __ieee_instruction_pointer.
19572         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19573         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19574         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19575         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19576         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19577         Mark dxc-field as reserved.
19579 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19581         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19582         if the weak reference is not null.
19584 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19586         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19588         [BZ #11214]
19589         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19591 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19593         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19594         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19595         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19596         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19597         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19598         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19599         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19600         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19601         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19602         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19603         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19604         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19605         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19606         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19607         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19608         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19609         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19610         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19612 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19614         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19615         register other than r0 for tabort, it has special meaning.
19616         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19617         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19618         transaction before starting syscall.
19620 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19622         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19624 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19626         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19628         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19629         * sysdeps/x86_64/rtld-memset.S: Likewise.
19630         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19631         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19632         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19633         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19635         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19637 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19639         * debug/strcpy_chk.c: Improve performance.
19640         * debug/stpcpy_chk.c: Likewise.
19641         * sysdeps/x86_64/strcpy_chk.S: Remove.
19642         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19644         [BZ #18240]
19645         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19647 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19649         [BZ #15128]
19650         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19651         ifuncmain8.
19652         (modules-names): Add ifuncmod8.
19653         ($(objpfx)ifuncmain8): New rule.
19654         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19655         <cpuid.h>.
19656         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19657         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19658         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19659         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19660         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19661         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19662         * sysdeps/x86_64/ifuncmain8.c: New file.
19663         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19664         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19665         Removed.
19666         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19667         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19668         Change rtld_savespace_sse to __glibc_unused2.
19669         (RTLD_CHECK_FOREIGN_CALL): Removed.
19670         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19671         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19672         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19674 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19676         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19678 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19680         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19681         Unconditionally set __fpcr to avoid uninialized warning.
19682         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19684 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19686         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19687         is corrupt.
19689         * malloc/arena.c (arena_get2): Drop unused argument.
19690         (arena_lock): Adjust.
19691         (arena_get_retry): Likewise.
19693 2015-08-24  Andreas Schwab  <schwab@suse.de>
19695         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19696         Don't define.
19697         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19698         (__ASSUME_IPC64): Don't undef.
19699         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19700         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19701         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19702         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19703         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19704         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19705         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19706         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19707         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19708         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19709         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19710         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19711         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19712         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19713         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19714         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19715         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19716         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19717         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19718         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19719         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19721 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19723         * manual/Makefile (install): Only build manual when perl is available.
19725 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19728         '#undef memcpy' by '#undef memchr'.
19730 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19732         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19733         memchr not point to the internal __GI_memchr implementation.
19735 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19737         * timezone/Makefile (CFLAGS-zdump.c): Remove
19738         -Wno-strict-prototypes.
19739         (CFLAGS-zic.c): Likewise.
19740         (CFLAGS-ialloc.c): Likewise.
19741         (CFLAGS-scheck.c): Likewise.
19743         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19744         -Wno-error=undef.
19746 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19748         * i386/i686/multiarch/strcasestr-c.c: Removed.
19749         * x86_64/multiarch/strcasestr.c: Likewise.
19750         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19751         Remove strcasestr.
19753 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19755         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19757         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19758         variables for high and low parts before possibly modifying them.
19760 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19762         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19763         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19764         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19765         of "multiarch/init-arch.h".
19766         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19767         * sysdeps/x86/init-arch.h: This.
19769 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19771         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19772         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19774 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19776         [BZ #17787]
19777         * manual/macros.texi: Add twoexp macro.
19778         * manual/filesys.texi: Fix exponents.
19779         * manual/llio.texi: Likewise.
19780         * manual/stdio.texi: Likewise.
19782 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19784         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19785         incorrect use.
19787 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19789         [BZ #18370]
19790         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19791         whose real or imaginary part has small absolute value.
19792         * math/s_csqrtf.c (__csqrtf): Likewise.
19793         * math/s_csqrtl.c (__csqrtl): Likewise.
19794         * math/auto-libm-test-in: Add more tests of csqrt.
19795         * math/auto-libm-test-out: Regenerated.
19796         * sysdeps/i386/fpu/libm-test-ulps: Update.
19798 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19800         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19801         __ppc_set_ppr_very_low): New functions.
19802         * manual/platform.texi: Add documentation about
19803         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19805 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19807         * string/stpncpy.c (stpncpy): Improve performance using
19808         __strnlen/memcpy/memset.
19810 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19812         [BZ #18796]
19813         * scripts/test-installation.pl: Don't add -lmvec to build options if
19814         libmvec wasn't built.
19816 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19818         [BZ #14341]
19819         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19820         case when there is a gap between DT_REL and DT_JMPREL sections.
19821         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19822         (LDFLAGS-tst-split-dynreloc): New.
19823         (tst-split-dynreloc-ENV): Likewise.
19824         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19825         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19827 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19829         [BZ #18822]
19830         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19831         attribute_hidden.
19832         (__xstat64_conv): Likewise.
19833         (__xstat32_conv): Likewise.
19835 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19837         [BZ #18822]
19838         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19839         Don't load %ebx when calling __setcontext.  Call __setcontext
19840         with HIDDEN_JUMPTARGET.
19841         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19842         libc_hidden_def.
19844 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19846         * sysdeps/i386/i686/Makefile
19847         [$(subdir) == string] (sysdep_routines): Moved to ...
19848         * sysdeps/i386/Makefile: Here.
19849         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19850         * sysdeps/i386/cacheinfo.c: Here.
19851         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19852         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19853         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19854         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19856 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19858         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19859         __i586__ is defined.
19860         (HAS_I686): Defined to 1 if __i686__ is defined.
19862 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19864         * elf/Makefile [$(have-z-execstack) = yes]
19865         (CPPFLAGS-tst-execstack.c): New variable.
19867         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19868         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19869         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19870         UTMPX || _HAVE_UT_TV].
19871         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19872         UTMPX || _HAVE_UT_TV - 0].
19874 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19876         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19877         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19878         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19880 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19882         * sysdeps/powerpc/dl-procinfo.c:
19883         (_dl_powerpc_cap_flags): Added missing strings for some
19884         hwcap features.
19885         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19887 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19889         Port the 0x7efe...feff pattern to GCC 6.
19890         See Steve Ellcey's bug report in:
19891         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19892         * string/memrchr.c (MEMRCHR):
19893         * string/rawmemchr.c (RAWMEMCHR):
19894         * string/strchr.c (strchr):
19895         * string/strchrnul.c (STRCHRNUL):
19896         Rewrite code to avoid issues with signed shift overflow.
19898 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19900         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19901         whether cpuid is available only if HAS_CPUID is 0.
19902         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19903         (HAS_I586): Likewise.
19904         (HAS_I686): Likewise.
19906 2015-08-18  Zack Weinberg  <zackw@panix.com>
19908         * misc/Versions (libc): Add GLIBC_2.23.
19910 2015-08-18  Alan Modra  <amodra@gmail.com>
19912         [BZ #18421]
19913         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19914         .Lp__global.
19915         (_start): Load %dp via .Lp__global.
19916         [!SHARED]: Use .section .rodata.
19918 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19920         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19921         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19923 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19925         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19926         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19928 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19930         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19931         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19933 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19935         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19936         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19938 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19940         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19941         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19943 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19945         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19946         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19948 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19950         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19952 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19954         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19955         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19956         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19957         (__ASSUME_LWS_CAS): Delete.
19959 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19961         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19962         * sysdeps/hppa/configure: Regenerated.
19963         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19964         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19965         * sysdeps/hppa/nptl/tls.h: Likewise.
19967 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19969         [BZ #18823]
19970         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19971         for scaling up small arguments.
19972         * math/s_csqrtf.c (__csqrtf): Likewise.
19973         * math/s_csqrtl.c (__csqrtl): Likewise.
19974         * math/auto-libm-test-in: Add more tests of csqrt.
19975         * math/auto-libm-test-out: Regenerated.
19977 2015-08-17  Andreas Schwab  <schwab@suse.de>
19979         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19980         version set GLIBC_2.19.
19982 2015-08-16  Zack Weinberg  <zackw@panix.com>
19984         [BZ #18681]
19985         * misc/regexp.h: This interface is no longer supported.
19986         Remove all contents, leaving only an #error directive.
19987         * misc/regexp.c (loc1, loc2, locs, step, advance):
19988         Demote to compatibility symbols.
19990 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19992         [BZ #18084]
19993         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19994         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19995         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19996         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19997         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19998         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19999         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20000         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20001         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20003 2015-08-15  Zack Weinberg  <zackw@panix.com>
20005         [BZ #18795]
20006         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20007         buffer length is known to be too large, not if it's known to be
20008         small enough.
20009         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20010         overflow at runtime, involving a length parameter, twice: once
20011         with a compile-time constant length parameter, once without.
20013 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20015         [BZ #18824]
20016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20017         scaling x * y up instead of down.
20018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20020         * math/auto-libm-test-in: Add more tests of fma.
20021         * math/auto-libm-test-out: Regenerated.
20023 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20025         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20027 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20029         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20030         unnecessary movq.
20031         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20032         Likewise.
20034 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20036         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20037         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20038         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20039         and tgamma.
20040         * math/auto-libm-test-out: Regenerated.
20041         * sysdeps/i386/fpu/libm-test-ulps: Update.
20042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20044         [BZ #16520]
20045         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20046         (__tanh): Force underflow exception for arguments with small
20047         absolute value.
20048         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20049         (__tanhf): Force underflow exception for arguments with small
20050         absolute value.
20051         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20052         (__tanhl): Force underflow exception for arguments with small
20053         absolute value.
20054         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20055         (__tanhl): Force underflow exception for arguments with small
20056         absolute value.
20057         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20058         (__tanhl): Force underflow exception for arguments with small
20059         absolute value.
20060         * math/auto-libm-test-in: Add more tests of tanh.
20061         * math/auto-libm-test-out: Regenerated.
20062         * sysdeps/i386/fpu/libm-test-ulps: Update.
20064 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20066         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20067         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20069 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20071         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20072         <cpuid.h>.
20074 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20076         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20077         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20079 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20081         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20082         Remove $(objpfx)init-arch.o.
20083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20084         init-arch.
20085         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20086         (INIT_ARCH_EXT): Defined as empty.
20087         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20089         __init_cpu_features call.  Replace HAS_XXX with
20090         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20091         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20092         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20093         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20094         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20095         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20096         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20097         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20098         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20102         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20103         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20104         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20108         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20111         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20112         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20113         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20114         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20115         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20116         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20117         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20118         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20119         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20120         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20121         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20122         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20123         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20124         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20127 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20129         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20130         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20131         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20132         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20133         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20134         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20135         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20136         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20137         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20138         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20139         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20140         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20141         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20142         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20143         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20144         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20145         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20146         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20147         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20148         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20149         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20150         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20151         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20152         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20153         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20154         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20155         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20156         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20159         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20164         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20167         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20170         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20173 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20175         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20176         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20177         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20178         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20179         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20180         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20181         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20182         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20183         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20184         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20185         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20186         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20187         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20188         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20189         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20190         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20191         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20192         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20193         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20194         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20196         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20197         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20198         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20199         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20200         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20201         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20202         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20203         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20204         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20205         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20206         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20207         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20208         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20209         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20210         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20211         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20212         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20213         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20214         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20215         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20216         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20217         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20219 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20221         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20222         (dl_platform_init): Call init_cpu_features.
20223         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20224         * sysdeps/i386/i686/cacheinfo.c
20225         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20226         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20227         * sysdeps/i386/i686/multiarch/Versions: Removed.
20228         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20229         Removed.
20230         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20231         * sysdeps/unix/sysv/linux/x86/Makefile
20232         (libpthread-sysdep_routines): Remove init-arch.
20233         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20234         <sysdeps/x86_64/dl-procinfo.c> instead of
20235         sysdeps/generic/dl-procinfo.c>.
20236         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20237         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20238         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20239         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20240         [$(subdir) == elf] (tests-static): Add
20241         tst-get-cpu-features-static.
20242         * sysdeps/x86/Versions: New file.
20243         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20244         * sysdeps/x86/cpu-features.c: Likewise.
20245         * sysdeps/x86/cpu-features.h: Likewise.
20246         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20247         * sysdeps/x86/libc-start.c: Likewise.
20248         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20249         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20250         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20251         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20252         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20253         Assume USE_MULTIARCH is defined and don't check it.
20254         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20255         (is_amd): Likewise.
20256         (max_cpuid): Likewise.
20257         (intel_check_word): Likewise.
20258         (__cache_sysconf): Don't call __init_cpu_features.
20259         (__x86_preferred_memory_instruction): Removed.
20260         (init_cacheinfo): Don't call __init_cpu_features. Replace
20261         __cpu_features with GLRO(dl_x86_cpu_features).
20262         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20263         (dl_platform_init): Call init_cpu_features.
20264         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20265         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20266         * sysdeps/x86_64/multiarch/Versions: Removed.
20267         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20268         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20269         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20270         Removed.
20271         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20273 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20275         [BZ #18820]
20276         * libio/Makefile (test-fmemopen-mem): New test.
20277         * libio/test-fmemopen.c (do_bz18820): New test.
20278         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20279         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20281 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20283         [BZ #16734]
20284         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20285         (FREE_BUF): Delete.
20286         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20287         * libio/genops.c (_IO_setb): Use malloc and free directly.
20288         (_IO_default_doallocate, _IO_default_finish): Likewise.
20289         ( _IO_unbuffer_all): Likewise.
20290         ( libc_freeres_fn): Likewise.
20291         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20292         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20293         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20294         (_IO_wdefault_doallocate): Likewise.
20296 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20298         [BZ #18086]
20299         * sysdeps/posix/nice.c (nice): Restore old errno.
20300         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20302 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20306 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20308         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20309         __bcopy and add a weak_alias to bcopy.
20310         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20311         for static build.
20313         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20314         cleanup macro usage.
20315         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20316         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20317         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20318         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20319         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20320         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20321         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20322         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20323         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20324         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20325         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20326         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20328         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20330         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20332         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20333         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20335         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20336         libc_hidden_def.
20337         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20339         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20340         (sysdep_routines): Add strstr-ppc64.
20341         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20343 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20345         [BZ #18778]
20346         * elf/Makefile (tests): Add Add tst-nodelete2.
20347         (modules-names): Add tst-nodelete2mod.
20348         (tst-nodelete2mod.so-no-z-defs): New.
20349         ($(objpfx)tst-nodelete2): Likewise.
20350         ($(objpfx)tst-nodelete2.out): Likewise.
20351         (LDFLAGS-tst-nodelete2): Likewise.
20352         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20353         out of loop through all loaded libraries.
20354         * elf/tst-nodelete2.c: New file.
20355         * elf/tst-nodelete2mod.c: Likewise.
20356         * elf/tst-znodelete-zlib.cc: Delete.
20358 2015-08-11  Andreas Schwab  <schwab@suse.de>
20360         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20361         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20362         (__openat64_nocancel): Likewise.
20364 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20366         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20367         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20368         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20369         * math/auto-libm-test-out: Regenerated.
20370         * sysdeps/i386/fpu/libm-test-ulps: Update.
20371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20373 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20375         [BZ #18790]
20376         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20377         threshold for returning +/- 1.
20378         * math/auto-libm-test-in: Add more tests of tanh.
20379         * math/auto-libm-test-out: Regenerated.
20380         * sysdeps/i386/fpu/libm-test-ulps: Update.
20382 2015-08-10  Andreas Schwab  <schwab@suse.de>
20384         [BZ #18781]
20385         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20386         MORE_OFLAGS to oflag.
20387         * io/test-lfs.c (do_test): Test openat64.
20389 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20391         [BZ #18789]
20392         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20393         smaller threshold for returning the argument.
20394         * math/auto-libm-test-in: Add more tests of sinh.
20395         * math/auto-libm-test-out: Regenerated.
20396         * sysdeps/i386/fpu/libm-test-ulps: Update.
20398 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20400         [BZ #18674]
20401         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20402         break.
20404 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20406         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20407         (generated): Don't add $(addprefix z.,$(tzfiles)).
20409 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20411         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20412         * scripts/sysd-rules.awk: Likewise.
20414 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20416         * iconvdata/tst-tables.sh: Change echo -n to printf.
20417         * nss/db-Makefile: Likewise.
20418         * posix/tst-getconf.sh: Likewise.
20419         * stdio-common/tst-unbputc.sh: Likewise.
20421 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20423         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20424         MADV_*_PAGES defines behind this feature check.
20426 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20428         [BZ #18480]
20429         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20430         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20431         Define.
20432         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20433         LOAD_REGS_5, LOAD_REGS_6): Update.
20434         (INTERNAL_SYSCALL): Update using new LOAD defines.
20435         (INTERNAL_SYSCALL_NCS): Likewise.
20436         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20438 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20440         [BZ #16734]
20441         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20443 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20445         [BZ #17905]
20446         * catgets/Makefile (tst-catgets-mem): New test.
20447         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20448         * catgets/open_catalog.c (__open_catalog): Likewise.
20449         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20451 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20453         [BZ #18787]
20454         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20455         clobber registers.
20456         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20457         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20458         Cast return to __typeof (oldval).
20460 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20462         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20463         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20464         and delete sys/syscall.h include.
20466 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20468         [BZ #16517]
20469         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20470         (tan): Force underflow exception for arguments with small absolute
20471         value.
20472         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20473         (__kernel_tanf): Force underflow exception for arguments with
20474         small absolute value.
20475         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20476         (__kernel_tanl): Force underflow exception for arguments with
20477         small absolute value.
20478         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20479         (__kernel_tanl): Force underflow exception for arguments with
20480         small absolute value.
20481         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20482         (__kernel_tanl): Force underflow exception for arguments with
20483         small absolute value.
20484         * math/auto-libm-test-in: Add more tests of tan.
20485         * math/auto-libm-test-out: Regenerated.
20487 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20489         Fix sysdeps/i386/fpu/s_scalbn.S build
20491         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20493 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20495         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20497 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20499         Fix gcrt0.o compilation
20501         When static-start-installed-name is different from
20502         start-installed-name, we must not use the shared objects.
20504         * csu/Makefile
20505         (extra-objs): Add gmon-start.o when building shared library and
20506         $(static-start-installed-name) is different from
20507         $(start-installed-name).
20508         $(objpfx)g$(static-start-installed-name): When building shared
20509         library and $(static-start-installed-name) is different from
20510         $(static-start-installed-name), revert to non-shared rule,
20511         i.e. using $(objpfx)% and gmon-start.o.
20513 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20515         [BZ #16519]
20516         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20517         (__ieee754_sinh): Force underflow exception for arguments with
20518         small absolute value.
20519         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20520         (__ieee754_sinhf): Force underflow exception for arguments with
20521         small absolute value.
20522         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20523         (__ieee754_sinhl): Force underflow exception for arguments with
20524         small absolute value.
20525         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20526         (__ieee754_sinhl): Force underflow exception for arguments with
20527         small absolute value.
20528         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20529         (__ieee754_sinhl): Force underflow exception for arguments with
20530         small absolute value.
20531         * math/auto-libm-test-in: Add more tests of sinh.
20532         * math/auto-libm-test-out: Regenerated.
20533         * sysdeps/i386/fpu/libm-test-ulps: Update.
20535 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20537         * libio/oldfileops.c: Include unistd.h.
20539 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20541         * stdlib/isomac.c: Include ctype.h.
20543 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20545         * dirent/tst-seekdir.c (main): Converted to ...
20546         (do_test): ... this.
20547         (TEST_FUNCTION): New macro.
20548         Include test-skeleton.c.
20549         * elf/tst-dlmodcount.c (main): Converted to ...
20550         (do_test): ... this.
20551         (TEST_FUNCTION): New macro.
20552         Include test-skeleton.c.
20553         * elf/tst-order-main.c (main): Converted to ...
20554         (do_test): ... this.
20555         (TEST_FUNCTION): New macro.
20556         Include test-skeleton.c.
20557         * elf/tst-pie2.c (main): Converted to ...
20558         (do_test): ... this.
20559         (TEST_FUNCTION): New macro.
20560         Include test-skeleton.c.
20561         * inet/tst-ether_aton.c (main): Converted to ...
20562         (do_test): ... this.
20563         (TEST_FUNCTION): New macro.
20564         Include test-skeleton.c.
20565         * misc/tst-mntent.c (main): Converted to ...
20566         (do_test): ... this.
20567         (TEST_FUNCTION): New macro.
20568         Include test-skeleton.c.
20569         * misc/tst-tsearch.c (main): Converted to ...
20570         (do_test): ... this.
20571         (TEST_FUNCTION): New macro.
20572         Include test-skeleton.c.
20573         * posix/tst-regexloc.c (main): Converted to ...
20574         (do_test): ... this.
20575         (TEST_FUNCTION): New macro.
20576         Include test-skeleton.c.
20577         * resolv/tst-aton.c (main): Converted to ...
20578         (do_test): ... this.
20579         (TEST_FUNCTION): New macro.
20580         Include test-skeleton.c.
20581         * stdio-common/test-fwrite.c (main): Converted to ...
20582         (do_test): ... this.
20583         (TEST_FUNCTION): New macro.
20584         Include test-skeleton.c.
20585         * stdio-common/tst-ferror.c (main): Converted to ...
20586         (do_test): ... this.
20587         (TEST_FUNCTION): New macro.
20588         Include test-skeleton.c.
20589         * stdio-common/tst-printf.c (main): Converted to ...
20590         (do_test): ... this.
20591         (TEST_FUNCTION): New macro.
20592         Include test-skeleton.c.
20593         * stdio-common/tst-printfsz.c (main): Converted to ...
20594         (do_test): ... this.
20595         (TEST_FUNCTION): New macro.
20596         Include test-skeleton.c.
20597         * stdlib/tst-strtod.c (main): Converted to ...
20598         (do_test): ... this.
20599         (TEST_FUNCTION): New macro.
20600         Include test-skeleton.c.
20601         * string/tst-strlen.c (main): Converted to ...
20602         (do_test): ... this.
20603         (TEST_FUNCTION): New macro.
20604         Include test-skeleton.c.
20605         * string/tst-svc.c (main): Converted to ...
20606         (do_test): ... this.
20607         (TEST_FUNCTION): New macro.
20608         Include test-skeleton.c.
20609         * time/tst-strptime.c (main): Converted to ...
20610         (do_test): ... this.
20611         (TEST_FUNCTION): New macro.
20612         Include test-skeleton.c.
20613         * timezone/tst-timezone.c (main): Converted to ...
20614         (do_test): ... this.
20615         (TEST_FUNCTION): New macro.
20616         Include test-skeleton.c.
20618 2015-08-05  Zack Weinberg  <zackw@panix.com>
20620         * misc/regexp.h: Update comments.
20622 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20624         [BZ #18635]
20625         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20626         before return label.
20628 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20630         [BZ #18661]
20631         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20632         when calling __errno_location.
20633         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20634         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20636 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20638         [BZ #18661]
20639         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20640         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20641         __gettimeofday.
20643 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20645         [BZ #18661]
20646         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20647         (__start_context): Don't use pop to restore %rdi so that stack
20648         is aligned to 16 bytes when calling __setcontext.
20650 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20652         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20653         only for libc.
20654         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20656 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20658         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20659         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20660         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20662 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20664         * string/memccpy.c (memccpy):
20665         Improve performance by using memchr/memcpy/__mempcpy.
20667 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20669         * string/strncpy.c (strncpy):
20670         Improve performance by using __strnlen/memcpy.
20672 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20674         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20675         Optimize to avoid an unnecessary FPCR read.
20677 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20679         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20680         Optimize to reduce FPCR/FPSR accesses.
20682 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20684         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20685         dead->data[category] != NULL.
20687 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20689         [BZ #18647]
20690         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20691         and |x| close to 1, use absolute value of x when computing log.
20692         * math/auto-libm-test-in: Add more tests of pow.
20693         * math/auto-libm-test-out: Regenerated.
20695 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20697         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20698         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20699         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20701 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20703         [BZ #18525]
20704         * locales/km_KH: Remove timezone definition.
20705         * locales/lo_LA: Likewise.
20706         * locales/my_MM: Likewise.
20707         * locales/nan_TW@latin: Likewise.
20708         * locales/th_TH: Likewise.
20709         * locales/uk_UA: Likewise.
20711 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20713         [BZ #18265]
20714         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20715         (wcsncat): Likewise.
20716         (wcscmp): Likewise.
20717         (wcsncmp): Likewise.
20719 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20721         * test-skeleton.c (usage): New function.
20722         (main): Call usage when opt is '?'.
20724 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20726         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20727         before first use.
20729 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20731         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20732         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20733         in there too.
20735 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20737         * version.h (RELEASE): Set to "development".
20738         (VERSION): Set to "2.22.90"
20740         * version.h (RELEASE): Set to "stable".
20741         (VERSION): Set to "2.22"
20742         * include/features.h (__GLIBC_MINOR__): Set to 22.
20744 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20746         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20747         Restructure macro to avoid "value computed is not used" warning.
20748         (atomic_compare_and_exchange_val_acq): Likewise.
20750 2015-08-04  Andreas Schwab  <schwab@suse.de>
20752         [BZ #18635]
20753         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20754         ret.
20755         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20757 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20759         * po/pl.po: Updated translation.
20760         * po/uk.po: Likewise.
20761         * po/fi.po: Likewise.
20762         * po/ko.po: Likewise.
20763         * po/ru.po: Likewise.
20764         * po/vi.po: Likewise.
20766 2015-07-31  Zack Weinberg  <zackw@panix.com>
20768         [BZ #18681]
20769         * regexp.h: Add unconditional #warning stating that this header
20770         will be removed soon.  Revise banner comment to match.
20771         (compile): Consistently use ERROR instead of RETURN to report
20772         errors (partial fix for bz#18681).
20773         * regexp.c: Don't include regexp.h. Remove some unnecessary
20774         declarations.
20776 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20778         * po/libc.pot: Regenerated.
20780 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20782         [BZ #18740]
20783         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20784         float-vlen4-arch-ext-cflags): Removed.
20785         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20786         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20788 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20790         [BZ #14113]
20791         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20792         aligned to __aligned__.
20793         (pthread_cond_t, pthread_rwlock_t): Likewise.
20795 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20797         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20799 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20801         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20802         (struct sigaction): Change sa_flags from a long to an int, and add
20803         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20805 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20807         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20808         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20809         sysdeps/generic/sysdep.h include.
20810         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20811         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20812         sysdeps/hppa/sysdep.h.
20813         (ENTRY, PSEUDO): Undefine before defining.
20815 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20817         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20818         from scratch to use INTERNAL_SYSCALL.
20820 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20822         [BZ #18078]
20823         * scripts/check-localplt.awk: Support alternate relocations.
20824         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20825         sections.
20826         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20827         malloc entries with + REL R_386_GLOB_DAT.
20828         * sysdeps/x86_64/localplt.data: New file.
20830 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20832         [BZ #18731]
20833         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20834         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20835         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20837 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20839         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20841 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20843         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20844         directly in terms of __sync_fetch_and_add and delete (int) cast.
20846 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20848         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20849         the -D_ASM_IA64_CURRENT_H flag.
20851 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20853         [BZ #18641]
20854         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20856 2015-07-27  Andreas Schwab  <schwab@suse.de>
20858         * conform/conformtest.pl (checknamespace): Filter out string
20859         literals while tokenizing.
20861 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20863         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20864         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20865         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20867 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20869         * nptl/tst-join7mod.c: Add #include <string.h>.
20871 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20873         * sysdeps/nios2/libm-test-ulps: Update.
20875 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20877         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20878         Fix order of arguments to the rt_sigprocmask syscall.
20879         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20880         Likewise.
20882 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20884         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20886 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20888         [BZ #18457]
20889         * nptl/Makefile (tests): New test case tst-join7.
20890         (modules-names): New test case module tst-join7mod.
20891         * nptl/tst-join7.c: New file.
20892         * nptl/tst-join7mod.c: New file.
20893         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20894         all translation units in libc.so, libpthread.so and rtld.
20896 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20900 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20902         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20904         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20905         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20906         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20907         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20908         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20911         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20914         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20915         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20916         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20917         implementation.
20919 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20921         [BZ #17711]
20922         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20923         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20924         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20925         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20926         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20927         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20929 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20931         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20932         instead of just saying load lock in the comments.
20934 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20936         * sysdeps/unix/Subdirs: Moved ...
20937         * sysdeps/posix/Subdirs: ... here.
20938         * login/pty.h (struct termios, struct winsize): Add forward decls.
20939         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20940         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20941         * sysdeps/arm/nacl/libc.abilist: Updated.
20942         * sysdeps/nacl/libutil.abilist: New file.
20944         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20945         (SIGWINCH): New macro.
20947         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20948         * sysdeps/arm/nacl/libc.abilist: Add it.
20950 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20952         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20954 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20956         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20957         Swap __glibc_reserved0 and sa_flags order.
20959 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20961         [BZ #18657]
20962         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20963         are pending TLS destructor calls.
20964         * include/link.h (struct link_map): Add concurrency note for
20965         L_TLS_DTOR_COUNT.
20966         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20967         Don't touch the link map flag.  Atomically increment
20968         l_tls_dtor_count.
20969         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20970         Avoid taking the load lock and don't touch the link map flag.
20971         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20972         * stdlib/Makefile (tests): Use it.
20973         * stdlib/tst-tls-atexit.c (do_test): dlopen
20974         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20975         to allow tst-tls-atexit-nodelete test case to use it.
20977 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20979         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20980         to bits/types.h.
20981         (msgqnum_t): New typedef.
20982         (msglen_t): Likewise.
20983         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20984         and msg_qbytes type to msglen_t.
20986 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20988         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20989         pad0 to __glibc_reserved0.
20990         (struct stat64): Likewise.
20992 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20994         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20995         Change sa_flags from a long to an int and add __glibc_reserved0 before
20996         it for padding.
20998 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21000         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21001         anonymous by deleting "siginfo" name.
21003 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21005         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21006         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21007         rather than __nacl_irt_filename.
21008         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21010         * NEWS: New item for arm-nacl port.
21011         * sysdeps/arm/nacl/libc.abilist: New file.
21012         * sysdeps/nacl/ld.abilist: New file.
21013         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21014         * sysdeps/nacl/libanl.abilist: New file.
21015         * sysdeps/nacl/libcrypt.abilist: New file.
21016         * sysdeps/nacl/libdl.abilist: New file.
21017         * sysdeps/nacl/libm.abilist: New file.
21018         * sysdeps/nacl/libpthread.abilist: New file.
21019         * sysdeps/nacl/libresolv.abilist: New file.
21020         * sysdeps/nacl/librt.abilist: New file.
21022 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21024         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21025         __startcontext to initialize the new context.
21026         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21027         up CFI directive to forbid further backtracing.
21029 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21031         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21032         reference.
21033         * charmaps/ANSI_X3.4-1968: Likewise.
21034         * charmaps/BS_4730: Likewise.
21035         * charmaps/BS_VIEWDATA: Likewise.
21036         * charmaps/CP1250: Likewise.
21037         * charmaps/CP1251: Likewise.
21038         * charmaps/CP1252: Likewise.
21039         * charmaps/CP1253: Likewise.
21040         * charmaps/CP1254: Likewise.
21041         * charmaps/CP1255: Likewise.
21042         * charmaps/CP1256: Likewise.
21043         * charmaps/CSN_369103: Likewise.
21044         * charmaps/EBCDIC-DK-NO: Likewise.
21045         * charmaps/GB_1988-80: Likewise.
21046         * charmaps/GREEK-CCITT: Likewise.
21047         * charmaps/GREEK7: Likewise.
21048         * charmaps/INIS-8: Likewise.
21049         * charmaps/ISIRI-3342: Likewise.
21050         * charmaps/ISO_2033-1983: Likewise.
21051         * charmaps/ISO_5427-EXT: Likewise.
21052         * locales/POSIX: Likewise.
21053         * locales/ar_SA: Likewise.
21054         * locales/be_BY: Likewise.
21055         * locales/be_BY@latin: Likewise.
21056         * locales/ca_ES: Likewise.
21057         * locales/cs_CZ: Likewise.
21058         * locales/da_DK: Likewise.
21059         * locales/de_BE: Likewise.
21060         * locales/de_CH: Likewise.
21061         * locales/de_LU: Likewise.
21062         * locales/en_AU: Likewise.
21063         * locales/en_BW: Likewise.
21064         * locales/en_CA: Likewise.
21065         * locales/en_DK: Likewise.
21066         * locales/en_GB: Likewise.
21067         * locales/en_IE: Likewise.
21068         * locales/en_NZ: Likewise.
21069         * locales/en_ZA: Likewise.
21070         * locales/en_ZW: Likewise.
21071         * locales/es_AR: Likewise.
21072         * locales/es_BO: Likewise.
21073         * locales/es_CL: Likewise.
21074         * locales/es_CO: Likewise.
21075         * locales/es_DO: Likewise.
21076         * locales/es_EC: Likewise.
21077         * locales/es_ES: Likewise.
21078         * locales/es_HN: Likewise.
21079         * locales/es_MX: Likewise.
21080         * locales/es_PA: Likewise.
21081         * locales/es_PE: Likewise.
21082         * locales/es_PY: Likewise.
21083         * locales/es_SV: Likewise.
21084         * locales/es_US: Likewise.
21085         * locales/es_UY: Likewise.
21086         * locales/es_VE: Likewise.
21087         * locales/et_EE: Likewise.
21088         * locales/fa_IR: Likewise.
21089         * locales/fo_FO: Likewise.
21090         * locales/fr_CA: Likewise.
21091         * locales/fr_CH: Likewise.
21092         * locales/gv_GB: Likewise.
21093         * locales/he_IL: Likewise.
21094         * locales/hr_HR: Likewise.
21095         * locales/id_ID: Likewise.
21096         * locales/is_IS: Likewise.
21097         * locales/it_CH: Likewise.
21098         * locales/iw_IL: Likewise.
21099         * locales/kl_GL: Likewise.
21100         * locales/ko_KR: Likewise.
21101         * locales/kw_GB: Likewise.
21102         * locales/lg_UG: Likewise.
21103         * locales/lt_LT: Likewise.
21104         * locales/lv_LV: Likewise.
21105         * locales/mi_NZ: Likewise.
21106         * locales/nhn_MX: Likewise.
21107         * locales/nl_BE: Likewise.
21108         * locales/pl_PL: Likewise.
21109         * locales/sk_SK: Likewise.
21110         * locales/sl_SI: Likewise.
21111         * locales/sv_FI: Likewise.
21112         * locales/tl_PH: Likewise.
21113         * locales/tr_TR: Likewise.
21114         * locales/vi_VN: Likewise.
21116 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21118         [BZ #17475]
21119         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21120         of tu_IN and bh_IN.
21122 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21124         [BZ #18694]
21125         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21126         bits/wordsize.h.
21127         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21129 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21131         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21132         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21133         (spawn_thread): New function.
21134         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21135         (do_test): ... here.  Use IS_LOADED to test for its
21136         availability.
21138 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21140         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21142 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21144         [BZ #18696]
21145         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21146         si_addr_bnd.
21147         (si_lower): New.
21148         (si_upper): Likewise.
21150 2015-07-16  David S. Miller  <davem@davemloft.net>
21152         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21154 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21156         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21157         buffer.
21158         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21159         fail output information.
21161 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21164         and strstr-ppc64..
21165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21166         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21167         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21168         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21169         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21171 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21173         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21174         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21175         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21176         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21178 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21180         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21181         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21182         rtld_hidden_proto.
21183         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21185 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21187         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21188         the test can fail.
21190         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21192         [BZ #18676]
21193         * elf/tst-nodelete-opened.c: New test case.
21194         * elf/tst-nodelete-opened-lib.c: New test case module.
21195         * elf/Makefile (tests, modules-names): Use them.
21196         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21197         early.
21199 2015-07-15  David S. Miller  <davem@davemloft.net>
21201         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21202         futex-intenal.h
21203         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21204         * sysdeps/sparc/sparc64/Makefile: Likewise.
21205         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21206         Remove space from macro define.
21207         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21209 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21211         [BZ #17475]
21212         * locale/iso-639.def: Update Bhili and Tulu language codes as
21213         per iso639-3.
21215 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21217         * elf/tst-leaks1.c (main): Converted to ...
21218         (do_test): ... this.
21219         (TEST_FUNCTION): New macro.
21220         Include test-skeleton.c.
21221         * localedata/tst-langinfo.c (main): Converted to ...
21222         (do_test): ... this.
21223         (TEST_FUNCTION): New macro.
21224         Include test-skeleton.c.
21225         * math/test-fpucw.c (main): Converted to ...
21226         (do_test): ... this.
21227         (TEST_FUNCTION): New macro.
21228         Include test-skeleton.c.
21229         * math/test-tgmath.c (main): Converted to ...
21230         (do_test): ... this.
21231         (TEST_FUNCTION): New macro.
21232         Include test-skeleton.c.
21233         * math/test-tgmath2.c (main): Converted to ...
21234         (do_test): ... this.
21235         (TEST_FUNCTION): New macro.
21236         Include test-skeleton.c.
21237         * setjmp/tst-setjmp.c (main): Converted to ...
21238         (do_test): ... this.
21239         (TEST_FUNCTION): New macro.
21240         Include test-skeleton.c.
21241         * stdio-common/tst-sscanf.c (main): Converted to ...
21242         (do_test): ... this.
21243         (TEST_FUNCTION): New macro.
21244         Include test-skeleton.c.
21245         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21246         (do_test): ... this.
21247         (TEST_FUNCTION): New macro.
21248         Include test-skeleton.c.
21250         * elf/tst-audit9.c (main): Converted to ...
21251         (do_test): ... this.
21252         (TEST_FUNCTION): New macro.
21253         Include test-skeleton.c.
21255 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21257         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21259 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21261         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21262         New variable.
21264 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21266         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21268 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21270         * sysdeps/generic/dl-fileid.h: New file.
21271         * sysdeps/posix/dl-fileid.h: New file.
21272         * sysdeps/nacl/dl-fileid.h: New file.
21273         * include/link.h: Include <dl-fileid.h>.
21274         (struct link_map): Replace l_dev and l_ino with l_file_id.
21275         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21276         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21277         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21279 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21283 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21285         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21286         Add iff $CXX is set.
21287         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21288         Likewise.
21289         (tst-nodelete-zmodiff): Likewise.
21290         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21292 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21294         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21296 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21298         * sysdeps/aarch64/fpu/math_private.h
21299         (define math_opt_barrier): Add AArch64 version.
21300         (math_force_eval): Likewise.
21302 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21304         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21306 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21308         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21309         %ld with %jd and cast to intmax_t.
21310         (do_test_length_zero): Likewise.
21312 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21314         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21316 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21318         * sysdeps/tile/libm-test-ulps: Regenerated.
21320         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21321         Comment out the whole function, not just its body.
21323 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21325         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21326         locks.
21328         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21330 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21332         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21333         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21335 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21337         * sysdeps/nptl/futex-internal.h: New file.
21338         * sysdeps/nacl/futex-internal.h: New file.
21339         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21340         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21341         error checking.
21342         (setxid_unmark_thread): Likewise.
21343         (__nptl_setxid): Likewise.
21344         (__wait_lookup_done): Likewise.
21345         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21346         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21347         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21348         * nptl/pthread_once.c (clear_once_control): Likewise.
21349         (__pthread_once_slow): Likewise.
21350         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21351         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21352         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21353         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21354         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21355         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21356         Likewise.
21357         (__pthread_rwlock_rdlock): Likewise.
21358         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21359         Likewise.
21360         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21361         Likewise.
21362         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21363         Likewise.
21364         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21365         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21366         Likewise.
21367         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21368         __ASSUME_PRIVATE_FUTEX check.
21369         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21370         Check that shared futexes are supported.
21371         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21372         wrappers with error checking.
21373         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21374         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21375         * nptl/pthread_barrierattr_setpshared.c
21376         (pthread_barrierattr_setpshared): Check that shared futexes are
21377         supported.
21378         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21379         Likewise.
21380         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21381         Likewise.
21382         * nptl/sem_init.c (futex_private_if_supported): Remove.
21383         (__new_sem_init): Adapt and check that shared futexes are supported.
21384         * nptl/sem_open.c (sem_open): Likewise.
21385         * nptl/sem_post.c (futex_wake): Remove.
21386         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21387         (do_futex_wait): Use futex wrappers with error checking.
21388         * nptl/sem_wait.c: Include lowlevellock.h.
21389         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21390         Use futex_supports_pshared.
21391         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21392         Use futex wrappers with error checking.
21393         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21394         Likewise.
21395         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21396         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21397         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21398         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21399         (futex_wake): Likewise.
21400         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21401         (do_futex_wait): Use futex wrappers with error checking.
21402         (__new_sem_wait_slow): Update EINTR handling.
21403         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21405 2015-07-09  Martin Sebor  <msebor@redhat.com>
21407         [BZ #18435]
21408         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21409         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21410         * nptl/Makefile (test-xfail-tst-once5): Define.
21412 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21414         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21415         * elf/dl-minimal.c: For readability, reorder some definitions and
21416         introduce more page breaks.  Include <stdio.h>.
21417         (__libc_fatal): New function.
21419         * include/unistd.h: Add rtld_hidden_proto for _exit.
21420         * posix/_exit.c: Add rtld_hidden_def.
21421         * sysdeps/mach/hurd/_exit.c: Likewise.
21422         * sysdeps/nacl/_exit.c: Likewise.
21423         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21424         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21426 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21428         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21429         bndmov encoding with zero displacement.
21431 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21432             H.J. Lu  <hongjiu.lu@intel.com>
21434         [BZ #18134]
21435         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21436         * sysdeps/i386/configure: Regenerated.
21437         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21438         (_dl_runtime_profile): Save and restore Intel MPX return bound
21439         registers when calling _dl_call_pltexit.  Add
21440         PRESERVE_BND_REGS_PREFIX before return.
21441         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21442         (LRV_BND1_OFFSET): Likewise.
21443         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21444         lrv_bnd1.
21445         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21446         typo in bndmov encoding.
21447         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21448         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21449         branch instructions to preserve bounds.
21451 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21454         [GLIBC_2.22]: Add fmemopen.
21456 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21458         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21459         returns an error, also try to use host port from __mach_host_self for
21460         the __vm_wire call.
21461         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21463 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21465         [BZ #18400]
21466         [BZ #18648]
21467         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21468         Fix pr_uid and pr_gid members.
21469         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21470         definition to elf_greg_t.
21472 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21474         [BZ #18383]
21475         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21476         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21477         * sysdeps/arm/configure: Regenerated.
21478         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21479         (test-xfail-tst-tlsalign-static): Variable removed.
21481         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21482         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21483         rather than explicit 'ln -s'.
21485         * resolv/rpc/netdb.h: New file.
21486         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21488 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21490         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21491         length buffers.
21492         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21493         test-skeleton.c.
21495         [BZ #6544]
21496         [BZ #11216]
21497         [BZ #12836]
21498         [BZ #13151]
21499         [BZ #13152]
21500         [BZ #14292]
21501         * include/stdio.h (fmemopen): Remove hidden prototype.
21502         (__fmemopen): Add new hidden prototype.
21503         * libio/Makefile: Add oldfmemopen object.
21504         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21505         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21506         compliance.
21507         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21508         symbol compatibility.
21509         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21510         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21511         fmemopen.
21512         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21513         on append and read mode.
21514         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21515         fmemopen.
21516         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21517         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21518         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21519         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21520         Likewise.
21521         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21522         [GLIBC_2.22]: Likewise.
21523         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21524         Likewise.
21525         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21526         Likewise.
21527         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21528         [GLIBC_2.22]: Likewise.
21529         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21530         [GLIBC_2.22]: Likewise.
21531         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21532         [GLIBC_2.22]: Likewise.
21533         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21534         [GLIBC_2.22]: Likewise.
21535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21536         [GLIBC_2.22]: Likewise.
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21538         [GLIBC_2.22]: Likewise.
21539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21540         [GLIBC_2.22]: Likewise.
21541         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21542         Likewise.
21543         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21544         Likewise.
21545         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21546         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21547         [GLIBC_2.22]: Likewise.
21548         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21549         [GLIBC_2.22]: Likewise.
21550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21551         [GLIBC_2.22]: Likewise.
21552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21553         [GLIBC_2.22]: Likewise.
21554         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21555         Likewise.
21556         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21557         Likewise.
21558         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21559         Likewise.
21560         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21561         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21563 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21565         [BZ #18643]
21566         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21567         IPV6_PATHMTU, and IPV6_DONTFRAG.
21569 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21571         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21572         and _IO_UNBUFFERED.
21573         * libio/oldfileops.c: Likewise.
21574         * libio/wfileops.c: Likewise.
21576 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21578         * nscd/selinux.c: Delete selinux/flask.h include.
21580 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21582         [BZ #18641]
21583         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21584         (putpwent): Likewise.
21585         (getpwnam): Likewise.
21586         (getpwent_r): Likewise.
21587         (getpwuid_r): Likewise.
21588         (getpwnam_r): Likewise.
21589         (fgetpwent_r): Likewise.
21591 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21593         [BZ #18557]
21594         * inet/rcmd.c (__validuser2_sa): Check user first to
21595         short-circuit host check.
21597 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21598             Mikhail Ilin  <m.ilin@samsung.com>
21600         [BZ #17833]
21601         * elf/Makefile (tests): Add tst-nodelete.
21602         (modules-names): Add tst-nodelete-uniquemod.
21603         (tst-nodelete-uniquemod.so-no-z-defs): New.
21604         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21605         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21606         ($(objpfx)tst-nodelete): Likewise.
21607         ($(objpfx)tst-nodelete.out): Likewise.
21608         (LDFLAGS-tst-nodelete): Likewise.
21609         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21610         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21611         implement forced object deletion.
21612         (_dl_close): Pass false to _dl_close_worker.
21613         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21614         * elf/tst-nodelete.cc: New file.
21615         * elf/tst-nodeletelib.cc: Likewise.
21616         * elf/tst-znodeletelib.cc: Likewise.
21617         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21619 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21621         [BZ #18508]
21622         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21623         Depend on $(libdl).
21624         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21625         is not called infinitely times.
21626         (backtrace_helper): New function.
21627         (trace_arg): New struct.
21628         (st1): Enlarge stack size.
21629         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21630         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21631         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21632         Likewise.
21634 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21636         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21638 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21640         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21641         Include sys/types.h instead of bits/types.h.
21642         Remove inclusion of bits/wordsize.h.
21644 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21646         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21647         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21648         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21649         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21650         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21651         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21653 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21655         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21656         link-defines.sym.
21657         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21658         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21659         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21660         and LR_SIZE.
21661         * sysdeps/i386/link-defines.sym: New file.
21663 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21665         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21666         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21667         ($(objpfx)tst-audit3): New rule.
21668         ($(objpfx)tst-audit3.out): Likewise.
21669         * sysdeps/i386/tst-audit3.c: New file.
21670         * sysdeps/i386/tst-audit3.h: Likewise.
21671         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21672         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21674 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21676         [BZ #18633]
21677         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21678         pointer in C code.
21679         (__strcat_c): Likewise.
21680         (__strcat_g): Likewise.
21682 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21684         [BZ #18592]
21685         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21687 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21689         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21690         New function.  (__ieee754_sqrtf): New function.
21691         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21692         New function.
21693         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21694         New function.
21696 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21698         * sysdeps/ieee754/support.c: Remove unused file.
21700 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21702         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21703         registers instead of d ones so the layout is kernel abi compatible.
21704         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21705         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21706         Likewise.
21708 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21710         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21712 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21714         [BZ #18619]
21715         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21716         and return argument in case of subnormal argument.
21718 2015-07-01  Martin Sebor  <msebor@redhat.com>
21720         [BZ #18435]
21721         * nptl/Makefile: Add tst-once5.cc.
21722         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21723         Remove macro redefinitions.
21724         * nptl/tst-once5.cc: New test.
21726 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21728         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21730         * sysdeps/arm/libm-test-ulps: Regenerated.
21732         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21735 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21737         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21738         lll_lock_wait_private and lll_futex_wake probes.
21740         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21741         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21742         Likewise.
21743         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21744         atomic_spin_nop.
21745         * sysdeps/x86_64/bits/atomic.h: Likewise.
21746         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21747         to atomic_spin_nop and move ...
21748         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21749         ... here and ...
21750         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21751         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21752         atomic_spin_nop instead of BUSY_WAIT_NOP.
21753         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21754         Likewise.
21755         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21756         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21757         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21758         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21759         instead of atomic_delay.
21761 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21763         [BZ #18613]
21764         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21765         X_ADJ not X when adjusting exponent.
21766         (__ieee754_gamma_r): Do intermediate computations in
21767         round-to-nearest then adjust overflowing and underflowing results
21768         as needed.
21769         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21770         of X_ADJ not X when adjusting exponent.
21771         (__ieee754_gammaf_r): Do intermediate computations in
21772         round-to-nearest then adjust overflowing and underflowing results
21773         as needed.
21774         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21775         log of X_ADJ not X when adjusting exponent.
21776         (__ieee754_gammal_r): Do intermediate computations in
21777         round-to-nearest then adjust overflowing and underflowing results
21778         as needed.  Use 1.0L not 1.0f as numerator of division.
21779         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21780         log of X_ADJ not X when adjusting exponent.
21781         (__ieee754_gammal_r): Do intermediate computations in
21782         round-to-nearest then adjust overflowing and underflowing results
21783         as needed.  Use 1.0L not 1.0f as numerator of division.
21784         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21785         of X_ADJ not X when adjusting exponent.
21786         (__ieee754_gammal_r): Do intermediate computations in
21787         round-to-nearest then adjust overflowing and underflowing results
21788         as needed.  Use 1.0L not 1.0f as numerator of division.
21789         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21790         to auto-libm-test-in.
21791         (tgamma_test): Use ALL_RM_TEST.
21792         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21793         tests of tgamma with spurious-overflow.
21794         * math/auto-libm-test-out: Regenerated.
21795         * math/gen-libm-have-vector-test.sh: Do not check for START.
21796         * sysdeps/i386/fpu/libm-test-ulps: Update.
21797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21799         [BZ #18612]
21800         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21801         arguments, just return 0.5 times the argument, with underflow
21802         forced as needed.
21803         * math/auto-libm-test-in: Add more tests of j1.
21804         * math/auto-libm-test-out: Regenerated.
21806         [BZ #16559]
21807         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21808         (__ieee754_j1): Force underflow exception for small results.
21809         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21810         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21811         (__ieee754_j1f): Force underflow exception for small results.
21812         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21813         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21814         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21815         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21816         (__ieee754_j1l): Force underflow exception for small results.
21817         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21818         * math/auto-libm-test-in: Add more tests of j1 and jn.
21819         * math/auto-libm-test-out: Regenerated.
21821         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21822         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21823         (PF_MPLS): Likewise.
21824         (AF_IB): Likewise.
21825         (AF_MPLS): Likewise.
21826         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21827         value and macro.
21828         (MS_RMT_MASK): Include MS_LAZYTIME.
21830 2015-06-26  Mel Gorman  <mgorman@suse.de>
21832         [BZ #18502]
21833         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21834         already minimal.
21836 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21838         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21839         (DT_MIPS_NUM): Update.
21840         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21841         DT_MIPS_RLD_MAP_REL.
21843 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21845         [BZ #16559]
21846         [BZ #18602]
21847         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21848         round-to-nearest internally then recompute results that
21849         underflowed to zero in the original rounding mode.
21850         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21851         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21852         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21853         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21854         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21855         * sysdeps/i386/fpu/libm-test-ulps: Update.
21856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21858 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21860         * NEWS: Fixed description of link with vector math library.
21862 2015-06-25  Andreas Schwab  <schwab@suse.de>
21864         [BZ #18549]
21865         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21866         * libio/test-fmemopen.c (do_test): Add test for it.
21868 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21870         [BZ #17841]
21871         * Makeconfig (no-pie-ldflag): New.
21872         (+link): Set to $(+link-pie) if default to PIE.
21873         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21874         * config.make.in (build-pie-default): New.
21875         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21876         is default.  AC_SUBST.
21877         * configure: Regenerated.
21878         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21880 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21882         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21883         to 'unsigned int'.
21885         * resolv/gai_misc.h (struct waitlist): Change type of field
21886         counterp to 'volatile unsigned int *'.
21887         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21888         FUTEXADDR and OLDVAL.
21889         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21890         Give local variable TOTAL type 'volatile unsigned int'.
21891         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21892         * resolv/gai_suspend.c (gai_suspend):
21893         Give local variable CNTR type 'unsigned int'.
21895         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21896         counterp to 'volatile unsigned int *'.
21897         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21898         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21899         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21900         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21901         Give local variable TOTAL type 'volatile unsigned int'.
21902         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21904 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21906         [BZ #18383]
21907         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21908         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21909         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21910         comment for i386/x86-64.
21911         (test-xfail-tst-tlsalign-extern-static): Removed.
21913 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21915         * math/test-double.h: New file.
21916         * math/test-float.h: Likewise.
21917         * math/test-ldouble.h: Likewise.
21918         * math/test-math-inline.h: Likewise.
21919         * math/test-math-no-inline.h: Likewise.
21920         * math/test-math-scalar.h: Likewise.
21921         * math/test-math-vector.h: Likewise.
21922         * math/test-vec-loop.h: Remove file.  Contents moved into
21923         test-math-vector.h.
21924         * math/libm-test.inc (MATHCONST): Do not document macro.
21925         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21926         and test-math-scalar.h.
21927         (FUNC): Remove macro.
21928         (FUNC_TEST): Likewise.
21929         (FLOAT): Likewise.
21930         (MATHCONST): Likewise.
21931         (PRINTF_EXPR): Likewise.
21932         (PRINTF_XEXPR): Likewise.
21933         (PRINTF_NEXPR): Likewise.
21934         (TEST_DOUBLE): Likewise.
21935         (TEST_MATHVEC): Likewise.
21936         (__NO_MATH_INLINES): Likewise.
21937         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21938         and test-math-scalar.h.
21939         (FUNC): Remove macro.
21940         (FUNC_TEST): Likewise.
21941         (FLOAT): Likewise.
21942         (MATHCONST): Likewise.
21943         (PRINTF_EXPR): Likewise.
21944         (PRINTF_XEXPR): Likewise.
21945         (PRINTF_NEXPR): Likewise.
21946         (TEST_FLOAT): Likewise.
21947         (TEST_MATHVEC): Likewise.
21948         (__NO_MATH_INLINES): Likewise.
21949         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21950         and test-math-scalar.h.
21951         (FUNC): Remove macro.
21952         (FUNC_TEST): Likewise.
21953         (FLOAT): Likewise.
21954         (MATHCONST): Likewise.
21955         (PRINTF_EXPR): Likewise.
21956         (PRINTF_XEXPR): Likewise.
21957         (PRINTF_NEXPR): Likewise.
21958         (TEST_DOUBLE): Likewise.
21959         (TEST_MATHVEC): Likewise.
21960         (TEST_INLINE): Likewise.
21961         (__NO_MATH_INLINES): Likewise.
21962         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21963         test-math-scalar.h.
21964         (FUNC): Remove macro.
21965         (FUNC_TEST): Likewise.
21966         (FLOAT): Likewise.
21967         (MATHCONST): Likewise.
21968         (PRINTF_EXPR): Likewise.
21969         (PRINTF_XEXPR): Likewise.
21970         (PRINTF_NEXPR): Likewise.
21971         (TEST_FLOAT): Likewise.
21972         (TEST_MATHVEC): Likewise.
21973         (TEST_INLINE): Likewise.
21974         (__NO_MATH_INLINES): Likewise.
21975         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21976         and test-math-scalar.h.
21977         (FUNC): Remove macro.
21978         (FUNC_TEST): Likewise.
21979         (FLOAT): Likewise.
21980         (MATHCONST): Likewise.
21981         (PRINTF_EXPR): Likewise.
21982         (PRINTF_XEXPR): Likewise.
21983         (PRINTF_NEXPR): Likewise.
21984         (TEST_LDOUBLE): Likewise.
21985         (TEST_MATHVEC): Likewise.
21986         (TEST_INLINE): Likewise.
21987         (__NO_MATH_INLINES): Likewise.
21988         * math/test-ldouble.c: Include test-ldouble.h,
21989         test-math-no-inline.h and test-math-scalar.h.
21990         (FUNC): Remove macro.
21991         (FUNC_TEST): Likewise.
21992         (FLOAT): Likewise.
21993         (MATHCONST): Likewise.
21994         (PRINTF_EXPR): Likewise.
21995         (PRINTF_XEXPR): Likewise.
21996         (PRINTF_NEXPR): Likewise.
21997         (TEST_LDOUBLE): Likewise.
21998         (TEST_MATHVEC): Likewise.
21999         (__NO_MATH_INLINES): Likewise.
22000         * math/test-double-vlen2.h: Include test-double.h,
22001         test-math-no-inline.h and test-math-vector.h.
22002         (FLOAT): Remove macro.
22003         (FUNC): Likewise.
22004         (MATHCONST): Likewise.
22005         (PRINTF_EXPR): Likewise.
22006         (PRINTF_XEXPR): Likewise.
22007         (PRINTF_NEXPR): Likewise.
22008         (TEST_DOUBLE): Likewise.
22009         (TEST_MATHVEC): Likewise.
22010         (__NO_MATH_INLINES): Likewise.
22011         (CNCT): Likewise.
22012         (CONCAT): Likewise.
22013         (WRAPPER_NAME): Likewise.
22014         (WRAPPER_DECL): Likewise.
22015         (WRAPPER_DECL_ff): Likewise.
22016         (WRAPPER_DECL_fFF): Likewise.
22017         (VECTOR_WRAPPER): Likewise.
22018         (VECTOR_WRAPPER_ff): Likewise.
22019         (VECTOR_WRAPPER_fFF): Likewise.
22020         (VEC_LEN): New macro.
22021         * math/test-double-vlen4.h: Include test-double.h,
22022         test-math-no-inline.h and test-math-vector.h.
22023         (FLOAT): Remove macro.
22024         (FUNC): Likewise.
22025         (MATHCONST): Likewise.
22026         (PRINTF_EXPR): Likewise.
22027         (PRINTF_XEXPR): Likewise.
22028         (PRINTF_NEXPR): Likewise.
22029         (TEST_DOUBLE): Likewise.
22030         (TEST_MATHVEC): Likewise.
22031         (__NO_MATH_INLINES): Likewise.
22032         (CNCT): Likewise.
22033         (CONCAT): Likewise.
22034         (WRAPPER_NAME): Likewise.
22035         (WRAPPER_DECL): Likewise.
22036         (WRAPPER_DECL_ff): Likewise.
22037         (WRAPPER_DECL_fFF): Likewise.
22038         (VECTOR_WRAPPER): Likewise.
22039         (VECTOR_WRAPPER_ff): Likewise.
22040         (VECTOR_WRAPPER_fFF): Likewise.
22041         (VEC_LEN): New macro.
22042         * math/test-double-vlen8.h: Include test-double.h,
22043         test-math-no-inline.h and test-math-vector.h.
22044         (FLOAT): Remove macro.
22045         (FUNC): Likewise.
22046         (MATHCONST): Likewise.
22047         (PRINTF_EXPR): Likewise.
22048         (PRINTF_XEXPR): Likewise.
22049         (PRINTF_NEXPR): Likewise.
22050         (TEST_DOUBLE): Likewise.
22051         (TEST_MATHVEC): Likewise.
22052         (__NO_MATH_INLINES): Likewise.
22053         (CNCT): Likewise.
22054         (CONCAT): Likewise.
22055         (WRAPPER_NAME): Likewise.
22056         (WRAPPER_DECL): Likewise.
22057         (WRAPPER_DECL_ff): Likewise.
22058         (WRAPPER_DECL_fFF): Likewise.
22059         (VECTOR_WRAPPER): Likewise.
22060         (VECTOR_WRAPPER_ff): Likewise.
22061         (VECTOR_WRAPPER_fFF): Likewise.
22062         (VEC_LEN): New macro.
22063         * math/test-float-vlen4.h: Include test-float.h,
22064         test-math-no-inline.h and test-math-vector.h.
22065         (FLOAT): Remove macro.
22066         (FUNC): Likewise.
22067         (MATHCONST): Likewise.
22068         (PRINTF_EXPR): Likewise.
22069         (PRINTF_XEXPR): Likewise.
22070         (PRINTF_NEXPR): Likewise.
22071         (TEST_FLOAT): Likewise.
22072         (TEST_MATHVEC): Likewise.
22073         (__NO_MATH_INLINES): Likewise.
22074         (CNCT): Likewise.
22075         (CONCAT): Likewise.
22076         (WRAPPER_NAME): Likewise.
22077         (WRAPPER_DECL): Likewise.
22078         (WRAPPER_DECL_ff): Likewise.
22079         (WRAPPER_DECL_fFF): Likewise.
22080         (VECTOR_WRAPPER): Likewise.
22081         (VECTOR_WRAPPER_ff): Likewise.
22082         (VECTOR_WRAPPER_fFF): Likewise.
22083         (VEC_LEN): New macro.
22084         * math/test-float-vlen8.h: Include test-float.h,
22085         test-math-no-inline.h and test-math-vector.h.
22086         (FLOAT): Remove macro.
22087         (FUNC): Likewise.
22088         (MATHCONST): Likewise.
22089         (PRINTF_EXPR): Likewise.
22090         (PRINTF_XEXPR): Likewise.
22091         (PRINTF_NEXPR): Likewise.
22092         (TEST_FLOAT): Likewise.
22093         (TEST_MATHVEC): Likewise.
22094         (__NO_MATH_INLINES): Likewise.
22095         (CNCT): Likewise.
22096         (CONCAT): Likewise.
22097         (WRAPPER_NAME): Likewise.
22098         (WRAPPER_DECL): Likewise.
22099         (WRAPPER_DECL_ff): Likewise.
22100         (WRAPPER_DECL_fFF): Likewise.
22101         (VECTOR_WRAPPER): Likewise.
22102         (VECTOR_WRAPPER_ff): Likewise.
22103         (VECTOR_WRAPPER_fFF): Likewise.
22104         (VEC_LEN): New macro.
22105         * math/test-float-vlen16.h: Include test-float.h,
22106         test-math-no-inline.h and test-math-vector.h.
22107         (FLOAT): Remove macro.
22108         (FUNC): Likewise.
22109         (MATHCONST): Likewise.
22110         (PRINTF_EXPR): Likewise.
22111         (PRINTF_XEXPR): Likewise.
22112         (PRINTF_NEXPR): Likewise.
22113         (TEST_FLOAT): Likewise.
22114         (TEST_MATHVEC): Likewise.
22115         (__NO_MATH_INLINES): Likewise.
22116         (CNCT): Likewise.
22117         (CONCAT): Likewise.
22118         (WRAPPER_NAME): Likewise.
22119         (WRAPPER_DECL): Likewise.
22120         (WRAPPER_DECL_ff): Likewise.
22121         (WRAPPER_DECL_fFF): Likewise.
22122         (VECTOR_WRAPPER): Likewise.
22123         (VECTOR_WRAPPER_ff): Likewise.
22124         (VECTOR_WRAPPER_fFF): Likewise.
22125         (VEC_LEN): New macro.
22126         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22127         test-vec-loop.h.
22128         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22130         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22131         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22132         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22133         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22134         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22136 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22138         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22139         (__getlogin_r): ... this.
22141 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22143         [BZ #18594]
22144         * math/s_ccosh.c (__ccosh): Compare with least normal value
22145         instead of comparing class with FP_SUBNORMAL.
22146         * math/s_ccoshf.c (__ccoshf): Likewise.
22147         * math/s_ccoshl.c (__ccoshl): Likewise.
22148         * math/s_cexp.c (__cexp): Likewise.
22149         * math/s_cexpf.c (__cexpf): Likewise.
22150         * math/s_cexpl.c (__cexpl): Likewise.
22151         * math/s_csin.c (__csin): Likewise.
22152         * math/s_csinf.c (__csinf): Likewise.
22153         * math/s_csinh.c (__csinh): Likewise.
22154         * math/s_csinhf.c (__csinhf): Likewise.
22155         * math/s_csinhl.c (__csinhl): Likewise.
22156         * math/s_csinl.c (__csinl): Likewise.
22157         * math/s_ctan.c (__ctan): Likewise.
22158         * math/s_ctanf.c (__ctanf): Likewise.
22159         * math/s_ctanh.c (__ctanh): Likewise.
22160         * math/s_ctanhf.c (__ctanhf): Likewise.
22161         * math/s_ctanhl.c (__ctanhl): Likewise.
22162         * math/s_ctanl.c (__ctanl): Likewise.
22163         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22164         csin, csinh, ctan and ctanh.
22165         * math/auto-libm-test-out: Regenerated.
22166         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22167         * sysdeps/i386/fpu/libm-test-ulps: Update.
22168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22170 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22172         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22173         return value is wrong, print the expected value too.
22175 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22177         [BZ #18585]
22178         * elf/readlib.c (is_gdb_python_file): New.
22179         (process_file): Don't issue errors on filenames with -gdb.py
22180         suffix.
22182 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22184         * math/auto-libm-test-in: Add more tests of csin and csinh.
22185         * math/auto-libm-test-out: Regenerated.
22186         * math/libm-test.inc (csin_test_data): Remove tests moved to
22187         auto-libm-test-in.
22188         (csinh_test_data): Likewise.
22190         [BZ #18593]
22191         * math/s_csin.c (__csin): Negate before rather than after possibly
22192         overflowing multiplication.
22193         * math/s_csinf.c (__csinf): Likewise.
22194         * math/s_csinh.c (__csinh): Likewise.
22195         * math/s_csinhf.c (__csinhf): Likewise.
22196         * math/s_csinhl.c (__csinhl): Likewise.
22197         * math/s_csinl.c (__csinl): Likewise.
22198         * math/auto-libm-test-in: Add some tests of csin and csinh.
22199         * math/auto-libm-test-out: Regenerated.
22200         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22201         (csinh_test_data): Likewise.
22202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22204         [BZ #18586]
22205         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22206         underflow exception for small results.
22208 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22210         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22211         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22212         variable and included header.
22213         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22214         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22215         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22216         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22217         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22219         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22220         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22221         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22222         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22223         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22224         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22225         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22226         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22227         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22228         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22230 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22232         [BZ #16526]
22233         [BZ #16538]
22234         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22235         (__sin): Force underflow exception for arguments with small
22236         absolute value.
22237         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22238         (__kernel_sinf): Force underflow exception for arguments with
22239         small absolute value.
22240         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22241         (__kernel_sincosl): Force underflow exception for arguments with
22242         small absolute value.
22243         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22244         (__kernel_sinl): Force underflow exception for arguments with
22245         small absolute value.
22246         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22247         (__kernel_sincosl): Force underflow exception for arguments with
22248         small absolute value.
22249         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22250         (__kernel_sinl): Force underflow exception for arguments with
22251         small absolute value.
22252         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22253         (__kernel_sinl): Force underflow exception for arguments with
22254         small absolute value.
22255         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22256         (__kernel_sinf): Force underflow exception for arguments with
22257         small absolute value.
22258         * math/auto-libm-test-in: Add more tests of sin and sincos.
22259         * math/auto-libm-test-out: Regenerated.
22261         [BZ #18245]
22262         [BZ #18583]
22263         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22264         (__kernel_standard_l): Use feholdexcept and fesetenv around
22265         conversion to double instead of special-casing overflow and
22266         underflow.
22267         * math/libm-test.inc (fmod_test_data): Add more tests.
22268         (remainder_test_data): Likewise.
22269         (sqrt_test_data): Likewise.
22271 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22273         [BZ #17403]
22274         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22275         atomic_read_barrier, atomic_write_barrier): Define.
22276         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22277         atomic_read_barrier, atomic_write_barrier): Define.
22279 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22281         * math/Makefile [$(PERL) != no]
22282         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22283         dependency on libm-test.stmp below the inclusion of Rules.
22285 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22287         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22288         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22289         and included header.
22290         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22292         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22293         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22294         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22295         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22296         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22298         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22299         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22300         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22301         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22302         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22303         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22304         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22305         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22306         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22307         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22308         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22310 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22312         [BZ #18371]
22313         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22314         intermediate but not final result might underflow.
22315         * math/s_csqrtf.c (__csqrtf): Likewise.
22316         * math/s_csqrtl.c (__csqrtl): Likewise.
22317         * math/auto-libm-test-in: Add more tests of csqrt.
22318         * math/auto-libm-test-out: Regenerated.
22319         * sysdeps/i386/fpu/libm-test-ulps: Update.
22321         [BZ #18219]
22322         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22323         threshold on absolute value of exponent for which scaling is used.
22324         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22325         * math/auto-libm-test-in: Add more tests of exp2.
22326         * math/auto-libm-test-out: Regenerated.
22328 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22330         [BZ #17977]
22331         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22332         when initializing interface list, based on the bug analysis
22333         and the patch proposed by Eric Newton.
22334         * resolv/tst-res_hconf_reorder.c: New test.
22335         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22336         tst-res_hconf_reorder.
22337         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22338         and $(shared-thread-library).
22339         (tst-res_hconf_reorder-ENV): New variable.
22341         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22342         in comment.
22344 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #16353]
22347         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22348         (__expm1): Force underflow exception for arguments with small
22349         absolute value.
22350         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22351         (__expm1f): Force underflow exception for arguments with small
22352         absolute value.
22353         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22354         (__expm1): Force underflow exception for arguments with small
22355         absolute value.
22356         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22357         (__expm1f): Force underflow exception for arguments with small
22358         absolute value.
22359         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22360         Check for small arguments before calling __expm1.
22361         * math/auto-libm-test-in: Do not mark underflow exceptions as
22362         possibly missing for bug 16353.
22363         * math/auto-libm-test-out: Regenerated.
22365 2015-06-22  Andreas Schwab  <schwab@suse.de>
22367         [BZ #18513]
22368         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22369         PTR queries.
22371 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22373         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22375         * string/strcoll_l.c: Remove unused struct element idxnow.
22377 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22379         [BZ #18569]
22380         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22381         underflow and return argument in case of subnormal argument.
22382         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22383         Likewise.
22384         * math/auto-libm-test-in: Add more tests of expm1.
22385         * math/auto-libm-test-out: Regenerated.
22387         [BZ #16361]
22388         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22389         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22390         tiny results.
22391         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22392         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22393         tiny results.
22394         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22395         mark underflow exceptions as possibly missing for bug 16361.
22396         * math/auto-libm-test-out: Regenerated.
22398 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22400         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22401         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22402         Remove variable.
22403         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22404         (test-xfail-XOPEN2K8/utmpx.h/conform).
22406         * conform/conformtest.pl ($xerrors): New variable.
22407         (note_error): New function.
22408         (compiletest): New argument $xfail.  Use not_error.
22409         (runtest): Likewise.
22410         (top level): Handle xfail- lines.  Update calls to compiletest and
22411         runtest.  Handle xfail- and optional- in headers listed with
22412         allow-header.
22413         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22414         (O_EXEC): Likewise.
22415         (O_SEARCH): Likewise.
22416         * conform/data/stropts.h-data (ioctl): Likewise.
22417         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22418         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22419         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22420         (msghdr.msg_controllen): Likewise.
22421         (cmsghdr.cmsg_len): Likewise.
22422         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22423         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22424         variable.
22425         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22426         (test-xfail-XPG4/stropts.h/conform): Likewise.
22427         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22428         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22429         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22430         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22431         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22432         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22433         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22434         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22435         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22436         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22437         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22438         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22439         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22440         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22441         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22442         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22443         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22444         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22445         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22447 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22449         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22450         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22451         definitions for proper unfolding of __MATHDECL_VEC.
22453 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22455         * benchtests/bench-strcoll.c:
22456         Include string.h.
22457         (main): Remove unused variable res.
22459 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22461         * timezone/Makefile (%/UTC %/Universal):
22462         Generate test-result files for UTC and Universal.
22464 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22466         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22468 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22470         [BZ #16350]
22471         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22472         for arguments with small absolute value.
22473         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22474         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22475         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22476         (__asinh): Force underflow exception for arguments with small
22477         absolute value.
22478         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22479         (__asinhf): Force underflow exception for arguments with small
22480         absolute value.
22481         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22482         (__asinhl): Force underflow exception for arguments with small
22483         absolute value.
22484         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22485         (__asinhl): Force underflow exception for arguments with small
22486         absolute value.
22487         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22488         (__asinhl): Force underflow exception for arguments with small
22489         absolute value.
22490         * math/auto-libm-test-in: Do not mark underflow exceptions as
22491         possibly missing for bug 16350.
22492         * math/auto-libm-test-out: Regenerated.
22494         * include/bits/ipc.h: Remove file.
22495         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22496         variable.
22497         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22498         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22499         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22500         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22501         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22502         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22503         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22504         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22505         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22507         * math/auto-libm-test-in: Remove spurious underflow allowance for
22508         tests of cexp.
22509         * math/auto-libm-test-out: Regenerated.
22511         [BZ #18558]
22512         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22513         unconditional definition.
22514         (MCAST_BLOCK_SOURCE): Likewise.
22515         (MCAST_UNBLOCK_SOURCE): Likewise.
22516         (MCAST_LEAVE_GROUP): Likewise.
22517         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22518         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22519         (MCAST_MSFILTER): Likewise.
22520         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22521         Remove variable.
22522         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22523         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22524         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22525         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22526         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22528 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22530         * NEWS: Mention addition of x86_64 vector sincosf.
22531         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22532         * math/test-float-vlen4.h: Likewise.
22533         * math/test-float-vlen8.h: Likewise.
22534         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22535         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22537         * sysdeps/x86_64/fpu/Versions: New versions added.
22538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22540         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22541         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22542         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22543         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22544         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22545         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22547         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22548         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22549         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22550         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22551         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22552         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22553         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22554         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22555         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22556         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22557         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22559         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22560         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22561         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22563         * NEWS: Mention addition of x86_64 vector sincos.
22564         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22565         * math/math.h (__MATHDECL_VEC): New macro.
22566         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22567         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22568         declaration under condition.
22569         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22570         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22571         TEST_VEC_LOOP change.
22572         * math/test-double-vlen4.h: Likewise.
22573         * math/test-double-vlen8.h: Likewise.
22574         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22575         * math/test-float-vlen4.h: Likewise.
22576         * math/test-float-vlen8.h: Likewise.
22577         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22578         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22579         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22580         * sysdeps/x86_64/fpu/Versions: New versions added.
22581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22582         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22583         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22584         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22586         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22587         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22588         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22590         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22591         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22592         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22593         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22594         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22595         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22596         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22597         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22598         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22599         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22600         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22601         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22602         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22603         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22604         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22606         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22607         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22608         redirections for powf.
22609         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22610         * sysdeps/x86_64/fpu/Versions: New versions added.
22611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22612         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22613         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22614         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22615         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22616         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22617         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22618         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22619         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22620         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22621         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22622         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22623         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22624         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22625         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22626         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22627         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22628         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22629         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22630         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22631         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22632         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22633         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22634         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22635         * math/test-float-vlen16.h: Fixed 2 argument macro.
22636         * math/test-float-vlen4.h: Likewise.
22637         * math/test-float-vlen8.h: Likewise.
22638         * NEWS: Mention addition of x86_64 vector powf.
22640 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22642         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22643         and redefine.
22644         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22645         and redefine.
22646         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22647         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22648         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22650         [BZ #18553]
22651         * resource/getpriority.c (getpriority): Rename to __getpriority
22652         and define as weak alias of __getpriority.
22653         * resource/setpriority.c (setpriority): Rename to __setpriority
22654         and define as weak alias of __setpriority.
22655         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22656         __getpriority and define as weak alias of __getpriority.
22657         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22658         __setpriority and define as weak alias of __setpriority.
22659         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22660         strong name.
22661         (setpriority): Use __setpriority as strong name.
22662         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22663         __getpriority and define as weak alias of __getpriority.
22664         * include/sys/resource.h (__getpriority): Declare.  Use
22665         libc_hidden_proto.
22666         (__setpriority): Likewise.
22667         (getpriority): Don't use libc_hidden_proto.
22668         (setpriority): Likewise.
22669         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22670         getpriority.  Call __setpriority instead of setpriority.
22671         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22672         Remove variable.
22674         [BZ #18547]
22675         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22676         as weak alias of __getttynam.  Use prototype function definition.
22677         Call __setttyent, __getttyent and __endttyent instead of
22678         setttyent, getttyent and endttyent.
22679         (getttyent): Rename to __getttyent and define as weak alias of
22680         __getttyent.  Call __setttyent instead of setttyent.  Call
22681         __fgets_unlocked instead of fgets_unlocked.
22682         (setttyent): Rename to __setttyent and define as weak alias of
22683         __setttyent.
22684         (endttyent): Rename to __endttyent and define as weak alias of
22685         __endttyent.
22686         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22687         (__setttyent): Likewise.
22688         (__endttyent): Likewise.
22689         (getttyent): Don't use libc_hidden_proto.
22690         (setttyent): Likewise.
22691         (endttyent): Likewise.
22692         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22693         __endttyent instead of setttyent, getttyent and endttyent.
22694         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22695         Remove variable.
22697         [BZ #18546]
22698         * socket/recv.c (__recv): Use libc_hidden_def.
22699         * socket/socket.c (__socket): Likewise.
22700         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22701         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22702         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22703         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22704         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22705         libc_hidden_def.
22706         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22707         libc_hidden_weak.
22708         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22709         Use libc_hidden_proto.
22710         (__recv): Likewise.
22711         * socket/Versions (libc): Export __recv and __socket at version
22712         GLIBC_PRIVATE.
22713         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22714         instead of recv.
22715         (init_mq_netlink): Call __socket instead of socket.
22716         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22717         Remove variable.
22719         [BZ #18545]
22720         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22721         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22722         hidden_weak.
22723         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22724         define as alias of __mq_timedsend.  Use hidden_weak.
22725         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22726         __mq_timedsend as strong name.
22727         (mq_timedreceive): Use __mq_timedreceive as strong name.
22728         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22729         (__mq_timedreceive): Likewise.
22730         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22731         __mq_timedreceive instead of mq_timedreceive.
22732         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22733         instead of mq_timedsend.
22734         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22735         Remove variable.
22737         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22738         hidden_def and hidden_weak instead of libc_hidden_def and
22739         libc_hidden_weak.
22740         (top level): Refer to hidden_def in comment.
22741         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22742         macro.  Use it instead of libc_hidden_def.
22743         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22744         specify __GI_* name explicitly.
22745         (mq_timedreceive): Likewise.
22746         (mq_setattr): Likewise.
22748         [BZ #18544]
22749         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22750         __pthread_barrier_init and define as weak alias of
22751         __pthread_barrier_init.
22752         * sysdeps/sparc/nptl/pthread_barrier_init.c
22753         (pthread_barrier_init): Likewise.
22754         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22755         __pthread_barrier_wait and define as weak alias of
22756         __pthread_barrier_wait.
22757         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22758         (pthread_barrier_wait): Likewise.
22759         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22760         (pthread_barrier_wait): Likewise.
22761         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22762         (pthread_barrier_wait): Likewise.
22763         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22764         (pthread_barrier_wait): Likewise.
22765         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22766         __pthread_barrier_wait at version GLIBC_PRIVATE.
22767         * include/pthread.h (__pthread_barrier_init): Declare.
22768         (__pthread_barrier_wait): Likewise.
22769         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22770         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22771         (helper_thread): Likewise.
22772         (init_mq_netlink): Call __pthread_barrier_init instead of
22773         pthread_barrier_init.
22775         [BZ #18542]
22776         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22777         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22778         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22779         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22780         vswscanf.
22781         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22782         Remove variable.
22784         [BZ #18540]
22785         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22786         strong alias of _IO_fflush.  Use libc_hidden_def.
22787         * libio/iofflush_u.c (fflush_unlocked): Rename to
22788         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22789         Use libc_hidden_weak.
22790         * include/stdio.h (__fflush_unlocked): Declare.  Use
22791         libc_hidden_proto.
22792         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22793         fflush_unlocked.
22794         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22795         Remove variable.
22797         [BZ #18539]
22798         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22799         define as weak alias of __addseverity.
22800         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22801         Remove variable.
22802         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22803         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22804         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22806         [BZ #18536]
22807         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22808         (__tfind): Likewise.
22809         (__tdelete): Likewise.
22810         (__twalk): Likewise.
22811         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22812         __twalk to GLIBC_PRIVATE.
22813         * include/search.h (__tsearch): Use libc_hidden_proto.
22814         (__tfind): Likewise.
22815         (__tdelete): Likewise.
22816         (__twalk): Likewise.
22817         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22818         Call __tdelete instead of tdelete.
22819         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22820         tfind.  Call __tsearch instead of tsearch.
22821         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22822         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22823         Remove variable.
22824         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22826         [BZ #18534]
22827         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22828         (dprintf): Define as a weak alias of __dprintf, not a strong
22829         alias.
22830         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22831         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22832         dprintf.
22833         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22834         Remove variable.
22835         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22836         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22838         [BZ #18533]
22839         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22840         not a strong alias.
22841         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22842         Remove variable.
22844         [BZ #18532]
22845         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22846         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22847         (in6addr_loopback): Rename to __in6addr_loopback and define as
22848         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22849         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22850         libc_hidden_proto.
22851         (__in6addr_any): Likewise.
22852         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22853         in6addr_any.
22854         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22855         variable.
22856         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22858 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22860         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22861         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22862         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22863         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22864         redirections for pow.
22865         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22866         * sysdeps/x86_64/fpu/Versions: New versions added.
22867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22868         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22869         build of SSE, AVX2 and AVX512 IFUNC versions.
22870         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22871         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22872         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22874         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22876         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22877         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22878         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22879         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22880         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22881         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22882         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22883         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22884         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22886         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22887         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22888         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22889         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22890         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22891         * NEWS: Mention addition of x86_64 vector pow.
22893         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22894         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22895         redirections for expf.
22896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22897         * sysdeps/x86_64/fpu/Versions: New versions added.
22898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22900         build of SSE, AVX2 and AVX512 IFUNC versions.
22901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22904         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22906         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22907         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22908         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22909         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22910         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22911         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22912         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22913         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22914         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22915         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22916         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22920         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22921         * NEWS: Mention addition of x86_64 vector expf.
22923         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22924         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22926         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22927         redirections for exp.
22928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22929         * sysdeps/x86_64/fpu/Versions: New versions added.
22930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22932         build of SSE, AVX2 and AVX512 IFUNC versions.
22933         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22934         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22935         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22936         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22937         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22938         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22939         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22940         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22941         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22942         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22943         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22944         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22945         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22946         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22948         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22949         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22950         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22951         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22952         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22953         * NEWS: Mention addition of x86_64 vector exp.
22955         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22956         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22957         redirections for logf.
22958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22959         * sysdeps/x86_64/fpu/Versions: New versions added.
22960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22961         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22962         build of SSE, AVX2 and AVX512 IFUNC versions.
22963         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22964         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22965         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22966         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22967         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22969         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22970         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22971         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22972         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22973         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22974         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22975         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22976         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22977         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22978         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22979         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22980         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22981         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22982         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22983         * NEWS: Mention addition of x86_64 vector logf.
22985         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22986         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22987         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22988         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22989         redirections for log.
22990         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22991         * sysdeps/x86_64/fpu/Versions: New versions added.
22992         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22993         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22994         build of SSE, AVX2 and AVX512 IFUNC versions.
22995         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22996         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22997         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22998         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22999         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23000         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23001         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23002         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23003         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23004         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23005         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23006         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23008         test.
23009         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23011         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23012         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23013         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23014         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23015         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23016         * NEWS: Mention addition of x86_64 vector log.
23018 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23020         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23021         cfi_adjust_cfa_offset argument.
23022         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23023         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23025         [BZ #18034]
23026         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23027         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23028         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23029         ordering using ldar.
23030         (_dl_tlsdesc_dynamic): Likewise.
23031         (_dl_tlsdesc_return_lazy): Likewise.
23032         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23033         relaxed atomics instead of volatile and synchronize with release store.
23034         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23035         volatile.
23036         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23038 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23040         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23041         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23042         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23043         * sysdeps/x86_64/fpu/Versions: New versions added.
23044         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23045         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23046         build of SSE, AVX2 and AVX512 IFUNC versions.
23047         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23048         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23049         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23050         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23051         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23052         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23053         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23054         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23055         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23056         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23057         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23058         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23059         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23060         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23061         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23062         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23064         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23065         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23066         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23067         * NEWS: Mention addition of x86_64 vector sinf.
23069 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23071         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23072         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23073         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23074         Remove variable.
23075         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23076         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23078 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23080         [BZ #18530]
23081         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23082         strong alias of _IO_fputs.  Use libc_hidden_def.
23083         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23084         and define as weak alias of __fputs_unlocked.  Use
23085         libc_hidden_weak.
23086         * include/stdio.h (__fputs_unlocked): Declare.  Use
23087         libc_hidden_proto.
23088         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23089         fputs_unlocked.
23091         [BZ #18529]
23092         * resolv/netdb.h [__USE_POSIX]: Change condition to
23093         [__USE_XOPEN2K].
23094         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23095         not expect.
23096         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23097         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23098         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23099         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23100         [XPG4 || UNIX98] (AI_ALL): Likewise.
23101         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23102         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23103         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23104         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23105         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23106         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23107         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23108         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23109         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23110         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23111         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23112         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23113         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23114         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23115         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23116         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23117         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23118         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23119         [XPG4 || UNIX98] (gai_strerror): Likewise.
23120         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23121         [XPG4 || UNIX98] (getnameinfo): Likewise.
23123         [BZ #18528]
23124         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23125         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23126         __USE_XOPEN2K8].
23127         (getgrent): Likewise.
23128         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23129         expect.
23130         [XPG3 || POSIX2008] (endgrent): Likewise.
23131         [XPG3] (setgrent): Likewise.
23132         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23133         variable.
23134         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23136         [BZ #18527]
23137         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23138         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23139         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23140         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23141         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23142         * include/unistd.h (__getlogin_r): Declare.  Use
23143         libc_hidden_proto.
23144         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23145         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23146         variable.
23147         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23148         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23149         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23151 2015-06-12  Martin Sebor  <msebor@redhat.com>
23153         [BZ #18512]
23154         * Makerules (check-install-supported): New target.
23155         (install): Add check-install-supported as a dependency.
23156         * manual/install.texi (Installing the C Library): Document
23157         that overriding prefix and exec_prefix is not supported.
23158         Mention DESTDIR.
23159         * INSTALL: Regenerate from the above.
23161 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23163         [BZ #18519]
23164         * posix/Versions (libc): Export __libc_pread at version
23165         GLIBC_PRIVATE.
23166         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23167         instead of pread.
23168         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23169         variable.
23171         [BZ #18522]
23172         * misc/efgcvt_r.c
23173         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23174         (cvt_symbol): Use weak_alias instead of strong_alias.
23175         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23176         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23177         Remove variable.
23178         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23179         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23181         [BZ #18520]
23182         * inet/herrno.c (h_errno): Rename to __h_errno.
23183         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23184         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23185         to __h_errno instead of h_errno.
23186         * nptl/herrno.c (h_errno): Rename to __h_errno.
23187         (__h_errno_location): Refer to __h_errno not h_errno.
23188         * resolv/Versions (h_errno): Rename to __h_errno.
23189         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23190         Remove variable.
23191         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23193 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23195         * configure.ac: More strict check for AVX512 assembler support.
23196         * configure: Regenerated.
23198         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23199         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23200         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23201         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23202         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23203         * sysdeps/x86_64/fpu/Versions: New versions added.
23204         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23205         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23206         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23207         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23208         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23209         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23210         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23211         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23212         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23213         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23214         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23215         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23216         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23217         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23218         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23219         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23220         test.
23221         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23222         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23223         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23224         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23225         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23226         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23227         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23228         * NEWS: Mention addition of x86_64 vector sin.
23230 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23232         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23233         comment.
23235 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23237         [BZ #18479]
23238         * nptl/pt-interp.c: New file.
23239         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23240         Add pt-interp.
23241         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23242         $(common-objpfx)runtime-linker.h.
23244 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23246         * Makeconfig (+interp): Remove unused variable.
23247         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23248         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23249         $(elf-objpfx)runtime-linker.h.
23250         ($(elf-objpfx)runtime-linker.h): Rename to
23251         $(common-objpfx)runtime-linker.h and move ...
23252         * Makerules [$(build-shared) = yes]: ... here.
23253         * elf/interp.c: Include <runtime-linker.h> instead of
23254         <elf/runtime-linker.h>.
23256 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23258         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23259         (__gettimeofday_syscall): Remove vsyscall fallback.
23260         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23261         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23262         Add syscall fallback function.
23263         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23264         if vDSO is not present.
23265         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23266         fallback function.
23267         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23268         present.
23269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23270         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23272 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23274         [BZ #18497]
23275         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23276         of wcscmp.
23277         (wcscmp): Define as weak alias of WCSCMP.
23278         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23279         wcscoll.
23280         (USE_HIDDEN_DEF): Define.
23281         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23282         __wcscoll.  Don't use libc_hidden_weak.
23283         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23284         wcscmp.
23285         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23286         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23287         __GI_wcscmp.
23288         (weak_alias): Undefine and redefine.
23289         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23290         __wcscmp and define as weak alias of __wcscmp.
23291         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23292         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23293         (__wcscoll): Likewise.
23294         (wcscmp): Don't use libc_hidden_proto.
23295         (wcscoll): Likewise.
23296         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23297         wcscoll.
23298         * posix/regexec.c (check_node_accept_bytes): Likewise.
23299         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23300         variable.
23301         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23302         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23304         [BZ #18507]
23305         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23306         __fstatvfs and define as weak alias of __fstatvfs.  Use
23307         libc_hidden_weak.
23308         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23309         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23310         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23311         Define as alias of __fstatvfs, not fstatvfs.
23312         (fstatvfs64): Likewise.
23313         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23314         Define as alias of __statvfs, not statvfs.
23315         (statvfs64): Likewise.
23316         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23317         Remove variable.
23319 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23322         (HAVE_GETCPU_VSYSCALL): Define.
23323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23324         (HAVE_GETCPU_VSYSCALL): Likewise.
23325         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23326         * sysdeps/unix/sysv/linux/sched_getcpu.c
23327         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23328         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23329         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23330         prototype.
23331         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23332         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23333         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23335         Define.
23336         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23337         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23339         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23341 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23343         * sysdeps/x86_64/fpu/Makefile: New file.
23344         * sysdeps/x86_64/fpu/Versions: New file.
23345         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23346         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23347         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23348         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23349         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23350         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23351         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23354         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23356         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23358         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23359         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23360         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23361         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23362         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23363         * sysdeps/x86_64/configure: Regenerated.
23364         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23365         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23366         * manual/install.texi (Configuring and compiling): Document
23367         --disable-mathvec.
23368         * INSTALL: Regenerated.
23369         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23371         * math/Makefile: Added rules for vector tests.
23372         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23373         declaration under condition.
23374         * math/test-double-vlen2.h: New file.
23375         * math/test-double-vlen4.h: New file.
23376         * math/test-double-vlen8.h: New file.
23377         * math/test-vec-loop.h: Added initialization macro.
23378         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23380         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23381         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23382         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23383         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23384         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23385         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23386         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23387         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23388         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23391         * sysdeps/x86_64/fpu/Versions: New versions added.
23392         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23394         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23395         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23396         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23397         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23398         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23399         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23400         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23401         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23402         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23403         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23404         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23405         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23406         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23407         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23408         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23409         * NEWS: Mention addition of x86_64 vector cosf.
23411         * math/Makefile: Added CFLAGS for new tests.
23412         * math/test-float-vlen16.h: New file.
23413         * math/test-float-vlen4.h: New file.
23414         * math/test-float-vlen8.h: New file.
23415         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23416         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23418         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23419         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23420         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23421         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23423         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23424         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23425         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23427 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23429         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23430         * locale/programs/ld-ctype.c: Likewise.
23432 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23434         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23435         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23436         bit_ZMM16_31_state): New macro.
23437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23438         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23440 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23442         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23444 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23446         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23448 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23450         [BZ #18498]
23451         * libio/memstream.c (open_memstream): Rename to __open_memstream
23452         and define as weak alias of __open_memstream.
23453         * include/stdio.h (__open_memstream): Declare.  Use
23454         libc_hidden_proto.
23455         (open_memstream): Don't use libc_hidden_proto.
23456         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23457         open_memstream.
23458         * posix/getopt.c (_getopt_internal_r): Likewise.
23459         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23460         variable.
23461         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23462         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23463         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23465         [BZ #18496]
23466         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23467         instead of wcrtomb.
23469         [BZ #18483]
23470         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23471         [__USE_XOPEN2K8].  Remove redundant #endif.
23472         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23473         Remove redundant #if.
23474         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23475         Remove variable.
23476         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23477         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23479         [BZ #18495]
23480         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23481         (__iswlower): Likewise.
23482         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23483         (__iswlower): Likewise.
23484         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23485         instead of towlower.
23486         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23487         instead of iswlower.  Call __towupper instead of towupper.
23488         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23489         instead of iswalnum.
23491 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23493         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23494         errors to stderr.
23496 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23498         [BZ #15661]
23499         [BZ #17322]
23500         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23501         Check for overflow properly.  Check for O_APPEND.  Ignore large
23502         file system block sizes.  Add comments about problems.
23503         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23504         * manual/filesys.texi (Storage Allocation): New node.
23506 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23508         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23509         cancellable syscalls.
23510         (SYS_ify): Add guard to no redefine it.
23511         (INLINE_SYSCALL): Likewise.
23512         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23513         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23514         SYSCALL_CANCEL instead.
23515         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23516         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23517         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23518         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23519         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23520         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23521         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23522         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23523         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23524         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23525         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23526         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23527         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23528         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23529         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23531         Likewise.
23532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23533         (__libc_pread64): Likewise.
23534         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23535         (__libc_preadv): Likewise.
23536         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23537         (__libc_readv64): Likewise.
23538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23539         (__libc_pwrite): Likewise.
23540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23541         (__libc_pwrite64): Likewise.
23542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23543         (__libc_pwritev): Likewise.
23544         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23545         (__libc_pwritev64): Likewise.
23546         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23547         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23548         (sync_file_range): Likewise.
23549         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23550         Likewise.
23551         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23552         Likewise.
23553         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23554         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23555         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23556         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23557         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23558         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23559         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23560         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23562         Likewise.
23563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23564         (__libc_read64): Likewise.
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23566         Likewise.
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23568         Likewise.
23569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23570         Likewise.
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23572         Likewise.
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23574         (__libc_pread64): Likewise.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23576         Likewise.
23577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23578         (__libc_pwrite64): Likewise.
23579         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23580         (sync_file_range): Likewise.
23581         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23582         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23583         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23584         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23585         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23586         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23587         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23588         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23589         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23590         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23591         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23592         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23593         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23594         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23595         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23596         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23597         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23598         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23599         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23600         Likewise.
23601         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23602         Likewise.
23603         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23604         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23605         Likewise.
23606         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23607         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23608         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23609         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23610         Likewise.
23611         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23612         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23613         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23614         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23615         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23617 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23619         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23620         Include dl-vdso.
23621         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23622         Use VDSO routines for gettimeofday, clock_gettime if
23623         available.
23624         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23625         Declare VDSO symbols.
23626         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23627         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23628         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23629         * sysdeps/unix/sysv/linux/arm/Versions: Add
23630         __vdso_clock_gettime.
23632 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23634         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23635         be an inline implementation regardless of library is built within.
23636         (open_not_cancel_2): Likewise.
23637         (__read_nocancel): Likewise.
23638         (__write_nocancel): Likewise.
23639         (openat_not_cancel): Likewise.
23640         (openat_not_cancel_3): Likewise.
23641         (openat64_not_cancel): Likewise.
23642         (openat64_not_cancel_3): Likewise.
23643         (__close_nocancel): Likewise.
23644         (pause_not_cancel): Likewise.
23645         (nanosleep_not_cancel): Likewise.
23646         (sigsuspend_not_cancel): Likewise.
23648 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23650         [BZ #14958]
23651         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23652         wake-up.
23653         (__pthread_rwlock_rdlock_slow): Likewise.
23654         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23655         Likewise.
23656         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23657         Likewise.
23658         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23659         * nptl/tst-rwlock16.c: New file.
23660         * nptl/Makefile (tests): Add new test.
23662 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23664         [BZ #18324]
23665         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23666         missing wake-up of readers.
23667         * nptl/tst-rwlock15.c: New file.
23668         * nptl/Makefile (tests): Add new test.
23670 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23672         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23673         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23674         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23675         and __nacl_supply_interface_rtld.
23676         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23677         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23678         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23679         Add __nacl_supply_interface_rtld.
23680         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23682 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23684         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23685         isfinite.
23686         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23687         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23689 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23691         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23692         __signbit* with standard C99 macros.
23693         * math/e_exp10l.c: Likewise.
23694         * math/e_exp2l.c: Likewise.
23695         * math/e_scalb.c: Likewise.
23696         * math/e_scalbf.c: Likewise.
23697         * math/e_scalbl.c: Likewise.
23698         * math/s_ldexp.c: Likewise.
23699         * math/s_ldexpf.c: Likewise.
23700         * math/s_ldexpl.c: Likewise.
23701         * math/w_atan2.c: Likewise.
23702         * math/w_atan2f.c: Likewise.
23703         * math/w_atan2l.c: Likewise.
23704         * math/w_cosh.c: Likewise.
23705         * math/w_coshf.c: Likewise.
23706         * math/w_coshl.c: Likewise.
23707         * math/w_exp10.c: Likewise.
23708         * math/w_exp10f.c: Likewise.
23709         * math/w_exp10l.c: Likewise.
23710         * math/w_exp2.c: Likewise.
23711         * math/w_exp2f.c: Likewise.
23712         * math/w_exp2l.c: Likewise.
23713         * math/w_fmod.c: Likewise.
23714         * math/w_fmodf.c: Likewise.
23715         * math/w_fmodl.c: Likewise.
23716         * math/w_hypot.c: Likewise.
23717         * math/w_hypotf.c: Likewise.
23718         * math/w_hypotl.c: Likewise.
23719         * math/w_jnl.c: Likewise.
23720         * math/w_lgamma.c: Likewise.
23721         * math/w_lgamma_r.c: Likewise.
23722         * math/w_lgammaf.c: Likewise.
23723         * math/w_lgammaf_r.c: Likewise.
23724         * math/w_lgammal.c: Likewise.
23725         * math/w_lgammal_r.c: Likewise.
23726         * math/w_pow.c: Likewise.
23727         * math/w_powf.c: Likewise.
23728         * math/w_powl.c: Likewise.
23729         * math/w_remainder.c: Likewise.
23730         * math/w_remainderf.c: Likewise.
23731         * math/w_remainderl.c: Likewise.
23732         * math/w_scalb.c: Likewise.
23733         * math/w_scalbf.c: Likewise.
23734         * math/w_scalbl.c: Likewise.
23735         * math/w_scalbln.c: Likewise.
23736         * math/w_scalblnf.c: Likewise.
23737         * math/w_scalblnl.c: Likewise.
23738         * math/w_sinh.c: Likewise.
23739         * math/w_sinhf.c: Likewise.
23740         * math/w_sinhl.c: Likewise.
23741         * math/w_tgamma.c: Likewise.
23742         * math/w_tgammaf.c: Likewise.
23743         * math/w_tgammal.c: Likewise.
23744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23745         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23746         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23747         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23748         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23749         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23750         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23751         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23752         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23753         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23754         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23755         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23756         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23757         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23759         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23760         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23761         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23762         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23763         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23764         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23765         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23768         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23770         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23772         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23773         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23775         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23776         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23777         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23778         * stdio-common/printf_fp.c: Likewise.
23779         * stdio-common/printf_fphex.c: Likewise.
23780         * stdio-common/printf_size.c: Likewise.
23782 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23784         [BZ #18470]
23785         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23786         strnlen.
23787         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23788         Remove variable.
23789         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23790         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23791         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23792         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23793         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23794         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23795         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23796         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23797         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23798         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23800         [BZ #18468]
23801         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23802         weak alias of __wmemchr.  Use libc_hidden_weak.
23803         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23804         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23805         instead of wmemchr.
23807 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23809         [BZ #18383]
23810         * elf/tst-tlsalign-extern.c: New file.
23811         * elf/tst-tlsalign-extern-static.c: New file.
23812         * elf/tst-tlsalign-vars.c: New file.
23813         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23814         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23815         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23816         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23817         (test-xfail-tst-tlsalign-extern-static): New variable.
23819 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23821         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23822         Use variable name _sc_err instead of err.
23823         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23824         instead of ret.
23825         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23826         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23827         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23828         (INLINE_SYSCALL): Likewise.
23830         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23831         * include/string.h (__strnlen): Use libc_hidden_proto.
23832         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23833         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23834         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23835         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23836         (libc_hidden_def): Undefine and redefine.
23837         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23838         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23839         __GI_strnlen.
23840         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23841         libc_hidden_def.
23842         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23844         [BZ #18469]
23845         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23846         weak alias of __towlower.  Use libc_hidden_weak.
23847         (towupper): Rename to __towupper and define as weak alias of
23848         __towupper.  Use libc_hidden_weak.
23849         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23850         (__towupper): Likewise.
23851         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23852         __towlower instead of towlower.
23854 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23856         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23857         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23859 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23861         * sysdeps/aarch64/libm-test-ulps: Update.
23863 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23865         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23866         Define.
23867         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23869         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23870         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23871         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23872         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23873         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23875 2015-06-01  Martin Sebor  <msebor@redhat.com>
23877         [BZ #18116]
23878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23879         (__setcontext): Use extended four-operand version of mtsf whenever
23880         possible.
23881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23882         (__novec_swapcontext): Likewise.
23884 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23886         * benchtests/scripts/compare_bench.py: New file.
23887         * benchtests/scripts/import_bench.py (mean): New function.
23888         (split_list): Likewise.
23889         (do_for_all_timings): Likewise.
23890         (compress_timings): Likewise.
23892         * benchtests/scripts/import_bench.py: New file.
23893         * benchtests/scripts/validate_benchout.py: Import import_bench
23894         instead of jsonschema.
23895         (validate_bench): Remove function.
23896         (main): Use import_bench.
23898 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23900         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23901         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23903 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23907 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23909         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23910         set THREAD_SELF->tid to a magic value and futex-wake it.
23911         Pass its address to the thread_exit system call.
23912         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23913         bit is clear.
23914         * sysdeps/nacl/lowlevellock.h: New file.
23915         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23917         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23918         Add TIMEOUT to current time, don't subtract it.
23920 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23922         [BZ #2981]
23923         [BZ #18422]
23924         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23925         ($(objpfx)tst-audit2.out): Also depend on
23926         $(objpfx)tst-auditmod9b.so.
23927         * elf/tst-audit2.c: Include <dlfcn.h>.
23928         (calloc_called): New.
23929         (calloc): Allow to be called more than once.
23930         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23932 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23934         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23935         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23937 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23939         * stdlib/monetary.h: Fix comment.
23941 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23943         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23944         Avoid using variables in #defines that might cause shadowing.
23945         (INTERNAL_VSYSCALL_CALL): Likewise.
23947 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23949         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23951         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23952         * nptl/lll_timedlock_wait.c: ... to this new file.
23953         * nptl/Makefile (libpthread-routines): Add it.
23954         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23955         * nptl/lll_timedwait_tid.c: ... to this new file.
23956         * nptl/Makefile (libpthread-routines): Add it.
23957         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23958         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23959         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23960         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23961         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23962         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23963         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23964         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23965         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23966         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23968 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23970         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23971         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23972         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23973         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23974         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23975         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23976         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23978         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23979         * sysdeps/unix/sysv/linux/tile/sysdep.h
23980         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23981         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23982         using vDSO syscall macro.
23984 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23986         [BZ #17293]
23987         * uk_UA: Fix sorting order for Ukrainian locale
23989 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23991         * stdlib/monetary.h: Fix comment.
23993 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23995         [BZ #18234]
23996         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23997         st_mtim and st_ctim members.
23998         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23999         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24000         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24001         (struct stat64): Likewise.
24002         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24003         (struct stat64): Likewise.
24004         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24005         (struct stat64): Likewise.
24007 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24009         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24010         Define and include sysdep-vdso.h.
24011         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24012         Likewise.
24013         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24014         Likewise.
24015         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24016         Define with VDSO_SYMBOL and use PTR_MANGLE.
24017         (__vdso_clock_gettime): Likewise.
24018         (__vdso_clock_getres): Likewise.
24019         (_libc_vdso_platform_setup): Likewise.
24020         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24021         Likewise.
24022         (_libc_vdso_platform_setup): Likewise.
24023         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24024         Likewise.
24025         (__vdso_clock_gettime): Likewise.
24026         (__vdso_clock_getres): Likewise.
24027         (__vdso_get_tbfreq): Likewise.
24028         (__vdso_getcpu): Likewise.
24029         (__vdso_time): Likewise.
24030         (__vdso_sigtramp_rt64): Likewise.
24031         (__vdso_signtramp32): Likewise.
24032         (__vdso_sigtramp_rt32): Likewise.
24033         (_libc_vdso_platform_setup): Likewise.
24034         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24035         Likewise.
24036         (__vdso_clock_gettime): Likewise.
24037         (__vdso_clock_getres): Likewise.
24038         (_libc_vdso_platform_setup): Likewise.
24039         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24040         Likewise.
24041         (__vdso_clock_gettime): Likewise.
24042         (_libc_vdso_platform_setup): Likewise.
24043         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24044         Likewise.
24045         (__vdso_getcpu): Likewise.
24046         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24047         Use VDSO_SYMBOL macro to define.
24048         (__vdso_clock_gettime): Likewise.
24049         (__vdso_clock_getres): Likewise.
24050         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24051         Likewise.
24052         (__vdso_clock_gettime): Likewise.
24053         (__vdso_clock_getres): Likewise.
24054         (__vdso_get_tbfreq): Likewise.
24055         (__vdso_getcpu): Likewise.
24056         (__vdso_time): Likewise.
24057         (__vdso_sigtramp_rt64): Likewise.
24058         (__vdso_signtramp32): Likewise.
24059         (__vdso_sigtramp_rt32): Likewise.
24060         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24061         Likewise.
24062         (__vdso_clock_gettime): Likewise.
24063         (__vdso_clock_getres): Likewise.
24064         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24065         Likewise.
24066         (__vdso_clock_gettime): Likewise.
24067         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24068         Likewise.
24069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24070         macro.
24071         (INTERNAL_VSYSCALL): Likewise.
24072         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24073         Remove macro.
24074         (INTERNAL_VSYSCALL): Likewise.
24075         (INTERNAL_VSYSCALL_NCS): Likewise.
24076         (INTERNAL_VSYSCALL_CALL): New macro.
24077         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24079         Likewise.
24080         (INTERNAL_VSYSCALL): Likewise.
24081         (INTERNAL_VSYSCALL_NCS): Likewise.
24082         (INTERNAL_VSYSCALL_CALL): New macro.
24083         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24085         (INLINE_VSYSCALL): Remove macro.
24086         (INTERNAL_VSYSCALL): Remove macro.
24087         (INTERNAL_VSYSCALL_NCS): Remove macro.
24088         (INTERNAL_VSYSCALL_CALL): New macro.
24089         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24090         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24091         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24092         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24093         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24095         (INLINE_VSYSCALL): Remove macro.
24096         (INTERNAL_VSYSCALL): Likewise.
24097         (INTERNAL_VSYSCALL_NCS): Likewise.
24098         (INTERNAL_VSYSCALL_CALL): New macro.
24099         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24101         PTR_DEMANGLE on vDSO pointer.
24102         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24103         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24104         macro.
24105         (INTERNAL_SYSCALL): Likewise.
24106         (INTERNAL_VSYSCALL_NCS): Remove macro.
24107         (INTERNAL_VSYSCALL_CALL): New macro.
24108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24109         Remove macro.
24110         (INTERNAL_VSYSCALL): Likewise.
24111         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24112         sysdep-vdso.h instead of libc-vdso.h.
24113         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24114         definition.
24115         (INLINE_VSYSCALL): Likewise.
24116         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24117         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24118         definition.
24119         (INLINE_VSYSCALL): Likewise.
24120         (INTERNAL_VSYSCALL): Likewise.
24121         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24122         * sysdeps/unix/sysv/linux/timespec_get.c
24123         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24124         (timespec_get): Use ANSI prototype.
24125         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24126         and definition for Linux.
24128 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24130         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24131         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24133 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24135         [BZ #2981]
24136         [BZ #18410]
24137         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24138         for missing DT_PLTRELSZ.
24140 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24142         Remove obsolete aliases that broke 'locale -a'
24143         [BZ #18412]
24144         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24145         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24146         breaking some applications that use 'locale -a' output.
24147         Change the encoding of this file from Latin-1 to ASCII to avoid
24148         other potential problems with people grepping this file.
24150 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24152         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24153         -fasynchronous-unwind-tables.
24154         (CFLAGS-sendto.c): Likewise.
24155         (CFLAGS-sendmsg.c): Likewise.
24156         (CFLAGS-connect.c): Likewise.
24157         (CFLAGS-recvmsg.c): Likewise.
24158         (CFLAGS-recvfrom.c): Likewise.
24159         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24160         (SOCKETCALL): New macro: non-cancellable socketcall.
24161         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24162         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24163         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24164         * sysdeps/unix/sysv/linux/accept.c: New file.
24165         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24166         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24167         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24168         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24169         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24170         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24171         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24172         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24173         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24174         * sysdeps/unix/sysv/linux/send.c: Likewise.
24175         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24176         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24177         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24178         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24179         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24180         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24181         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24182         prototype.
24183         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24184         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24185         instead of __internal_xxx function.
24186         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24187         prototype.
24188         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24189         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24190         instead of __internal_xxx function.
24191         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24192         prototype.
24193         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24194         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24195         instead of __internal_xxx function.
24196         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24197         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24198         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24199         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24200         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24201         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24202         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24203         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24204         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24205         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24206         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24207         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24208         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24209         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24210         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24211         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24212         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24213         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24214         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24215         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24218         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24219         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24220         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24221         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24222         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24223         * sysdeps/unix/sysv/linux/send.S: Likewise.
24224         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24225         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24226         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24227         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24228         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24229         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24230         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24231         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24232         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24233         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24234         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24235         socketcall is implemented in GLIBC.
24237 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24239         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24240         (__fma): Ignore uninitialized warnings around packing.
24241         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24242         (__fmaf): Ignore uninitialized warnings around packing.
24243         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24244         (__fmal): Ignore uninitialized warnings around packing.
24246         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24247         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24248         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24249         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24251         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24252         switch statement into default case.
24253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24255         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24256         a conditional in forcing "inexact".
24257         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24258         Likewise.
24260 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24262         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24263         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24264         for each INTERNAL_SYSCALL use.
24266 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24268         [BZ #438]
24269         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24270         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24271         variable.
24273         [BZ #18444]
24274         * string/basename.c (basename): Rename to __basename and define as
24275         weak alias of __basename.  Use libc_hidden_weak.
24276         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24277         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24278         __basename instead of basename.
24279         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24280         Remove variable.
24281         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24283 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24285         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24286         (_IO_JUMPS_FILE_plus): New.
24287         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24288         _IO_CAST_FIELD_ACCESS.
24289         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24290         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24291         * libio/freopen.c (freopen): Likewise.
24292         * libio/freopen64.c (freopen64): Likewise.
24293         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24294         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24295         * libio/iofwide.c (_IO_fwide): Likewise.
24296         * libio/memstream.c (open_memstream): Likewise.
24297         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24298         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24299         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24301 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24304         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24305         NADJ.
24306         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24307         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24308         NADJ.
24309         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24310         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24311         NADJ.
24313         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24314         (p == 4) case.
24316         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24317         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24318         Remove variable.
24319         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24320         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24321         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24323 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24325         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24326         Adjust jump table label generation macros.
24328 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24330         * stdio-common/vfprintf.c (vfprintf): Move local variables
24331         args_malloced, specs, specs_malloced, and the code after
24332         do_positional to the printf_positional function.
24333         (printf_positional): New function.
24335 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24337         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24338         function.
24339         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24340         STEP4_TABLE, process_arg): Move macro definitions
24341         out of the vfprintf function.  (Cosmetic change only.)
24343 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24345         * benchtests/Makefile (stdio-common-bench): Define.
24346         (benchset): Add stdio-common-bench.
24347         * sprintf-inputs: New file.
24348         * sprintf-source.c: New file.
24350 2015-05-21  Andreas Schwab  <schwab@suse.de>
24352         [BZ #13028]
24353         [BZ #17053]
24354         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24355         of struct __res_state.
24356         * resolv/res_send.c (__libc_res_nsend): Likewise.
24357         (get_nsaddr): New function.
24358         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24359         statp directly.
24361 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24363         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24364         -D_POSIX_C_SOURCE=199506L.
24366         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24368         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24369         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24370         Do not mention otherwise.
24371         [POSIX] (_XOPEN_VERSION): Do not expect.
24372         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24373         [POSIX] (_POSIX2_C_BIND): Likewise.
24374         [POSIX] (_POSIX2_VERSION): Likewise.
24375         [POSIX] (_XOPEN_XPG2): Likewise.
24376         [POSIX] (_XOPEN_XPG3): Likewise.
24377         [POSIX] (_XOPEN_XPG4): Likewise.
24378         [POSIX] (_XOPEN_UNIX): Likewise.
24379         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24380         [POSIX] (_POSIX_BARRIERS): Likewise.
24381         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24382         [POSIX] (_POSIX_CPUTIME): Likewise.
24383         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24384         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24385         [POSIX] (_POSIX_SHELL): Likewise.
24386         [POSIX] (_POSIX_SPAWN): Likewise.
24387         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24388         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24389         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24390         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24391         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24392         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24393         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24394         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24395         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24396         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24397         [POSIX] (_POSIX2_PBS): Likewise.
24398         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24399         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24400         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24401         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24402         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24403         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24404         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24405         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24406         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24407         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24408         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24409         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24410         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24411         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24412         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24413         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24414         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24415         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24416         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24417         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24418         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24419         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24420         [POSIX] (_SC_2_C_BIND): Likewise.
24421         [POSIX] (_SC_2_C_VERSION): Likewise.
24422         [POSIX] (_SC_2_PBS): Likewise.
24423         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24424         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24425         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24426         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24427         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24428         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24429         [POSIX] (_SC_BARRIERS): Likewise.
24430         [POSIX] (_SC_BASE): Likewise.
24431         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24432         [POSIX] (_SC_DEVICE_IO): Likewise.
24433         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24434         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24435         [POSIX] (_SC_FD_MGMT): Likewise.
24436         [POSIX] (_SC_FIFO): Likewise.
24437         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24438         [POSIX] (_SC_FILE_LOCKING): Likewise.
24439         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24440         [POSIX] (_SC_IOV_MAX): Likewise.
24441         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24442         [POSIX] (_SC_NETWORKING): Likewise.
24443         [POSIX] (_SC_PAGE_SIZE): Likewise.
24444         [POSIX] (_SC_PASS_MAX): Likewise.
24445         [POSIX] (_SC_PIPE): Likewise.
24446         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24447         [POSIX] (_SC_REGEXP): Likewise.
24448         [POSIX] (_SC_SHELL): Likewise.
24449         [POSIX] (_SC_SIGNALS): Likewise.
24450         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24451         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24452         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24453         [POSIX] (_SC_USER_GROUPS): Likewise.
24454         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24455         [POSIX] (_SC_STREAMS): Likewise.
24456         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24457         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24458         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24459         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24460         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24461         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24462         [POSIX] (_PC_FILESIZEBITS): Likewise.
24463         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24464         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24465         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24466         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24467         [POSIX] (uid_t): Likewise.
24468         [POSIX] (gid_t): Likewise.
24469         [POSIX] (off_t): Likewise.
24470         [POSIX] (pid_t): Likewise.
24471         [POSIX] (cuserid): Allow.
24472         (_SC_2_CHAR_TERM): Require constant.
24473         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24474         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24475         variable.
24477 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24479         * sysdeps/nacl/pthread-pids.h: New file.
24480         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24481         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24483         * nptl/pthread-pids.h: New file.
24484         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24485         * nptl/nptl-init.c: Include <pthread-pids.h>.
24486         (__pthread_initialize_minimal_internal):
24487         Call __pthread_initialize_pids instead of set_tid_address syscall.
24489         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24490         * sysdeps/posix/usleep.c: ... here.
24492 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24494         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24495         call_pselect6 object.
24496         [$(subdir) = io]: Remove call_sync_file_range object.
24497         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24498         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24499         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24500         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24502 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24504         * math/s_cproj.c: Add include "math_private.h".
24505         * math/s_cprojf.c: Likewise.
24506         * math/s_cprojl.c: Likewise.
24508 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24510         [BZ #18244]
24511         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24512         high mantissa bit when testing whether P is a NaN.
24513         * math/libm-test.inc (remainder_test_data): Add more tests.
24514         (remquo_test_data): Likewise.
24516         [BZ #18049]
24517         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24518         below -32, return the argument, with underflow if subnormal.
24519         * math/auto-libm-test-in: Add more tests of atanh.
24520         * math/auto-libm-test-out: Regenerated.
24522 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24524         [BZ #18434]
24525         * nptl/tst-sem15.c: New file.
24526         * nptl/Makefile (tests): Add it.
24527         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24528         s/<</>>/ to fix typo in EOVERFLOW check.
24529         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24531 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24533         * manual/strings.texi (envz_remove): Fix typo in safety
24534         annotations.
24536 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24537             Steve Ellcey  <sellcey@imgtec.com>
24539         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24540         in order to avoid strict alias warnings.
24541         (iruserok_af): Ditto for ra.
24543 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24545         [BZ #17581]
24546         * malloc/hooks.c
24547         (magicbyte): Convert to a function and avoid returning 0x01.
24548         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24549         (mem2chunk_check): Fix unsigned comparisons to zero.
24550         Hoist defs of sz and magic.
24552 2015-05-19  Richard Henderson  <rth@redhat.com>
24554         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24556         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24558 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24560         [BZ #16159]
24561         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24562         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24563         (reused_arena): Find a non-corrupt arena.
24564         (heap_trim): Pass arena to unlink.
24565         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24566         malloc_printerr.
24567         (top_check): Likewise.
24568         (free_check): Likewise.
24569         (realloc_check): Likewise.
24570         * malloc/malloc.c (malloc_printerr): Add arena argument.
24571         (unlink): Likewise.
24572         (munmap_chunk): Adjust.
24573         (ARENA_CORRUPTION_BIT): New macro.
24574         (arena_is_corrupt): Likewise.
24575         (set_arena_corrupt): Likewise.
24576         (sysmalloc): Use mmap if there are no usable arenas.
24577         (_int_malloc): Likewise.
24578         (__libc_malloc): Don't fail if arena_get returns NULL.
24579         (_mid_memalign): Likewise.
24580         (__libc_calloc): Likewise.
24581         (__libc_realloc): Adjust for additional argument to
24582         malloc_printerr.
24583         (_int_free): Likewise.
24584         (malloc_consolidate): Likewise.
24585         (_int_realloc): Likewise.
24586         (_int_memalign): Don't touch corrupt arenas.
24587         * malloc/tst-malloc-backtrace.c: New test case.
24589         * Makefile (summarize-tests): Fix return value on success.
24591         * manual/string.texi (Envz Functions): Add envz_remove.
24593 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24595         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24596         (invalid_name): New function, broken out of ...
24597         (__opendirat): ... here.  Call it.
24598         (need_isdir_precheck): New function, broken out of ...
24599         (__opendirat): ... here.  Call it.
24600         Use __fxstatat64, not __xstatat64.
24601         (opendir_oflags): New function, broken out of ...
24602         (__opendirat): ... here.  Call it.
24603         (opendir_tail): New function, broken out of ...
24604         (__opendirat): ... here.  Call it.
24605         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24606         opendir_tail, rather than punting to __opendirat.
24607         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24609 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24611         * .gitignore: Ignore generated *.pyc.
24613 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24615         * include/stdio.h: Define __need_wint_t.
24616         * test-skeleton.c: Avoid `for' loop initial declaration.
24617         * nptl/tst-initializers1.c: Use test-skeleton.c.
24619 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24621         [BZ #18418]
24622         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24624 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24626         [BZ #16352]
24627         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24628         (__ieee754_atanh): Force underflow exception for results with
24629         small absolute value.
24630         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24631         (__ieee754_atanhf): Force underflow exception for results with
24632         small absolute value.
24633         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24634         (__ieee754_atanh): Force underflow exception for results with
24635         small absolute value.
24636         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24637         (__ieee754_atanhf): Force underflow exception for results with
24638         small absolute value.
24639         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24640         (__ieee754_atanhl): Force underflow exception for results with
24641         small absolute value.
24642         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24643         (__ieee754_atanhl): Force underflow exception for results with
24644         small absolute value.
24645         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24646         (__ieee754_atanhl): Force underflow exception for results with
24647         small absolute value.
24648         * math/auto-libm-test-in: Do not allow missing underflow
24649         exceptions from atanh.
24650         * math/auto-libm-test-out: Regenerated.
24652         [BZ #18221]
24653         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24654         2**-28 as threshold for returning x or +/- 1/x.
24655         * math/auto-libm-test-in: Add more tests of tan.
24656         * math/auto-libm-test-out: Regenerated.
24658         [BZ #18220]
24659         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24660         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24661         * math/auto-libm-test-in: Add another test of lgamma.
24662         * math/auto-libm-test-out: Regenerated.
24664 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24666         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24667         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24668         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24669         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24670         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24671         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24672         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24673         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24675         (log1): Use fabs.  (my_log2): Use fabs.
24676         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24677         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24678         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24679         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24680         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24681         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24682         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24683         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24684         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24685         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24686         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24688 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24690         [BZ #18217]
24691         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24692         as threshold for returning 1 - x.
24693         * math/auto-libm-test-in: Add more tests of erfc.
24694         * math/auto-libm-test-out: Regenerated.
24696 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24698         [BZ #18196]
24699         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24700         threshold for large arguments.
24701         * math/auto-libm-test-in: Add another test of atan.
24702         * math/auto-libm-test-out: Regenerated.
24704         [BZ #16339]
24705         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24706         (__log1p): Force underflow exception for results with small
24707         absolute value.
24708         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24709         (__log1pf): Force underflow exception for results with small
24710         absolute value.
24711         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24712         (__log1p): Force underflow exception for results with small
24713         absolute value.
24714         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24715         (__log1pf): Force underflow exception for results with small
24716         absolute value.
24717         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24718         (__log1pl): Force underflow exception for results with small
24719         absolute value.
24720         * math/auto-libm-test-in: Do not allow missing underflow
24721         exceptions from log1p.
24722         * math/auto-libm-test-out: Regenerated.
24724 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24725             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24727         [BZ #16704]
24728         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24730 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24732         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24733         (libmvec): New variable.
24734         * configure.ac: Added option for mathvec build.
24735         * configure: Regenerated.
24736         * mathvec/Depend: New file.
24737         * mathvec/Makefile: New file.
24738         * shlib-versions: Added libmvec.
24739         * math/Makefile: Added rule for libm.so installation.
24741         * bits/math-vector.h: New file.
24742         * bits/libm-simd-decl-stubs.h: New header.
24743         * math/Makefile (headers): Added new header
24744         libm-simd-decl-stubs.h.
24745         * math/math.h (__MATHCALL_VEC): New macro.
24747         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24748         for conditions in testing functions.
24749         * math/Makefile: Added call of libm-have-vector-test.sh.
24750         * math/libm-test.inc (HAVE_VECTOR): New macros.
24752         * math/libm-test.inc: START refactored.
24753         * math/test-double.c (TEST_MATHVEC): Add define.
24754         * math/test-float.c: Likewise.
24755         * math/test-idouble.c: Likewise.
24756         * math/test-ifloat.c: Likewise.
24757         * math/test-ildoubl.c: Likewise.
24758         * math/test-ldouble.c: Likewise.
24759         * sysdeps/generic/math-tests-arch.h
24760         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24761         architecture check.
24763         * math/test-double.c (FUNC_TEST): New macro.
24764         * math/test-float.c: Likewise.
24765         * math/test-idouble.c: Likewise.
24766         * math/test-ifloat.c: Likewise.
24767         * math/test-ildoubl.c: Likewise.
24768         * math/test-ldouble.c: Likewise.
24769         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24771 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24773         * sysdeps/nacl/fdopendir.c: New file.
24775         * dirent/scandir-tail.c: New file.
24776         * dirent/scandir64-tail.c: New file.
24777         * dirent/Makefile (routines): Add them.
24778         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24779         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24780         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24781         [!SCANDIR] (SCANDIR_TAIL): New macro.
24782         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24783         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24784         (SCANDIRAT): Macro removed.
24785         (SCANDIR_TAIL): New macro.
24786         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24787         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24788         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24789         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24790         (READDIR): Macro removed.
24791         (SCANDIR_TAIL): New macro.
24792         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24793         (SCANDIR_TAIL): New macro.
24795         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24796         * dirent/scandir-cancel.c: ... to this new file.
24797         * dirent/Makefile (routines): Add it.
24798         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24799         * sysdeps/unix/sysv/linux/i386/scandir64.c
24800         (SKIP_SCANDIR_CANCEL): Macro removed.
24801         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24803         * dirent/tst-scandir.c: New file.
24804         * dirent/tst-scandir64.c: New file.
24805         * dirent/Makefile (tests): Add them.
24807 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24809         [BZ #18409]
24810         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24812 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24814         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24815         list.
24817 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24819         * benchtests/bench-strcoll.c: New benchmark.
24820         * benchtests/Makefile: Generate locales and run benchmark.
24821         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24822         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24823         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24824         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24825         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24826         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24827         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24828         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24829         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24830         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24831         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24832         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24833         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24834         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24835         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24836         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24837         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24838         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24839         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24840         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24841         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24842         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24843         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24844         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24846 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24848         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24849         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24851 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24853         * posix/uname-values.h: New file.
24854         * posix/uname.c: Include that instead of <config-name.h>.
24855         * sysdeps/nacl/uname-values.h: New file.
24856         * sysdeps/arm/nacl/uname-values.h: New file.
24858 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24860         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24861         splitting into fields.
24863 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24865         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24866         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24867         * locale/localeinfo.h: Add enum collation_encoding_type.
24868         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24869         * programs/ld-collate.c (collate_output): Add encoding type info.
24870         * string/strcoll_l.c (STRDIFF): New function.
24871         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24872         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24874 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24876         [BZ #18397]
24877         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24878         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24879         <fpu_control.h> instead of <math/fpu_control.c>.
24880         * sysdeps/mips/mips32/fpu/Makefile: New file.
24882 2015-05-11  Andreas Schwab  <schwab@suse.de>
24884         [BZ #18007]
24885         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24886         nss_endgrent.
24887         (_nss_compat_endgrent): Call nss_endgrent.
24888         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24889         nss_endpwent.
24890         (_nss_compat_endpwent): Call nss_endpwent.
24891         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24892         needent, call nss_setspent only if non-zero.
24893         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24894         (internal_endspent): Don't call nss_endspent.
24895         (_nss_compat_endspent): Call nss_endspent.
24896         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24897         Remove.  All uses removed.
24898         (internal_setent): Remove parameter stayopen, add parameter
24899         stream.  Use it instead of global variable.
24900         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24901         (internal_endent, internal_getent): Add parameter stream.  Use it
24902         instead of global variable.
24903         (CONCAT(_nss_files_end,ENTNAME))
24904         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24905         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24906         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24907         uses removed.
24908         (internal_setent, internal_endent): Add parameter stream.  Use it
24909         instead of global variable.
24910         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24911         stream.
24912         (get_next_alias): Add parameter stream.
24913         (_nss_files_getaliasent_r): Pass global stream.
24914         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24915         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24916         (_nss_files_gethostbyname4_r): Pass local stream to
24917         internal_setent, internal_getent and internal_endent.  Remove
24918         locking.
24920 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24922         * tst-strfmon1.c (tests): Update expected currency symbol.
24924 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24926         * sysdeps/nacl/gethostname.c: New file.
24928 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24930         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24931         and sinh.
24932         * math/auto-libm-test-out: Regenerated.
24933         * sysdeps/i386/fpu/libm-test-ulps: Update.
24934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24936 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24938         [BZ #18125]
24939         * stdlib/tst-setcontext3.c: New file.
24940         * stdlib/tst-setcontext3.sh: New file.
24941         * stdlib/Makefile (tests): Add tst-setcontext3.
24942         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24943         to verify test program created output file.
24944         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24945         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24946         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24947         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24949 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24951         [BZ #18383]
24952         * elf/tst-tlsalign.c: New file.
24953         * elf/tst-tlsalign-static.c: New file.
24954         * elf/tst-tlsalign-lib.c: New file.
24955         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24956         (tests-static): Add tst-tlsalign-static.
24957         (modules-names): Add tst-tlsalign-lib.
24958         (test-xfail-tst-tlsalign): New variable.
24959         (test-xfail-tst-tlsalign-static): New variable.
24961         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24962         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24964 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24966         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24967         csqrt, erfc, sin and sincos.
24968         * math/auto-libm-test-out: Regenerated.
24969         * sysdeps/i386/fpu/libm-test-ulps: Update.
24970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24974         * sysdeps/aarch64/libm-test-ulps: Update.
24976 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24978         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24979         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24980         * math/auto-libm-test-out: Regenerated.
24981         * sysdeps/i386/fpu/libm-test-ulps: Update.
24982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24984 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24986         [BZ #18265]
24987         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24988         (wcsncpy): Likewise.
24990 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24992         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24993         Assume __ASSUME_FALLOCATE is always true.
24994         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24995         (__posix_fallocate64_l64): Likweise.
24996         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24997         (posix_fallocate): Likewise.
24998         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24999         (__posix_fallocate64_l64): Likewise.
25000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25001         [!__ASSUME_FALLOCATE]: Add comment.
25003 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25005         * sysdeps/unix/sysv/linux/i386/Makefile
25006         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25007         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25008         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25009         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25010         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25011         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25012         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25014 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25016         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25017         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25018         tgamma.
25019         * math/auto-libm-test-out: Regenerated.
25020         * sysdeps/i386/fpu/libm-test-ulps: Update.
25021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25023 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25025         * math/auto-libm-test-in: Add more tests of 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         * math/auto-libm-test-in: Add more tests of tanh.
25031         * math/auto-libm-test-out: Regenerated.
25032         * sysdeps/i386/fpu/libm-test-ulps: Update.
25033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25035         * math/auto-libm-test-in: Add more tests of tan.
25036         * math/auto-libm-test-out: Regenerated.
25037         * sysdeps/i386/fpu/libm-test-ulps: Update.
25038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25040         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25041         * math/auto-libm-test-out: Regenerated.
25042         * sysdeps/i386/fpu/libm-test-ulps: Update.
25043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045         * math/auto-libm-test-in: Add another test of pow.
25046         * math/auto-libm-test-out: Regenerated.
25047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25049         * math/auto-libm-test-in: Add more tests of lgamma.
25050         * math/auto-libm-test-out: Regenerated.
25051         * sysdeps/i386/fpu/libm-test-ulps: Update.
25052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25054         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25055         log1p.
25056         * math/auto-libm-test-out: Regenerated.
25057         * sysdeps/i386/fpu/libm-test-ulps: Update.
25058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25060 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25062         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25063         Elf64_Chdr structs and ELFCOMPRESS constants.
25065 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25067         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25068         expm1.
25069         * math/auto-libm-test-out: Regenerated.
25070         * sysdeps/i386/fpu/libm-test-ulps: Update.
25071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25073         * math/auto-libm-test-in: Add more tests of erf and erfc.
25074         * math/auto-libm-test-out: Regenerated.
25075         * sysdeps/i386/fpu/libm-test-ulps: Update.
25076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25078 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25080         * config.h.in (HAVE_AARCH64_BE): Add.
25082 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25084         * math/auto-libm-test-in: Add more tests of csqrt.
25085         * math/auto-libm-test-out: Regenerated.
25086         * sysdeps/i386/fpu/libm-test-ulps: Update.
25087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25089         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25090         * math/auto-libm-test-out: Regenerated.
25091         * sysdeps/i386/fpu/libm-test-ulps: Update.
25092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25094         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25096 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25098         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25099         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25101         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25102         (euidaccess, eaccess): Define as weak aliases.
25104         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25105         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25106         but __suseconds_t is often 'long int' so some sources assume that
25107         type is being used (e.g. they use %ld to print tv_usec).
25109 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25111         [BZ #18007]
25112         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25113         (CVE-2014-8121)
25114         * nss/tst-nss-getpwent.c: New file.
25115         * nss/Makefile (tests): Add new test.
25117 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25119         [BZ #18346]
25120         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25121         exponents less than 48 as cases where high part of mantissa needs
25122         examining to determine whether argument is integral.
25123         * math/libm-test.inc (round_test_data): Add more tests.
25125 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25127         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25129 2015-04-27  David S. Miller  <davem@davemloft.net>
25131         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25132         __tls_get_addr.
25133         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25135 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25137         [BZ#18333]
25138         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25140 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25142         [BZ#18333]
25143         * time/tzset.c (parse_tzname): Return error on memory allocation
25144         failure.
25145         * test-skeleton.c (struct temp_name_list): Change type of name
25146         member to non-const.
25147         (add_temp_file): Create a copy of the file name.
25148         (delete_temp_files): Deallocate memory.
25149         (create_temp_file): Add comment.
25151 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25153         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25154         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25156 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25158         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25159         * sysdeps/arm/configure: Regenerated.
25161 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25163         [BZ #17715]
25164         * time/tzfile.c (__tzfile_read): Check for large values of
25165         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25166         * time/tzset.c (__tzstring_len): New function, based on the old
25167         __tzstring function.
25168         (__tzstring): Call __tzstring_len.
25169         (parse_tzname): New helper function extracted from
25170         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25171         the input string.
25172         (parse_offset): New helper function extracted from
25173         __tzset_parse_tz.  Replace switch with fallthrough with
25174         initialization before sscanf.
25175         (parse_rule): Likewise.
25176         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25177         new-style function definition.
25178         * timezone/Makefile (tests): Add tst-tzset.
25179         (tst-tzset.out): Dependencies on time zone files.
25180         (tst-tzset-ENV): Set TZDIR.
25181         (testdata/XT%): Copy crafted time zone files.
25182         * timezone/README: Mention crafted time zone files.
25183         * timezone/testdata/XT1, timezone/testdata/XT2,
25184         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25185         files.
25186         * timezone/tst-tzset.c: New test.
25188 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25190         * Makeconfig (+gccwarn): Remove -Winline.
25192 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25194         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25196 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25198         * NEWS: Mention sysconf() cache information support for s390.
25199         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25201 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25203         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25204         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25205         (__nearbyint): Likewise.
25206         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25207         (copysignl): Likewise.
25209 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25211         [BZ #18287]
25212         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25213         based on padding.  (CVE-2015-1781)
25215 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25217         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25218         libc-vdso.h.
25219         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25220         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25221         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25222         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25223         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25224         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25225         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25226         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25227         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25228         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25229         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25230         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25231         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25232         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25233         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25234         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25235         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25236         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25237         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25238         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25239         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25240         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25241         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25243 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25245         * stdlib/setenv.c (__add_to_environ):
25246         Dump core quickly if setenv (..., NULL, ...) is called.
25247         This time, do it the right way, and pacify GCC with a pragma.
25249 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25251         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25252         IMAP->l_prev cannot be null, and #if out the code for the contrary
25253         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25254         believe that NS (&_dl_ns[NSID]) could point outside the array.
25256         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25257         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25258         before using NSID as an index.
25260 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25262         [BZ #17825]
25263         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25264         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25265         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25267 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25269         Add preliminary port to Google Native Client on ARM.
25270         * abi-tags (.*-.*-nacl.*): New entry.
25271         * sysdeps/arm/nacl: New directory.
25272         * sysdeps/nacl: New directory.
25274 2015-04-16  David S. Miller  <davem@davemloft.net>
25276         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25277         lowlevellock-futex.h
25279 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25281         * sysdeps/tile/configure.ac: New file.
25282         * sysdeps/tile/configure: Regenerated.
25284 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25286         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25287         conditionals for weak_alias and libc_hidden_weak.
25288         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25289         libc_hidden_weak and weak_alias.
25290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25291         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25292         and weak_alias for static one.
25294 2015-04-15  David S. Miller  <davem@davemloft.net>
25296         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25298 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25300         [BZ #18206]
25301         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25302           Use signed comparision instead of substraction to avoid
25303           overflow bug.
25304         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25305           Take the sign of ret.
25306         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25307           Do not expect precise return values. Only the sign matters.
25308         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25309         * wcsmbs/test-wcsncmp.c: New File.
25310         * string/test-strncmp.c: Add wcsncmp support.
25312 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25314         [BZ #6792]
25315         * math/w_log1p.c: New file.
25316         * math/w_log1pf.c: Likewise.
25317         * math/w_log1pl.c: Likewise.
25318         * math/Makefile (libm-calls): Add w_log1p.
25319         * math/s_log1pl.c (log1pl): Remove weak_alias.
25320         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25321         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25322         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25323         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25324         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25325         [NO_LONG_DOUBLE] (log1pl): Likewise.
25326         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25327         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25328         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25329         (log1p): Remove long_double_symbol.
25330         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25331         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25332         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25333         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25334         remove weak_alias for corresponding log1p function.
25335         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25336         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25337         * sysdeps/ia64/fpu/w_log1p.c: New file.
25338         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25339         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25340         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25342 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25344         [BZ #18247]
25345         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25346         decimal exponent by 1.
25347         * stdlib/tst-strtod-round-data: Add more tests.
25348         * stdlib/tst-strtod-round.c (tests): Regenerated.
25350 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25352         * math/auto-libm-test-in: Add more tests of clog and clog10.
25353         * math/auto-libm-test-out: Regenerated.
25354         * sysdeps/i386/fpu/libm-test-ulps: Update.
25355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25357 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25359         * Makeconfig (module-cppflags): Exclude all .v.i files.
25360         (skip-module-cppflags): Variable removed.
25362         * configure.ac (libc_config_ok): Initialize before reading
25363         preconfigure scripts, not after.
25364         * configure: Regenerated.
25366         * test-skeleton.c (TIMEOUT): Move #define to top level.
25367         (main): Grok environment variable TEST_DIRECT.  If set, print
25368         test expectation details into that file and then behave as if
25369         given --direct.
25371 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25373         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25374         warning on 32-bit.
25376 2015-04-08  David S. Miller  <davem@davemloft.net>
25378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25380 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25382         * math/auto-libm-test-in: Add more tests of atanh.
25383         * math/auto-libm-test-out: Regenerated.
25384         * sysdeps/i386/fpu/libm-test-ulps: Update.
25385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25387         * math/auto-libm-test-in: Add more tests of atan.
25388         * math/auto-libm-test-out: Regenerated.
25389         * sysdeps/i386/fpu/libm-test-ulps: Update.
25390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25394         * elf/pldd.c (main): Rewrite to use struct
25395         scratch_buffer instead of extend_alloca.
25396         * elf/pldd-xx.c (find_maps): Likewise.
25397         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25398         <alloca.h>.
25399         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25400         scratch_buffer instead of extend_alloca.
25401         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25402         grp/compat-initgroups.c.
25403         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25404         Rewrite to use struct scratch_buffer instead of extend_alloca.
25405         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25406         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25408 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25410         * math/auto-libm-test-in: Add more tests of cbrt.
25411         * math/auto-libm-test-out: Regenerated.
25412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25414         * math/auto-libm-test-in: Add more tests of cabs.
25415         * math/auto-libm-test-out: Regenerated.
25416         * sysdeps/i386/fpu/libm-test-ulps: Update.
25417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25419         [BZ #18210]
25420         [BZ #18211]
25421         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25422         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25423         computations.
25424         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25425         clog10.
25426         * math/auto-libm-test-out: Regenerated.
25427         * sysdeps/i386/fpu/libm-test-ulps: Update.
25428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25430         [BZ #18197]
25431         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25432         (atan): Set FE_TONEAREST mode for internal computations.
25433         * math/auto-libm-test-in: Add more tests of atan.
25434         * math/auto-libm-test-out: Regenerated.
25436 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25438         [BZ #17930]
25439         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25441 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25443         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25445 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25447         * include/scratch_buffer.h: New file.
25448         * malloc/scratch_buffer_grow.c: Likewise.
25449         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25450         * malloc/scratch_buffer_set_array_size.c: Likewise.
25451         * malloc/tst-scratch_buffer.c: Likewise.
25452         * malloc/Makefile (routines): Add scratch_buffer_grow.
25453         (tests): Add test case.
25454         * malloc/Versions (GLIBC_PRIVATE): Export
25455         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25456         __libc_scratch_buffer_set_array_size.
25458 2015-04-06  Richard Henderson  <rth@redhat.com>
25460         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25461         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25463         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25464         unsigned int before printing.
25466 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25468         [BZ #17596]
25469         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25470         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25472 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25474         * include/libc-internal.h (libc_max_align_t): Define.
25476 2015-04-02  Andreas Schwab  <schwab@suse.de>
25478         [BZ #16850]
25479         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25481 2015-04-02  Mel Gorman  <mgorman@suse.de>
25483         [BZ #17195]
25484         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25485         as well as the main arena.
25487 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25489         [BZ #18185]
25490         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25491         sharing L2 cache to 2 for Silvermont/Knights Landing.
25493 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25495         [BZ #17711]
25496         * config.make.in (have-protected-data): New.
25497         * configure.ac: Check linker support for protected data symbol.
25498         * configure: Regenerated.
25499         * elf/Makefile (modules-names): Add tst-protected1moda and
25500         tst-protected1modb if $(have-protected-data) is yes.
25501         (tests): Add tst-protected1a and tst-protected1b if
25502         $(have-protected-data) is yes.
25503         ($(objpfx)tst-protected1a): New.
25504         ($(objpfx)tst-protected1b): Likewise.
25505         (tst-protected1modb.so-no-z-defs): Likewise.
25506         * elf/tst-protected1a.c: New file.
25507         * elf/tst-protected1b.c: Likewise.
25508         * elf/tst-protected1mod.h: Likewise.
25509         * elf/tst-protected1moda.c: Likewise.
25510         * elf/tst-protected1modb.c: Likewise.
25512 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25514         [BZ #17711]
25515         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25516         indicates it is called from do_lookup_x on relocation against
25517         protected data, skip the data definion in the executable from
25518         copy reloc.
25519         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25520         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25521         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25522         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25523         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25524         otherwise to 0.
25525         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25526         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25527         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25528         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25529         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25530         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25532 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25534         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25535         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25537 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25539         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25540         THREAD_SETMEM_NC.
25541         * sysdeps/x86_64/nptl/tls.h: Ditto.
25543 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25545         * dlfcn/tststatic.c (main): Converted to ...
25546         (do_test): ... this.
25547         (TEST_FUNCTION): New macro.
25548         Include test-skeleton.c.
25550 2015-03-26  Alan Modra  <amodra@gmail.com>
25552         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25553         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25554         zero for undefined weak.
25555         (elf_machine_plt_conflict): Similarly.
25557 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25559         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25560         atanh.
25561         * math/auto-libm-test-out: Regenerated.
25562         * sysdeps/i386/fpu/libm-test-ulps: Update.
25563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25565         * math/auto-libm-test-in: Add another test of asin.
25566         * math/auto-libm-test-out: Regenerated.
25567         * sysdeps/i386/fpu/libm-test-ulps: Update.
25568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25570         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25571         Remove macro.
25572         (LLL_EBX_REG): Likewise.
25573         (LLL_ENTER_KERNEL): Likewise.
25575         * math/auto-libm-test-in: Add more tests of asin.
25576         * math/auto-libm-test-out: Regenerated.
25577         * sysdeps/i386/fpu/libm-test-ulps: Update.
25578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25580         [BZ #18138]
25581         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25582         libc_do_syscall_args): New structure.
25583         (INTERNAL_SYSCALL_MAIN_0): New macro.
25584         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25585         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25586         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25587         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25588         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25589         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25590         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25591         Replace conditional definitions by conditional definitions of ....
25592         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25593         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25594         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25595         (libpthread-sysdep_routines): Add libc-do-syscall.
25596         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25597         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25598         to __NR_futex not 240.
25600 2015-03-25  Alan Modra  <amodra@gmail.com>
25602         * NEWS: Advertise TLS optimization.
25603         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25604         (DT_PPC_NUM): Increment.
25605         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25606         (CHECK_STATIC_TLS): Use here.
25607         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25608         TLS descriptors.
25609         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25610         * sysdeps/powerpc/dl-tls.c: New file.
25611         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25612         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25613         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25614         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25619 2015-03-25  Alan Modra  <amodra@gmail.com>
25621         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25622         for overlapping .opd entries" to "support...".
25623         * sysdeps/powerpc/powerpc64/configure: Regenerate
25625 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25627         * math/auto-libm-test-in: Add more tests of acos.
25628         * math/auto-libm-test-out: Regenerated.
25629         * sysdeps/i386/fpu/libm-test-ulps: Update.
25630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25632         * math/auto-libm-test-in: Add more tests of expm1.
25633         * math/auto-libm-test-out: Regenerated.
25634         * sysdeps/i386/fpu/libm-test-ulps: Update.
25635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25637 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25639         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25647         * math/auto-libm-test-in: Add more tests of log2.
25648         * math/auto-libm-test-out: Regenerated.
25649         * sysdeps/i386/fpu/libm-test-ulps: Update.
25650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25652 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25654         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25655         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25656         _IO_IS_APPENDING bit in READ_WRITE instead.
25658 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25660         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25661         (__determine_cpumask_size): Replace extend_alloca with a
25662         variable-length array.  Do not treat res == 0 as an error.
25664 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25666         [BZ #18100]
25667         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25668         and integer overflow.
25669         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25670         (main): Add integer overflow tests.
25671         * manual/pattern.texi (Calling Wordexp): Document additional use
25672         for WRDE_SYNTAX.
25674 2015-03-23  Alan Modra  <amodra@gmail.com>
25676         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25677         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25678         and false branch of conditional.
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25680         Likewise.
25682 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25684         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25685         libc-modules.h
25686         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25687         unused declaration of _hurd_intr_rpc_msg_in_trap.
25688         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25689         defined instead of whether it is non-zero.
25690         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25691         input constraint instead of both input and output constraint.  Use ecx
25692         clobber instead of %ecx.
25693         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25694         mutex_unlock): Use a statement expression instead of an expression list.
25695         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25696         type to vm_size_t instead of vm_address_t.
25697         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25698         defined instead of whether it is non-zero.
25699         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25700         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25701         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25702         comparisons with mapaddr.
25703         * nscd/nscd-client.h: Include <time.h>.
25704         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25705         9th parameter to __vm_region instead of int.
25706         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25707         * scripts/check-local-headers.sh (exclude): Add device/,
25708         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25709         cthreads.h.
25711 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25713         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25714         to account for alignment padding.
25715         * sysdeps/arm/memmove.S: Likewise.
25717 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25719         * sysdeps/unix/sysv/linux/generic/README: New file.
25721 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25723         [BZ #18138]
25724         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25725         (futex_abstimed_wait)
25726         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25727         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25728         of lll_futex_timed_wait.
25730 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25732         [BZ #17542]
25733         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25735 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25737         [BZ #17090]
25738         [BZ #17620]
25739         [BZ #17621]
25740         [BZ #17628]
25741         * NEWS: Update.
25742         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25743         entries with Static TLS too.  Skip entries past the end of the
25744         allocated DTV, from Alan Modra.
25745         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25746         Static TLS DTV entry set up from...
25747         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25748         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25749         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25750         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25751         for Static TLS.
25752         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25753         that the slot we find is associated with the given map before
25754         using its generation count.
25755         * nptl_db/db_info.c: Include ldsodefs.h.
25756         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25757         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25758         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25759         (link_map::l_tls_offset): New struct field.
25760         (dtv_t::counter): Likewise.
25761         (rtld_global): New struct.
25762         (_rtld_global): New rtld variable.
25763         (dl_tls_dtv_slotinfo_list): New rtld global field.
25764         (dtv_slotinfo_list): New struct.
25765         (dtv_slotinfo): Likewise.
25766         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25767         (td_lookup): Rename to...
25768         (td_mod_lookup): ... this.  Use new mod parameter instead of
25769         LIBPTHREAD_SO.
25770         * nptl_db/td_thr_tlsbase.c: Include link.h.
25771         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25772         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25773         addresses even if the DTV is out of date or missing them.
25774         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25775         index zero-length arrays.
25776         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25777         (td_lookup): Make it a macro implemented in terms of...
25778         (td_mod_lookup): ... this declaration.
25779         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25780         (DB_MAIN_VARIABLE): Likewise.
25782 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25784         [BZ #18134]
25785         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25787 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25789         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25791 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25793         [BZ #18128]
25794         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25795         (atomic_add, atomic_increment_and_test)
25796         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25798 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25800         * stdlib/setenv.c (__add_to_environ):
25801         Dump core quickly if setenv (..., NULL, ...) is called.
25803 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25805         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25806         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25807         all the necessary asm magic in one place.
25808         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25809         using those.
25811 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25813         [BZ #14906]
25814         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25815         traced file mtime. Use consistent log message.
25816         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25817         (register_traced_file): Call install_watches. Always set mtime.
25818         (invalidate_cache): Iterate over all trace files. Call install_watches.
25819         (inotify_check_files): Don't inline. Handle watching parent
25820         directories and configuration file movement in and out.
25821         (handle_inotify_events): New function.
25822         (main_loop_poll): Call handle_inotify_events.
25823         (main_loop_epoll): Likewise.
25824         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25825         (struct traced_file): Use array of inotify fds. Add parent directory,
25826         and basename.
25827         (struct database_dyn): Remove unused file_mtime.
25828         (init_traced_file): New inline function.
25829         (define_traced_file): New macro.
25830         * nss/nss_db/db-init.c: Use define_traced_file.
25831         (_nss_db_init): Use init_traced_file.
25832         * nss/nss_files/files-init.c: Use define_traced_file.
25833         (_nss_files_init): Use init_traced_file.
25835 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25837         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25838         [_LIBC]: Do not include <stdlib.h>.
25839         [!_LIBC] (abort): Remove declaration.
25840         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25841         _FP_STATIC_ASSERT instead of conditionally calling abort.
25842         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25843         (_FP_EXTEND_CNAN): Likewise.
25844         (FP_TRUNC): Likewise.
25845         (__FP_CLZ): Likewise.
25846         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25848 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25850         * manual/string.texi (XPG basename): Fix prototype.
25852 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25854         [BZ #18080]
25855         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25856         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25857         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25858         (__setcontext): Likewise.
25859         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25860         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25861         Call rt_sigprocmask syscall one time to set new signal mask
25862         and retrieve the current signal mask instead of two calls.
25863         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25864         (__swapcontext): Likewise.
25865         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25866         * stdlib/tst-setcontext2.c: New file.
25868 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25870         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25872 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25874         [BZ #18093]
25875         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25876         the wrong size.
25878 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25880         [BZ #18043]
25881         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25883 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25885         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25886         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25887         Remove define.
25888         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25889         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25890         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25891         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25892         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25893         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25894         define.
25895         * nptl_db/td_symbol_list.c (td_lookup): Remove
25896         HAVE_ASM_GLOBAL_DOT_NAME code.
25897         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25898         HAVE_ASM_GLOBAL_DOT_NAME check.
25899         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25900         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25901         (DOT_LABEL): Remove define.
25902         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25903         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25904         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25905         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25906         (__TLS_GET_ADDR): Likewise.
25907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25908         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25910 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25912         [BZ #18111]
25913         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25914         (_FPU_SETCW): Initialize cw from fpsr before storing.
25915         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25916         (fesetexceptflag): Rewrite using fpu_control.h.
25917         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25919 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25921         [BZ #18110]
25922         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25923         asms.
25924         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25926 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25928         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25929         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25930         abort.
25931         (_FP_FMA): Likewise.
25932         (_FP_DIV): Likewise.
25934 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25936         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25937         with 0 in that case.
25938         * Makefile (summarize-tests): New canned sequence, factored out of
25939         commands for targets tests and xtests.  Display summary lines that
25940         don't start with PASS: or XFAIL: rather than ones that do start with
25941         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25942         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25943         do start with ERROR: or FAIL:.
25944         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25945         (except for [$(build-shared) = yes]).
25946         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25947         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25948         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25949         * nptl/Makefile: Revert 2015-03-04 changes.
25950         [$(CXX) empty] (tests-unsupported): New variable.
25951         * debug/Makefile: Likewise.
25953         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25954         gnulib file.  Replace __attribute with __attribute__ throughout.
25956 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25958         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25960 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25962         [BZ #18104]
25963         * math/auto-libm-test-in: Add another test of pow.
25964         * math/auto-libm-test-out: Regenerated.
25966 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25968         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25969         $(config-cflags-nofma).
25971 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25973         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25974         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25975         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25976         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25977         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25978         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25979         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25980         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25981         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25982         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25983         Add comment on closing #endif.
25985 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25987         * posix/wordexp.c (CHAR_IN_SET): New macro.
25988         (parse_param): Use it.
25990 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25992         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25994 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25996         [BZ #18043]
25997         * posix/wordexp.c (parse_param): Fix buffer overflow.
25998         * posix/wordexp-test.c (test_case): Add test case.
26000 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26002         [BZ #18042]
26003         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26004         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26006 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26008         [BZ #18043]
26009         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26010         (do_bz18043): Delete.
26011         (at_page_end): New.
26012         (testit): Refactor to have words at the edge of unreadable page.
26014 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26016         [BZ #16734]
26017         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26018         Cleanup read-only streams as well.
26019         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26021 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26023         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26024         <bits/libc-lockP.h>
26026 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26028         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26029         on [__KERNEL__].
26030         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26031         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26032         * soft-fp/op-common.h (_FP_DECL): Likewise.
26034 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26036         * elf/ifuncdep2.c (global): Replace
26037         __attribute__((visibility("protected"))) with
26038         asm (".protected global").
26039         * elf/ifuncmod1.c (global): Likewise.
26040         * elf/ifuncmod5.c (global): Likewise.
26042 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26044         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26045         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26047 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26049         * manual/install.texi (Configuring and compiling):
26050         Document test-wrapper-env-only.
26051         * INSTALL: Regenerated.
26053 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26055         [BZ #18043]
26056         * posix/wordexp.c (parse_param): Fix buffer overflow.
26057         * posix/wordexp-test.c (do_bz18043): Add test case.
26059 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26061         * time/tst-strptime2.c (do_test): Ensure failing tests are
26062         reported correctly.
26063         * time/tst-strptime3.c (do_test): Likewise.
26065 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26067         Fix aio_error thread-safety.
26068         * sysdeps/pthread/aio_error.c: New file
26069         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26070         synchronization.
26072 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26074         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26075         (group_number, vfprintf): Use it.
26076         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26077         (JUMP, REF): Use it.
26078         (WORK_BUFFER_SIZE): New enum constant.
26079         (process_arg, vfprintf): Use it.
26081 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26083         * manual/errno.texi (Error Messages): Complete example function
26084         by adding missing #define.
26085         (program_invocation_name): Add statement indicating GNU
26086         extension and reference which header file declares the variable.
26087         (program_invocation_short_name): Likewise.
26089 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26091         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26092         compatibility note.
26094 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26096         * Makeconfig (test-wrapper-env-only): New variable.
26097         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26098         then use that with $(test-wrapper-env-only) rather than using
26099         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26101 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26103         [BZ #18082]
26104         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26105         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26106         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26107         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26108         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26109         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26110         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26111         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26112         Likewise.
26113         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26114         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26115         Likewise.
26116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26117         Likewise.
26118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26119         Likewise.
26120         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26121         Likewise.
26122         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26124         Likewise.
26125         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26126         Likewise.
26127         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26128         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26130 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26132         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26133         (ETH_ALEN): New macro.
26134         (struct ether_addr): Use it for length of ether_addr_octet.
26136         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26137         (setdb): Don't call __nss_configure_lookup for "rpc".
26138         (do_test): Don't call test_rpc.
26139         (output_rpcent, test_rpc): Functions moved ...
26140         * sunrpc/test-rpcent.c: ... to this new file.
26141         * sunrpc/Makefile (tests): Add it.
26143         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26144         __xpg_sigpause.
26145         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26146         * nptl/tst-signal6.c: Likewise.
26147         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26148         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26150         * configure.ac (libc_cv_cxx_link_ok): New check.
26151         Reset CXX to empty if it fails to link.
26152         * configure: Regenerated.
26153         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26154         bug-atexit3-lib only if $(CXX) is nonempty.
26155         * nptl/Makefile (tests): Likewise for tst-cancel24.
26156         (tests, tests-static): Likewise for tst-cancel24-static.
26157         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26158         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26159         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26160         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26162 2015-03-04  Andreas Schwab  <schwab@suse.de>
26164         [BZ #17631]
26165         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26166         for non-GCC compilers.
26167         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26168         Likewise.
26170 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26172         [BZ #17776]
26173         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26174         integer before bitwise and assembly operations.
26175         (feclearexcept): Likewise.
26176         * math/test-fenvinline.c: New file.
26177         * math/Makefile: Add test-fenvinline test.
26179 2015-03-03  Alan Modra  <amodra@gmail.com>
26181         [BZ #16512]
26182         * scripts/localplt.awk: Strip off symbol version.
26183         * NEWS: Mention bug fix.
26185 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26187         * sysdeps/pthread/timer_routines.c
26188         (timer_free_list, thread_free_list, thread_active_list): Make static.
26190 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26192         [BZ #17779]
26193         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26194         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26195         Undefine.
26196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26197         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26198         Likewise.
26199         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26200         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26201         Likewise.
26203 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26205         [BZ #18036]
26206         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26207         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26209 2015-03-02  Andreas Schwab  <schwab@suse.de>
26211         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26212         variable name.
26214 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26216         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26217         Return error status.
26219 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26221         [BZ #15969]
26222         * locale/findlocale.c (_nl_find_locale): Introduce const
26223         version of loc_name and drop unsafe type casts.
26225 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26227         * dlfcn/tststatic2.c (main): Converted to ...
26228         (do_test): ... this.
26229         (TEST_FUNCTION): New macro.
26230         Include test-skeleton.c.
26232 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26234         [BZ #17711]
26235         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26236         (tests-pie): Add vismain.
26237         (CFLAGS-vismain.c): New.
26238         * elf/vismain.c: Add comments for PIE requirement.
26240 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26242         [BZ #18046]
26243         [BZ #18047]
26244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26245         0x1p-56L as threshold for just returning the argument.
26246         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26247         0x1p-32L as threshold for just returning the argument.
26248         * math/auto-libm-test-in: Add more tests of atanh.
26249         * math/auto-libm-test-out: Regenerated.
26250         * sysdeps/i386/fpu/libm-test-ulps: Update.
26251         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26253 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26255         * string/bcopy.c (bcopy): Call memmove for performance.
26257 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26259         * string/bzero.c (__bzero): Call memset for performance.
26261 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26263         [BZ #18068]
26264         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26265         to 00100000.
26267 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26269         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26271 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26273         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26274         (__kernel_standard): Use CSTR macro when setting exc.name.
26275         * sysdeps/ieee754/Makefile [$(subdir) = math]
26276         (CFLAGS-k_standard.c): Remove variable.
26278         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26279         setting p and q from "else if" to "else".
26280         (qzero): Likewise.
26281         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26282         (qone): Likewise.
26283         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26284         (qzerof): Likewise.
26285         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26286         (qonef): Likewise.
26287         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26288         (qzero): Likewise.
26289         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26290         (qone): Likewise.
26292         [BZ #18038]
26293         [BZ #18039]
26294         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26295         return pi/2 for arguments below 0x1p-113L.
26296         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26297         return pi/2 for arguments below 0x1p-106L.
26298         * math/auto-libm-test-in: Add more tests of acos.
26299         * math/auto-libm-test-out: Regenerated.
26301         [BZ #16351]
26302         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26303         (MO): New macro.
26304         (__ieee754_asin): Force underflow exception for results with small
26305         absolute value.
26306         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26307         (MO): New macro.
26308         (__ieee754_asinf): Force underflow exception for results with
26309         small absolute value.
26310         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26311         (__ieee754_asin): Force underflow exception for results with small
26312         absolute value.
26313         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26314         (__ieee754_asinf): Force underflow exception for results with
26315         small absolute value.
26316         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26317         (__ieee754_asinl): Force underflow exception for results with
26318         small absolute value.
26319         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26320         (__ieee754_asinl): Force underflow exception for results with
26321         small absolute value.
26322         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26323         (__ieee754_asinl): Force underflow exception for results with
26324         small absolute value.
26325         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26326         Include <math.h>.
26327         * math/auto-libm-test-in: Do not mark underflow exceptions as
26328         possibly missing for bug 16351.
26329         * math/auto-libm-test-out: Regenerated.
26331         [BZ #18030]
26332         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26333         of power of 2 down when low part has opposite sign.
26334         * math/libm-test.inc (logb_test_data): Add more tests.
26336 2015-02-26  Andreas Schwab  <schwab@suse.de>
26338         [BZ #18032]
26339         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26340         over collating symbol inside a bracket expression.  Minor cleanup.
26341         * posix/tst-fnmatch3.c (do_test): Add test case.
26343 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26345         [BZ #18029]
26346         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26347         Adjust exponent of power of 2 down when low part has opposite
26348         sign.
26349         * math/libm-test.inc (ilogb_test_data): Add more tests.
26351 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26353         [BZ #15969]
26354         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26355         the previous change.
26357         [BZ #15969]
26358         * locale/findlocale.c (_nl_find_locale): Retry archive search
26359         after alias expansion.
26361 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26363         * iconv/tst-iconv3.c (main): Converted to ...
26364         (do_test): ... this.
26365         (TEST_FUNCTION): New macro.
26366         Include test-skeleton.c.
26368         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26369         (convert): Make function static.
26370         (test_unalign): Likewise.  Add const to argument pointee types.
26371         (main): Replace with static function do_test.
26372         Print "Succeeded." only if RET is zero.
26373         (TEST_FUNCTION): New macro.
26374         Include test-skeleton.c.
26376         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26377         returns a null pointer.
26379 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26381         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26382         to __memcpy_ppc only for static builds.
26384 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26386         [BZ #18020]
26387         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26388         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26389         * math/auto-libm-test-in: Add more tests of asinh.
26390         * math/auto-libm-test-out: Regenerated.
26391         * sysdeps/i386/fpu/libm-test-ulps: Update.
26392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26394 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26396         [BZ #15850]
26397         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26398         and ip6_mtuinfo definitions here.
26399         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26400         in this define too.  Update comment.
26402 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26404         * elf/sprof.c (load_shobj): Tweak error message to match others.
26406 2015-02-24  Kevin Easton  <kevin@guarana.org>
26408         [BZ #16145] (partial fix)
26409         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26410         to reduce lock contention.
26412 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26414         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26415         (struct timex): Update time comment.
26416         (ADJ_SETOFFSET): Define.
26418 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26420         [BZ #18019]
26421         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26422         2**56 not 2**28 as threshold for log (2x) formula.
26423         * math/auto-libm-test-in: Add more tests of acosh.
26424         * math/auto-libm-test-out: Regenerated.
26425         * sysdeps/i386/fpu/libm-test-ulps: Update.
26426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26428 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26430         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26431         parenthesis around the buf assignment.
26432         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26434 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26436         [BZ #16783]
26437         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26438         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26439         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26440         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26441         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26442         * math/libm-test.inc (scalb_test_data): Add more tests.
26444 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26446         [BZ #17916]
26447         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26448         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26450 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26452         [BZ #17523]
26453         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26454         * io/bits/fcntl2.h (open): Use it.
26455         (openat): Likewise.
26456         * io/open.c (__libc_open): Likewise.
26457         * io/open64.c (__libc_open64): Likewise.
26458         * io/open64_2.c (__open64_2): Likewise.
26459         * io/open_2.c (__open_2): Likewise.
26460         * io/openat.c (__openat): Likewise.
26461         * io/openat64.c (__openat64): Likewise.
26462         * io/openat64_2.c (__openat64_2): Likewise.
26463         * io/openat_2.c (__openat_2): Likewise.
26464         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26465         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26466         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26467         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26468         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26469         (__open_nocancel): Likewise.
26470         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26471         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26472         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26474 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26476         [BZ #14841]
26477         * resolv/gethnamaddr.c (getanswer): Skip logging if
26478         RES_USE_DNSSEC is set.
26479         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26481 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26483         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26485 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26487         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26488         201304L, for Unicode 7.
26490 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26492         [BZ #17836]
26493         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26494         shared library.  Add gmon-start.os otherwise.
26495         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26496         $(objpfx)gmon-start.os if builing shared library.
26497         ($(objpfx)g$(static-start-installed-name)): Likewise.
26499 2015-02-23  Andreas Schwab  <schwab@suse.de>
26501         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26503 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26505         [BZ #17269]
26506         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26507         (enlarge_userbuf): Likewise.
26509 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26511         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26512         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26513         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26514         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26516 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26518         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26519         expression inside statement expression.
26521 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26523         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26524         <sysdeps/nptl/lowlevellock.h> and remove macros and
26525         functions that are now defined there.
26526         (SYS_futex): Remove.
26527         (lll_compare_and_swap): Remove.
26528         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26530 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26532         [BZ #17999]
26533         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26534         instead of scandirat.
26535         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26536         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26537         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26538         __scandirat.
26539         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26540         (__scandirat): Declare.  Use libc_hidden_proto.
26541         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26542         Remove variable.
26543         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26545 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26547         [BZ #15319]
26548         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26549         (MO): New macro.
26550         (__ieee754_atan2): For results with small absolute value, force
26551         underflow exception and remove excess range and precision from
26552         return value.
26553         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26554         (MO): New macro.
26555         (__ieee754_atan2f): For results with small absolute value, force
26556         underflow exception and remove excess range and precision from
26557         return value.
26558         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26559         (MO): New macro.
26560         (__atan): For results with small absolute value, force underflow
26561         exception and remove excess range and precision from return value.
26562         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26563         (MO): New macro.
26564         (__atanf): For results with small absolute value, force underflow
26565         exception and remove excess range and precision from return value.
26566         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26567         <math.h>.
26568         (__ieee754_atan2): Force underflow exception for results with
26569         small absolute value.
26570         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26571         <math_private.h>.
26572         (atan): Force underflow exception for results with small absolute
26573         value.
26574         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26575         (__atanf): Force underflow exception for results with small
26576         absolute value.
26577         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26578         <math.h>.
26579         (__atanl): Force underflow exception for results with small
26580         absolute value.
26581         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26582         (__atanl): Force underflow exception for results with small
26583         absolute value.
26584         * sysdeps/x86/fpu/bits/mathinline.h
26585         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26586         (__ieee754_atan2): Only define inline for long double.
26587         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26588         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26589         * math/auto-libm-test-in: Do not mark underflow exceptions as
26590         possibly missing for bug 15319.  Add more tests of atan2.
26591         * math/auto-libm-test-out: Regenerated.
26592         * math/libm-test.inc (casin_test_data): Do not mark underflow
26593         exceptions as possibly missing for bug 15319.
26594         (casinh_test_data): Likewise.
26595         * sysdeps/i386/fpu/libm-test-ulps: Update.
26597 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26599         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26600         * sysdeps/mips/bits/endian.h: Fix comments.
26602 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26604         [BZ #17996]
26605         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26606         (hdestroy_r): Likewise.
26607         (hsearch_r): Likewise.
26608         (__hcreate_r): Declare and use libc_hidden_proto.
26609         (__hdestroy_r): Likewise.
26610         (__hsearch_r): Likewise.
26611         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26612         (hcreate): Call __hcreate_r instead of hcreate_r.
26613         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26614         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26615         as weak alias of __hcreate_r.
26616         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26617         __hdestroy_r.
26618         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26619         __hsearch_r.
26620         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26621         Remove variable.
26622         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26623         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26624         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26625         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26627 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26629         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26630         arena_lock into a single arena_get.
26632 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26634         * dl-reloc.c: Inlucde libc-internal.h.
26635         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26636         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26637         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26638         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26639         (grow_heap): Likewise.
26640         * malloc/malloc.c: Include libc-internal.h.
26641         (do_check_malloc): Call powerof2.
26642         (sysmalloc): Use pagesize. Call ALIGN_UP.
26643         (systrim): Use pagesize.
26644         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26645         (__libc_valloc): Use pagesize.
26646         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26648 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26650         [BZ #17991]
26651         * include/sys/resource.h (__getrlimit64): Declare.  Use
26652         libc_hidden_proto.
26653         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26654         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26655         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26656         getrlimit64.
26657         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26658         __getrlimit64.
26659         [!getrlimit64] (getrlimit64): Define as weak alias of
26660         __getrlimit64.  Use libc_hidden_weak.
26661         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26662         using __getrlimit64 not __new_getrlimit64.
26663         (__GI_getrlimit64): Likewise.
26664         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26665         Likewise.
26666         (__GI_getrlimit64): Likewise.
26667         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26669         (getrlimit): Add __getrlimit64 alias.
26670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26671         Likewise.
26672         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26673         Remove variable.
26674         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26675         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26677 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26679         * libio/fileops.c: Add missing sys/mman.h
26680         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26682 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26684         * manual/math.texi (Errors in Math Functions): Clarify goals
26685         regarding inexact and underflow exceptions.
26687 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26689         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26690         * sysdeps/mips/memset.S: Ditto.
26692 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26694         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26696 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26698         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26699         (__v1longjmp): Remove versioned symbol.
26700         (__v1siglongjmp): Remove alias and versioned symbol.
26701         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26702         (__v2siglongjmp): Likewise.
26704 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26706         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26708 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26710         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26712 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26714         [BZ #17987]
26715         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26716         zero result does not depend on the sign resulting from
26717         subtraction.
26718         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26719         Likewise.
26720         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26721         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26722         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26723         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26724         * math/libm-test.inc (remquo_test_data): Add more tests.
26726 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26728         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26729         Problem reported by J William Piggott.
26731 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26733         [BZ #17978]
26734         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26735         products 4 * y and 2 * y where those would overflow.
26736         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26737         Likewise.
26738         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26739         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26740         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26741         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26742         * math/libm-test.inc (remquo_test_data): Add more tests.
26744         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26746         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26747         [defined _COMPILING_NEWLIB].
26748         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26749         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26751         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26752         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26754 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26756         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26757         acquired.
26759 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26761         [BZ #17792]
26762         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26763         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26764         HOST_STACK_END_ADDR): Likewise.
26766 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26768         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26769         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26770         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26772 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26774         * sysdeps/generic/c++-types.data: New file.
26775         * sysdeps/generic/ld.abilist: New file.
26776         * sysdeps/generic/libBrokenLocale.abilist: New file.
26777         * sysdeps/generic/libanl.abilist: New file.
26778         * sysdeps/generic/libc.abilist: New file.
26779         * sysdeps/generic/libcrypt.abilist: New file.
26780         * sysdeps/generic/libdl.abilist: New file.
26781         * sysdeps/generic/libm.abilist: New file.
26782         * sysdeps/generic/libpthread.abilist: New file.
26783         * sysdeps/generic/libresolv.abilist: New file.
26784         * sysdeps/generic/librt.abilist: New file.
26786 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26788         [BZ #17569]
26789         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26790         Compute absolute value of x as modified by fmod, not original
26791         value of x.
26792         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26793         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26794         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26795         RUN_TEST_ffI_f1_mod8.
26796         (remquo_test_data): Add more tests.
26798 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26800         * sysdeps/init_array/pt-crti.S: New file.
26802 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26804         [BZ #17967]
26805         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26806         __builtin_fmaf instead of relying on contraction of a * b + c.
26808 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26810         [BZ #17969]
26811         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26812         node.
26814 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26816         [BZ #17964]
26817         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26818         __builtin_fma instead of relying on contraction of a * b + c.
26820 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26822         * Makeconfig (ASFLAGS): Add -Werror=undef.
26823         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26824         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26825         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26827         * Makeconfig (after-link): New variable.
26828         (+link-pie, +link-pie-tests): Use it.
26829         (+link-static, +link-static-tests): Likewise.
26830         (+link, +link-tests): Likewise.
26831         * Makerules (build-module, build-module-asneeded): Likewise.
26832         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26833         Likewise.
26834         * elf/Makefile ($(objpfx)ld.so): Likewise.
26836 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26838         [BZ #17965]
26839         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26840         both struct timeval and struct timespec.
26842 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26844         [BZ #16560]
26845         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26846         and redefine.
26847         (__ieee754_exp2l): Do not multiply small fractional parts by
26848         M_LN2l.
26849         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26850         small argument.
26851         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26852         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26853         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26854         * math/auto-libm-test-in: Add more tests of exp2.
26855         * math/auto-libm-test-out: Regenerated.
26857 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26859         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26860         unaligned path.
26862 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26864         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26865         little endian.
26867 2015-02-12  Andreas Schwab  <schwab@suse.de>
26869         [BZ #15790]
26870         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26871         Filter out elision flags from value returned in kind.
26872         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26873         * nptl/tst-pthread-mutexattr.c: New file.
26875 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26877         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26878         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26879         into gnu-gnu, and update comment to refer to abi-tags.
26881 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26883         [BZ #15467]
26884         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26885         (__sincos): Set errno to EDOM for infinite argument.
26886         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26887         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26888         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26889         (__sincosl): Set errno to EDOM for infinite argument.
26890         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26891         (__sincosl): Set errno to EDOM for infinite argument.
26892         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26893         (__sincosl): Set errno to EDOM for infinite argument.
26894         * math/libm-test.inc (sincos_test_data): Test errno setting.
26896 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26898         * string/strxfrm_l.c: Remove #define STRCMP.
26899         * string/strcoll_l.c: Remove #define STRLEN.
26900         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26901         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26903 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26905         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26906         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26907         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26908         * sysdeps/mips/mips64/Makefile: ... here.
26909         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26910         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26911         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26912         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26913         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26914         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26915         * sysdeps/mips/mips64/n64/Implies: Likewise.
26917 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26919         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26920         <sys/time.h>, <string.h>, and <errno.h>.
26921         (dest_offset, dest_address, value, zero): Remove unused variables.
26922         (ldouble): Remove typedef.
26923         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26924         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26925         1).  Fix code style.
26926         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26927         (check): Function removed.
26928         (CHECK): New macro.
26929         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26930         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26931         Don't call set_sigaction_FP and remove_sigaction_FP here.
26932         (ldouble_test): Just use 'long double' as macro argument, no need for
26933         the 'ldouble' typedef.
26934         (do_test): Set up SIGFPE handler at start, using plain signal rather
26935         than sigaction.  Fix code style.
26937 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26939         [BZ #17949]
26940         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26941         jump label.
26943 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26945         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26946         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26948         * sysdeps/powerpc/configure.ac: Remove file.
26949         * sysdeps/powerpc/configure: Likewise.
26951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26952         [sysdep_routines]: Remove wordcopy-power6 object.
26953         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26954         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26955         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26956         (__memmove_ppc32): Likewise.
26957         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26958         file.
26959         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26960         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26961         Remove preprocessor.
26963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26964         [sysdep_routines]: Remove wide chars objects.
26965         [wcsmbs]: New rule for wide char objects.
26967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26968         Remove wordcopy-power6 obejct.
26969         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26970         Use local call for wordcopy and memcpy symbols.
26971         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26972         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26973         implementation for loader.
26974         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26977         Remove wordcopy-power7 object.
26978         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26979         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26980         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26981         (_wordcopy_fwd_dest_aligned): Likewise.
26982         (_wordcopy_bwd_aligned): Likewise.
26983         (_wordcopy_bwd_dest_aligned): Likewise.
26985         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26986         Rewrite to call __memmove_ppc instead of include default
26987         implementation.
26989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26990         Remove wide chars objects.
26991         [wcsmbs]: New rule for wide char objects.
26993 2015-02-09  Andreas Schwab  <schwab@suse.de>
26995         [BZ #17912]
26996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26997         in terms of __O_DIRECTORY.
26999 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27001         * time/getdate.c: Include <stdbool.h>.
27002         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27003         call PTR_MANGLE.
27004         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27005         PTR_DEMANGLE.
27007 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27009         Add ersatz _Static_assert on older C hosts
27010         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27011         pre-C11 C platform that is not known to support _Static_assert.
27013 2015-02-07  Richard Braun  <rbraun@sceen.net>
27015         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27016         sigstate.
27017         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27019 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27021         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27022         priority against unexistent AIO_PRIO_DELTA_MAX.
27023         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27024         instead of int.
27025         * misc/fchflags.c (fchflags): Likewise.
27026         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27027         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27028         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27029         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27030         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27031         Declare macros.
27032         [__USE_MISC] (chflags, fchflags): Declare functions.
27033         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27034         EINVAL when nfds is greater than FD_SETSIZE.
27035         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27036         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27037         45.
27038         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27039         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27040         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27041         MACH_RCV_TIMED_OUT.
27042         * hurd/hurd/signal.h (_hurd_self_sigstate,
27043         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27044         Explicit casts from void *.
27045         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27046         * abi-tags: Rename gnu-gnu os into gnu.
27048         [BZ #4719]
27049         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27050         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27051         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27052         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27053         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27054         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27056         [BZ #17944]
27057         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27058         duplicates ADDR->sun_path with sockaddr LEN limitation.
27059         * sysdeps/mach/hurd/connect.c: Include <string.h>
27060         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27061         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27062         * sysdeps/mach/hurd/sendto.c: Likewise.
27063         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27064         implementing it by hand.
27066 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27068         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27069         Use sfi_breg on ldr.
27070         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27071         Likewise.
27073         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27074         it's defined.
27075         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27076         Test SIGSETXID only if it's defined.
27078         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27080         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27081         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27083         * nptl/tst-align2.c: Moved ...
27084         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27085         * nptl/Makefile (tests): Remove tst-align2.
27086         * sysdeps/unix/sysv/linux/Makefile
27087         [$(subdir) = nptl] (tests): Add tst-align-clone.
27088         * nptl/tst-getpid1.c: Moved ...
27089         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27090         * nptl/tst-getpid2.c: Moved ...
27091         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27092         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27093         * sysdeps/unix/sysv/linux/Makefile
27094         [$(subdir) = nptl] (tests): ... here.
27095         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27096         * sysdeps/unix/sysv/linux/Makefile
27097         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27099         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27100         Drop trailing \n from perror argument.  Use return rather than exit.
27102         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27103         on [SA_SIGINFO].
27104         * nptl/tst-cancel21.c (do_test): Likewise.
27105         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27106         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27107         [!SA_SIGINFO]: Make it a stub test.
27109         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27110         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27112         * posix/tst-getlogin.c: Move to ...
27113         * login/tst-getlogin.c: ... here.
27114         * posix/Makefile (tests): Move tst-getlogin to ...
27115         * login/Makefile (tests): ... here.
27117         * libio/tst-atime.c (do_test): Move local variables SV and E
27118         inside [ST_NOATIME] conditional.
27120         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27122         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27124         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27125         (wait_code): New function replaces macro.
27126         Call nanosleep rather than syscall.
27128         * nptl/pt-system.c: Rewritten.  Put everything under
27129         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27130         Use IFUNC to redirect when possible.
27132         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27133         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27134         Use IFUNC to redirect when possible.
27136         * nptl/pt-fork.c: Rewritten.  Put everything under
27137         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27138         Use IFUNC to redirect when possible.
27139         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27142         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27143         unconditionally nowadays.  This included the only reference to
27144         __vdso_clock_gettime that appears outside libc proper.
27145         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27146         Remove version set (containing only __vdso_clock_gettime).
27147         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27148         Add attribute_hidden.
27149         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27150         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27151         libc_hidden_data_def.
27152         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27153         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27155         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27156         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27157         setrpcent, and getrpcport to ...
27158         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27159         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27160         getrpcbynumber_r, and getrpcent_r to ...
27161         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27162         * inet/getrpcbyname.c: Moved ...
27163         * sunrpc/getrpcbyname.c: ... here.
27164         * inet/getrpcbyname_r.c: Moved ...
27165         * sunrpc/getrpcbyname_r.c: ... here.
27166         * inet/getrpcbynumber.c: Moved ...
27167         * sunrpc/getrpcbynumber.c: ... here.
27168         * inet/getrpcbynumber_r.c: Moved ...
27169         * sunrpc/getrpcbynumber_r.c: ... here.
27170         * inet/getrpcent.c: Moved ...
27171         * sunrpc/getrpcent.c: ... here.
27172         * inet/getrpcent_r.c: Moved ...
27173         * sunrpc/getrpcent_r.c: ... here.
27174         * inet/Makefile (routines): Move those to ...
27175         * sunrpc/Makefile (routines): ... here.
27176         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27177         the $(subdirs) list.
27178         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27179         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27180         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27181         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27183         * elf/Makefile (routines): Include $(all-dl-routines), not just
27184         $(dl-routines).
27185         (rtld-routines): Likewise.  Use = rather than :=.
27186         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27187         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27188         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27189         * sysdeps/arm/Makefile: Likewise.
27190         * sysdeps/i386/Makefile: Likewise.
27191         * sysdeps/x86_64/Makefile: Likewise.
27192         * sysdeps/hppa/Makefile [$(subdir) = elf]
27193         (sysdep_routines, sysdep-rtld-routines): Don't add
27194         $(sysdep-dl-routines) to these.
27195         * sysdeps/ia64/Makefile: Likewise.
27196         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27197         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27198         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27199         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27200         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27201         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27202         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27203         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27204         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27205         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27206         these; sysdep-dl-routines alone is enough.
27208 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27210         [BZ #17932]
27211         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27212         where multiplication results in zero and third argument is finite
27213         and nonzero.
27214         * math/auto-libm-test-in: Add more tests of fma.
27215         * math/auto-libm-test-out: Regenerated.
27217         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27218         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27219         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27220         (_FP_CMP_EQ): Likewise.
27221         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27223         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27224         extra argument CHECK_NAN.  Redefine as wrapper around
27225         _FP_EXTEND_CNAN.
27227 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27229         * version.h (RELEASE): Set to "stable".
27230         (VERSION): Set to "2.21"
27231         * include/features.h (__GLIBC_MINOR__): Set to 21.
27233         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27235 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27236             Paul Eggert  <eggert@cs.ucla.edu>
27238         [BZ #16618]
27239         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27241         size in bytes. Store needed elements in wpmax. Use needed size
27242         in bytes for extend_alloca.
27244 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27246         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27247         binutls 2.25, and texinfo 5.2.
27248         * INSTALL: Regenerate.
27249         * sysdeps/nios2/configure: Regenerate.
27250         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27251         * manual/contrib.texi: Update.
27252         * po/be.po: Update.
27253         * po/bg.po: Update.
27254         * po/ca.po: Update.
27255         * po/cs.po: Update.
27256         * po/da.po: Update.
27257         * po/de.po: Update.
27258         * po/el.po: Update.
27259         * po/eo.po: Update.
27260         * po/es.po: Update.
27261         * po/fi.po: Update.
27262         * po/fr.po: Update.
27263         * po/gl.po: Update.
27264         * po/hr.po: Update.
27265         * po/hu.po: Update.
27266         * po/ia.po: Update.
27267         * po/id.po: Update.
27268         * po/it.po: Update.
27269         * po/ja.po: Update.
27270         * po/ko.po: Update.
27271         * po/lt.po: Update.
27272         * po/nb.po: Update.
27273         * po/nl.po: Update.
27274         * po/pl.po: Update.
27275         * po/pt_BR.po: Update.
27276         * po/ru.po: Update.
27277         * po/rw.po: Update.
27278         * po/sk.po: Update.
27279         * po/sl.po: Update.
27280         * po/sv.po: Update.
27281         * po/tr.po: Update.
27282         * po/uk.po: Update.
27283         * po/vi.po: Update.
27284         * po/zh_CN.po: Update.
27285         * po/zh_TW.po: Update.
27287         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27288         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27289         * sysdeps/hppa/dl-irel.h: Remove #warning.
27290         * sysdeps/hppa/entry.h: Provide prototype for
27291         __canonicalize_funcptr_for_compare and cast argument.
27292         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27293         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27294         * sysdeps/hppa/sotruss-lib.c: New file.
27295         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27296         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27297         (atomic_compare_and_exchange_bool_acq): Likewise.
27298         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27299         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27301         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27302         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27303         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27305 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27307         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27308         called function in non-PIC case.
27310 2015-01-31  David S. Miller  <davem@davemloft.net>
27312         * sysdeps/sparc/sparc32/bits/atomic.h
27313         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27314         unlock not after it.
27315         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27316         volatile register usage warnings from the compiler.
27318         * sysdeps/sparc/nptl/sem_init.c: Delete.
27319         * sysdeps/sparc/nptl/sem_post.c: Delete.
27320         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27321         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27322         * sysdeps/sparc/sparc32/sem_init.c: New file.
27323         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27324         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27325         padding explicitly initialized.
27326         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27327         padding for in-semaphore spinlock.
27328         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27329         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27330         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27331         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27332         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27333         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27334         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27335         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27336         version.
27337         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27338         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27340 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27342         [BZ #17801]
27343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27344         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27345         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27346         New.
27347         (index_AVX_Fast_Unaligned_Load): Likewise.
27348         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27349         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27350         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27351         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27352         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27353         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27354         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27355         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27356         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27358 2015-01-29  Andreas Schwab  <schwab@suse.de>
27360         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27362 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27364         [BZ #17892]
27365         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27367 2015-01-28  Martin Sebor  <msebor@redhat.com>
27369         * math/README.libm-test: Clarify. Add "How to read the test output."
27371 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27373         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27374         Define to 0.
27376 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27378         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27379         (__HAVE_64B_ATOMICS): Define to 0.
27381 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27383         [BZ #17885]
27384         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27385         value to set as new flag.
27387         [BZ #16576]
27388         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27389         and use _ARCH_PPCSQ instead.
27390         (__ieee754_sqrt): Likewise.
27391         (__ieee754_sqrtf): Likewise.
27392         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27393         _ARCH_PPCSQ is defined.
27394         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27395         fsqrt instruction.
27396         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27397         _ARCH_PPCSQ is defined.
27398         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27399         fsqrts instruction.
27400         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27402 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27404         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27405         bug (GCC BZ #64739).
27407 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27409         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27410         Mark _retval as used.
27411         (lll_futex_wake_unlock): Likewise.
27412         (lll_futex_timed_wait_requeue_pi): Likewise.
27414         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27415         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27416         register variables.
27418         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27419         libm_hidden_def.
27421         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27422         (__bswap_64): Mark as __always_inline.
27424 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27426         [BZ #15378]
27427         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27428         when none of the search directories exist.
27430 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27432         [BZ #17869]
27433         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27434         power8 in .machine directive.
27436         [BZ #17868]
27437         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27438         set dependency from opd value.
27440 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27443         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27444         architecture.
27446 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27448         [BZ #17870]
27449         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27450         with uint64_t.
27451         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27452         (uint64_t) 1.
27453         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27454         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27455         Replace 1UL with (uint64_t) 1.
27456         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27457         int with uint64_t.
27459 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27461         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27462         (if_freenameindex): Likewise.
27464         * resource/getrlimit64.c: Add missing libc_hidden_def.
27466 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27468         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27469         __label__.
27470         (_FP_FMA): Likewise.
27471         (_FP_TO_INT_ROUND): Likewise.
27472         (_FP_FROM_INT): Likewise.
27474 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27476         [BZ #16418]
27477         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27478         Make code racy and cancel safe.
27480 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27482         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27483         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27484         attribution.
27486         * pwd/tst-getpw.c: Rewrite.
27488         [BZ #17702]
27489         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27490         (modules-names): Add moddummy1 and moddummy2.
27491         ($(objpfx)tst-rec-dlopen): Define.
27492         * dlfcn/moddummy1.c: New file.
27493         * dlfcn/moddummy2.c: New file.
27494         * dlfcn/tst-rec-dlopen.c: New file.
27495         * elf/dl-cache.c (_dl_load_cache_lookup):
27496         Return char*. Copy result with alloca/strcpy/strdup.
27497         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27498         returns char*. Free cached. If not saving realname
27499         free cached.
27500         * elf/dl-open.c (dl_open_worker): Do not assert that
27501         _r_debug->r_state is RT_CONSISTENT.
27502         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27503         returns char*.
27505 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27506             Carlos O'Donell  <carlos@redhat.com>
27508         [BZ #12674]
27509         * nptl/sem_waitcommon.c: New file.
27510         * nptl/sem_wait.c: Include sem_waitcommon.c.
27511         (__sem_wait_cleanup, do_futex_wait): Remove.
27512         (__new_sem_wait): Adapt.
27513         (__new_sem_trywait): New function.
27514         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27515         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27516         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27517         (sem_timedwait): Adapt.
27518         * nptl/sem_post.c (__new_sem_post): Adapt.
27519         (futex_wake): New function.
27520         (__old_sem_post): Add release MO fence.
27521         * nptl/sem_open.c (sem_open): Adapt.
27522         * nptl/sem_init.c (__new_sem_init): Adapt.
27523         (futex_private_if_supported): New function.
27524         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27525         (__old_sem_getvalue): Add using previous code.
27526         * sysdeps/nptl/internaltypes.h: Adapt.
27527         * nptl/tst-sem13.c (do_test): Adapt.
27528         * nptl/tst-sem11.c (main): Adapt.
27529         * nptl/sem_trywait.c: Remove.
27530         * nptl/DESIGN-sem.txt: Remove.
27531         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27532         (gen-as-const-headers): Remove structsem.sym.
27533         * nptl/structsem.sym: Remove.
27534         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27535         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27536         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27537         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27538         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27539         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27540         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27541         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27542         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27543         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27544         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27545         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27546         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27547         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27548         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27549         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27550         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27551         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27552         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27553         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27554         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27555         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27557 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27559         * INSTALL: Regenerated.
27561         * po/libc.pot: Regenerated.
27563 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27564             Sandra Loosemore  <sandra@codesourcery.com>
27565             Andrew Jenner  <andrew@codesourcery.com>
27566             Joseph Myers  <joseph@codesourcery.com>
27567             Nathan Sidwell  <nathan@codesourcery.com>
27569         * NEWS: Mention new Nios II port.
27570         * sysdeps/nios2/Implies: New file.
27571         * sysdeps/nios2/Makefile: New file.
27572         * sysdeps/nios2/Subdirs: New file.
27573         * sysdeps/nios2/Versions: New file.
27574         * sysdeps/nios2/__longjmp.S: New file.
27575         * sysdeps/nios2/abort-instr.h: New file.
27576         * sysdeps/nios2/backtrace.c: New file.
27577         * sysdeps/nios2/bits/endian.h: New file.
27578         * sysdeps/nios2/bits/fenv.h: New file.
27579         * sysdeps/nios2/bits/link.h: New file.
27580         * sysdeps/nios2/bits/setjmp.h: New file.
27581         * sysdeps/nios2/bsd-_setjmp.S: New file.
27582         * sysdeps/nios2/bsd-setjmp.S: New file.
27583         * sysdeps/nios2/configure: New generated file.
27584         * sysdeps/nios2/configure.ac: New file.
27585         * sysdeps/nios2/crti.S: New file.
27586         * sysdeps/nios2/crtn.S: New file.
27587         * sysdeps/nios2/dl-init.c: New file.
27588         * sysdeps/nios2/dl-machine.h: New file.
27589         * sysdeps/nios2/dl-sysdep.h: New file.
27590         * sysdeps/nios2/dl-tls.h: New file.
27591         * sysdeps/nios2/dl-trampoline.S: New file.
27592         * sysdeps/nios2/gccframe.h: New file.
27593         * sysdeps/nios2/gmp-mparam.h: New file.
27594         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27595         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27596         * sysdeps/nios2/ldsodefs.h: New file.
27597         * sysdeps/nios2/libc-tls.c: New file.
27598         * sysdeps/nios2/libm-test-ulps: New file.
27599         * sysdeps/nios2/machine-gmon.h: New file.
27600         * sysdeps/nios2/math-tests.h: New file.
27601         * sysdeps/nios2/math_private.h: New file.
27602         * sysdeps/nios2/memusage.h: New file.
27603         * sysdeps/nios2/nptl/Makefile: New file.
27604         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27605         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27606         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27607         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27608         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27609         * sysdeps/nios2/nptl/tls.h: New file.
27610         * sysdeps/nios2/preconfigure: New file.
27611         * sysdeps/nios2/s_fma.c: New file.
27612         * sysdeps/nios2/s_fmaf.c: New file.
27613         * sysdeps/nios2/setjmp.S: New file.
27614         * sysdeps/nios2/sfp-machine.h: New file.
27615         * sysdeps/nios2/sotruss-lib.c: New file.
27616         * sysdeps/nios2/stackguard-macros.h: New file.
27617         * sysdeps/nios2/stackinfo.h: New file.
27618         * sysdeps/nios2/start.S: New file.
27619         * sysdeps/nios2/sysdep.h: New file.
27620         * sysdeps/nios2/tls-macros.h: New file.
27621         * sysdeps/nios2/tst-audit.h: New file.
27622         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27623         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27624         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27625         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27626         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27627         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27628         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27629         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27630         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27631         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27632         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27633         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27634         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27635         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27636         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27637         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27638         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27639         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27640         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27641         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27642         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27643         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27644         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27645         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27646         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27647         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27648         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27649         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27650         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27651         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27652         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27653         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27654         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27655         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27656         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27657         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27658         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27659         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27660         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27661         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27662         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27663         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27664         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27665         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27667 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27669         [BZ #17844]
27670         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27671         (getutent): Use weak_alias in non SHARED case
27672         and default_symbol_version in SHARED case.
27673         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27674         (getutent_r, pututline): Likewise.
27675         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27676         (getutid): Likewise.
27677         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27678         (getutid_r): Likewise.
27679         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27680         (getutline): Likewise.
27681         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27682         (getutline_r): Likewise.
27683         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27684         (updwtmp): Likewise.
27686 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27688         [BZ #17848]
27689         * sysdeps/s390/s390-32/memcmp.S
27690         (memcmp_g5): Rename to __memcmp_g5.
27691         * sysdeps/s390/s390-32/memcpy.S
27692         (memcpy_g5): Rename to __memcpy_g5.
27693         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27694         (memcpy_mvcle) Rename to __memcpy_mvcle.
27695         * sysdeps/s390/s390-32/memset.S
27696         (memset_g5): Rename to __memset_g5.
27697         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27698         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27699         and use prefixed functions.
27700         * sysdeps/s390/s390-32/multiarch/memcmp.S
27701         (memcmp_z196): Rename to __memcmp_z196.
27702         (memcmp_z10): Rename to __memcmp_z10.
27703         (memcmp): Set alias to __memcmp_g5.
27704         (bcmp): Set alias to __memcmp_g5.
27705         * sysdeps/s390/s390-32/multiarch/memcpy.S
27706         (memcpy_z196): Rename to __memcpy_z196.
27707         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27708         (memcpy_z10): Rename to __memcpy_z10.
27709         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27710         (memcpy): Set alias to __memcpy_g5.
27711         * sysdeps/s390/s390-32/multiarch/memset.S
27712         (memset_z196): Rename to __memset_z196.
27713         Jump to __memset_mvcle instead of memset_mvcle.
27714         (memset_z10): Rename to __memset_z10.
27715         Jump to __memset_mvcle instead of memset_mvcle.
27716         (memset_mvcle) Rename to __memset_mvcle.
27717         (memset): Set alias to __memset_g5.
27718         * sysdeps/s390/s390-64/memcmp.S
27719         (memcmp_z900): Rename to __memcmp_z900.
27720         * sysdeps/s390/s390-64/memcpy.S
27721         (memcpy_z900): Rename to __memcpy_z900.
27722         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27723         (memcpy_mvcle) Rename to __memcpy_mvcle.
27724         * sysdeps/s390/s390-64/memset.S
27725         (memset_z900): Rename to __memset_z900.
27726         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27727         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27728         and use prefixed functions.
27729         * sysdeps/s390/s390-64/multiarch/memcmp.S
27730         (memcmp_z196): Rename to __memcmp_z196.
27731         (memcmp_z10): Rename to __memcmp_z10.
27732         (memcmp): Set alias to __memcmp_z900.
27733         (bcmp): Set alias to __memcmp_z900.
27734         * sysdeps/s390/s390-64/multiarch/memcpy.S
27735         (memcpy_z196): Rename to __memcpy_z196.
27736         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27737         (memcpy_z10): Rename to __memcpy_z10.
27738         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27739         (memcpy): Set alias to __memcpy_z900.
27740         * sysdeps/s390/s390-64/multiarch/memset.S
27741         (memset_z196): Rename to __memset_z196.
27742         Jump to __memset_mvcle instead of memset_mvcle.
27743         (memset_z10): Rename to __memset_z10.
27744         Jump to __memset_mvcle instead of memset_mvcle.
27745         (memset_mvcle) Rename to __memset_mvcle.
27746         (memset): Set alias to __memset_z900.
27748 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27750         [BZ #17748]
27751         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27752         __fesetenv instead of fesetenv.
27754 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27756         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27757         macro.
27759 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27761         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27762         regression on LE.
27764         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27765         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27766         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27767         strncmp-power8 object.
27768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27769         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27770         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27771         * NEWS: Update.
27773 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27774             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27776         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27777         trailing byte check.
27779 2015-01-13  David S. Miller  <davem@davemloft.net>
27781         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27783 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27785         * login/logout.c (logout): Use memset rather than bzero.
27786         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27787         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27788         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27789         (_gethtbyaddr): Likewise.
27790         * locale/programs/simple-hash.c (bcopy): Macro removed.
27792 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27795         Add strcmp-power8 object.
27796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27797         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27798         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27799         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27800         __strcmp_power8 implementation.
27801         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27802         * NEWS: Update.
27804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27805         Add strncpy-power8 and stpncpy-power8 objects.
27806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27807         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27808         implementations.
27809         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27811         __stpncpy_power8 implementation.
27812         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27813         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27814         __strncpy_power8 implementation.
27815         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27816         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27817         * NEWS: Update.
27819         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27820         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27821         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27823         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27824         strncat-power8 object.
27825         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27826         __strcat_power8 implementation.
27827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27828         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27829         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27830         optimized strcat for power8.
27832         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27833         strcpy-power8 and stpcpy-power8 objects.
27834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27835         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27836         implementations.
27837         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27838         multiarch stpcpy implementation for POWER8.
27839         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27840         multiarch strcpy implementation for POWER8.
27841         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27842         __strcpy_power8 function.
27843         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27844         stpcpy for POWER8.
27845         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27846         strcpy for POWER8.
27847         * NEWS: Update.
27849 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27851         [BZ #16009]
27852         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27853         weights and rules. Use do_xfrm_cached if data fits in cache,
27854         do_xfrm otherwise.  Moved former main loop to...
27855         * (do_xfrm_cached): New function.
27856         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27857         find_idx, find_position and stack_push.
27858         * (find_idx): New function.
27859         * (find_position): Likewise.
27860         * localedata/sort-test.sh: Added test run for do_xfrm.
27861         * localedata/xfrm-test.c (main): Added command line option
27862         -nocache to run the test with strings that are too large for
27863         the STRXFRM cache.
27865 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27867         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27868         variable to lll_futex_wake call, not the value itself.
27870 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27872         [BZ #17803]
27873         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27874         twom64.  Adjust value to 0x1p-64L.
27875         (__scalblnl): Only return standard underflowing result for K <=
27876         -64 not K <= -63; adjust exponent for underflowing result by 64
27877         not 63.
27878         * math/libm-test.inc (scalbn_test_data): Add more tests.
27879         (scalbln_test_data): Likewise.
27881         [BZ #17834]
27882         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27883         0x1p63L.
27884         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27885         not HX.
27886         * math/libm-test.inc (scalbn_test_data): Add more tests.
27887         (scalbln_test_data): Likewise.
27889 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27890             Stefani Seibold  <stefani@seibold.net>
27892         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27893         (sysdep_routines): Add dl-vdso here, ...
27894         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27895         (sysdep_routines): ... not here.
27896         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27897         fallback when vDSO is not presented.
27898         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27899         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27900         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27901         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27902         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27903         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27904         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27905         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27906         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27907         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27908         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27909         fallback configurable symbol when vDSO is not available.
27910         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27911         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27912         be able to redefine fallback symbol when vDSO is not available.
27913         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27914         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27916 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27918         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27919         (TLS_INIT_TP): Add tm_capable initialization.
27920         (TLS_DEFINE_INIT_TP): Likewise.
27921         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27922         TCB.
27923         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27924         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27925         calculation.
27926         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27927         transactoion is lock elision is built and TCB tm_capable is set.
27928         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27930         (INTERNAL_SYSCALL_NCS): Likewise.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27932         (INTERNAL_SYSCALL_NCS): Likewise.
27933         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27935         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27936         for powerpc.
27937         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27938         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27939         and remove it for 32 bits case.
27940         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27942         initialization.
27943         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27944         Disable lock elision with rdlocks if elision is not available.
27946         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27947         (sysdep_routines): Add lock elision objects.
27948         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27949         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27950         [pthread_mutex_t] (__elision): Add field.
27951         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27952         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27953         elision definitions for powerpc.
27954         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27955         implementation of lock elision for powerpc.
27956         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27957         implementation of timed lock elision for powerpc.
27958         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27959         implementation of trylock with lock elision for powerpc.
27960         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27961         implementaion of unlock for lock elision for powerpc.
27962         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27963         automatic enable lock elision for mutexes.
27964         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27965         transaction execution definitions for powerpc.
27966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27967         definitions.
27968         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27969         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27970         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27971         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27972         * NEWS: Update.
27974 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27976         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27977         for #include of <shm-directory.h>.
27979 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27981         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27982         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27984 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27986         [BZ #17791]
27987         * NEWS: Mention bug fix.
27988         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27989         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27990         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27992 2015-01-09  Torvald Riegel <triegel@redhat.com>
27994         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27996 2015-01-09  Torvald Riegel <triegel@redhat.com>
27998         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28000 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28002         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28003         pointer and cast to uintptr_t.
28005 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28007         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28008         removed.
28009         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28011 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28013         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28014         of 0.
28016 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28018         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28019         <nptl/pthreadP.h> instead.
28020         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28022         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28023         already defined.
28024         [__SIGRTMIN] (init): Function removed.
28025         [__SIGRTMIN] (initialized): Variable removed.
28026         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28027         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28028         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28029         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28030         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28031         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28032         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28033         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28034         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28035         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28036         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28037         * sysdeps/nptl/allocrtsig.c: New file.
28038         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28039         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28040         * sysdeps/generic/testrtsig.h: File removed.
28042         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28043         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28045         * nptl/nptl-init.c (pthread_functions): Conditionalize
28046         .ptr__nptl_setxid initialization on [SIGSETXID].
28048         * sysdeps/nptl/sys/procfs.h: New file.
28049         * nptl_db/Makefile (headers): Add it.
28050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28052         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28053         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28054         * nptl/pthread_attr_setaffinity.c: Include it.
28055         * nptl/pthread_setattr_default_np.c: Likewise.
28056         * nptl/check-cpuset.h: New file.
28058 2015-01-08  Richard Henderson  <rth@redhat.com>
28060         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28061         (CFLAGS-tst-execstack-prog.c): Likewise.
28062         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28064 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28065             Sandra Loosemore  <sandra@codesourcery.com>
28066             Andrew Jenner  <andrew@codesourcery.com>
28067             Joseph Myers  <joseph@codesourcery.com>
28068             Nathan Sidwell  <nathan@codesourcery.com>
28070         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28071         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28072         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28073         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28074         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28075         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28076         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28077         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28078         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28079         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28080         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28081         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28082         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28083         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28084         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28085         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28086         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28088 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28090         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28091         timespec struct member in syscall macro.
28092         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28093         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28094         first timeval struct member in syscall macro.
28095         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28097 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28099         [BZ #17748]
28100         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28101         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28102         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28103         __feupdateenv and define as weak alias of __feupdateenv.  Use
28104         libm_hidden_weak.
28105         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28106         libm_hidden_def.
28107         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28108         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28109         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28110         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28111         libm_hidden_def.
28112         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28113         __feupdateenv and define as weak alias of __feupdateenv.  Use
28114         libm_hidden_weak.
28115         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28116         libm_hidden_def.
28117         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28118         __feupdateenv and define as weak alias of __feupdateenv.  Use
28119         libm_hidden_weak.
28120         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28121         libm_hidden_def.
28122         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28123         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28124         (__feupdateenv): Likewise.
28125         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28126         __feupdateenv and define as weak alias of __feupdateenv.  Use
28127         libm_hidden_weak.
28128         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28129         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28130         libm_hidden_def.
28131         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28132         function.
28133         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28134         libm_hidden_def.
28135         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28136         __feupdateenv instead of feupdateenv.
28137         (default_libc_feupdateenv_test): Likewise.
28138         (libc_feresetround_ctx): Likewise.
28140 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28142         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28143         prototype.
28145 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28147         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28148         COLL_SYM in a couple of places to avoid uninitialized variable
28149         wanings on tilegx gcc 4.8.2.
28151 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28153         * sysdeps/aarch64/strcpy.S: New file.
28154         * sysdeps/aarch64/stpcpy.S: New file.
28155         * NEWS: Updated.
28157 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28159         * sysdeps/aarch64/strrchr.S: New file.
28160         * NEWS: Updated.
28162 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28164         [BZ #17658]
28165         * stdlib/setenv.c: Fix memory leak when setting large,
28166         duplicate string.
28168 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28170         [BZ #17273]
28171         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28172         and tabs from buffer before parsing fstab entry.
28173         * misc/tst-mntent.c (main): Add test for mount entry with
28174         trailing spaces and tabs.
28176 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28178         [BZ #17748]
28179         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28180         * math/fesetround.c (fesetround): Rename to __fesetround and
28181         define as weak alias of __fesetround.  Use libm_hidden_weak.
28182         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28183         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28184         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28185         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28186         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28187         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28188         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28189         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28190         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28191         __fesetround_inline.
28192         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28193         __fesetround_inline instead of __fesetround.
28194         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28195         __fesetround and define as weak alias of __fesetround.  Use
28196         libm_hidden_weak.  Call __fesetround_inline instead of
28197         __fesetround.
28198         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28199         __fesetround and define as weak alias of __fesetround.  Use
28200         libm_hidden_weak.
28201         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28202         Likewise.
28203         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28204         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28205         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28206         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28207         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28208         __fesetround and define as weak alias of __fesetround.  Use
28209         libm_hidden_weak.
28210         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28211         __fesetround instead of fesetround.
28212         (default_libc_feholdexcept_setround): Likewise.
28213         (libc_feholdsetround_ctx): Likewise.
28214         (libc_feholdsetround_noex_ctx): Likewise.
28216         [BZ #17748]
28217         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28218         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28219         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28220         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28221         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28222         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28223         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28224         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28225         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28226         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28227         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28228         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28229         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28230         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28231         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28232         libm_hidden_def.
28233         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28234         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28235         Likewise.
28236         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28237         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28238         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28239         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28240         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28241         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28242         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28243         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28244         __fesetenv instead of fesetenv.
28245         (libc_feresetround_noex_ctx): Likewise.
28246         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28247         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28248         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28249         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28250         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28251         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28252         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28253         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28254         (__feupdateenv): Likewise.
28255         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28256         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28257         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28258         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28260 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28262         [BZ #17806]
28263         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28264         addresses have been freed.
28266 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28268         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28269         and nservall.
28271 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28273         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28274         Clean up check_pf allocation pattern. addresses
28276 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28278         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28279         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28280         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28281         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28282         * nptl/pthread_join.c (pthread_join): Likewise.
28283         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28284         * sysdeps/posix/waitid.c (__waitid): Likewise.
28285         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28286         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28287         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28288         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28289         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28290         Likewise.
28291         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28292         (__libc_pread64): Likewise.
28293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28294         (__libc_pwrite): Likewise.
28295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28296         (__libc_pwrite64): Likewsie.
28297         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28298         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28299         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28300         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28301         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28302         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28303         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28305         Likewise.
28306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28307         (__libc_pread64): Likewise.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28309         Likewise.
28310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28311         (__libc_pwrite64): Likewise.
28312         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28313         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28314         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28315         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28316         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28317         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28318         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28319         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28320         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28321         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28322         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28323         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28324         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28325         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28326         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28327         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28328         Likewise.
28330 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28332         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28333         (CFLAGS-test-double.c): Likewise.
28334         (CFLAGS-test-ldouble.c): Likewise.
28335         (CPPFLAGS-test-ifloat.c): Likewise.
28336         (CPPFLAGS-test-idouble.c): Likewise.
28337         (CPPFLAGS-test-ildoubl.c): Likewise.
28338         (CFLAGS-test-test-fenv.c): Remove variable.
28339         (CFLAGS-test-misc.c): Likewise.
28341 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28343         [BZ #17797]
28344         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28345         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28346         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28347         CLOCKS_PER_SEC == 1000000.
28348         * time/clocktest.c (main): Replace %ld with %jd and cast to
28349         intmax_t.
28351 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28353         * sysdeps/generic/unwind-resume.h: New file.
28354         * sysdeps/gnu/unwind-resume.c: Include it.
28355         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28356         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28357         argument list.
28358         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28359         global rather than static.
28360         (_Unwind_Resume): Update user.
28361         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28362         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28363         rather than static.  Add __attribute__ ((cold)).
28364         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28365         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28366         * sysdeps/arm/arm-unwind-resume.S: New file.
28367         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28368         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28369         * sysdeps/arm/Makefile [$(subdir) = csu]
28370         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28371         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28372         Add rt-arm-unwind-resume.
28373         [$(subdir) = nptl]
28374         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28375         Add pt-arm-unwind-resume.
28376         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28377         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28379 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28381         [BZ #17748]
28382         * include/fenv.h (__feholdexcept): Declare.  Use
28383         libm_hidden_proto.
28384         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28385         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28386         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28387         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28388         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28389         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28390         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28391         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28392         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28393         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28394         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28395         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28396         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28397         (feholdexcept): Likewise.
28398         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28399         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28400         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28401         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28402         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28403         __feholdexcept instead of feholdexcept.
28404         (default_libc_feholdexcept_setround): Likewise.
28406 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28408         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28409         to avoid using stl/str to align destination.
28411 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28413         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28415 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28417         [BZ #17796]
28418         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28419         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28420         Define as weak alias not strong alias.
28422 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28424         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28425         bltzal with addiupc.
28426         (RTLD_START): Ditto.
28428 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28430         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28431         for __vdso_* functions in declarations.
28432         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28433         definitions.
28434         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28435         INTERNAL_VSYSCALL): Use struct return types to check for error.
28437         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28438         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28439         function with cast from llround().
28440         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28441         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28442         Define.
28444 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28446         [BZ #17793]
28447         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28448         Define as weak alias not strong alias.
28450         [BZ #17635]
28451         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28452         ...
28453         * ctype/ctype-extn.c: ... here.
28454         (__isblank_l): Move to ...
28455         * ctype/ctype-c99_l.c: ... here.  New file.
28456         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28457         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28458         Remove variable.
28459         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28460         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28461         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28462         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28463         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28465         [BZ #17777]
28466         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28467         (posix_fadvise64): Define as weak alias not strong alias.
28468         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28469         (posix_fallocate64): Likewise.
28470         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28471         Remove variable.
28472         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28473         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28474         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28475         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28476         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28478 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28480         [BZ #16191]
28481         * NEWS: Mention bug fix.
28482         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28483         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28484         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28485         (HOST_STACK_END_ADDR): Likewise.
28487 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28489         [BZ #17748]
28490         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28491         * math/fegetround.c (fegetround): Rename to __fegetround and
28492         define as weak alias of __fegetround.  Use libm_hidden_weak.
28493         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28494         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28495         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28496         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28497         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28498         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28499         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28500         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28501         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28502         Undefine after rather than before function definition; use
28503         parentheses around function name in definition.
28504         (__fegetround): Also undefine macro after function definition.
28505         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28506         __fegetround and define as weak alias of __fegetround.  Use
28507         libm_hidden_weak.  Do not undefine as macro.
28508         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28509         Likewise.
28510         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28511         __fegetround and define as weak alias of __fegetround.  Use
28512         libm_hidden_weak.
28513         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28514         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28515         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28516         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28517         __fegetround and define as weak alias of __fegetround.  Use
28518         libm_hidden_weak.
28519         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28520         __fegetround instead of fegetround.
28522         [BZ #17782]
28523         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28524         Condition macro definition on [__USE_MISC].
28526         [BZ #17781]
28527         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28528         (struct sigaction): Change type of sa_flags field to int.
28530         [BZ #17780]
28531         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28532         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28533         __glibc_reserved0.
28535         * nptl/version.c (banner): Use single year in copyright notice.
28537         * NEWS: Update copyright dates.
28538         * catgets/gencat.c (print_version): Likewise.
28539         * csu/version.c (banner): Likewise.
28540         * debug/catchsegv.sh: Likewise.
28541         * debug/pcprofiledump.c (print_version): Likewise.
28542         * debug/xtrace.sh (do_version): Likewise.
28543         * elf/ldconfig.c (print_version): Likewise.
28544         * elf/ldd.bash.in: Likewise.
28545         * elf/pldd.c (print_version): Likewise.
28546         * elf/sotruss.sh: Likewise.
28547         * elf/sprof.c (print_version): Likewise.
28548         * iconv/iconv_prog.c (print_version): Likewise.
28549         * iconv/iconvconfig.c (print_version): Likewise.
28550         * locale/programs/locale.c (print_version): Likewise.
28551         * locale/programs/localedef.c (print_version): Likewise.
28552         * login/programs/pt_chown.c (print_version): Likewise.
28553         * malloc/memusage.sh (do_version): Likewise.
28554         * malloc/memusagestat.c (print_version): Likewise.
28555         * malloc/mtrace.pl: Likewise.
28556         * manual/libc.texinfo: Likewise.
28557         * nptl/version.c (banner): Likewise.
28558         * nscd/nscd.c (print_version): Likewise.
28559         * nss/getent.c (print_version): Likewise.
28560         * nss/makedb.c (print_version): Likewise.
28561         * posix/getconf.c (main): Likewise.
28562         * scripts/test-installation.pl: Likewise.
28563         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28565 2015-01-02  Will Newton  <will.newton@linaro.org>
28567         * sysdeps/arm/armv7/configure: Removed.
28568         * sysdeps/arm/armv7/configure.ac: Likewise.
28570 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28572         * All files with FSF copyright notices: Update copyright dates
28573         using scripts/update-copyrights.
28574         * intl/plural.c: Regenerated.
28575         * locale/programs/charmap-kw.h: Likewise.
28576         * locale/programs/locfile-kw.h: Likewise.
28578 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28580         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28582 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28584         [BZ #17748]
28585         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28586         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28587         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28588         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28589         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28590         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28591         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28592         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28593         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28594         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28595         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28596         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28597         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28598         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28599         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28600         libm_hidden_def.
28601         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28602         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28603         Likewise.
28604         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28605         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28606         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28607         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28608         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28609         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28610         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28611         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28612         __fegetenv instead of fegetenv.
28613         (libc_feholdsetround_noex_ctx): Likewise.
28615 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28617         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28618         (Elf_MIPS_ABIFlags_v0): New structure.
28619         (EF_MIPS_FP64): Define.
28620         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28621         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28622         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28623         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28624         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28625         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28626         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28627         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28628         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28629         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28630         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28631         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28632         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28633         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28634         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28635         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28636         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28637         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28638         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28639         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28640         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28641         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28642         field.
28643         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28644         EF_MIPS_FP64.
28645         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28646         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28647         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28648         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28649         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28650         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28651         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28652         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28653         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28654         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28655         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28656         record the current FP ABI extension.
28657         (mips-mode-switch): Define to show if kernel headers support mode
28658         switching.
28659         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28660         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28661         supported SYSV ABI version to 3.
28662         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28663         feature.
28665 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28666             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28668         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28669         path.
28670         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28672 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28674         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28675         __fegetround and redefine to call __fegetround.  Remove condition
28676         on [!__NO_MATH_INLINES].
28677         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28678         function.
28679         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28680         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28681         Remove macro.
28682         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28683         instead of <fenv_libc.h>.
28684         (__llrintl): Call fegetround instead of __fegetround.
28685         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28686         instead of <fenv_libc.h>.
28687         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28688         (__lrintl): Call fegetround instead of __fegetround.
28689         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28690         instead of <fenv_libc.h>.
28691         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28692         (__rintl): Call fegetround instead of __fegetround.
28694 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28696         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28697         arrays.
28699 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28701         [BZ #17775]
28702         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28703         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28704         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28706 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28708         * sysdeps/i386/tls-macros.h: Include <features.h>.
28709         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28710         (TLS_IE): Likewise.
28711         (TLS_LD): Likewise.
28712         (TLS_GD): Likewise.
28713         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28714         define for GCC >= 5.0.
28716 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28718         * math/test-fenv.c (test_single_exception, set_single_exc,
28719         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28720         feexcp_mask_test, feenable_test, fe_single_test): Add
28721         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28722         case where they are not used.
28723         * math/libm-test.inc: Likewise.
28724         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28725         unused in the absence of FP rounding/exception support.
28726         * stdio-common/tst-printf-round.c: Likewise.
28727         * stdlib/tst-strtod-round.c: Likewise.
28728         * stdlib/tst-strtod-underflow.c: Likewise.
28730 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28732         [BZ #17723]
28733         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28734         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28735         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28736         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28737         libm_hidden_weak.
28738         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28739         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28740         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28741         libm_hidden_def.
28742         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28743         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28744         libm_hidden_weak.
28745         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28746         Likewise.
28747         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28748         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28749         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28750         libm_hidden_weak.
28751         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28752         libm_hidden_def.
28753         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28754         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28755         (__feraiseexcept): Likewise.
28756         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28757         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28758         libm_hidden_weak.
28759         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28760         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28761         libm_hidden_def.
28762         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28763         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28764         Use libm_hidden_def.
28765         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28766         libm_hidden_def.
28767         (feraiseexcept): Define as weak not strong alias.  Use
28768         libm_hidden_weak.
28769         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28770         New inline function.  Factored out of ...
28771         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28772         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28773         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28774         feraiseexcept.
28775         * math/w_acos.c (__acos): Likewise.
28776         * math/w_asin.c (__asin): Likewise.
28777         * math/w_ilogb.c (__ilogb): Likewise.
28778         * math/w_j0.c (y0): Likewise.
28779         * math/w_j1.c (y1): Likewise.
28780         * math/w_jn.c (yn): Likewise.
28781         * math/w_log.c (__log): Likewise.
28782         * math/w_log10.c (__log10): Likewise.
28783         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28784         * sysdeps/aarch64/fpu/math_private.h
28785         (libc_feupdateenv_test_aarch64): Likewise.
28786         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28787         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28788         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28789         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28790         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28791         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28792         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28793         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28794         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28795         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28797 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28799         [BZ #17732]
28800         * io/test-utime.c (main): Replace %ld with %jd and cast to
28801         intmax_t.
28802         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28803         * nptl/tst-mutex5.c: Include <stdint.h>.
28804         (do_test): Replace %ld with %jd and cast to intmax_t.
28805         * posix/tst-regex.c (run_test): Likewise.
28806         (run_test_backwards): Likewise.
28807         * rt/tst-clock.c: Include <stdint.h>.
28808         (clock_test): Replace %ld with %jd and cast to intmax_t.
28809         * rt/tst-cpuclock1.c: Include <stdint.h>.
28810         (do_test): Replace %lu with %ju and cast to uintmax_t.
28811         * rt/tst-cpuclock2.c: Include <stdint.h>.
28812         (do_test): Replace %lu with %ju and cast to uintmax_t.
28813         * rt/tst-mqueue1.c: Include <stdint.h>.
28814         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28815         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28816         intmax_t.
28817         * rt/tst-mqueue4.c (do_test): Likewise.
28818         * rt/tst-timer4.c: Include <stdint.h>.
28819         (check_ts): Replace %ld with %jd and cast to intmax_t.
28820         (do_test): Likewise.
28821         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28822         and cast to intmax_t.
28823         * sysdeps/pthread/tst-timer.c (main): Likewise.
28824         * time/clocktest.c (main): Likewise.
28825         * time/tst-posixtz.c (do_test): Likewise.
28826         * timezone/tst-timezone.c (main): Likewise.
28828 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28829             H.J. Lu  <hongjiu.lu@intel.com>
28831         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28832         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28833         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28834         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28835         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28836         version if bit_Fast_Unaligned_Load is set.
28837         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28838         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28839         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28840         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28841         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28842         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28843         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28844         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28845         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28846         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28847         to 4.
28848         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28849         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28850         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28851         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28853 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28855         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28856         instead of #if to avoid a Wundef warning.
28857         * stdlib/tst-limits.c (do_test): Likewise.
28859         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28860         parallel other exception macros.
28861         (fegetenv): Convert from macro to extern inline so that it applies
28862         retroactively to inline functions already seen by the compiler.
28863         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28865         * posix/Makefile (before-compile): Use $(objpfx) for
28866         posix-conf-vars-def.h.
28868 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28870         * posix/getconf.c (main): Use size_t for type of I.
28871         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28872         NSPEC.
28874         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28875         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28876         * posix/posix-envs.def: Likewise.
28877         * sysdeps/posix/sysconf.c: Likewise.
28878         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28879         (specs): Remove array.
28880         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28881         array.
28883         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28884         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28885         (__sysconf): Use CONF_IS_* macros.
28887         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28888         ($(objpfx)posix-conf-vars-def.h): New target.
28889         * posix/posix-conf-vars.list: New file.
28890         * posix/posix-conf-vars.h: New file.
28891         * posix/confstr.c: Include posix-conf-vars.h.
28892         (confstr): Use CONF_IS_* macros.
28893         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28894         CONF_IS_* macros.
28895         * scripts/gen-posix-conf-vars.awk: New file.
28897 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28899         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28900         fegetround): Add no-op macros to avoid linknamespace issues.
28902         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28903         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28905         * sysdeps/unix/sysv/linux/tile/sysdep.h
28906         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28907         assembly-specific section to avoid a redefinition warning.
28909         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28910         long before casting to pointer to avoid a cast warning.
28912 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28914         * sysdeps/tile/tilegx/Implies: New file.
28916 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28918         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28920 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28922         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28924 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28926         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28927         not define.
28928         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28929         <kernel-features.h>.
28930         (__utimes) [__NR_utimes]: Make code unconditional.
28931         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28932         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28933         (__ASSUME_UTIMES): Do not undefine.
28934         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28935         (__ASSUME_UTIMES): Likewise.
28936         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28937         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28938         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28939         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28941 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28943         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28945 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28947         [BZ #17747]
28948         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28949         alias to weak alias for j0l, y0l.
28950         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28951         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28953         [BZ #17746]
28954         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28955         conversion.
28957 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28959         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28960         to zero if not already defined.
28962 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28964         [BZ #17724]
28965         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28966         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28967         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28968         (char *) casts added.
28969         * sysdeps/ieee754/k_standardf.c: New file.
28970         * sysdeps/ieee754/k_standardl.c: Likewise.
28971         * math/Makefile (libm-support): Remove k_standard.
28972         (libm-calls): Add k_standard.
28974 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28976         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28977         Optimize to avoid an unnecessary FPCR read.
28979 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28981         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28982         Optimize to reduce FPCR/FPSR accesses.
28984 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28986         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28987         Call libc_fetestexcept_aarch64.
28989 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28991         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28992         Call libc_fesetround_aarch64.
28994 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28996         [BZ #17733]
28997         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28998         (__bind): Do not define as weak alias.
28999         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29000         define.
29001         (__getsockname): Do not define as weak alias.
29003 2014-12-22  Will Newton  <will.newton@linaro.org>
29005         * manual/install.texi: Document that we require bison 2.7
29006         or above.
29007         * INSTALL: Regenerate.
29008         * configure.ac: Use AC_CHECK_PROG_VER instead of
29009         AC_PATH_PROG when checking for bison and check for
29010         version 2.7 or above.
29011         * configure: Regenerate.
29013 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29015         [BZ #17745]
29016         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29017         * sysdeps/tile/ffsll.c (ffsll): To here.
29019         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29021 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29023         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29024         if not defined.
29025         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29026         definition.
29027         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29028         hidden ___tls_get_addr.
29029         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29030         hidden __tls_get_addr.
29031         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29032         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29033         Likewise.
29035 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29037         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29038         _dl_init call.
29040 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29042         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29043         from "call _dl_init@PLT".
29044         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29046 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29048         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29049         guarantees.
29051 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29053         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29055 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29057         [BZ #17744]
29058         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29059         strnlen.
29061 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29063         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29064         of multu on MIPSr6.
29065         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29066         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29067         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29068         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29069         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29071 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29073         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29074         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29075         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29076         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29077         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29078         mips32r6/mips64r6.
29079         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29081 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29083         * string/strncat.c (STRNCAT): Simplify implementation.
29085 2014-12-19  David S. Miller  <davem@davemloft.net>
29087         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29088         access the quad as both a long double and as a series of 4 words.
29090         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29091         link_map->l_info array access.
29093 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29095         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29097         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29098         * math/atest-exp2.c (TIMEOUT): Likewise.
29099         * math/atest-sincos.c (TIMEOUT): Likewise.
29101 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29103         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29104         -Wno-error with -fno-builtin-lround.
29106 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29108         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29109         Contains futex constants and functions moved over from ...
29110         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29111         <lowlevellock-futex.h>.
29112         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29113         (lll_timedwait_tid): Add comments and parentheses around macro
29114         arguments.
29116 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29118         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29119         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29120         (__lll_private_flag): Remove.
29121         (lll_futex_wait): Likewise.
29122         (lll_futex_timed_wait): Likewise.
29123         (lll_futex_wake): Likewise.
29124         (lll_futex_requeue): Likewise.
29125         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29126         (__lll_timedwait_tid): Spell out argument names.
29127         (lll_timedwait_tid): Add comments and parentheses around macro
29128         arguments.
29129         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29130         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29132 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29134         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29135         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29137         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29138         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29139         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29140         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29141         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29142         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29143         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29144         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29145         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29146         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29147         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29148         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29149         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29150         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29151         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29152         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29154 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29156         * sysdeps/x86_64/x32/Makefile: New file.
29158 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29160         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29161         1L with (mp_limb_t) 1.
29163 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29165         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29166         * nptl/libc_pthread_init.c: ... here.
29167         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29168         * nptl/register-atfork.c: ... here.
29170         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29171         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29172         Use assert_perror to check its return value.
29173         (__gai_create_helper_thread): Likewise.
29175         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29177         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29179 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29181         [BZ #17725]
29182         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29183         __profil_counter.
29184         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29185         Likewise.
29186         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29187         Likewise.
29188         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29189         Likewise.
29190         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29191         (profil_counter): Likewise.
29192         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29193         (profil_counter): Likewise.
29194         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29195         Likewise.
29196         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29197         Likewise.
29198         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29199         (profil_counter): Likewise.
29200         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29201         Likewise.
29202         [!__profil_counter] (profil_counter): Define as weak alias of
29203         __profil_counter.
29204         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29205         (profil_counter): Rename to __profil_counter.
29206         [!__profil_counter] (profil_counter): Define as weak alias of
29207         __profil_counter.
29208         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29209         (profil_counter): Rename to __profil_counter.
29210         [!__profil_counter] (profil_counter): Define as weak alias of
29211         __profil_counter.
29212         * sysdeps/posix/profil.c: Update comment referring to
29213         profil_counter.
29214         (__profil): Use __profil_counter instead of profil_counter.
29215         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29216         __profil_counter.  Use __profil_counter_ushort and
29217         __profil_counter_uint in definitions.
29218         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29219         instead of profil_counter_uint and profil_counter_ushort.
29221         [BZ #17722]
29222         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29223         define as weak alias of __inet_makeaddr.
29224         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29225         as weak alias of __inet_addr.
29226         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29227         as weak alias of __inet_pton.  Use libc_hidden_weak.
29228         * include/arpa/inet.h (__inet_pton): Declare.  Use
29229         libc_hidden_proto.
29230         (inet_makeaddr): Don't use libc_hidden_proto.
29231         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29232         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29233         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29234         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29235         Remove variable.
29236         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29237         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29239 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29241         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29243 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29245         * stdio-common/bug-vfprintf-nargs.c (do_test):
29246         Cast value to intptr_t to avoid format warning
29247         for usage with PRIdPTR printing macro.
29249 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29251         * libio/tst-widetext.c (do_test):
29252         Use format type %td instead of %Zd for ptrdiff_t
29253         in order to avoid format warning.
29255 2014-12-17  Andreas Schwab  <schwab@suse.de>
29257         * nscd/mem.c (gc): Add size_t cast to match printf format.
29259 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29261         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29262         (init): Apply PTR_MANGLE to pointers before storing them.
29263         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29264         before using them.
29266 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29268         [BZ #17719]
29269         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29270         define as weak alias of __memrchr.
29271         (__memrchr): Do not define as strong alias of memrchr.
29272         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29273         Remove variable.
29274         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29275         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29276         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29278         [BZ #17717]
29279         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29280         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29281         (if_indextoname): Rename to __if_indextoname and define as weak
29282         alias of __if_indextoname.  Use libc_hidden_weak.
29283         (if_freenameindex): Rename to __if_freenameindex and define as
29284         weak alias of __if_freenameindex.
29285         (if_nameindex): Rename to __if_nameindex and define as weak alias
29286         of __if_nameindex.
29287         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29288         __if_nametoindex and define as weak alias of __if_nametoindex.
29289         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         (if_indextoname): Rename to __if_indextoname and define as weak
29295         alias of __if_indextoname.  Use libc_hidden_weak.
29296         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29297         __if_nametoindex and define as weak alias of __if_nametoindex.
29298         Use libc_hidden_weak.
29299         (if_freenameindex): Rename to __if_freenameindex and define as
29300         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29301         (if_nameindex_netlink): Use __if_freenameindex instead of
29302         if_freenameindex.
29303         (if_nameindex): Rename to __if_nameindex and define as weak alias
29304         of __if_nameindex.  Use libc_hidden_weak.
29305         (if_indextoname): Rename to __if_indextoname and define as weak
29306         alias of __if_indextoname.  Use libc_hidden_weak.
29307         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29308         libc_hidden_proto.
29309         [!_ISOMAC] (__if_freenameindex): Likewise.
29310         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29311         if_nametoindex.
29312         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29313         variable.
29314         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29315         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29316         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29317         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29318         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29319         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29320         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29322         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29323         Remove variable.
29324         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29325         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29327 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29329         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29330         subscript above bounds'
29332         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29333         bounds.
29335 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29337         * libio/tst-fopenloc.c: Use test-skeleton.c.
29339         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29340         (entry): Rename to ITEM.
29341         (do_test, comp): Adjust.
29343         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29345 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29347         * string/tester.c: Include <libc-internal.h>.
29348         (test_memset): Ignore -Wmemset-transposed-args.
29350 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29352         * misc/tst-mntent2.c (do_test): Fix warning.
29354 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29356         * elf/tst-unique4lib.cc(a): Mark as used.
29358 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29360         [BZ #17630]
29361         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29362         names.
29364 2014-12-16  Allan McRae  <allan@archlinux.org>
29366         * stdio-common/Makefile (tests): Re-add bug26.
29368 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29370         [BZ #17657]
29371         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29372         static array.
29374 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29376         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29377         (__lll_lock_wait): Likewise.
29378         (__lll_timedlock_wait): Likewise.
29379         (__lll_timedwait_tid): Likewise.
29380         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29381         (__lll_robust_timedlock_wait): Likewise.
29382         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29383         (lll_cond_trylock): Likewise.
29384         (__lll_lock): Likewise.
29385         (__lll_robust_lock): Likewise.
29386         (__lll_cond_lock): Likewise.
29387         (lll_robust_cond_lock): Likewise.
29388         (__lll_timedlock): Likewise.
29389         (__lll_robust_timedlock): Likewise.
29390         (__lll_unlock): Likewise.
29391         (__lll_robust_unlock): Likewise.
29392         (lll_wait_tid): Likewise.
29393         (lll_timedwait_tid): Likewise.
29395 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29397         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29399 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29401         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29403 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29405         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29406         * stdio-common/tst-sprintf.c: Likewise.
29408 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29410         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29412 2014-12-15  Jeff Law  <law@redhat.com>
29414         [BZ #16617]
29415         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29416         on the heap.  (CVE-2012-3406)
29417         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29418         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29419         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29421 2014-12-15  Will Newton  <will.newton@linaro.org>
29423         * manual/install.texi: Bump required version of texinfo
29424         to 4.7 from 4.5.
29425         * INSTALL: Regenerated.
29426         * configure.ac: Check for makeinfo version 4.7 and above.
29427         * configure: Regenerated.
29429 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29431         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29432         PREFIX, string constant to insert between directory and name.
29433         * sysdeps/posix/shm_open.c: Update caller.
29434         * sysdeps/posix/shm_unlink.c: Likewise.
29435         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29436         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29437         (SEM_SHM_PREFIX): New macro.
29438         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29439         [$(have-thread-library) = no].
29440         * nptl/Makefile (libpthread-routines): Add shm-directory.
29441         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29442         * sysdeps/nptl/shm-directory.h: New file.
29443         * sysdeps/posix/shm-directory.c
29444         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29445         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29446         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29447         INTERNAL_SYSCALL.
29448         (__where_is_shmfs): Function removed.
29449         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29450         Variables removed.
29451         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29452         Use SHM_GET_NAME.
29453         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29455         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29456         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29457         unconditional for use inside libpthread.
29458         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29460 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29462         * nptl/pthread_getaffinity.c: New file.
29463         * nptl/pthread_setaffinity.c: New file.
29464         * nptl/pthread_getname.c: New file.
29465         * nptl/pthread_setname.c: New file.
29467         * nptl/pthread_create.c (START_THREAD_DEFN)
29468         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29470 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29471             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29473         * resolv/res_send.c (send_vc): Disable warning resplen may
29474         be used uninitialized.
29476 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29478         * nptl/tst-mutex6.c
29479         (ATTR_NULL): New define checks ATTR against NULL.
29480         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29481         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29483 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29485         [BZ #17581]
29486         * malloc/hooks.c
29487         (mem2mem_check): Revert my previous change.
29488         (malloc_check_get_size): Revert my previous change.
29489         (mem2chunk_check): Revert my previous change.
29491 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29493         * sysdeps/posix/shm-directory.c: New file.
29494         * sysdeps/posix/shm-directory.h: New file.
29495         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29496         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29497         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29498         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29499         Transmute EPERM to EACCES.
29500         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29501         from ...
29502         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29503         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29505 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29507         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29508         pointer and cast to uintptr_t.
29509         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29510         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29511         Add cast to avoid warning.
29512         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29514 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29516         * nptl/semaphore.h: Move to ...
29517         * sysdeps/pthread/semaphore.h: ... here.
29518         * Makefile (installed-headers): Change nptl/semaphore.h to
29519         sysdeps/pthread/semaphore.h.
29521 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29523         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29524         generated error format strings.
29526         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29527         -Wformat-extra-args warnings for scanf formats.
29528         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29529         test of zero-length format (duh).
29530         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29531         corner-case scanf format test.
29532         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29533         generated fprintf format string.
29534         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29535         corner-case sprintf format tests.
29536         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29537         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29538         -Wformat-extra-args warnings throughout.
29539         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29540         (CFLAGS-scanf4.c): Likewise.
29541         (CFLAGS-scanf7.c): Likewise.
29542         (CFLAGS-tst-sprintf.c): Likewise.
29543         (CFLAGS-tst-printf.c): Likewise.
29544         (CFLAGS-tst-printfsz.c): Likewise.
29546 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29548         * include/cpio.h: New file.
29549         * include/fmtmsg.h: Likewise.
29551         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29552         corresponding format argument to size_t.
29553         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29554         arguments.
29555         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29556         corresponding format argument to size_t.
29557         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29558         arguments.
29559         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29560         corresponding format argument to size_t.
29561         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29562         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29563         (CFLAGS-tst-mbswcs2.c): Likewise.
29564         (CFLAGS-tst-mbswcs3.c): Likewise.
29565         (CFLAGS-tst-mbswcs4.c): Likewise.
29566         (CFLAGS-tst-mbswcs5.c): Likewise.
29567         (CFLAGS-tst-trans.c): Likewise.
29569 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29571         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29572         rather than assuming they won't contain any '%'s.
29574 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29576         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29577         inhibit_loop_to_libcall to avoid recursive calls.
29578         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29579         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29581 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29583         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29584         prototype.
29586 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29588         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29589         integer value instead of boolean.
29591 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29593         * malloc/malloc.c: Fix powerof2 check.
29595 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29597         * locale/programs/locfile.h (maybe_swap_uint32):
29598         Remove inline and add unused attribute.
29600 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29602         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29603         Truncating assembler expression to a .long expression.
29605 2014-12-11  Andreas Schwab  <schwab@suse.de>
29607         * elf/rtld.c (struct map_args): Constify str member.
29608         (do_preload): Constify fname argument.
29610 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29612         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29613         constants definition.
29615 2014-12-11  Andreas Schwab  <schwab@suse.de>
29617         [BZ #16657]
29618         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29619         FORCE_ELISION instead of DO_ELISION.
29620         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29621         Remove.
29622         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29623         Likewise.
29625         * iconvdata/gconv-modules: Remove duplicate entry.
29627 2014-12-11  Will Newton  <will.newton@linaro.org>
29629         Merge gettext 0.19.3 into intl/.
29631         This involves a number of cosmetic changes to comments
29632         and ANSI function definitions and prototypes throughout
29633         all the files. The gettext copyright header is used but
29634         with the date ranges taken from the glibc copy.
29636         * NEWS: Add gettext merge to 2.21.
29637         * intl/bindtextdom.c: Switch to gettext copyright.
29638         Use ANSI definitions and prototypes.
29639         Use gl_* locking primitives rather than __libc_* ones.
29640         Use __builtin_expect rather than __glibc_likely/unlikely.
29641         * intl/dcgettext.c: Switch to gettext copyright.
29642         Use ANSI definitions and prototypes.
29643         * intl/dcigettext.c: Switch to gettext copyright.
29644         Use ANSI definitions and prototypes.
29645         (INTDIV0_RAISES_SIGFPE): New define.
29646         Use gl_* locking primitives rather than __libc_* ones.
29647         Include eval-plural.h instead of plural-eval.c.
29648         Use __builtin_expect rather than __glibc_likely/unlikely.
29649         * intl/dcngettext.c: Switch to gettext copyright.
29650         Use ANSI definitions and prototypes.
29651         * intl/dgettext.c: Likewise.
29652         * intl/dngettext.c: Likewise.
29653         * intl/plural-eval.c: Renamed to...
29654         * intl/eval-plural.h: ...this.
29655         * intl/explodename.c: Switch to gettext copyright.
29656         Use ANSI definitions and prototypes.
29657         (_nl_explode_name): Use strchr instead of __rawmemchr.
29658         * intl/finddomain.c: Switch to gettext copyright.
29659         Use ANSI definitions and prototypes.
29660         Use gl_* locking primitives rather than __libc_* ones.
29661         (_nl_find_domain): Use malloc rather than alloca for
29662         allocation of temporary locale name.
29663         * intl/gettext.c: Switch to gettext copyright.
29664         Use ANSI definitions and prototypes.
29665         * intl/gettextP.h: Switch to gettext copyright.
29666         Use ANSI definitions and prototypes.
29667         Use gl_* locking primitives rather than __libc_* ones.
29668         * intl/gmo.h: Switch to gettext copyright.
29669         (struct sysdep_string): Move struct segment_pair outside of
29670         struct definition.
29671         * intl/hash-string.c: Use ANSI definitions and prototypes.
29672         * intl/hash-string.h: Switch to gettext copyright.
29673         Use ANSI definitions and prototypes.
29674         * intl/l10nflist.c: Switch to gettext copyright.
29675         Use ANSI definitions and prototypes.
29676         (_nl_normalize_codeset): Avoid integer overflow.
29677         * intl/loadinfo.h: Switch to gettext copyright.
29678         Use ANSI definitions and prototypes.
29679         (LIBINTL_DLL_EXPORTED): New define.
29680         (PATH_SEPARATOR): New define.
29681         * intl/loadmsgcat.c: Switch to gettext copyright.
29682         * intl/localealias.c: Switch to gettext copyright.
29683         Use ANSI definitions and prototypes.
29684         (_nl_expand_alias): Use PATH_SEPARATOR.
29685         * intl/ngettext.c: Switch to gettext copyright.
29686         Use ANSI definitions and prototypes.
29687         * intl/plural-exp.c: Likewise.
29688         * intl/plural-exp.h: Switch to gettext copyright.
29689         Use ANSI definitions and prototypes.
29690         (struct expression): Move definition of enum operator outside
29691         of struct definition.
29692         * intl/plural.c: Regenerate.
29693         * intl/plural.y: Switch to gettext copyright.
29694         Use ANSI definitions and prototypes.
29695         Port to bison 3.0.
29696         * intl/textdomain.c: Switch to gettext copyright.
29697         Use ANSI definitions and prototypes.
29698         Use gl_* locking primitives rather than __libc_* ones.
29700 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29702         * debug/warning-nop.c: Add used atrribute.
29704 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29706         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29708         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29709         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29710         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29712 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29713             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29715         [BZ #17634]
29716         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29717         Undefine after defining function.  Define as weak alias of
29718         __wcschr.  Use libc_hidden_weak.
29719         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29720         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29721         (libc_hidden_def): Also define __GI___wcschr alias.
29722         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29723         __wcschr and define as weak alias of __wcschr.
29724         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29725         __wcschr.
29726         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29727         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29728         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29729         libc_hidden_weak.  Do not use libc_hidden_def.
29730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29731         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29732         __GI___wcschr alias.
29733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29734         [IS_IN (libc)] (wcschr): Define as macro expanding to
29735         __redirect_wcschr.
29736         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29737         [IS_IN (libc)] (__wcschr_power6): Likewise.
29738         [IS_IN (libc)] (__wcschr_power7): Likewise.
29739         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29740         instead of wcschr.
29741         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29742         __libc_wcschr.
29743         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29744         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29745         __wcschr and define as weak alias of __wcschr.  Use
29746         libc_hidden_builtin_def.
29747         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29748         as weak alias of __wcschr.  Use libc_hidden_weak.
29749         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29750         wcschr.
29751         * time/era.c (_nl_init_era_entries): Likewise.
29752         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29753         variable.
29754         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29755         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29757 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29759         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29760         format for long int variable.
29762 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29764         [BZ #10672]
29765         * manual/search.texi: (Array Sort Function): Remove claim how to make
29766         qsort stable.
29768 2014-12-10  Andreas Schwab  <schwab@suse.de>
29770         [BZ #12847]
29771         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29772         user-controlled locks.
29774 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29776         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29777         register.
29779 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29781         * configure.ac (--disable-werror): New configure option.
29782         (enable_werror): New AC_SUBST.
29783         * configure: Regenerated.
29784         * config.make.in (enable-werror): New variable.
29785         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29786         -Wno-error=undef.
29787         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29788         * manual/install.texi (Configuring and compiling): Document
29789         --disable-werror.
29790         * INSTALL: Regenerated.
29791         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29792         (CFLAGS-tst-chk2.c): Likewise.
29793         (CFLAGS-tst-chk3.c): Likewise.
29794         (CFLAGS-tst-chk4.cc): Likewise.
29795         (CFLAGS-tst-chk5.cc): Likewise.
29796         (CFLAGS-tst-chk6.cc): Likewise.
29797         (CFLAGS-tst-lfschk1.c): Likewise.
29798         (CFLAGS-tst-lfschk2.c): Likewise.
29799         (CFLAGS-tst-lfschk3.c): Likewise.
29800         (CFLAGS-tst-lfschk4.cc): Likewise.
29801         (CFLAGS-tst-lfschk5.cc): Likewise.
29802         (CFLAGS-tst-lfschk6.cc): Likewise.
29804         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29805         (main): Disable -Wdeprecated-declarations around calls to
29806         register_printf_function.
29808         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29809         (do_test): Disable -Wdiv-by-zero around some calls to
29810         fwrite_unlocked and fread_unlocked.
29812         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29813         (DIAG_POP_NEEDS_COMMENT): Likewise.
29814         (_DIAG_STR1): Likewise.
29815         (_DIAG_STR): Likewise.
29816         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29817         * stdio-common/bug21.c: Include <libc-internal.h>.
29818         (do_test): Disable -Wformat around call to sscanf.
29819         * stdio-common/scanf14.c: Include <libc-internal.h>.
29820         (main): Disable -Wformat around some calls to scanf functions.
29822 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29824         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29826 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29828         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29829         stack variable alignment.
29831 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29833         [BZ #17682]
29834         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29835         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29836         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29837         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29838         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29839         __getrlimit instead of getrlimit.
29840         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29841         __gettimeofday instead of gettimeofday.
29842         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29843         Likewise.
29844         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29845         Likewise.
29846         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29847         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29848         Remove variable.
29849         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29850         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29852 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29854         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29855         for wide-character tests.
29857 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29859         * io/openat64.c: #include <libc-internal.h>
29860         (__openat64): Prototypify.  Use ignore_value on MODE.
29861         * io/openat.c: Likewise.
29862         * misc/reboot.c: #include <libc-internal.h>
29863         (reboot): Prototypify.  Use ignore_value on HOWTO.
29864         * misc/ptrace.c: #include <libc-internal.h>
29865         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29867 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29869         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29870         XPG4, UNIX98 and XOPEN2K.
29871         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29872         Remove variable.
29873         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29875 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29877         * libio/fileops.c: Use ISO C style for function definitions.
29878         * libio/iofopen.c: Likewise.
29879         * libio/wfileops.c: Likewise.
29881         [BZ #17653]
29882         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29883         offset on EOF.
29884         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29885         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29886         (fgets_func): Function pointer to fgets and fgetws.
29887         (do_ftell_test): Add test to verify ftell value after read
29888         EOF.
29889         (do_test): Set fgets_func.
29891         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29892         O_TRUNC flag for w and w+ modes.
29893         (do_rewind_test): Likewise.
29894         (do_ftell_test): Likewise.
29895         (do_write_test): Likewise.
29897         [BZ #17647]
29898         * libio/fileops.c (do_ftell): Seek only when there are
29899         unflushed writes.
29900         * libio/wfileops.c (do_ftell_wide): Likewise.
29901         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29902         test case.
29903         (do_one_test): Call it.
29905 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29907         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29908         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29909         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29910         Remove variable.
29911         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29912         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29913         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29915 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29917         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29918         Remove variable.
29919         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29921         [BZ #17668]
29922         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29923         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29924         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29925         __freeifaddrs.  Use libc_hidden_weak.
29926         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29927         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29928         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29929         __freeifaddrs.  Use libc_hidden_weak.
29930         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29931         __getifaddrs and define as weak alias of __getifaddrs.  Use
29932         libc_hidden_weak.
29933         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29934         __freeifaddrs.  Use libc_hidden_weak.
29935         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29936         Remove variable.
29937         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29938         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29940 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29942         [BZ #17601]
29943         * sysdeps/mips/start.S (__start): Use indirect jump to call
29944         __libc_start_main.
29946 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29948         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29950         * nptl/tst-mutex1.c: Include <stdbool.h>.
29951         [!ATTR] (ATTR_NULL): New macro.
29952         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29953         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29954         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29956         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29957         to char *.
29959         [BZ #17665]
29960         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29961         Change conditional to [__USE_MISC].
29963         [BZ #17664]
29964         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29965         fgets_unlocked.
29966         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29967         __fgets_unlocked.
29968         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29969         fgets_unlocked.
29970         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29971         Remove variable.
29972         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29973         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29974         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29975         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29976         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29977         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29978         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29979         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29980         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29982         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29984 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29987         Remove strpbrk objects.
29988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29989         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29990         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29991         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29992         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29993         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29996         Remove strcspn objects.
29997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29998         (__libc_ifunc_impl_list): Remove strcspn implementation.
29999         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30000         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30001         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30002         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30004         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30005         Remove strspn objetcs.
30006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30007         (__libc_ifunc_impl_list): Remove strspn implementation.
30008         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30009         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30010         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30011         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30013 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30015         [BZ #17581]
30016         * malloc/hooks.c
30017         (mem2mem_check): Add a terminator to the chain of checking blocks.
30018         (malloc_check_get_size): Use it here.
30019         (mem2chunk_check): Ditto.
30021 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30023         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30024         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30026 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30028         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30030         * nptl/nptl-init.c: Include libc-internal.h.
30031         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30033         * elf/ldconfig.c (search_dir): Expand comment.
30035 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30037         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30038         variable.
30039         (linknamespace-symlist-stdlibs-tests): Likewise.
30040         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30041         instead of $(objpfx)symlist-stdlibs.
30042         (linknamespace-libs-isoc): New variable.
30043         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30044         (linknamespace-libs-ISO): New variable.
30045         (linknamespace-libs-ISO99): Likewise.
30046         (linknamespace-libs-ISO11): Likewise.
30047         (linknamespace-libs-XPG3): Likewise.
30048         (linknamespace-libs-XPG4): Likewise.
30049         (linknamespace-libs-POSIX): Likewise.
30050         (linknamespace-libs-UNIX98): Likewise.
30051         (linknamespace-libs-XOPEN2K): Likewise.
30052         (linknamespace-libs-POSIX2008): Likewise.
30053         (linknamespace-libs-XOPEN2K8): Likewise.
30054         ($(objpfx)symlist-stdlibs): Replace by
30055         $(linknamespace-symlist-stdlibs-tests).  Use
30056         $(linknamespace-libs-$*) as set of libraries.
30057         ($(linknamespace-header-tests)): Update dependencies.  Use
30058         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30059         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30060         * conform/linknamespace.pl: Remove comment about considering
30061         definitions of symbols from irrelevant libraries.
30063 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30065         [BZ #13862]
30066         * elf/dl-tls.c: Include <atomic.h>.
30067         (oom): Remove #ifdef SHARED/#endif.
30068         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30069         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30070         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30071         big enough.
30072         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30073         * nptl/Makefile (tests): Add tst-stack4.
30074         (modules-names): Add tst-stack4mod.
30075         ($(objpfx)tst-stack4): New.
30076         (tst-stack4mod.sos): Likewise.
30077         ($(objpfx)tst-stack4.out): Likewise.
30078         ($(tst-stack4mod.sos)): Likewise.
30079         (clean): Likewise.
30080         * nptl/tst-stack4.c: New file.
30081         * nptl/tst-stack4mod.c: Likewise.
30083 2014-11-27  J. Brown  <jb999@gmx.de>
30085         * sysdeps/x86/bits/string.h: Add recent CPUs.
30087 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30089         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30090         sigblock.
30092         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30093         feof.
30095         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30096         variable.
30098 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30100         * nscd/connections.c: Include libc-internal.h because of macro
30101         usage ignore_value.
30103 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30105         * string/bits/string3.h (__warn_memset_zero_len): Don't
30106         declare for gcc newer than 5.0.
30107         (memset): Don't test for zero-length __LEN for gcc newer than
30108         5.0.
30110 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30112         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30113         size_t for %zu format.
30115         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30116         difference, not %ju.
30118 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30120         * include/libc-internal.h (ignore_value): New macro.
30121         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30122         with ignore_value.
30124         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30125         definition.
30127         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30128         pthread_cleanup_push to void *.
30130         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30131         Undefine.
30133         [BZ #16619]
30134         [BZ #16740]
30135         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30136         instead of 1L << 52.
30138         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30139         * libio/bug-rewind2.c (do_test): Likewise.
30141         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30142         * debug/test-strcpy_chk-ifunc.c: Likewise.
30143         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30144         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30145         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30146         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30147         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30148         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30149         * Rules [$(multi-arch) = no] (tests): Do not filter out
30150         $(tests-ifunc).
30151         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30152         * debug/Makefile (tests-ifunc): Remove variable.
30153         (tests): Do not add $(tests-ifunc).
30154         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30155         (tests): Do not add $(tests-ifunc).
30156         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30157         [TEST_IFUNC]: Remove conditionals.
30158         * string/test-string.h (TEST_IFUNC): Remove macro.
30159         [TEST_IFUNC]: Remove conditionals.
30161         * string/test-strchr.c [!WIDE] (L): New macro.
30162         [WIDE] (L): Likewise.
30163         (check1): Use CHAR instead of char.  Use L on string and character
30164         constants.
30166 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30168         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30169         tests.
30170         * sysdeps/powerpc/bits/atomic.h
30171         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30172         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30173         (atomic_exchange_and_add_acq): Likewise.
30174         (atomic_exchange_and_add_rel): Likewise.
30175         * sysdeps/powerpc/powerpc32/bits/atomic.h
30176         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30177         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30178         * sysdeps/powerpc/powerpc64/bits/atomic.h
30179         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30180         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30182 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30184         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30185         Change synchronization of __sched_fifo_min_prio and
30186         __sched_fifo_max_prio.
30187         * nptl/pthread_mutexattr_getprioceiling.c
30188         (pthread_mutexattr_getprioceiling): Likewise.
30189         * nptl/pthread_mutexattr_setprioceiling.c
30190         (pthread_mutexattr_setprioceiling): Likewise.
30191         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30192         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30193         Likewise.
30195 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30197         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30198         void.
30200 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30202         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30203         third argument const.
30205 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30207         fnmatch: work around GCC compiler warning bug with uninit var
30208         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30209         This works around a bug with x86-64 GCC 4.9.2 and earlier
30210         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30211         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30212         used uninitialized in this function [-Wmaybe-uninitialized]".
30214 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30216         * posix/bug-regex31.c (main): Return RES not 0.
30218 2014-11-25  Anton Blanchard <anton@samba.org>
30220         * sysdeps/powerpc/bits/atomic.h
30221         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30223 2014-11-24  Sterling Augustine  <saugustine@google.com>
30225         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30227 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30229         [BZ #17608]
30230         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30232 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30234         [BZ #17633]
30235         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30236         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30237         variable.
30238         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30239         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30241 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30243         * string/strncpy.c (strncpy): Improve performance by using memset.
30245 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30247         * string/strcpy.c (strcpy):
30248         Improve performance by using strlen and memcpy.
30250 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30252         * string/strcoll_l.c (get_next_seq): __always_inline.
30253         * string/strcoll_l.c (do_compare): __always_inline.
30255 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30257         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30258         defined.
30259         * include/mqueue.h: Likewise.
30260         * include/stdlib.h: Likewise.
30262         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30263         (get_null_defines): Adjust.
30264         * sunrpc/Makefile: Adjust comment.
30265         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30266         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30267         (CFLAGS-interp.c): Likewise.
30268         (CFLAGS-ldconfig.c): Likewise.
30269         (CPPFLAGS-.os): Likewise.
30270         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30271         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30272         * extra-modules.mk (extra-modules.mk): Likewise.
30273         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30274         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30275         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30276         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30277         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30278         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30279         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30280         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30281         * iconvdata/Makefile (CPPFLAGS): Likewise.
30282         (cpp-srcs-left): Add libof for all iconvdata routines.
30283         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30284         * include/assert.h: Likewise.
30285         * include/ctype.h: Likewise.
30286         * include/errno.h: Likewise.
30287         * include/libc-symbols.h: Likewise.
30288         * include/math.h: Likewise.
30289         * include/netdb.h: Likewise.
30290         * include/resolv.h: Likewise.
30291         * include/stdio.h: Likewise.
30292         * include/stdlib.h: Likewise.
30293         * include/string.h: Likewise.
30294         * include/sys/stat.h: Likewise.
30295         * include/wctype.h: Likewise.
30296         * intl/l10nflist.c: Likewise.
30297         * libidn/idn-stub.c: Likewise.
30298         * libio/libioP.h: Likewise.
30299         * nptl/libc_multiple_threads.c: Likewise.
30300         * nptl/pthreadP.h: Likewise.
30301         * posix/regex_internal.h: Likewise.
30302         * resolv/res_hconf.c: Likewise.
30303         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30304         * sysdeps/arm/memmove.S: Likewise.
30305         * sysdeps/arm/sysdep.h: Likewise.
30306         * sysdeps/generic/_itoa.h: Likewise.
30307         * sysdeps/generic/symbol-hacks.h: Likewise.
30308         * sysdeps/gnu/errlist.awk: Likewise.
30309         * sysdeps/gnu/errlist.c: Likewise.
30310         * sysdeps/i386/i586/memcpy.S: Likewise.
30311         * sysdeps/i386/i586/memset.S: Likewise.
30312         * sysdeps/i386/i686/memcpy.S: Likewise.
30313         * sysdeps/i386/i686/memmove.S: Likewise.
30314         * sysdeps/i386/i686/mempcpy.S: Likewise.
30315         * sysdeps/i386/i686/memset.S: Likewise.
30316         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30317         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30318         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30319         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30320         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30321         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30322         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30323         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30324         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30325         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30326         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30327         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30328         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30329         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30330         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30331         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30332         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30333         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30334         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30340         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30345         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30363         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30368         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30371         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30374         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30377         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30378         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30379         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30380         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30381         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30382         * sysdeps/posix/closedir.c: Likewise.
30383         * sysdeps/posix/opendir.c: Likewise.
30384         * sysdeps/posix/readdir.c: Likewise.
30385         * sysdeps/posix/rewinddir.c: Likewise.
30386         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30387         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30388         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30389         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30390         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30391         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30393         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30394         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30395         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30398         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30399         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30400         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30401         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30402         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30403         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30404         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30405         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30406         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30407         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30408         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30409         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30410         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30411         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30414         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30419         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30421         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30422         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30423         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30424         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30425         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30426         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30427         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30428         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30430         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30431         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30432         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30433         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30434         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30435         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30436         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30437         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30439         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30440         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30442         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30443         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30444         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30445         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30446         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30447         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30448         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30449         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30450         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30451         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30452         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30453         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30454         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30455         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30456         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30457         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30458         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30459         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30460         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30461         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30462         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30463         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30464         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30465         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30466         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30467         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30468         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30469         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30470         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30471         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30472         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30473         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30474         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30475         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30476         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30477         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30478         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30479         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30480         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30481         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30482         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30483         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30484         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30485         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30486         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30487         * sysdeps/unix/alpha/sysdep.S: Likewise.
30488         * sysdeps/unix/alpha/sysdep.h: Likewise.
30489         * sysdeps/unix/make-syscalls.sh: Likewise.
30490         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30492         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30493         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30495         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30496         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30497         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30498         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30499         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30500         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30501         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30502         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30503         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30504         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30505         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30506         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30507         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30508         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30509         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30510         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30511         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30512         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30513         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30514         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30515         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30516         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30519         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30520         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30521         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30524         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30525         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30526         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30528         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30529         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30530         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30531         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30532         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30533         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30534         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30537         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30538         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30541         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30542         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30543         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30544         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30545         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30546         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30548         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30549         * sysdeps/x86_64/memcpy.S: Likewise.
30550         * sysdeps/x86_64/memmove.c: Likewise.
30551         * sysdeps/x86_64/memset.S: Likewise.
30552         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30553         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30554         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30555         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30556         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30557         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30558         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30559         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30560         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30561         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30562         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30563         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30564         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30565         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30566         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30567         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30568         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30569         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30570         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30571         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30572         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30573         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30574         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30575         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30576         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30577         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30578         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30579         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30580         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30581         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30582         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30583         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30584         * sysdeps/x86_64/strcmp.S: Likewise.
30586         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30588         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30589         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30590         * elf/rtld-Rules: Likewise.
30591         * elf/setup-vdso.h: Likewise.
30592         * include/assert.h: Likewise.
30593         * include/bits/stdlib-float.h: Likewise.
30594         * include/errno.h: Likewise.
30595         * include/sys/stat.h: Likewise.
30596         * include/unistd.h: Likewise.
30597         * sysdeps/aarch64/setjmp.S: Likewise.
30598         * sysdeps/alpha/setjmp.S: Likewise.
30599         * sysdeps/arm/__longjmp.S: Likewise.
30600         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30601         * sysdeps/arm/setjmp.S: Likewise.
30602         * sysdeps/arm/sysdep.h: Likewise.
30603         * sysdeps/generic/_itoa.h: Likewise.
30604         * sysdeps/generic/dl-sysdep.h: Likewise.
30605         * sysdeps/generic/ldsodefs.h: Likewise.
30606         * sysdeps/i386/dl-tls.h: Likewise.
30607         * sysdeps/i386/setjmp.S: Likewise.
30608         * sysdeps/m68k/setjmp.c: Likewise.
30609         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30610         * sysdeps/mach/hurd/opendir.c: Likewise.
30611         * sysdeps/posix/getcwd.c: Likewise.
30612         * sysdeps/posix/opendir.c: Likewise.
30613         * sysdeps/posix/profil.c: Likewise.
30614         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30615         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30616         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30617         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30619         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30620         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30621         * sysdeps/s390/dl-tls.h: Likewise.
30622         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30623         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30624         * sysdeps/sh/sh3/setjmp.S: Likewise.
30625         * sysdeps/sh/sh4/setjmp.S: Likewise.
30626         * sysdeps/unix/alpha/sysdep.h: Likewise.
30627         * sysdeps/unix/arm/sysdep.S: Likewise.
30628         * sysdeps/unix/i386/sysdep.S: Likewise.
30629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30630         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30631         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30632         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30634         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30635         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30636         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30637         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30638         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30639         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30641         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30644         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30645         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30647         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30648         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30649         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30650         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30652         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30653         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30654         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30656         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30657         * sysdeps/x86_64/setjmp.S: Likewise.
30659         * include/math.h: Use IS_IN instead of IS_IN_libm.
30660         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30663         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30664         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30667         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30671         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30672         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30676         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30677         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30680         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30681         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30682         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30683         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30684         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30685         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30686         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30687         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30688         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30689         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30690         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30691         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30692         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30694         Likewise.
30695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30696         Likewise.
30697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30698         Likewise.
30699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30700         Likewise.
30701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30702         Likewise.
30703         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30704         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30705         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30706         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30707         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30708         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30714         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30715         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30716         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30717         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30718         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30719         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30720         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30721         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30722         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30723         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30724         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30725         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30726         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30727         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30729         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30731         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30732         * nptl/pthreadP.h: Likewise.
30733         * nptl_db/structs.def: Likewise.
30734         * sysdeps/arm/sysdep.h: Likewise.
30735         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30736         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30737         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30738         * sysdeps/unix/alpha/sysdep.h: Likewise.
30739         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30740         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30741         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30742         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30743         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30744         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30745         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30746         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30747         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30748         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30749         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30750         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30751         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30752         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30757         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30760         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30761         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30762         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30763         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30764         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30766         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30767         * nptl/pthreadP.h: Likewise.
30768         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30769         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30770         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30771         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30772         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30773         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30774         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30775         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30776         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30777         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30778         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30779         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30781         Likewise.
30782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30783         Likewise.
30784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30786         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30789         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30790         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30791         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30793         * dlfcn/dladdr.c: Use IS_IN.
30794         * dlfcn/dladdr1.c: Likewise.
30795         * dlfcn/dlclose.c: Likewise.
30796         * dlfcn/dlerror.c: Likewise.
30797         * dlfcn/dlinfo.c: Likewise.
30798         * dlfcn/dlmopen.c: Likewise.
30799         * dlfcn/dlopen.c: Likewise.
30800         * dlfcn/dlsym.c: Likewise.
30801         * dlfcn/dlvsym.c: Likewise.
30803         * include/ifaddrs.h: Use IS_IN.
30804         * inet/check_pf.c: Likewise.
30805         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30806         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30808         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30809         IS_IN_ldconfig.
30810         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30811         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30813         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30814         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30815         IS_IN (libc).
30817         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30819         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30820         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30821         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30822         * include/libc-symbols.h (IS_IN_LIB): New macro.
30823         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30824         * include/netdb.h: Likewise.
30825         * include/stap-probe.h: Remove all uses of IN_LIB.
30827         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30828         instead of IN_MODULE.
30829         * include/libc-symbols.h (IN_MODULE): Define using
30830         MODULE_NAME.
30831         (PASTE_NAME, PASTE_NAME1): New macros.
30832         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30833         of IN_LIB.
30834         (STAP_PROBE_ASM): Likewise.
30836 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30838         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30839         __mach_init in dlopened libc.
30841 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30843         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30844         * sysdeps/arm/preconfigure: Regenerate.
30846 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30848         * nptl/pthread_create.c (__pthread_create_2_1): Set
30849         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30850         when copying values from IATTR into PD.
30852 2014-11-21  Will Newton  <will.newton@linaro.org>
30853             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30855         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30856         Refactor inline-asm.  Also add comment.
30858         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30859         ElfW macro instead of hardcoded Elf64 types.
30860         (la_aarch64_gnu_pltenter): Likewise.
30861         * sysdeps/aarch64/dl-machine.h
30862         (elf_machine_runtime_setup): Use ElfW(Addr).
30864         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30865         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30866         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30867         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30868         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30869         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30870         (R_AARCH64_TLS_DTPMOD): This.
30871         (R_AARCH64_TLS_DTPREL64): Rename to ...
30872         (R_AARCH64_TLS_DTPREL): This.
30873         (R_AARCH64_TLS_TPREL64): Rename to ...
30874         (R_AARCH64_TLS_TPREL): This.
30875         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30876         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30877         R_AARCH64_TLS_TPREL64.
30878         (elf_machine_rela): Likewise.
30880 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30882         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30883         by setting it to 0.  64b atomics are not supported currently.
30885 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30887         [BZ #16469]
30888         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30889         search domain names.
30891 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30893         [BZ #16469]
30894         * NEWS: Update.
30895         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30896         trailing dot.
30897         * posix/tst-getaddrinfo5.c: New.
30898         * posix/Makefile (tests): Add it.
30900 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30902         [BZ #14498]
30903         * NEWS: Fixed.
30904         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30905         after parsing line but before break_if_match.
30906         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30907         if there is a protocol mismatch.
30909 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30911         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30912         because the potential race is on the user-supplied stream.
30914 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30916         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30917         string literal if not passed a buffer.
30918         * manual/job.texi (ctermid): Update reasoning, note deviation
30919         from posix, suggest mtasurace when not passed a buffer, for
30920         future non-preliminary safety notes.
30922 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30924         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30925         of not passing it a buffer.
30926         Reported by Peng Haitao.
30928 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30930         * manual/Makefile ($(objpfx)stamp-summary): Require
30931         check-safety.sh to pass.
30932         * manual/check-safety.sh: Wish for verification that every
30933         @deftypefn and @deftypefun is followed by a @safety remark.
30935 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30937         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30939         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30940         PTHREAD_CANCEL_ASYNCHRONOUS.
30941         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30942         send SIGCANCEL.
30944         * nptl/default-sched.h: New file.
30945         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30946         * nptl/pthread_create.c: Include it.
30947         (__pthread_create_2_1): Use collect_default_sched instead of making
30948         Linux syscalls here directly.
30950 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30952         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30953         __pthread_once): Use C11 atomics.
30955 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30957         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30959 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30961         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30962         atomic_thread_fence_acquire, atomic_thread_fence_release,
30963         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30964         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30965         atomic_compare_exchange_weak_relaxed,
30966         atomic_compare_exchange_weak_acquire,
30967         atomic_compare_exchange_weak_release,
30968         atomic_exchange_acquire, atomic_exchange_release,
30969         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30970         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30971         atomic_fetch_and_acquire,
30972         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30974 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30976         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30977         USE_ATOMIC_COMPILER_BUILTINS): Define.
30978         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30980         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30982         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30984         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30986         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30988         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30990         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30992         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30994         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30996         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30998         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31000         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31002         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31004         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31006         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31008         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31010         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31012         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31013         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31014         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31016         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31019 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31021         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31022         the sched_priority value here.  It was already checked when the user
31023         called pthread_attr_setschedparam.
31025         * nptl/tst-bad-schedattr.c: New file.
31026         * nptl/Makefile (tests): Add it.
31028 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31029             Florian Weimer  <fweimer@redhat.com>
31030             Joseph Myers  <joseph@codesourcery.com>
31031             Adam Conrad  <adconrad@0c3.net>
31032             Andreas Schwab  <schwab@suse.de>
31033             Brooks  <bmoses@google.com>
31035         [BZ #17625]
31036         * wordexp-test.c (__dso_handle): Add prototype.
31037         (__register_atfork): Likewise.
31038         (__app_register_atfork): New function.
31039         (registered_forks): New global.
31040         (register_fork): New function.
31041         (test_case): Add 3 new tests for WRDE_CMDSUB.
31042         (main): Call __app_register_atfork.
31043         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31044         fork count is non-zero fail the test.
31045         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31046         is set.
31047         (parse_dollars): Remove check for WRDE_NOCMD.
31048         (parse_dquote): Likewise.
31050 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31052         * Makeconfig (built-modules): List non-library modules to be
31053         built.
31054         (module-cppflags): Include libc-modules.h for
31055         everything except shlib-versions.v.i.
31056         (CPPFLAGS): Use it.
31057         (before-compile): Add libc-modules.h.
31058         ($(common-objpfx)libc-modules.h,
31059         $(common-objpfx)libc-modules.stmp): New targets.
31060         (common-generated): Add libc-modules.h and libc-modules.stmp.
31061         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31062         * include/libc-symbols.h: Don't include libc-modules.h.
31063         * include/libc-modules.h: Remove file.
31064         * scripts/gen-libc-modules.awk: New script to generate
31065         libc-modules.h.
31066         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31067         Depend on libc-modules.stmp.
31069         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31071         * Makeconfig (in-module): Get value of libof set for the
31072         translation unit.
31073         (CPPFLAGS): Use $(in-module).
31074         * Makerules: Don't suffix routine names for nonlib.
31075         * include/libc-modules.h: New file.
31076         * include/libc-symbols.h: Include libc-modules.h
31077         (IS_IN): New macro to replace IS_IN_* macros.
31078         * elf/Makefile: Set libof-* for each routine.
31079         * elf/rtld-Rules: Likewise.
31080         * extra-modules.mk: Likewise.
31081         * iconv/Makefile: Likewise.
31082         * iconvdata/Makefile: Likewise.
31083         * locale/Makefile: Likewise.
31084         * malloc/Makefile: Likewise.
31085         * nss/Makefile: Likewise.
31086         * sysdeps/gnu/Makefile: Likewise.
31087         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31088         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31089         * sysdeps/s390/s390-64/Makefile: Likewise.
31090         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31091         CPPFLAGS for nscd instead of nonlib.
31093 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31095         * nptl/createthread.c: New file.
31097         * nptl/createthread.c: Moved ...
31098         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31100         * nptl/createthread.c: Add proper top-line comment.
31101         (do_clone): Folded into ...
31102         (create_thread): ... here.  Take new arguments STOPPED_START and
31103         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31104         increment __nptl_threads, do event-reporting logic, do
31105         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31106         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31107         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31108         just send SIGCANCEL.
31109         * nptl/pthread_create.c: Forward-declare create_thread before
31110         including createthread.c.
31111         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31112         declaration, and new macro START_THREAD_SELF to replace argument.
31113         Remove return statement.
31114         (report_thread_creation): New function.
31115         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31116         synchronization logic, and __nptl_nthreads increment here, around
31117         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31118         PD->parent_cancelhandling here, before create_thread.  When
31119         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31120         __deallocate_stack, and ENOMEM translation here.
31122 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31124         [BZ #17616]
31125         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31126         (mptwo): Rename to __mptwo.
31127         (__inv): Use __mptwo instead of mptwo.
31128         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31129         (mptwo): Rename to __mptwo.
31130         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31131         of mpone and __mptwo instead of mptwo.
31132         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31133         instead of mpone.
31134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31135         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31136         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31137         of mpone and __mptwo instead of mptwo.
31138         (__mpranred): Use __mpone instead of mpone.
31139         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31140         variable.
31141         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31142         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31143         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31144         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31145         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31146         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31147         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31148         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31149         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31150         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31151         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31152         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31153         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31154         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31155         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31156         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31157         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31158         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31159         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31161 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31163         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31164         replace BSD Handler xref with BSD Signal Handling.
31166 2014-11-17  Richard Henderson  <rth@redhat.com>
31168         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31169         (_FP_PACK_RAW_2): Remove.
31170         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31171         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31172         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31173         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31174         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31175         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31176         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31177         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31178         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31179         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31180         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31181         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31182         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31183         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31184         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31185         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31187 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31189         * signal/signal.h [__USE_MISC]
31190         (struct sigvec): Remove type.
31191         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31192         (sigvec): Remove declaration.
31193         * sysdeps/posix/sigvec.c: Moved ...
31194         * signal/sigvec.c: ... here, replacing old file.
31195         (struct sigvec): New type, copied from old signal.h definition.
31196         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31197         (__sigvec): Convert definition to prototype.
31198         (sigvec): Replace weak_alias with compat_symbol.
31199         * signal/Versions (libc: GLIBC_2.21): New version set.
31200         * include/signal.h: Remove __sigvec declaration.
31201         * sysdeps/unix/bsd/sigvec.c: Remove file.
31202         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31203         * manual/signal.texi (BSD Handler): Remove subsection.
31204         Move siginterrupt up to ...
31205         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31206         (Blocking in BSD): Fold subsection into its parent.
31207         * NEWS: Mention sigvec removal.
31209 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31211         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31212         (DLA_FMS): Make definition conditional only on [__FMA4__].
31213         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31214         definition.
31216         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31217         Make definition conditional only on [PROF].
31218         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31219         definition.
31220         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31221         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31223         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31224         !__GNUC__].
31225         * include/signal.h (__sigpause): Move declaration above call to
31226         libc_hidden_proto.
31227         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31228         variable.
31229         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31230         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31232 2014-11-14  David S. Miller  <davem@davemloft.net>
31234         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31235         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31237 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31239         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31240         * configure: Regenerated.
31241         * manual/install.texi (Tools for Compilation): Document a
31242         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31243         compiler verified to work.
31244         * INSTALL: Regenerated.
31246         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31247         redeclare with asm name.
31248         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31249         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31250         including <string.h>.
31251         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31253         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31254         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31255         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31256         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31257         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31259 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31261         * stdlib/strtol.c (__strtol): Use prototype definition.
31263         [BZ #17594]
31264         * stdlib/strtol.c (SYM__): New macro.
31265         (SYM__1): Likewise.
31266         (__strtol): Likewise.
31267         (strtol): Rename to __strtol and define as weak alias of
31268         __strtol.  Use libc_hidden_weak.
31270 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31272         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31273         Use numbered labels in inline assembly.
31275 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31277         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31278         Add setjmp LIBC_PROBE.
31279         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31280         Likewise.
31281         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31282         Add longjmp, longjmp_target LIBC_PROBE.
31283         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31284         Likewise.
31286 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31289         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31290         to get rid of unused variable warning.
31292 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31294         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31295         Check for unwind_backtrace ==  NULL only in SHARED case.
31296         (__backchain_backtrace): Compile only in SHARED case.
31297         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31298         Likewise.
31299         (__backchain_backtrace): Declare as static.
31301 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31303         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31304         (__libc_multiple_threads_ptr): Variable moved ...
31305         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31307 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31309         * conform/GlibcConform.pm: New file.
31310         * conform/conformtest.pl: Use GlibcConform module.
31311         * conform/linknamespace.pl: New file.
31312         * conform/list-header-symbols.pl: Likewise.
31313         * conform/Makefile (linknamespace-symlists-base): New variable.
31314         (linknamespace-symlists-tests): Likewise.
31315         (linknamespace-header-base): Likewise.
31316         (linknamespace-header-tests): Likewise.
31317         (tests-special): Add new tests.
31318         ($(linknamespace-symlists-tests)): New rule.
31319         (linknamespace-libs): New variable.
31320         ($(objpfx)symlist-stdlibs): New rule.
31321         ($(linknamespace-header-tests)): Likewise.
31322         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31323         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31324         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31325         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31326         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31327         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31328         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31329         (test-xfail-ISO/math.h/linknamespace): Likewise.
31330         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31331         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31332         (test-xfail-ISO/time.h/linknamespace): Likewise.
31333         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31334         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31335         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31336         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31337         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31338         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31339         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31340         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31341         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31342         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31343         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31344         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31345         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31346         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31347         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31348         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31349         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31350         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31351         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31352         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31353         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31354         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31355         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31356         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31357         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31358         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31359         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31360         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31361         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31362         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31363         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31364         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31365         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31366         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31367         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31368         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31369         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31370         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31371         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31372         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31373         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31374         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31375         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31376         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31377         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31378         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31379         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31380         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31381         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31382         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31383         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31384         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31385         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31386         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31387         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31388         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31389         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31390         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31391         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31392         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31393         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31394         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31395         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31396         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31397         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31398         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31399         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31400         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31401         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31402         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31403         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31404         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31405         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31406         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31407         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31408         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31409         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31410         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31411         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31412         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31413         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31414         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31415         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31416         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31417         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31418         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31419         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31420         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31421         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31422         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31423         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31424         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31425         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31426         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31427         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31428         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31429         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31430         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31431         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31432         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31433         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31434         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31435         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31436         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31437         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31438         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31439         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31440         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31441         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31442         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31443         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31444         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31445         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31446         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31447         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31448         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31449         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31450         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31451         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31452         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31453         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31454         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31455         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31456         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31457         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31458         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31459         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31460         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31461         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31462         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31463         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31464         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31465         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31466         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31467         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31468         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31469         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31470         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31471         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31472         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31473         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31474         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31475         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31476         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31477         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31478         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31479         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31480         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31481         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31482         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31484         [BZ #17589]
31485         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31486         of fgets_unlocked.
31488         [BZ #17585]
31489         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31490         (memmem): Rename to __memmem and define as weak alias of
31491         __memmem.  Use libc_hidden_weak.
31492         (__memmem): Use libc_hidden_def.
31493         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31494         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31495         memmem.
31497         [BZ #17582]
31498         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31499         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31500         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31501         and define as weak alias of __fgets_unlocked.  Use
31502         libc_hidden_weak.
31503         (__fgets_unlocked): Use libc_hidden_def.
31504         * include/stdio.h (__fgets_unlocked): Declare.  Use
31505         libc_hidden_proto.
31506         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31507         __fgets_unlocked instead of fgets_unlocked.
31508         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31509         (GET_NPROCS_CONF_PARSER): Likewise.
31510         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31511         (GET_NPROCS_CONF_PARSER): Likewise.
31513         [BZ #17574]
31514         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31515         weak alias of __wmemset.  Use libc_hidden_weak.
31516         (__wmemset): Use libc_hidden_def.
31517         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31518         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31519         of wmemset.
31521         [BZ #17573]
31522         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31523         with asm name __mempcpy.
31524         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31526         [BZ #17572]
31527         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31528         and define as weak alias of __rawmemchr.
31529         (__rawmemchr): Do not define as strong alias of rawmemchr.
31531         [BZ #17571]
31532         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31533         alias of __qsort_r.
31534         (qsort): Call __qsort_r instead of qsort_r.
31535         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31536         (__qsort_r): Declare.  Call libc_hidden_proto.
31537         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31538         instead of qsort_r.
31539         * nscd/gai.c (__qsort_r): Define to qsort_r.
31540         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31541         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31542         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31544         [BZ #17570]
31545         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31546         define as weak alias of __malloc_info.
31548         [BZ #17584]
31549         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31550         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31551         (__rewinddir): Use libc_hidden_def.
31552         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31553         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31554         (__rewinddir): Use libc_hidden_def.
31555         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31556         weak alias of __rewinddir.  Don't use libc_hidden_def.
31557         (__rewinddir): Use libc_hidden_def.
31558         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31559         (__rewinddir): Use libc_hidden_proto.
31560         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31561         rewinddir.
31562         (__getcwd): Use __rewinddir instead of rewinddir.
31564         [BZ #17583]
31565         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31566         alias of __fileno.  Use libc_hidden_weak.
31567         (__fileno): Use libc_hidden_def.
31568         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31569         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31570         alias of __ftello.
31571         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31572         __ftello.
31573         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31574         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31575         libc_hidden_def.
31576         (fread_unlocked): Don't use libc_hidden_ver.
31577         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31578         and define as weak alias of __fread_unlocked.  Don't use
31579         libc_hidden_def.
31580         (__fread_unlocked): Use libc_hidden_def.
31581         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31582         (ftello): Don't use libc_hidden_proto.
31583         (__ftello): Declare.  Use libc_hidden_proto.
31584         (fread_unlocked): Don't use libc_hidden_proto.
31585         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31586         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31587         and __ftello instead of fileno, fread_unlocked and ftello.
31589 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31591         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31592         GOT12.
31593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31594         Likewise.
31595         (_dl_start_user): Likewise.
31596         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31598 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31599             Siddhesh Poyarekar  <siddhesh@redhat.com>
31601         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31602         Move argv and envp down instead of moving argc up.
31603         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31605 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31607         [BZ #17506]
31608         * test-skeleton.c (main): Return successful if one of
31609         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31610         * string/tst-strcoll-overflow.c: Define expected status.
31612 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31614         [BZ #17475]
31615         * locale/iso-639.def: Define Bhili and Tulu language codes.
31617 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31619         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31621 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31623         [BZ #17555]
31624         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31626 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31628         * configure.ac: Updated check of minimal required version to
31629         2.22.
31630         * manual/install.texi (Tools for Compilation): Updated version
31631         number.
31632         * configure: Regenerated.
31633         * INSTALL: Likewise.
31635 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31637         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31638         __tls_get_addr.
31640 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31642         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31643         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31644         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31645         libc_hidden_weak.
31646         (waitpid): Define as alias of __waitpid.
31647         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31648         __waitpid.
31649         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31650         libc_hidden_weak.
31651         (waitpid): Define as alias of __waitpid.
31652         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31653         __libc_waitpid alias.
31654         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31655         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31656         Likewise.
31657         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31658         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31659         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31660         alias.
31661         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31662         __waitpid.
31663         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31664         libc_hidden_weak.
31665         (waitpid): Define as alias of __waitpid.
31667 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31669         * manual/llio.texi: Add comment that write safety has been
31670         fixed in Linux.
31672         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31673         (localplt-build-dso): Add elf/ld.so.
31674         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31675         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31676         and free for ld.so.
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31678         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31680         Likewise.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31682         Likewise.
31683         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31684         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31685         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31686         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31687         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31688         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31689         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31690         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31691         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31692         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31693         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31695 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31697         [BZ #14132]
31698         * include/libc-symbols.h (INTUSE): Remove macro.
31699         (INTDEF): Likewise.
31700         (INTVARDEF): Likewise.
31701         (_INTVARDEF): Likewise.
31702         (INTDEF2): Likewise.
31703         (INTVARDEF2): Likewise.
31704         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31705         rtld_hidden_def instead of INTVARDEF.
31706         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31707         (_dl_starting_up_internal): Remove declaration.
31708         (_dl_starting_up): Use rtld_hidden_proto.
31709         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31710         declaration.
31711         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31712         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31713         _dl_starting_up.
31714         * elf/dl-writev.h (_dl_writev): Likewise.
31715         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31716         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31717         _dl_starting_up_internal.
31719 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31721         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31722         test-skeleton.c.
31724 2014-11-05  Will Newton  <will.newton@linaro.org>
31726         * benchtests/Makefile: (bench-malloc): Add malloc thread
31727         scalability benchmark.
31728         * benchtests/bench-malloc-threads.c: New file.
31730 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31732         * sysdeps/aarch64/strchrnul.S: New file.
31734 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31736         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31737         definition.
31738         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31739         Likwise.
31740         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31741         Likewise.
31742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31743         Likewise.
31744         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31745         Likewise.
31746         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31747         Likewise.
31749 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31751         * catgets/test-gencat.c: Use test-skeleton.c.
31752         * catgets/tst-catgets.c: Likewise.
31753         * csu/tst-empty.c: Likewise.
31754         * elf/tst-audit2.c: Likewise.
31755         * elf/tst-global1.c: Likewise.
31756         * elf/tst-pathopt.c: Likewise.
31757         * elf/tst-piemod1.c: Likewise.
31758         * elf/tst-tls10.c: Likewise.
31759         * elf/tst-tls11.c: Likewise.
31760         * elf/tst-tls12.c: Likewise.
31761         * gnulib/tst-gcc.c: Likewise.
31762         * iconvdata/tst-e2big.c: Likewise.
31763         * iconvdata/tst-loading.c: Likewise.
31764         * iconv/tst-iconv1.c: Likewise.
31765         * iconv/tst-iconv2.c: Likewise.
31766         * inet/test-inet6_opt.c: Likewise.
31767         * inet/tst-gethnm.c: Likewise.
31768         * inet/tst-network.c: Likewise.
31769         * inet/tst-ntoa.c: Likewise.
31770         * intl/tst-codeset.c: Likewise.
31771         * intl/tst-gettext2.c: Likewise.
31772         * intl/tst-gettext3.c: Likewise.
31773         * intl/tst-ngettext.c: Likewise.
31774         * intl/tst-translit.c: Likewise.
31775         * io/test-stat.c: Likewise.
31776         * libio/test-fmemopen.c: Likewise.
31777         * libio/tst-freopen.c: Likewise.
31778         * libio/tst-sscanf.c: Likewise.
31779         * libio/tst-ungetwc1.c: Likewise.
31780         * libio/tst-ungetwc2.c: Likewise.
31781         * libio/tst-widetext.c: Likewise.
31782         * localedata/tst-ctype.c: Likewise.
31783         * localedata/tst-digits.c: Likewise.
31784         * localedata/tst-leaks.c: Likewise.
31785         * localedata/tst-mbswcs1.c: Likewise.
31786         * localedata/tst-mbswcs2.c: Likewise.
31787         * localedata/tst-mbswcs3.c: Likewise.
31788         * localedata/tst-mbswcs4.c: Likewise.
31789         * localedata/tst-mbswcs5.c: Likewise.
31790         * localedata/tst-setlocale.c: Likewise.
31791         * localedata/tst-trans.c: Likewise.
31792         * localedata/tst-wctype.c: Likewise.
31793         * localedata/tst-xlocale1.c: Likewise.
31794         * login/tst-grantpt.c: Likewise.
31795         * malloc/tst-calloc.c: Likewise.
31796         * malloc/tst-malloc.c: Likewise.
31797         * malloc/tst-mallocstate.c: Likewise.
31798         * malloc/tst-mcheck.c: Likewise.
31799         * malloc/tst-mtrace.c: Likewise.
31800         * malloc/tst-obstack.c: Likewise.
31801         * math/atest-exp2.c: Likewise.
31802         * math/atest-exp.c: Likewise.
31803         * math/atest-sincos.c: Likewise.
31804         * math/test-matherr.c: Likewise.
31805         * math/test-misc.c: Likewise.
31806         * math/test-powl.c: Likewise.
31807         * math/tst-definitions.c: Likewise.
31808         * misc/tst-dirname.c: Likewise.
31809         * misc/tst-efgcvt.c: Likewise.
31810         * misc/tst-fdset.c: Likewise.
31811         * misc/tst-hsearch.c: Likewise.
31812         * misc/tst-mntent2.c: Likewise.
31813         * nptl/tst-sem7.c: Likewise.
31814         * nptl/tst-sem8.c: Likewise.
31815         * nptl/tst-sem9.c: Likewise.
31816         * nss/test-netdb.c: Likewise.
31817         * posix/tst-fnmatch.c: Likewise.
31818         * posix/tst-getlogin.c: Likewise.
31819         * posix/tst-gnuglob.c: Likewise.
31820         * posix/tst-mmap.c: Likewise.
31821         * pwd/tst-getpw.c: Likewise.
31822         * resolv/tst-inet_ntop.c: Likewise.
31823         * rt/tst-timer.c: Likewise.
31824         * stdio-common/test-fseek.c: Likewise.
31825         * stdio-common/test-popen.c: Likewise.
31826         * stdio-common/test-vfprintf.c: Likewise.
31827         * stdio-common/tst-cookie.c: Likewise.
31828         * stdio-common/tst-fileno.c: Likewise.
31829         * stdio-common/tst-gets.c: Likewise.
31830         * stdio-common/tst-obprintf.c: Likewise.
31831         * stdio-common/tst-perror.c: Likewise.
31832         * stdio-common/tst-sprintf2.c: Likewise.
31833         * stdio-common/tst-sprintf3.c: Likewise.
31834         * stdio-common/tst-sprintf.c: Likewise.
31835         * stdio-common/tst-swprintf.c: Likewise.
31836         * stdio-common/tst-tmpnam.c: Likewise.
31837         * stdio-common/tst-unbputc.c: Likewise.
31838         * stdio-common/tst-wc-printf.c: Likewise.
31839         * stdlib/tst-environ.c: Likewise.
31840         * stdlib/tst-fmtmsg.c: Likewise.
31841         * stdlib/tst-limits.c: Likewise.
31842         * stdlib/tst-rand48-2.c: Likewise.
31843         * stdlib/tst-rand48.c: Likewise.
31844         * stdlib/tst-random2.c: Likewise.
31845         * stdlib/tst-random.c: Likewise.
31846         * stdlib/tst-strtol.c: Likewise.
31847         * stdlib/tst-strtoll.c: Likewise.
31848         * stdlib/tst-tls-atexit.c: Likewise.
31849         * stdlib/tst-xpg-basename.c: Likewise.
31850         * string/test-ffs.c: Likewise.
31851         * string/tst-bswap.c: Likewise.
31852         * string/tst-inlcall.c: Likewise.
31853         * string/tst-strtok.c: Likewise.
31854         * string/tst-strxfrm.c: Likewise.
31855         * sysdeps/x86_64/tst-audit10.c: Likewise.
31856         * sysdeps/x86_64/tst-audit3.c: Likewise.
31857         * sysdeps/x86_64/tst-audit4.c: Likewise.
31858         * sysdeps/x86_64/tst-audit5.c: Likewise.
31859         * time/tst-ftime_l.c: Likewise.
31860         * time/tst-getdate.c: Likewise.
31861         * time/tst-mktime3.c: Likewise.
31862         * time/tst-mktime.c: Likewise.
31863         * time/tst-posixtz.c: Likewise.
31864         * time/tst-strptime2.c: Likewise.
31865         * time/tst-strptime3.c: Likewise.
31866         * wcsmbs/tst-btowc.c: Likewise.
31867         * wcsmbs/tst-mbrtowc.c: Likewise.
31868         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31869         * wcsmbs/tst-wchar-h.c: Likewise.
31870         * wcsmbs/tst-wcpncpy.c: Likewise.
31871         * wcsmbs/tst-wcrtomb.c: Likewise.
31872         * wcsmbs/tst-wcsnlen.c: Likewise.
31873         * wcsmbs/tst-wcstof.c: Likewise.
31875 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31877         [BZ #14132]
31878         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31879         INTDEF.
31880         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31881         declaration.
31882         (_dl_mcount): Use rtld_hidden_proto.
31883         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31884         _dl_mcount.
31885         * elf/rtld.c (_rtld_global_ro): Likewise.
31887         [BZ #14132]
31888         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31889         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31890         of _dl_init_internal.
31891         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31892         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31893         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31894         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31895         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31896         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31897         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31898         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31899         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31900         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31901         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31902         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31903         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31904         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31905         * sysdeps/tile/dl-start.S (_start): Likewise.
31906         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31907         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31909         [BZ #14132]
31910         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31911         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31912         (rtld_progname): Make macro definition unconditional.
31913         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31914         INTDEF.
31915         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31916         (dl_main): Likewise.
31917         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31918         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31919         instead of _dl_argv_internal.
31920         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31921         __GI__dl_argv instead of INTUSE(_dl_argv).
31922         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31923         __GI__dl_argv instead of _dl_argv_internal.
31925         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31926         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31927         macro.
31928         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31929         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31930         New macro.
31931         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31932         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31933         macro.
31934         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31935         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31937 2014-11-04  Andreas Schwab  <schwab@suse.de>
31939         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31941 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31943         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31944         mtvsrd instruction in binary form.
31946 2014-11-03  Andreas Schwab  <schwab@suse.de>
31948         [BZ #17522]
31949         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31950         for less than MB_LEN_MAX use a local buffer of that size.
31951         * libio/tst-fputws.c: New file.
31952         * libio/Makefile (tests): Add tst-fputws.
31954 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31956         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31957         the size of the fpu_fr.fpu_dregs[] array.
31959 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31961         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31962         (__nanosleep): Do not define as alias.
31963         (nanosleep): Define as alias of __nanosleep.
31964         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31965         __libc_nanosleep name.
31967 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31969         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31970         install.texi in comment.
31972 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31974         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31975         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31976         ... add here and use lwsync or sync ...
31977         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31978         ... and add here using lwsync.
31980 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31982         * elf/dl-machine-reject-phdr.h: New file.
31983         * elf/dl-load.c: #include that.
31984         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31985         if that returned true.
31987 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31989         [BZ #17496]
31990         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31991         gen-as-const-headers chunk.  Add a big scare comment after the last
31992         safe place to touch before-compile.
31994 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31996         * manual/install.texi (Tools for Compilation): Update autoconf
31997         version requirements.
31998         * INSTALL: Regenerated.
32000         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32001         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32002         (__libc_pselect): Likewise.
32004         [BZ #14138]
32005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32010 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32012         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32013         correct barrier instruction.
32014         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32015         Likewise.
32016         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32017         Likewise.
32019 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32021         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32022         after defining inlines.  Instead, just use parens to defeat macro
32023         expansion of __isctype in its declaration.
32025 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32027         * include/sys/uio.h (__libc_readv): Remove declaration.
32028         (__libc_writev): Likewise.
32029         * misc/readv.c (__libc_readv): Rename to __readv.
32030         (__readv): Do not define as alias.
32031         (readv): Define as alias of __readv.
32032         * misc/writev.c (__libc_writev): Rename to __writev.
32033         (__writev): Do not define as alias.
32034         (writev): Define as alias of __writev.
32035         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32036         (__readv): Do not define as alias.
32037         (readv): Define unconditionally as alias of __readv.
32038         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32039         (__writev): Do not define as alias.
32040         (writev): Define unconditionally as alias of __writev.
32041         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32042         name.
32043         (writev): Do not define __libc_writev name.
32045 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32047         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32048         (convert_charseq): New function, broken out of ...
32049         (use_from_charmap): ... here.  Call it.
32050         (use_to_charmap): Use convert_charseq and free instead of duplicating
32051         its code with a variable-length stack struct.
32053 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32055         * include/fcntl.h (__libc_creat): Remove declaration.
32056         * io/creat.c (__libc_creat): Rename to creat.
32057         (creat): Do not define as alias.
32058         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32059         of creat instead of __libc_creat.
32060         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32061         to creat.
32062         (creat): Do not define as alias.
32063         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32064         __libc_creat.
32065         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32066         __libc_creat name.
32067         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32068         Likewise.
32070 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32072         * manual/llio.texi: Add comments discussing why write() may be
32073         considered MT-unsafe on Linux.
32075 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32077         * dl-load.c (local_strdup): Remove.
32078         (expand_dynamic_string_token): Use __strdup.
32079         (decompose_rpath): Likewise.
32080         (_dl_map_object): Likewise.
32082 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32084         [BZ #14132]
32085         * sysdeps/generic/unwind-dw2-fde.c
32086         (__register_frame_info_bases_internal): Do not declare.
32087         (__register_frame_info_table_bases_internal): Likewise.
32088         (__deregister_frame_info_bases_internal): Likewise.
32089         (__register_frame_info_bases): Declare and use hidden_proto before
32090         definition.  Use hidden_def instead of INTDEF.
32091         (__register_frame_info_table_bases): Likewise.
32092         (__deregister_frame_info_bases): Likewise.
32093         (__register_frame_info): Do not use INTUSE.
32094         (__register_frame): Likewise.
32095         (__register_frame_info_table): Likewise.
32096         (__register_frame_table): Likewise.
32097         (__deregister_frame_info): Likewise.
32098         (__deregister_frame): Likewise.
32100 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32103         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32104         not undefine.
32105         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32106         Likewise.
32107         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32108         Likewise.
32110 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32112         [BZ #14138]
32113         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32114         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32115         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32116         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32117         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32118         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32119         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32120         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32121         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32122         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32123         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32124         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32125         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32126         syscall.
32127         (setfsuid): Likewise.
32128         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32129         (setfsuid): Likewise.
32130         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32131         (setfsuid): Likewise.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32133         Likewise.
32134         (setfsuid): Likewise.
32135         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32136         (setfsuid): Likewise.
32137         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32138         Likewise.
32139         (setfsuid): Likewise.
32141 2014-10-27  Andreas Schwab  <schwab@suse.de>
32143         [BZ #17501]
32144         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32145         check for Slow_SSE4_2 feature bit.
32146         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32147         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32148         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32149         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32151 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32153         * configure.ac: Validate compiler version with a empirical test of
32154         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32155         $CC -v output.
32156         * configure: Regenerated.
32158         * inet/htons.c (htons): Prototypify.
32159         * inet/htonl.c (htonl): Likewise.
32161 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32163         * string/strncat.c (strncat): Improve performance by using strlen.
32165 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32167         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32169 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32171         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32172         Call libc_fetestexcept_aarch64.
32174 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32176         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32177         Call libc_feholdexcept_aarch64.
32179 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32181         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32182         Call get_rounding_mode.
32184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32186         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32187         Simplify logic.
32189 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32191         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32192         Simplify logic.
32194 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32196         [BZ #14138]
32197         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32198         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32199         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32200         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32201         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32202         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32203         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32204         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32205         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32206         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32207         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32208         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32209         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32210         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32211         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32212         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32213         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32214         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32215         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32216         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32217         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32218         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32219         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32220         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32221         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32222         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32223         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32224         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32225         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32226         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32227         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32228         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32229         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32230         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32231         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32232         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32233         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32234         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32235         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32236         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32237         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32238         syscall.
32239         (geteuid): Likewise.
32240         (getgid): Likewise.
32241         (getuid): Likewise.
32242         (getresgid): Likewise.
32243         (getresuid): Likewise.
32244         (getgroups): Likewise.
32245         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32246         (geteuid): Likewise.
32247         (getgid): Likewise.
32248         (getuid): Likewise.
32249         (getresgid): Likewise.
32250         (getresuid): Likewise.
32251         (getgroups): Likewise.
32252         * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
32260         Likewise.
32261         (geteuid): Likewise.
32262         (getgid): Likewise.
32263         (getuid): Likewise.
32264         (getresgid): Likewise.
32265         (getresuid): Likewise.
32266         (getgroups): Likewise.
32267         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32268         (geteuid): Likewise.
32269         (getgid): Likewise.
32270         (getuid): Likewise.
32271         (getresgid): Likewise.
32272         (getresuid): Likewise.
32273         (getgroups): Likewise.
32274         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32275         Likewise.
32276         (geteuid): Likewise.
32277         (getgid): Likewise.
32278         (getuid): Likewise.
32279         (getgroups): Likewise.
32281         [BZ #14138]
32282         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32283         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32284         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32285         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32286         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32287         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32288         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32289         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32290         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32291         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32292         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32293         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32294         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32295         __chown.
32296         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32297         (lchown): Likewise.
32298         (fchown): Likewise.
32299         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32300         Likewise.
32301         (lchown): Likewise.
32302         (fchown): Likewise.
32303         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32304         (lchown): Likewise.
32305         (fchown): Likewise.
32306         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32307         Likewise.
32308         (lchown): Likewise.
32309         (fchown): Likewise.
32311 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32313         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32314         Simplify logic.
32316 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32318         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32319         Cleanup logic.
32321 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32323         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32324         Remove unused include.
32326 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32328         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32329         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32330         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32331         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32333 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32334             Helge Deller <deller@gmx.de>
32336         [BZ #17508]
32337         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32338         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32339         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32341 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32343         [BZ #14132]
32344         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32345         Remove macro definition.
32346         (__ashrdi3_v_glibc20): Likewise.
32347         (__lshrdi3_v_glibc20): Likewise.
32348         (__cmpdi2_v_glibc20): Likewise.
32349         (__ucmpdi2_v_glibc20): Likewise.
32350         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32351         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32352         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32353         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32354         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32355         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32357 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32359         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32360         old GNU extension [0] syntax.
32361         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32362         alloca rather than an array member with variable length.
32363         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32364         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32365         (parse_opt): ... here.  Likewise use alloca there.
32366         Validate the -i argument before checking for rootness.
32367         (send_shutdown): New function, broken out of ...
32368         (parse_opt): ... here.
32370 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32372         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32373         macro to get at the _rt_local_ro field.
32374         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32375         ([PIC] case) or _dl_hwcap ([!PIC] case).
32376         * sysdeps/arm/setjmp.S: Likewise.
32378         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32379         * sysdeps/arm/configure.ac: New check to define it.
32380         * sysdeps/arm/configure: Regenerated.
32381         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32382         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32383         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32384         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32385         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32386         Use move/movt pair instead of a load.
32387         (LDST_GLOBAL): Macro removed.
32388         (LDR_GLOBAL): New macro replaces it.
32389         (LDR_HIDDEN): New macro.
32390         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32391         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32393         * setjmp/tst-setjmp-static.c: New file.
32394         * setjmp/Makefile (tests): Add it.
32395         (tests-static): New variable.
32397 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32399         [BZ #17485]
32400         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32402 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32404         [BZ #14132]
32405         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32407 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32409         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32411 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32413         * io/fts.c (dirent_not_directory): New function.
32414         (fts_build): Call it.
32416 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32418         * nptl/version.c (__nptl_main): Use normal __write rather than
32419         INTERNAL_SYSCALL.
32420         (banner): Update copyright years.
32422         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32423         gettimeofday.
32424         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32425         * nptl/pthread_cond_timedwait.c: Likewise.
32426         * nptl/pthread_mutex_timedlock.c: Likewise.
32427         * nptl/sem_timedwait.c: Likewise.
32429         * sysdeps/nptl/bits/libc-lock.h
32430         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32431         (__libc_lock_init_recursive): Return void, not 0.
32432         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32433         (__libc_rwlock_init): Likewise.
32434         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32436 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32438         [BZ #15215]
32439         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32440         (__pthread_once_slow): ... here.
32441         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32442         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32444 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32446         [BZ #15215]
32447         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32448         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32449         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32450         * nptl/pthread_once.c (__pthread_once): Likewise.
32451         Update comments.
32453 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32455         [BZ #14138]
32456         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32457         name.
32458         (writev): Use __libc_writev as strong name.
32459         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32460         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32462 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32464         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32466         * sysdeps/i386/nptl/tls.h
32467         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32468         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32469         New macros.
32470         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32471         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32472         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32473         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32474         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32475         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32477         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32478         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32479         on [__NR_futex].
32480         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32481         broken out of ...
32482         (__pthread_mutex_init): ... here.  Call it.
32483         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32484         Conditionalize PI cases on [__NR_futex].
32485         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32486         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32487         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32489         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32490         conditional on [SIGSETXID].
32491         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32492         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32493         is defined.  Likewise for SIGSETXID.
32494         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32495         Conditionalize definitions on [SIGSETXID].
32496         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32497         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32498         unblocking on [SIGCANCEL].
32500         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32501         [__NR_set_robust_list].
32503 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32505         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32506         (do_compare): Likewise.
32508 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32510         [BZ #15884]
32511         * string/strcoll_l.c: Don't include stdio.h.
32512         (coll_seq): Remove members idxarr and rulearr.
32513         (get_next_seq_cached): Remove function.
32514         (get_next_seq): Likewise.
32515         (get_next_seq_nocache): Rename to get_next_seq.
32516         (do_compare): Remove function.
32517         (do_compare_nocache): Rename to do_compare.
32518         (STRCOLL): Remove weight and rules cache.
32520 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32522         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32523         * sysdeps/arm/sfp-machine.h: ... to here.
32524         * sysdeps/arm/Implies: Remove arm/soft-fp.
32526 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32528         * conform/data/sys/utsname.h-data (*_t): Allow.
32529         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32530         [POSIX] (WEXITED): Do not expect constant.
32531         [POSIX] (WSTOPPED): Likewise.
32532         [POSIX] (WNOHANG): Likewise.
32533         [POSIX] (WNOWAIT): Likewise.
32534         [POSIX] (siginfo_t): Do not expect type or elements.
32535         [POSIX] (pid_t): Do not expect type.
32536         [POSIX] (signal.h): Do not allow header.
32537         [POSIX] (sys/resource.h): Likewise.
32538         [POSIX] (si_*): Do not allow pattern.
32539         [POSIX] (W*): Likewise.
32540         [POSIX] (P_*): Likewise.
32541         [POSIX] (BUS_*): Likewise.
32542         [POSIX] (CLD_*): Likewise.
32543         [POSIX] (FPE_*): Likewise.
32544         [POSIX] (ILL_*): Likewise.
32545         [POSIX] (POLL_*): Likewise.
32546         [POSIX] (SEGV_*): Likewise.
32547         [POSIX] (SI_*): Likewise.
32548         [POSIX] (TRAP_*): Likewise.
32549         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32550         variable.
32552 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32554         [BZ #12926]
32555         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32556         infinite loop when __recvmsg returns 0.
32558 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32560         * CANCEL-FCT-WAIVE: Remove file.
32561         * CANCEL-FILE-WAIVE: Likewise.
32563         [BZ #14132]
32564         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32565         instead of INTVARDEF.
32566         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32567         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32568         rtld_hidden_data_def instead of INTVARDEF.
32569         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32570         * elf/dl-deps.c (expand_dst): Likewise.
32571         * elf/dl-load.c (_dl_dst_count): Likewise.
32572         (_dl_dst_substitute): Likewise.
32573         (decompose_rpath): Likewise.
32574         (_dl_init_paths): Likewise.
32575         (open_path): Likewise.
32576         (_dl_map_object): Likewise.
32577         * elf/rtld.c (dl_main): Likewise.
32578         (process_dl_audit): Likewise.
32579         (process_envvars): Likewise.
32580         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32581         Remove declaration.
32582         (__libc_enable_secure): Use rtld_hidden_proto.
32584 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32586         * elf/dl-load.c
32587         (add_path): New function broken out of _dl_rtld_di_serinfo.
32588         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32590 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32592         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32593         parentheses around macro arguments.
32594         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32595         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32596         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32598         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32600         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32604         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32605         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32606         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32607         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32608         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32609         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32610         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32613         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32622         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32623         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32624         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32625         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32626         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32627         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32628         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32629         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32630         Likewise.
32631         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32633         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32635         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32638         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32639         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32640         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32641         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32642         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32643         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32644         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32645         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32646         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32647         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32648         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32649         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32650         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32652         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32653         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32654         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32655         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32656         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32657         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32658         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32659         (_FP_FRAC_SRS_1): Likewise.
32660         (_FP_FRAC_CLZ_1): Likewise.
32661         (_FP_MUL_MEAT_1_imm): Likewise.
32662         (_FP_MUL_MEAT_1_wide): Likewise.
32663         (_FP_MUL_MEAT_1_hard): Likewise.
32664         (_FP_SQRT_MEAT_1): Likewise.
32665         (_FP_FRAC_ASSEMBLE_1): Likewise.
32666         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32667         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32668         (__FP_CLZ_2): Likewise.
32669         (_FP_MUL_MEAT_2_wide): Likewise.
32670         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32671         (_FP_MUL_MEAT_2_gmp): Likewise.
32672         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32673         (_FP_SQRT_MEAT_2): Likewise.
32674         (_FP_FRAC_ASSEMBLE_2): Likewise.
32675         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32676         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32677         (_FP_FRAC_CLZ_4): Likewise.
32678         (_FP_MUL_MEAT_4_wide): Likewise.
32679         (_FP_MUL_MEAT_4_gmp): Likewise.
32680         (_FP_SQRT_MEAT_4): Likewise.
32681         (_FP_FRAC_ASSEMBLE_4): Likewise.
32682         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32683         * soft-fp/op-common.h (_FP_CMP): Likewise.
32684         (_FP_CMP_EQ): Likewise.
32685         (_FP_CMP_UNORD): Likewise.
32686         (_FP_TO_INT): Likewise.
32687         (_FP_FROM_INT): Likewise.
32688         [!__FP_CLZ] (__FP_CLZ): Likewise.
32689         (_FP_DIV_HELP_imm): Likewise.
32690         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32691         Likewise.
32692         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32693         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32694         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32695         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32696         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32697         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32702         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32703         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32704         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32705         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32706         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32707         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32708         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32710         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32711         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32712         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32713         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32719         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32720         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32721         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32722         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32723         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32724         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32725         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32726         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32727         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32728         (FP_UNPACK_RAW_SP): Likewise.
32729         (FP_PACK_RAW_S): Likewise.
32730         (FP_PACK_RAW_SP): Likewise.
32731         (FP_UNPACK_S): Likewise.
32732         (FP_UNPACK_SP): Likewise.
32733         (FP_UNPACK_SEMIRAW_S): Likewise.
32734         (FP_UNPACK_SEMIRAW_SP): Likewise.
32735         (FP_PACK_S): Likewise.
32736         (FP_PACK_SP): Likewise.
32737         (FP_PACK_SEMIRAW_S): Likewise.
32738         (FP_PACK_SEMIRAW_SP): Likewise.
32739         (_FP_SQRT_MEAT_S): Likewise.
32740         (FP_CMP_S): Likewise.
32741         (FP_CMP_EQ_S): Likewise.
32742         (FP_CMP_UNORD_S): Likewise.
32743         (FP_TO_INT_S): Likewise.
32744         (FP_FROM_INT_S): Likewise.
32746         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32748         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32749         (FP_EX_INVALID_IMZ): Likewise.
32750         (FP_EX_INVALID_IMZ_FMA): Likewise.
32751         (FP_EX_INVALID_ISI): Likewise.
32752         (FP_EX_INVALID_ZDZ): Likewise.
32753         (FP_EX_INVALID_IDI): Likewise.
32754         (FP_EX_INVALID_SQRT): Likewise.
32755         (FP_EX_INVALID_CVI): Likewise.
32756         (FP_EX_INVALID_VC): Likewise.
32757         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32758         "invalid" exceptions.
32759         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32760         (_FP_ADD_INTERNAL): Likewise.
32761         (_FP_MUL): Likewise.
32762         (_FP_FMA): Likewise.
32763         (_FP_DIV): Likewise.
32764         (_FP_CMP_CHECK_NAN): Likewise.
32765         (_FP_SQRT): Likewise.
32766         (_FP_TO_INT): Likewise.
32767         (FP_EXTEND): Likewise.
32769 2014-10-09  Allan McRae  <allan@archlinux.org>
32771         * po/fr.po: Update French translation from translation project.
32773 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32775         [BZ #14132]
32776         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32777         of INTDEF.
32778         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32779         (__cxa_atexit): Use libc_hidden_proto.
32780         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32782         [BZ #14132]
32783         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32784         declaration.
32785         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32786         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32787         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32788         [!_ISOMAC] (__iswctype_internal): Likewise.
32789         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32790         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32791         alias.
32792         (fcntl): Remove __fcntl_internal alias.
32793         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32794         __connect_internal alias.
32795         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32796         Likewise.
32798         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32799         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32800         FP_DENORM_ZERO.
32801         (_FP_CHECK_FLUSH_ZERO): New macro.
32802         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32803         (_FP_CMP): Likewise.
32804         (_FP_CMP_EQ): Likewise.
32805         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32806         FP_DENORM_ZERO.
32807         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32808         (FP_TRUNC): Likewise.
32810         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32811         treated as invalid conversion, not as normal exponent.
32813         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32814         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32815         (_FP_CMP_EQ): Likewise.
32816         (_FP_CMP_UNORD): Likewise.
32817         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32818         (FP_CMP_EQ_D): Likewise.
32819         (FP_CMP_UNORD_D): Likewise.
32820         * soft-fp/extended.h (FP_CMP_E): Likewise.
32821         (FP_CMP_EQ_E): Likewise.
32822         (FP_CMP_UNORD_E): Likewise.
32823         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32824         (FP_CMP_EQ_Q): Likewise.
32825         (FP_CMP_UNORD_Q): Likewise.
32826         * soft-fp/single.h (FP_CMP_S): Likewise.
32827         (FP_CMP_EQ_S): Likewise.
32828         (FP_CMP_UNORD_S): Likewise.
32829         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32830         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32831         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32832         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32833         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32834         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32835         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32836         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32837         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32838         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32839         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32840         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32841         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32842         to FP_CMP_Q.
32843         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32844         FP_CMP_Q.
32845         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32846         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32847         FP_CMP_EQ_Q.
32848         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32849         FP_CMP_Q.
32850         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32851         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32852         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32853         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32854         FP_CMP_EQ_Q.
32855         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32856         FP_CMP_Q.
32857         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32858         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32859         FP_CMP_EQ_Q.
32860         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32861         FP_CMP_Q.
32862         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32863         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32864         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32865         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32866         FP_CMP_EQ_Q.
32868         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32869         a subnormal result, set the underflow exception if trapping on
32870         underflow is enabled.
32871         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32872         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32873         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32874         redefine to 0.
32875         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32876         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32877         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32878         * soft-fp/extendxftf2.c (__extendxftf2): Use
32879         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32881         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32882         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32883         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32884         FP_HANDLE_EXCEPTIONS.
32885         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32886         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32887         FP_HANDLE_EXCEPTIONS.
32888         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32889         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32890         FP_HANDLE_EXCEPTIONS.
32891         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32892         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32893         FP_HANDLE_EXCEPTIONS.
32895 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32897         [BZ #14132]
32898         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32899         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32900         use INTUSE.
32901         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32902         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32903         Remove alias.
32904         (__adjtimex): Define using libc_hidden_ver.
32905         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32906         Remove declaration.
32907         (ntp_gettime): Call __adjtimex directly.
32908         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32909         Remove declaration.
32910         (ntp_gettimex): Call __adjtimex directly.
32911         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32912         __adjtimex_internal alias.
32914 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32916         [BZ #17460]
32917         * nscd/nscd.c (more_help): Rewrite list of tables collection
32918         using xstrdup and asprintf.
32920         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32922 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32923             Roland McGrath  <roland@hack.frob.com>
32925         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32926         (do_lookup_unique): ... local function 'enter' here; update callers.
32928 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32930         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32931         compat_symbol calls on [SHARED].
32932         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32933         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32934         Remove.
32935         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32936         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32937         (oldsetrlimit): Remove.
32938         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32940         (lchown): New syscall entry.
32941         (oldsetrlimit): Remove.
32942         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32944         (oldsetrlimit): Remove.
32945         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32947         [BZ #14138]
32948         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32949         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32950         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32951         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32952         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32953         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32954         (fchown): Likewise.
32955         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32956         (fchown): Likewise.
32957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32958         Likewise.
32960 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32962         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32963         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32964         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32965         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32966         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32967         Likewise.
32968         (__old_sem_post): Likewise.
32970 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32972         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32973         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32974         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32975         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32976         Use INLINE_VSYSCALL macro.
32977         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32978         __vdso_clock_gettime.
32979         * sysdeps/unix/sysv/linux/tile/init-first.c
32980         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32981         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32982         __vdso_clock_gettime.
32984         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32985         to set up frame more cleanly.
32987         * sysdeps/tile/memcmp.c: New file.
32989         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32991         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32992         * sysdeps/tile/tilegx/strcasestr.c: New file.
32993         * sysdeps/tile/tilegx/strnlen.c: New file.
32994         * sysdeps/tile/tilegx/strstr.c: New file.
32996         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32998 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33000         * nptl/tst-setuid3.c: Write errors to stdout.
33002 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33004         * elf/dl-deps.c
33005         (preload): New functions broken out of _dl_map_object_deps.
33006         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33008 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33010         [BZ #14138]
33011         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33012         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33014 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33016         * sysdeps/mips/strcmp.S: New.
33018 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33020         [BZ #14138]
33021         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33022         (linkat): Likewise.
33023         (mkdirat): Likewise.
33024         (readlinkat): Likewise.
33025         (renameat): Likewise.
33026         (symlinkat): Likewise.
33027         (unlinkat): Likewise.
33028         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33029         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33030         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33031         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33032         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33033         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33034         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33036 2014-09-30  Will Newton  <will.newton@linaro.org>
33038         * math/math.h: Define long double math functions if
33039         _LIBC_TEST is defined.
33040         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33042         * localedata/Makefile: Move assignment to tests-special
33043         into an ifdef testing run-built-tests.
33044         * timezone/Makefile: Likewise.
33046 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33048         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33049         with $(BASH) not $(SHELL).
33051 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33052             Matthew LeGendre  <legendre1@llnl.gov>
33054         [BZ #17411]
33055         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33056         l_reloc_result.
33058 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33060         * stdio-common/printf_fp.c
33061         (hack_digit): New function, broken out of ...
33062         (__printf_fp): ... local function here.  Update call sites.
33063         hack_digit now takes an additional parameter that is a pointer
33064         to a struct of the referenced locals.  Those locals moved inside
33065         the struct and references updated.
33067 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33069         * aclocal.m4: Require autoconf 2.69.
33070         * configure: Regenerated.
33071         * sysdeps/aarch64/configure: Likewise.
33072         * sysdeps/alpha/configure: Likewise.
33073         * sysdeps/arm/armv7/configure: Likewise.
33074         * sysdeps/arm/configure: Likewise.
33075         * sysdeps/ia64/configure: Likewise.
33076         * sysdeps/mach/configure: Likewise.
33077         * sysdeps/mips/configure: Likewise.
33078         * sysdeps/s390/configure: Likewise.
33079         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33082         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33083         file.
33084         * sysdeps/ia64/configure.ac: Likewise.
33086 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33089         specify symbol version for ld.so.  Do not include entry for
33090         libpthread.
33091         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33092         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33093         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33095         [BZ #14171]
33096         * Makeconfig [$(build-shared) = yes]
33097         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33098         makefiles.
33099         [$(build-shared) = yes && $(soversions.mk-done) = t]
33100         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33101         [$(build-shared) = yes && $(soversions.mk-done) = t]
33102         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33103         to Makerules.
33104         [$(build-shared) = yes && $(soversions.mk-done) = t]
33105         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33106         here.
33107         [$(build-shared) = yes && $(soversions.mk-done) = t]
33108         (common-generated): Don't append gnu/lib-names.h and
33109         gnu/lib-names.stmp here.
33110         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33111         (lib-names-h-abi): New variable.
33112         [$(build-shared) = yes && $(soversions.mk-done) = t]
33113         (lib-names-stmp-abi): Likewise.
33114         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33115         abi-variants] (before-compile): Append
33116         $(common-objpfx)$(lib-names-h-abi).
33117         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33118         abi-variants] (common-generated): Append gnu/lib-names.h.
33119         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33120         abi-variants] (install-others-nosubdir): Depend on
33121         $(inst_includedir)/$(lib-names-h-abi).
33122         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33123         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33124         [$(build-shared) = yes && $(soversions.mk-done) = t]
33125         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33126         [$(build-shared) = yes && $(soversions.mk-done) = t]
33127         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33128         [$(build-shared) = yes && $(soversions.mk-done) = t]
33129         (common-generated): Append $(lib-names-h-abi) and
33130         $(lib-names-stmp-abi).
33131         * scripts/lib-names.awk: Do not handle multi being set.
33132         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33133         Remove variable.
33134         (abi-lp64_be-ld-soname): Likewise.
33135         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33136         Likewise.
33137         (abi-hard-ld-soname): Likewise.
33138         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33139         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33140         Remove variable.
33141         (abi-o32_hard-ld-soname): Likewise.
33142         (abi-o32_soft_2008-ld-soname): Likewise.
33143         (abi-o32_hard_2008-ld-soname): Likewise.
33144         (abi-n32_soft-ld-soname): Likewise.
33145         (abi-n32_hard-ld-soname): Likewise.
33146         (abi-n32_soft_2008-ld-soname): Likewise.
33147         (abi-n32_hard_2008-ld-soname): Likewise.
33148         (abi-n64_soft-ld-soname): Likewise.
33149         (abi-n64_hard-ld-soname): Likewise.
33150         (abi-n64_soft_2008-ld-soname): Likewise.
33151         (abi-n64_hard_2008-ld-soname): Likewise.
33152         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33153         Likewise.
33154         (abi-64-v2-ld-soname): Likewise.
33155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33156         ld.so entries.
33157         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33158         variable.
33159         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33160         entry.
33161         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33162         variable.
33163         (abi-64-ld-soname): Likewise.
33164         (abi-x32-ld-soname): Likewise.
33165         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33166         entry.
33167         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33169 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33171         [BZ #14138]
33172         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33173         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33174         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33175         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33176         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33177         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33178         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33179         syscall entry for GLIBC_2.2 symbol version.
33180         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33181         Likewise.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33183         (setrlimit): Likewise.
33184         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33185         Likewise.
33187 2014-09-23  Will Newton  <will.newton@linaro.org>
33189         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33190         _LINUX_ARM_SYSDEP_H include guard too.
33191         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33192         define.
33194 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33196         * sysdeps/unix/sysv/linux/eventfd.c:
33197         Make first argument unsigned.
33198         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33199         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33201 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33203         [BZ #16852]
33204         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33205         * socket/sys/socket.h: Likewise.
33206         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33208 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33210         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33212 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33214         * time/tst-ftime.c: New test.
33215         * time/Makefile (tests): Add tst-ftime.
33217 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33219         * soft-fp/extended.h: Fix comment formatting.
33220         * soft-fp/op-1.h: Likewise.
33221         * soft-fp/op-2.h: Likewise.
33222         * soft-fp/op-4.h: Likewise.
33223         * soft-fp/op-8.h: Likewise.
33224         * soft-fp/op-common.h: Likewise.
33225         * soft-fp/soft-fp.h: Likewise.
33227         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33229 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33231         [BZ #6652]
33232         * Makeconfig (soversions-default-setname): Remove variable.
33233         ($(common-objpfx)soversions.i): Don't pass default_setname to
33234         soversions.awk.
33235         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33236         oldest_abi to abi-versions.awk.
33237         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33238         * config.make.in (oldest-abi): Remove variable.
33239         * configure.ac (--enable-oldest-abi): Remove configure option.
33240         * configure: Regenerated.
33241         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33242         text.
33243         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33244         * scripts/soversions.awk: Do not handle default_setname variable.
33245         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33246         variable.
33247         * sysdeps/mach/hurd/configure: Regenerated.
33248         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33249         variable.
33250         * sysdeps/unix/sysv/linux/configure: Regenerated.
33252 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33254         * elf/Makefile (CFLAGS-interp.c): Remove.
33255         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33256         path string.
33257         * elf/interp.c: Include generated runtime-linker.h
33259         * Makerules (lib%.so): Don't include $(+interp) in
33260         prerequisites.
33261         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33262         * dlfcn/eval.c: Remove file.
33264         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33265         macros.
33267         [BZ #17266]
33268         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33269         4.2 and newer.
33271         [BZ #17370]
33272         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33274 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275             Jakub Jelinek  <jakub@redhat.com>
33277         [BZ #17266]
33278         * libio/stdio.h: Check definition of __fortify_function
33279         instead of __extern_always_inline to include bits/stdio2.h.
33280         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33281         check if __extern_always_inline is defined.
33282         [__USE_MISC || __USE_XOPEN]: Likewise.
33283         [__USE_ISOC99] Likewise.
33284         * misc/sys/cdefs.h (__fortify_function): Define only if
33285         __extern_always_inline is defined.
33286         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33287         __extern_always_inline and __extern_inline only for g++-4.3
33288         and newer or a compatible gcc.
33290 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33292         [BZ #17371]
33293         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33294         last change to handle zero prefix length.
33296 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33298         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33299         _SC_REGEX_VERSION.
33301         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33302         _POSIX_RAW_SOCKETS.
33304 2014-09-13  Allan McRae  <allan@archlinux.org>
33306         * po/ru.po: Update Russian translation from translation project.
33308 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33310         * locale/programs/locale.c (show_locale_vars): Inline local function
33311         into its sole call site.  Clean up some style nits.
33312         (print_item): New function, broken out of ...
33313         (show_info): ... local function here.  Clean up style nits.
33315         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33316         out of ...
33317         (set_class_defaults): ... local function set_default here.
33318         Define set_default as a macro locally to pass constant parameters.
33319         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33320         rather than a shared local.
33322         * stdlib/rpmatch.c (try): New function, broken out of ...
33323         (rpmatch): ... local function here.  Also, prototypify definition.
33325 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33327         * scripts/soversions.awk: Do not handle configuration names.
33328         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33329         vendor and os variables to soversions.awk.
33330         * configure.ac: Do not modify gnu-* host_os.
33331         * configure: Regenerated
33332         * shlib-versions: Remove first column with configuration names.
33333         * nptl/shlib-versions: Likewise.
33334         * nptl_db/shlib-versions: Likewise.
33335         * sysdeps/hppa/shlib-versions: Likewise.
33336         * sysdeps/m68k/shlib-versions: Likewise.
33337         * sysdeps/mach/hurd/shlib-versions: Likewise.
33338         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33339         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33340         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33341         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33342         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33343         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33344         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33345         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33347         Likewise.
33348         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33349         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33350         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33351         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33352         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33353         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33354         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33355         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33358         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33360         Regenerated.
33361         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33363         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33365         * shlib-versions: Remove OS-specific entries.  Moved to files in
33366         sysdeps.
33367         * sysdeps/mach/hurd/shlib-versions: New file.
33368         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33370         * nptl/shlib-versions: Remove architecture-specific entries.
33371         Moved to files in sysdeps.
33372         * shlib-versions: Likewise.
33373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33374         file.
33375         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33376         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33377         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33378         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33380         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33381         (UDP_NO_CHECK6_RX): Likewise.
33383 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33385         * sysdeps/posix/sysconf.c (__sysconf): Spell
33386         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33388 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33390         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33391         loading.
33392         * iconv/Versions (__gconv_transliterate): Export for use from
33393         gconv modules.
33394         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33395         (struct __gconv_trans_data, __gconv_trans_fct,
33396         __gconv_trans_context_fct, __gconv_trans_query_fct,
33397         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33398         definitions.
33399         (struct __gconv_step_data): Remove __trans member.
33400         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33401         longer hidden.  Remove unused trans_data argument.
33402         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33403         (__gconv_translit_find): Remove declaration.
33404         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33405         prototype.
33406         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33407         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33408         trans_data argument.  Add hidden definition.
33409         (__gconv_translit_find): Remove.
33410         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33411         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33412         * iconv/skeleton.c: Remove transliteration initialization.
33413         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33414         __gconv_step_data initialization.
33415         * libio/iofwide.c (__libio_translit_): Remove.
33416         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33417         * wcsmbs/btowc.c (__btowc): Likewise.
33418         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33419         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33420         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33421         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33422         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33423         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33424         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33425         * wcsmbs/wctob.c (wctob): Likewise.
33427 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33429         [BZ #16194]
33430         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33431         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33432         register usage.
33433         * sysdeps/x86/Makefile: Adjust.
33435 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33436             Roland McGrath  <roland@hack.frob.com>
33438         * locale/weight.h: Add include guard.
33439         (findidx): Make static rather than auto; take new parameters
33440         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33441         * locale/weightwc.h: Likewise.
33442         * posix/fnmatch_loop.c
33443         (FCT): Change type of EXTRA from int32_t to wint_t.
33444         Don't include either header inside the function.
33445         Call FINDIDX rather than findidx, and pass new arguments.
33446         #undef FINDIDX at the end of the file.
33447         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33448         FINDIDX before including fnmatch_loop.c for the non-wide version.
33449         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33450         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33451         for the wide version.
33452         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33453         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33454         Pass new arguments to findidx.
33455         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33456         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33457         Don't #include it inside the function.  Pass new arguments to findidx.
33458         * posix/regex_internal.h
33459         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33460         (re_string_elem_size_at): Don't #include it inside the function.
33461         Pass new arguments to findidx.
33462         * string/strcoll_l.c: #include WEIGHT_H at top level.
33463         (get_next_seq): Don't #include it inside the function.
33464         Pass new arguments to findidx.
33465         (get_next_seq_nocache): Likewise.
33466         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33467         (STRXFRM): Don't #include it inside the function.
33468         Pass new arguments to findidx.
33470 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33472         [BZ #17344]
33473         * malloc/malloc.c (unlink): Turn asserts into a call to
33474         malloc_printerr.
33476 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33478         [BZ #17370]
33479         * libio/wfileops (do_ftell_wide): Free OUT.
33481 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33483         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33485 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33487         [BZ #17363]
33488         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33489         group if the current group is empty.
33491 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33493         * benchtests/bench-memset.c (test_main): Add more test from size
33494         from 32 to 512 bytes.
33495         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33496         Add POWER8 memset object.
33497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33498         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33499         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33500         implementation.
33501         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33502         Likewise.
33503         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33504         multiarch POWER8 memset optimization.
33505         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33506         POWER8 memset optimization.
33508         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33509         Remove bzero multiarch objects.
33510         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33511         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33512         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33513         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33514         Remove define.
33515         [__bzero]: Redefine to specific name.
33516         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33517         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33518         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33519         define.
33520         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33521         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33523 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33525         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33526         warnings into errors.
33528         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33529         __cxa_thread_atexit_impl prototype.
33531 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33533         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33534         Fix capitalization of error message.
33536 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33538         * sysdeps/mips/preconfigure: Modify ABI tests.
33540 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33542         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33544 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33545             Carlos O'Donell  <carlos@systemhalted.org>
33547         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33548         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33549         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33550         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33551         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33552         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33553         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33554         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33555         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33556         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33557         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33558         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33559         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33560         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33561         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33562         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33563         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33565         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33566         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33567         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33568         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33569         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33570         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33571         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33572         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33573         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33574         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33575         Deconditionalize the code that was previously under [RESET_PID].
33576         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33577         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33578         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33579         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33580         include sysdep.h.
33582 2014-09-08  Allan McRae  <allan@archlinux.org>
33584         * version.h (RELEASE): Set to "development".
33585         (VERSION): Set to "2.20.90"
33587 2014-09-07  Allan McRae  <allan@archlinux.org
33589         * version.h (RELEASE): Set to "stable".
33590         (VERSION): Set to "2.20"
33591         * include/features.h (__GLIBC_MINOR__): Set to 20.
33593         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33594         Liebler.
33596         * po/ko.po: Update Korean translation from translation project.
33598 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33600         [BZ #17354]
33601         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33602         macro for handling signed relocations.
33604 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33606         [BZ #17325]
33607         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33608         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33609         assert.
33610         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33611         * iconvdata/ibm935.c (BODY): Likewise.
33612         * iconvdata/ibm937.c (BODY): Likewise.
33613         * iconvdata/ibm939.c (BODY): Likewise.
33614         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33615         assert.
33616         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33617         script.
33618         * iconvdata/run-iconv-test.sh: New test loop for checking for
33619         decoder crashers.
33621 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33623         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33624         libm_hidden_ver.
33626 2014-09-01  Allan McRae  <allan@archlinux.org>
33628         * po/eo.po: Update Esperanto translation from translation project.
33630         * po/ca.po: Update Catalan translation from translation project.
33632 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33634         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33635         __proc_dostop call.
33637 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33639         [BZ #17319]
33640         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33641         to call set_thread_area instead of hand written asm.
33642         (__NR_set_thread_area): Removed define.
33643         (TLS_FLAG_WRITABLE): Likewise.
33644         (__ASSUME_SET_THREAD_AREA): Remove check.
33645         (TLS_EBX_ARG): Remove define.
33646         (TLS_LOAD_EBX): Likewise.
33648 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33650         Simplify atomicity of socket creation in bind.
33652         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33653         looking up the name after linking the file.
33655 2014-08-27  Allan McRae  <allan@archlinux.org>
33657         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33659 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33661         [BZ #17187]
33662         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33663         trans_compare, open_translit, __gconv_translit_find):
33664         Remove module loading code.
33666 2014-08-26  Allan McRae  <allan@archlinux.org>
33668         * po/vi.po: Update Vietnamese translation from translation project.
33670         * po/uk.po: Update Ukrainian translation from translation project.
33672         * po/fr.po: Update French translation from translation project.
33674         * po/ru.po: Update Russian translation from translation project.
33676         * po/pl.po: Update Polish translation from translation project.
33678         * po/cs.po: Update Czech translation from translation project.
33680         * po/de.po: Update German translation from translation project.
33682         * po/bg.po: Update Bulgarian translation from translation project.
33684         * po/sv.po: Update Sweedish translation from translation project.
33686         * po/nl.po: Update Dutch translation from translation project.
33688         * po/es.po: Update Spanish translation from translation project.
33690 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33692         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33694         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33695         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33696         (CPPFLAGS-iconvconfig): Likewise.
33697         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33699         * include/libc-symbols.h: Remove unnecessary check for
33700         NOT_IN_libc.
33701         * nptl/pthreadP.h: Likewise.
33702         * sysdeps/aarch64/setjmp.S: Likewise.
33703         * sysdeps/alpha/setjmp.S: Likewise.
33704         * sysdeps/arm/sysdep.h: Likewise.
33705         * sysdeps/i386/setjmp.S: Likewise.
33706         * sysdeps/m68k/setjmp.c: Likewise.
33707         * sysdeps/posix/getcwd.c: Likewise.
33708         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33709         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33710         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33711         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33712         * sysdeps/sh/sh3/setjmp.S: Likewise.
33713         * sysdeps/sh/sh4/setjmp.S: Likewise.
33714         * sysdeps/unix/alpha/sysdep.h: Likewise.
33715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33716         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33717         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33718         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33723         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33726         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33728         * sysdeps/x86_64/setjmp.S: Likewise.
33730 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33732         [BZ #17263]
33733         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33734         <stdint.h>.
33735         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33736         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33738 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33740         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33742         [BZ #17262]
33743         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33744         and __x86_64__ when disabling x87 inline functions.
33746 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33748         [BZ #17259]
33749         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33750         asm statement with __cpuid_count.
33752 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33754         * configure.ac: Change __ehdr_start code to dereference the struct.
33755         Run readelf on the output to look for relocations.
33756         * configure: Regenerated.
33758 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33760         [BZ #17261]
33761         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33762         value to 0.
33763         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33765 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33767         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33769 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33771         [BZ #16892]
33772         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33773         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33775 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33777         * malloc/malloc.c: Fix typo in comment.
33779 2014-08-09  Allan McRae  <allan@archlinux.org>
33781         * Regenerate libc.po.
33783 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33785         * intl/tst-gettext2.sh: Check every lang file for creation.
33787 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33789         * sysdeps/aarch64/fpu/math_private.h
33790         (libc_feholdsetround_noex_aarch64_ctx): New function.
33792 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33794         * sysdeps/arm/armv6/strcpy.S (strcpy):
33795         Fix performance issue in misaligned cases.
33797 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33799         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33800         Move definition from termios.h.
33801         (struct termio): Likewise.
33802         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33803         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33804         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33805         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33806         Likewise.
33807         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33808         Move definition to ioctl-types.h
33809         (struct termio): Likewise.
33810         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33811         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33812         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33813         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33814         Likewise.
33816 2014-08-05  Richard Henderson  <rth@redhat.com>
33818         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33819         exceptions.
33820         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33821         Add fraiseexcpt.
33822         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33823         Use __feraiseexcept.
33824         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33825         Protect libm symbols with IS_IN_libm.
33827         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33829 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33831         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33833 2014-08-04  Will Newton  <will.newton@linaro.org>
33835         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33836         file.
33838 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33840         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33841         variants for each function.
33843 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33845         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33846         appended ...
33847         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33848         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33849         appended ...
33850         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33851         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33852         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33853         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33854         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33855         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33856         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33857         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33858         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33859         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33860         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33861         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33862         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33863         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33864         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33865         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33866         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33867         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33868         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33869         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33870         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33871         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33872         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33873         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33874         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33875         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33876         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33877         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33878         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33879         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33880         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33881         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33882         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33883         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33884         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33885         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33886         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33887         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33888         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33889         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33890         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33891         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33892         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33893         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33894         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33895         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33896         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33897         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33898         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33899         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33900         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33901         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33902         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33903         Update #include.
33904         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33905         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33907 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33909         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33910         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33911         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33912         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33913         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33914         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33916 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33918         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33919         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33920         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33921         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33923 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33925         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33926         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33927         (__libc_vfork): Define function under this name.
33928         (__vfork): Define as an alias.
33929         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33930         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33932 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33934         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33935         that was previously under [RESET_PID].
33936         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33938 2014-08-04  Andreas Schwab  <schwab@suse.de>
33940         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33942 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33944         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33945         (main): Likewise.
33947 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33949         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33951 2014-08-01  Richard Henderon  <rth@redhat.com>
33953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33954         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33955         typo in exact zero test.
33956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33957         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33958         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33960 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33962         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33963         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33964         * sysdeps/arm/sysdep.h: ... here.
33965         [!__ASSEMBLER__]: Include <stdint.h>.
33967 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33969         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33970         (HAVE_WCTYPE_H): Likewise.
33971         (HAVE_ISWCTYPE): Likewise.
33972         (ENABLE_NLS): Likewise.
33973         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33974         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33976         * posix/regex_internal.c: Check if DEBUG is defined and is
33977         set.
33979         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33980         (HAVE_MBSRTOWCS): Likewise.
33981         * posix/fnmatch.c: Include string.h unconditionally.
33983 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33985         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33986         reversal.
33988 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33990         * sysdeps/generic/safe-fatal.h: New file.
33991         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33992         * nptl/forward.c: Include it.
33993         (__pthread_unwind): Use __safe_fatal as default action, rather
33994         than a bogus use of INTERNAL_SYSCALL that could never work.
33996         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33997         * configure.ac (libc_cv_builtin_trap): New test.
33998         * configure: Regenerated.
33999         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34000         (ABORT_INSTRUCTION): Define using __builtin_trap.
34002         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34003         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34004         * sysdeps/nptl/nptl-signals.h: New file.
34005         * nptl/pthreadP.h: Include <nptl-signals.h>.
34007 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34009         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34010         (ONE_DIRECTION): Define.
34011         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34012         (ONE_DIRECTION): Define.
34013         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34014         (ONE_DIRECTION): Define.
34016 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34018         * sysdeps/s390/Makefile: Delete file.
34019         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34020         * sysdeps/s390/__longjmp.c: Delete file.
34021         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34022         Remove fields __flags and __reserved.
34023         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34024         and add versioning.
34025         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34026         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34027         * sysdeps/s390/rtld-setjmp.S: Likewise.
34028         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34029         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34030         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34031         * sysdeps/s390/s390-32/setjmp.S: ... here.
34032         Add versioning.
34033         (__sigsetjmp): Remove setting __flags field.
34034         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34035         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34036         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34037         * sysdeps/s390/s390-64/setjmp.S: ... here.
34038         Add versioning.
34039         (__sigsetjmp): Remove setting __flags field.
34040         * sysdeps/s390/setjmp.S: Delete file.
34041         * sysdeps/s390/sigjmp.c: Likewise.
34042         * sysdeps/s390/v1-longjmp.c: Likewise.
34043         * sysdeps/s390/v1-setjmp.h: Likewise.
34044         * sysdeps/s390/v1-sigjmp.c: Likewise.
34045         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34046         Remove v1-longjmp_chk.
34047         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34048         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34049         Include debug/longjmp_chk.c and add versioning.
34050         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34051         Include nptl/pt-longjmp.c and add versioning.
34052         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34053         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34054         Include __longjmp.c.
34055         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34056         Move to ...
34057         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34058         (__getcontext): Remove setting __flags field.
34059         Add versioning.
34060         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34061         Don't restore upper high grps.
34062         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34063         Likewise.
34064         (__swapcontext): Remove setting uc_flags field.
34065         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34066         Delete file.
34067         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34068         Include __longjmp.c.
34069         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34070         Move to ...
34071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34072         (__getcontext): Remove setting __flags field.
34073         Add versioning.
34074         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34075         (__swapcontext): Remove setting uc_flags field.
34076         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34077         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34078         Remove fields uc_high_gprs and __reserved.
34079         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34080         New file with reverted content.
34081         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34082         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34083         Regenerated.
34084         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34085         Regenerated.
34087 2014-07-31  Andreas Schwab  <schwab@suse.de>
34089         * config.h.in (HAVE_IFUNC): Define to 0.
34090         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34091         definedness.
34093 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34096         memmove-avx-unaligned, memcpy-avx-unaligned and
34097         mempcpy-avx-unaligned.
34098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34099         Add tests for AVX memcpy functions.
34100         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34101         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34102         memcpy_chk.
34103         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34104         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34105         memmove_chk.
34106         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34108         mempcpy_chk.
34109         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34110         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34111         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34113 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34115         [BZ #17213]
34116         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34117         powerpc64le.
34119 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34121         [BZ #16839]
34122         * manual/llio.texi: Add section about open file description locks.
34123         * manual/examples/ofdlocks.c: Example of open file description
34124         lock usage.
34125         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34126         F_OFD_SETLK, and F_OFD_SETLKW.
34128 2014-07-23  Allan McRae  <allan@archlinux.org>
34130         * po/es.po: Update Spanish translation from translation project.
34132 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34134         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34136 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34138         [BZ #17078]
34139         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34140         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34141         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34143 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34145         [BZ #17088]
34146         * math/fesetenv.c (__fesetenv)
34147         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34148         * math/feupdateenv.c (__feupdateenv)
34149         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34151         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34152         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34153         (__ASSUME_SOCKETCALL): Do not define.
34155         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34156         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34157         (__ASSUME_SOCKETCALL): Do not define.
34158         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34159         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34160         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34161         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34162         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34163         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34164         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34165         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34167         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34168         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34169         (__ASSUME_SOCKETCALL): Do not define.
34170         (__ASSUME_IPC64): Define unconditionally.
34171         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34172         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34173         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34174         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34175         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34177         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34178         Likewise.
34180         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34181         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34182         (__ASSUME_SOCKETCALL): Do not define.
34183         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34184         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34185         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34186         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34187         (__ASSUME_REQUEUE_PI): Define unconditionally.
34188         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34189         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34190         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34191         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34192         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34193         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34195         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34196         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34197         (__ASSUME_SOCKETCALL): Do not define.
34198         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34199         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34200         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34201         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34202         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34203         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34205         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34206         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34207         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34208         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34209         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34210         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34212         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34213         (__ASSUME_GETCPU_SYSCALL): Likewise.
34215         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34216         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34217         cases for individual architectures.
34218         * sysdeps/gnu/configure: Regenerated.
34219         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34220         LIBC_SLIBDIR_RTLDDIR.
34221         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34222         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34223         LIBC_SLIBDIR_RTLDDIR.
34224         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34226         LIBC_SLIBDIR_RTLDDIR.
34227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34228         Regenerated.
34229         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34230         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34231         file.
34232         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34233         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34234         file.
34235         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34236         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34237         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34238         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34240         * sysdeps/aarch64/shlib-versions: Move to ...
34241         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34242         * sysdeps/alpha/shlib-versions: Move to ...
34243         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34244         * sysdeps/arm/shlib-versions: Move to ...
34245         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34246         * sysdeps/hppa/shlib-versions: Move all contents except for
34247         libgcc_s entry to ...
34248         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34249         entry from ...
34250         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34251         * sysdeps/ia64/shlib-versions: Move to ...
34252         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34253         entry from ...
34254         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34255         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34256         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34257         * sysdeps/microblaze/shlib-versions: Move to ...
34258         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34259         * sysdeps/mips/shlib-versions: Move to ...
34260         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34261         entry from ...
34262         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34263         * sysdeps/tile/shlib-versions: Move to ...
34264         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34265         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34266         from ...
34267         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34268         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34269         entry from ...
34270         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34272 2014-07-17  Will Newton  <will.newton@linaro.org>
34274         * sysdeps/arm/bits/atomic.h
34275         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34276         (__arch_compare_and_exchange_bool_16_int): Likewise.
34277         (__arch_compare_and_exchange_bool_64_int): Likewise.
34279         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34280         into an #else block.
34282 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34284         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34285         just Linux configurations.  Test empirically that the compiler sets
34286         __ARM_EABI__, rather than using the tuple to decide.
34287         * sysdeps/arm/preconfigure: Regenerated.
34288         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34289         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34290         contents appended ...
34291         * sysdeps/arm/configure.ac: ... here.
34292         * sysdeps/arm/configure: Regenerated.
34294 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34296         * nptl/pthread_kill.c: New file.
34297         * nptl/pthread_sigmask.c: New file.
34298         * nptl/pthread_sigqueue.c: New file.
34300         * sysdeps/nptl/lowlevellock.h: New file.
34301         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34302         * sysdeps/nptl/lowlevellock-futex.h: New file.
34304         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34305         Remove dead declarations.
34307 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34309         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34310         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34311         config-cflags-avx2.
34312         * sysdeps/x86_64/configure.ac: Likewise.
34313         * sysdeps/i386/configure: Regenerated.
34314         * sysdeps/x86_64/configure: Likewise.
34315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34316         memset-avx2 only if config-cflags-avx2 is yes.
34317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34318         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34319         defined.
34320         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34321         only if HAVE_AVX2_SUPPORT is defined.
34322         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34324 2014-07-14  Alan Modra  <amodra@gmail.com>
34326         [BZ #17153]
34327         * elf/elf.h (DT_PPC64_NUM): Correct value.
34328         * NEWS: Add to fixed bug list.
34330 2014-07-13  Jim Meyering  <meyering@fb.com>
34332         [BZ 17150]
34333         regex: don't deref NULL upon heap allocation failure
34334         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34335         failure in one more place.
34336         To trigger the segfault, configure grep -with-included-regex,
34337         build it, and run these commands:
34338         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34340 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34342         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34344 2014-07-11  Richard Henderson  <rth@redhat.com>
34346         * sysdeps/aarch64/libm-test-ulps: Update.
34348 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34350         [BZ #17135]
34351         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34352         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34353         (__nptl_setxid): Initialize error member.  Call
34354         __nptl_setxid_error.
34355         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34356         * nptl/descr.h (struct xid_command): Add error member.
34357         * nptl/tst-setuid3.c: New file.
34358         * nptl/Makefile (tests): Add it.
34360 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34362         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34363         New define.
34364         (__lll_trylock): Use __lll_base_trylock.
34365         (__lll_cond_trylock): Likewise.
34367 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34369         * nptl/pthread_create.c (start_thread): Use atomic_or and
34370         lll_futex_wake directly rather than lll_robust_dead.
34371         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34372         (lll_robust_dead): Macro removed.
34373         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34374         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34375         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34376         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34377         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34378         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34379         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34380         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34381         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34382         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34383         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34384         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34385         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34386         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34387         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34389         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34390         Use atomic_compare_and_exchange_val_acq directly rather than
34391         lll_robust_trylock.
34392         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34393         (__lll_robust_trylock, lll_robust_trylock): Removed.
34394         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34395         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34396         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34397         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34398         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34399         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34400         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34401         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34402         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34403         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34404         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34405         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34406         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34407         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34409 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34411         * manual/locale.texi (Locale Names): New section documenting
34412         locale name syntax.  Adjust menu and node chaining accordingly.
34413         (Choosing Locale): Reference Locale Names, Locale Categories.
34414         Mention setting LC_ALL=C.  Reflect that name syntax is now
34415         documented.
34416         (Locale Categories): New section title.  Reference Locale Names.
34417         LC_ALL is an environment variable, but not a category.
34418         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34419         description, now in Locale Name.  Reference that section.  Locale
34420         name syntax is now documented.
34422 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34424         [BZ #17137]
34425         * locale/findlocale.c (name_present, valid_locale_name): New
34426         functions.
34427         (_nl_find_locale): Use the loc_name variable to store name
34428         candidates.  Call name_present and valid_locale_name to check and
34429         validate locale names.  Return an error if the locale is invalid.
34431 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34433         * locale/setlocale.c (setlocale): Use strdup for allocating
34434         composite name copy.
34436 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34438         Sync up with gnulib.
34439         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34440         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34441         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34442         and _GL_ARG_NONNULL.
34443         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34444         [!_LIBC]: Include code for Windows and Cygwin.
34445         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34446         Include prototype for int strerror_r.
34447         [!_LIBC] (is_open): New function.
34448         (flush_stdout): New function.
34449         (print_errno_message): Use it.
34450         (error): Likewise.
34451         (error_at_line): Likewise.
34452         (error_tail) Add function attribute macros.  Use
34453         __builtin_expect.
34455         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34457         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34459         * io/ftw.c: Include sys/param.h unconditionally.
34461         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34463         [BZ #17125]
34464         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34465         libc_freeres_ptr.
34466         (freecache): New function to free CACHE on exit.
34468         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34469         initialization.
34471 2014-07-09  David S. Miller  <davem@davemloft.net>
34473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34475         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34476         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34477         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34478         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34479         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34480         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34481         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34482         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34483         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34484         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34485         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34486         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34487         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34489 2014-07-09  Andreas Schwab  <schwab@suse.de>
34491         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34492         output.
34493         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34494         (do_test): Likewise.
34496         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34498 2014-07-09  Will Newton  <will.newton@linaro.org>
34500         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34501         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34502         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34503         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34504         * sysdeps/hppa/start.S (_start): Likewise.
34506 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34508         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34510         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34511         defined.
34513 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34515         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34516         after checking that it is non-NULL.
34518         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34520 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34522         * sysdeps/powerpc/memmove.c: Remove file.
34523         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34524         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34525         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34526         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34527         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34528         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34529         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34530         string memmove instead of removed powerpc one.
34532         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34533         [weak_alias]: Fix compiler warning due trailing data.
34534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34535         [weak_alias]: Likewise.
34536         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34537         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34540         (__libc_ifunc_impl_list): Add memmove functions.
34542 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34544         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34545         Remove code.
34546         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34547         Likewise.
34548         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34549         Likewise.
34550         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34551         Likewise.
34552         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34553         Likewise.
34554         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34555         Likewise.
34556         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34557         Likewise.
34558         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34559         Likewise.
34560         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34561         Likewise.
34562         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34563         Likewise.
34564         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34565         Likewise.
34566         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34567         Likewise.
34568         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34569         Likewise.
34570         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34571         Likewise.
34572         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34573         Likewise.
34574         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34575         Likewise.
34576         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34577         Likewise.
34579 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34581         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34582         to avoid alignment traps in non-cacheable memory.
34583         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34586         multiarch objects.
34587         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34588         file: multiarch power7 memmove.
34589         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34590         multiarch default memmove.
34591         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34592         multiarch memove for powerpc32/power4.
34594         * string/bcopy.c: Use full path to include memmove.c.
34595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34596         multiarch objects.
34597         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34598         bcopy for powerpc64.
34599         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34600         bcopy for powerpc64.
34601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34602         and memmove implementations.
34603         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34604         optimized multiarch memmove for POWER7/powerpc64.
34605         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34606         default multiarch memmove for powerpc64.
34607         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34608         multiarch for powerpc64.
34609         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34610         for POWER7/powerpc64.
34611         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34612         memmove for POWER7/powerpc64.
34614         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34615         glibc default one.
34617         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34618         __ELF_NATIVE_CLASS equal to 64.
34620 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34622         * sysdeps/nptl/lowlevellock.h: File removed.
34624         * NEWS: NPTL is no longer an add-on!
34625         * nptl/internaltypes.h: Moved ...
34626         * sysdeps/nptl/internaltypes.h: ... here.
34627         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34628         * sysdeps/nptl/fork.c: Likewise.
34629         * sysdeps/nptl/gai_misc.h: Likewise.
34630         * sysdeps/nptl/librt-cancellation.c: Likewise.
34631         * sysdeps/nptl/jmp-unwind.c: Likewise.
34632         * sysdeps/nptl/setxid.h: Likewise.
34633         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34634         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34635         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34636         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34637         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34638         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34639         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34640         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34641         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34642         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34643         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34644         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34645         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34646         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34647         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34648         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34649         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34650         * nptl/Makeconfig: Moved ...
34651         * sysdeps/nptl/Makeconfig: ... here.
34652         * nptl/configure: File removed.
34653         * nptl/ANNOUNCE: File removed.
34654         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34655         * sysdeps/unix/sysv/linux/configure: Regenerated.
34657         * nptl/Makefile (routines): Add libc_pthread_init,
34658         libc_multiple_threads, register-atfork and unregister-atfork.
34659         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34660         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34661         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34662         pthread-pi-defines.sym, structsem.sym.
34663         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34664         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34665         [$(subdir) = nptl] (tests): Add tst-setgetname.
34666         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34667         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34668         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34669         [!LIBC_SIGACTION]: Remove aliases.
34670         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34671         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34672         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34673         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34674         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34675         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34676         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34677         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34678         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34679         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34680         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34681         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34682         __libc_allocate_rtsig_private.
34683         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34684         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34685         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34686         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34687         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34688         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34689         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34690         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34691         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34692         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34693         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34694         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34695         * nptl/internaltypes.h: ... here.
34696         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34697         * sysdeps/nptl/jmp-unwind.c: ... here.
34698         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34699         * nptl/libc-lowlevellock.c: ... here.
34700         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34701         * nptl/libc_multiple_threads.c: ... here.
34702         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34703         * nptl/libc_pthread_init.c: ... here.
34704         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34705         * nptl/lowlevelbarrier.sym: ... here.
34706         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34707         * nptl/lowlevelcond.sym: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34709         * nptl/lowlevellock.c: ... here.
34710         * nptl/lowlevellock.h: Moved ...
34711         * sysdeps/nptl/lowlevellock.h: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34713         * nptl/lowlevelrobustlock.c: ... here.
34714         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34715         * nptl/lowlevelrobustlock.sym: ... here.
34716         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34717         * nptl/lowlevelrwlock.sym: ... here.
34718         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34719         * nptl/pt-fork.c: ... here.
34720         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34721         * nptl/pthread-pi-defines.sym: ... here.
34722         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34723         * nptl/pthread_attr_getaffinity.c: ... here.
34724         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34725         * nptl/pthread_attr_setaffinity.c: ... here.
34726         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34727         * nptl/pthread_mutex_cond_lock.c: ... here.
34728         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34729         Update #include.
34730         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34731         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34732         * nptl/pthread_once.c: ... here, replacing old file.
34733         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34734         * nptl/pthread_yield.c: ... here.
34735         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34736         * nptl/register-atfork.c: ... here.
34737         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34738         * nptl/sem_post.c: ... here.
34739         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34740         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34741         * nptl/sem_timedwait.c: ... here.
34742         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34743         * nptl/sem_trywait.c: ... here.
34744         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34745         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34746         * nptl/sem_wait.c: ... here.
34747         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34748         * nptl/structsem.sym: ... here.
34749         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34750         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34751         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34752         * nptl/unregister-atfork.c: ... here.
34753         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34754         * nptl/unwindbuf.sym: ... here.
34755         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34756         * sysdeps/nptl/fork.c: ... here.
34757         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34758         * sysdeps/nptl/fork.h: ... here.
34759         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34760         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34761         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34762         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34763         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34764         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34765         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34766         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34767         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34768         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34769         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34770         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34771         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34772         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34773         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34775         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34776         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34777         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34778         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34779         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34780         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34781         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34782         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34783         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34784         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34785         * sysdeps/unix/sysv/linux/raise.c: ... here.
34786         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34787         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34788         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34789         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34790         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34791         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34792         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34793         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34794         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34795         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34796         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34797         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34798         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34799         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34800         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34802 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34804         * sysdeps/generic/memcopy.h: Add comment for
34805         MEMCPY_OK_FOR_FWD_MEMMOVE.
34807 2014-07-04  Will Newton  <will.newton@linaro.org>
34809         * string/memchr.c: Merge from gnulib.
34810         [_LIBC]: Remove conditionals.
34811         (__ptr_t): Remove define.
34812         (LONG_MAX_32_BITS): Likewise.
34813         (LONG_MAX): Likewise.
34814         (MEMCHR): Use ANSI prototype and optimize algorithm.
34816         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34818 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34820         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34821         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34823         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34824         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34825         in a bare environment with no <stdlib.h> installed.
34826         * sysdeps/nptl/configure: Regenerated.
34828         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34830         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34831         AC_EGREP_CPP for kernel header checks, so they only succeed if
34832         including <linux/version.h> actually works right.
34833         * sysdeps/unix/sysv/linux/configure: Regenerated.
34835         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34836         value so it's not diagnosed as unused.
34838         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34839         thing) with "ifeq ($(subdir),rt)".
34841 2014-07-03  Richard Henderson  <rth@redhat.com>
34843         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34844         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34845         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34847         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34848         (math_force_eval): New.
34850         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34851         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34853         * sysdeps/alpha/fpu/s_round.c: Remove file.
34854         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34856         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34857         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34858         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34859         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34860         (_dl_start, print_statistics): Likewise.
34861         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34862         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34864         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34865         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34866         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34867         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34869         (HP_SMALL_TIMING_AVAIL): Define.
34870         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34872         (HP_SMALL_TIMING_AVAIL): Define.
34873         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34874         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34876         * sysdeps/aarch64/hp-timing.h: New file.
34878         * sysdeps/generic/hp-timing.h: Remove dead comment.
34879         * sysdeps/generic/hp-timing-common.h: New file.
34880         * sysdeps/alpha/hp-timing.h: Include it.
34881         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34882         * sysdeps/i386/i686/hp-timing.h: Likewise.
34883         * sysdeps/ia64/hp-timing.h: Likewise.
34884         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34885         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34886         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34887         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34888         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34889         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34890         (hp_timing_t): New.
34892         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34893         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34894         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34895         * elf/rtld.c (_dl_start_final): Likewise.
34896         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34897         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34898         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34899         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34900         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34902         (HP_TIMING_DIFF_INIT): Remove.
34903         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34904         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34905         (HP_TIMING_DIFF_INIT): Remove.
34906         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34907         * sysdeps/i386/i686/hp-timing.c: Remove file.
34908         * sysdeps/x86_64/hp-timing.c: Remove file.
34909         * sysdeps/ia64/hp-timing.c: Remove file.
34910         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34911         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34912         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34913         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34915         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34916         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34917         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34918         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34919         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34920         (HP_TIMING_ACCUM): Remove.
34921         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34922         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34923         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34925         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34926         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34927         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34928         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34930         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34931         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34932         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34934         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34936 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34938         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34940 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34942         Sync up with gettext.
34943         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34944         [_MSC_VER]: Include malloc.h
34945         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34946         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34947         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34948         TEMP_FAILURE_RETRY.  Cast return of alloca.
34949         [!_LIBC] Call gl_rwlock_init.
34950         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34952 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34954         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34955         before checking its value.
34957 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34959         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34961         * debug/memcpy_chk.c: Don't include pagecopy.h.
34962         * debug/mempcpy_chk.c: Likewise.
34963         * string/memcpy.c: Likewise.
34964         * string/memmove.c: Likewise.
34965         * sysdeps/powerpc/memmove.c: Likewise.
34966         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34967         definition of PAGE_COPY_FWD_MAYBE here...
34968         * sysdeps/generic/pagecopy.h: ... from here.
34969         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34971 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34972             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34974         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34976         optimizations.
34977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34978         (__libc_ifunc_impl_list): Likewise.
34979         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34980         multiarch strcat for PPC64.
34981         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34982         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34984 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34986         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34988 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34990         * intl/loadmsgcat.c: Remove declaration of
34991         get_sysdep_segment_value.
34992         (get_sysdep_segment_value): Use ISO C style.
34993         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34994         semicolon.  Fix typo and formatting in comment.
34995         (_nl_unload_domain): Use ISO C style.
34997         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34999 2014-07-02  Will Newton  <will.newton@linaro.org>
35001         * malloc/obstack.c: Merge from gnulib master.
35002         [HAVE_CONFIG_H]: Remove conditional code.
35003         [!_LIBC]: Include config.h.
35004         [!ELIDE_CODE]: Don't include inttypes.h, include
35005         stdint.h unconditionally.
35006         (print_and_abort): Mark as _Noreturn.
35007         (_obstack_allocated_p): Mark as __attribute_pure__.
35008         (obstack_free): Rename to __obstack_free.
35009         [!__attribute__]: Remove conditional code.
35010         * malloc/obstack.h: Merge from gnulib master.
35011         [__cplusplus]: Move conditional down.
35012         [!__attribute_pure__]: Define __attribute_pure__ here
35013         if it is not already defined.
35014         (_obstack_memory_used): Mark as __attribute_pure__.
35015         [!__obstack_free]: Define as obstack_free.
35016         [__GNUC__]: Remove check for ancient NeXT gcc.
35018 2014-07-02  Will Newton  <will.newton@linaro.org>
35019             Paul Eggert  <eggert@cs.ucla.edu>
35021         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35023 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35025         * resolv/gethnamaddr.c: Add comment warning that the file is
35026         not maintained.
35028 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35030         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35031         entries.
35033         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35034         entry for aio_cancel and aio_cancel64.
35035         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35036         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35037         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35038         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35039         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35040         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35041         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35042         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35043         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35044         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35045         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35046         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35047         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35049 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35051         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35052         * nptl/pthread_mutex_lock.c: Likewise.
35053         * nptl/pthread_mutex_timedlock.c: Likewise.
35054         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35056 2014-07-01  Richard henderson  <rth@redhat.com>
35058         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35059         (__isnan, __isnanl): Remove.
35060         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35062         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35064 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35066         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35068 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35070         * resolv/nss_dns/dns-host.c (getanswer_r)
35071         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35073 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35076         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35077         undefine.
35078         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35079         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35081 2014-07-01  Roland McGrath <roland@hack.frob.com>
35083         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35084         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35086         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35087         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35089         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35090         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35091         ... here.
35092         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35093         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35095         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35096         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35097         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35098         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35100         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35101         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35102         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35103         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35104         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35105         Moved ...
35106         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35107         ... here.
35108         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35109         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35110         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35111         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35112         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35113         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35114         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35115         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35116         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35117         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35118         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35119         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35120         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35121         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35122         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35123         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35124         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35125         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35127         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35128         ... here.
35129         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35130         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35131         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35132         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35133         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35134         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35135         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35136         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35138 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35140         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35141         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35142         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35143         Add sysdep.
35145 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35149 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35151         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35152         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35154         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35156         * sysdeps/arm/libm-test-ulps: Regenerated.
35158 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35159             Roland McGrath <roland@hack.frob.com>
35161         * test-skeleton.c (signal_handler): Kill the whole process group
35162         before killing the child individually.
35163         (main): Report any failure on `setpgid'.
35165 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35167         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35168         from _TLS_H to _ARM_NPTL_TLS_H.
35169         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35170         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35172 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35174         [BZ #16539]
35175         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35176         (__expm1l): Return argument unchanged when small but not
35177         subnormal.
35179         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35180         include macro name.
35181         (_FP_UNPACK_RAW_1_P): Likewise.
35182         (_FP_PACK_RAW_1): Likewise.
35183         (_FP_PACK_RAW_1_P): Likewise.
35184         (_FP_MUL_MEAT_1_wide): Likewise.
35185         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35186         (_FP_MUL_MEAT_1_hard): Likewise.
35187         (_FP_DIV_MEAT_1_imm): Likewise.
35188         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35189         (_FP_DIV_MEAT_1_udiv): Likewise.
35190         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35191         (_FP_UNPACK_RAW_2): Likewise.
35192         (_FP_UNPACK_RAW_2_P): Likewise.
35193         (_FP_PACK_RAW_2): Likewise.
35194         (_FP_PACK_RAW_2_P): Likewise.
35195         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35196         (_FP_MUL_MEAT_2_wide): Likewise.
35197         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35198         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35199         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35200         (_FP_MUL_MEAT_2_gmp): Likewise.
35201         (_FP_DIV_MEAT_2_udiv): Likewise.
35202         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35203         (_FP_FRAC_SRL_4): Likewise.
35204         (_FP_FRAC_SRST_4): Likewise.
35205         (_FP_FRAC_SRS_4): Likewise.
35206         (_FP_UNPACK_RAW_4): Likewise.
35207         (_FP_UNPACK_RAW_4_P): Likewise.
35208         (_FP_PACK_RAW_4): Likewise.
35209         (_FP_PACK_RAW_4_P): Likewise.
35210         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35211         (_FP_MUL_MEAT_4_wide): Likewise.
35212         (_FP_MUL_MEAT_4_gmp): Likewise.
35213         (umul_ppppmnnn): Likewise.
35214         (_FP_DIV_MEAT_4_udiv): Likewise.
35215         (__FP_FRAC_ADD_4): Likewise.
35216         (__FP_FRAC_SUB_3): Likewise.
35217         (__FP_FRAC_SUB_4): Likewise.
35218         (__FP_FRAC_DEC_3): Likewise.
35219         (__FP_FRAC_DEC_4): Likewise.
35220         (__FP_FRAC_ADDI_4): Likewise.
35221         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35222         (_FP_FRAC_SRL_8): Likewise.
35223         (_FP_FRAC_SRS_8): Likewise.
35225         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35226         include macro name.
35227         (FP_UNPACK_RAW_EP): Likewise.
35228         (FP_PACK_RAW_E): Likewise.
35229         (FP_PACK_RAW_EP): Likewise.
35230         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35231         (_FP_ISSIGNAN): Likewise.
35232         (_FP_ADD_INTERNAL): Likewise.
35233         (_FP_FMA): Likewise.
35234         (_FP_CMP): Likewise.
35235         (_FP_SQRT): Likewise.
35236         (_FP_TO_INT): Likewise.
35237         (_FP_FROM_INT): Likewise.
35238         (FP_EXTEND): Likewise.
35239         (_FP_DIV_MEAT_N_loop): Likewise.
35241 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35243         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35244         throughout.
35246 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35248         [BZ #17097]
35249         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35250         result with correct sign in case of exponents that produce
35251         overflow except for X very close to 1.
35253 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35255         mktime: merge #if/#ifdef usage from glibc
35256         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35257         as that works with both Glibc's and Gnulib's style.
35258         See thread starting at Siddhesh Poyarekar's bug report at:
35259         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35261 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35263         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35264         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35265         * sysdeps/tile/tilegx/memmove.c: Remove file.
35267 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35269         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35270         abi-name definition.
35271         * scripts/soversions.awk: Do not handle or generate ABI lines.
35272         * shlib-versions: Remove ABI entries.
35273         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35274         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35276 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35279         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35280         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35281         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35283         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35285         Moved ...
35286         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35287         ... here.
35288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35289         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35291         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35293         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35295         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35297         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35299         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35301         Moved ...
35302         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35304         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35306         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35308         Moved ...
35309         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35311         Moved ...
35312         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35314         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35316         Moved ...
35317         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35319         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35321         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35323         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35325         Moved ...
35326         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35328         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35329         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35330         Moved ...
35331         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35333         Moved ...
35334         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35336         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35338         Moved ...
35339         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35340         ... here.
35341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35342         Identical file removed.
35343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35344         Moved ...
35345         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35347         Identical file removed.
35348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35349         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35351         Moved ...
35352         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35354         Identical file removed.
35355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35356         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35358         Identical file removed.
35359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35360         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35361         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35362         Identical file removed.
35363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35364         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35366         Identical file removed.
35367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35368         Moved ...
35369         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35371         Identical file removed.
35372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35373         Moved ...
35374         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35375         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35376         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35378         Identical file removed.
35379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35380         Moved ...
35381         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35382         ... here.
35383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35384         Identical file removed.
35385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35386         Moved ...
35387         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35389         Identical file removed.
35390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35391         Moved ...
35392         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35393         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35394         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35396         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35398         Moved ...
35399         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35400         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35401         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35403         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35404         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35405         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35406         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35407         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35409 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35411         [BZ #17092]
35412         * nscd/nscd.c (monitor_child): Return exit status of child
35413         instead of return value from wait syscall.
35415 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35417         * configure.ac (libc_commonpagesize): Remove variable.
35418         (libc_relro_required): Likewise.
35419         (libc_cv_z_relro): Remove configure test.
35420         * configure: Regenerated.
35421         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35422         variable.
35423         (libc_relro_required): Likewise.
35424         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35425         (libc_relro_required): Likewise.
35426         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35427         (libc_relro_required): Likewise.
35428         * sysdeps/arm/preconfigure: Regenerated.
35429         * sysdeps/ia64/preconfigure: Remove file.
35430         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35431         variable.
35432         (libc_relro_required): Likewise.
35434         [BZ #16561]
35435         [BZ #16562]
35436         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35437         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35438         recompute overflowing results in original rounding mode.
35439         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35440         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35441         recompute overflowing results in original rounding mode.
35442         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35443         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35444         recompute overflowing results in original rounding mode.
35445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35446         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35447         recompute overflowing results in original rounding mode.
35448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35449         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35450         recompute overflowing results in original rounding mode.
35451         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35452         (libc_feholdsetround_ctx): New macro.
35453         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35454         * sysdeps/i386/fpu/libm-test-ulps: Update.
35455         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35457 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35459         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35460         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35461         corresponding .cpsetup call.
35463 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35465         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35466         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35467         * sysdeps/arm/Makefile [$(subdir) = csu]
35468         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35469         (static-only-routines): Add aeabi_read_tp here.
35470         (shared-only-routines): Add libc-aeabi_read_tp here.
35471         (CFLAGS-libc-start.c): Add -fexceptions here.
35472         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35473         (sysdep_routines, static-only-routines, shared-only-routines):
35474         Don't add to these here.
35475         (CFLAGS-libc-start.c): Likewise.
35477         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35478         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35479         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35480         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35481         * sysdeps/arm/Makefile [$(subdir) = rt]
35482         (librt-sysdep_routines, librt-shared-only-routines):
35483         Append rt-aeabi_unwind_cpp_pr1 here.
35484         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35485         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35486         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35487         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35488         Append nptl-aeabi_unwind_cpp_pr1 here.
35489         (tests): Filter out tst-cleanupx4 here.
35490         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35491         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35492         Don't do those here.
35494 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35496         * scripts/list-sources.sh: Do not handle ports specially.
35498 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35500         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35501         * sysdeps/arm/feupdateenv.c: Likewise.
35503         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35505 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35507         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35508         trailing whitespace removed.
35509         * scripts/config.guess: Update to version 2014-03-23.
35510         * scripts/config.sub: Update to version 2014-05-01
35511         * scripts/install-sh: Update to version 2013-12-25.23.
35512         * scripts/move-if-change: Update from gnulib.
35514 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35516         * debug/memmove_chk.c: Remove pagecopy.h include.
35518 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35520         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35521         identical to gnulib mktime.
35523 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35525         * configure.ac: Do not test for machine being rs6000.  Do not test
35526         for powerpc*-*soft.
35527         * configure: Regenerated.
35529         [BZ #11505]
35530         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35531         test.
35532         * configure: Regenerated.
35533         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35534         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35535         Remove configure test.
35536         * sysdeps/arm/configure: Regenerated.
35537         * sysdeps/nptl/configure.ac: Do not check
35538         libc_cv_asm_cfi_directives.
35539         * sysdeps/nptl/configure: Regenerated.
35540         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35541         * sysdeps/x86_64/nptl/configure: Remove generated file.
35542         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35543         unconditional.
35544         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35546 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35548         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35549         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35550         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35551         it is defined.
35553         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35554         instead of whether it is defined.
35555         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35556         * sysdeps/hppa/dl-machine.h: Likewise.
35557         * sysdeps/ia64/dl-machine.h: Likewise.
35558         * sysdeps/m68k/dl-machine.h: Likewise.
35559         * sysdeps/microblaze/dl-machine.h: Likewise.
35560         * sysdeps/mips/dl-machine.: Likewise.
35561         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35562         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35563         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35564         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35565         * sysdeps/sh/dl-machine.h: Likewise.
35566         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35567         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35568         * sysdeps/tile/dl-machine.h: Likewise.
35569         * sysdeps/x86_64/dl-machine.h: Likewise.
35571         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35572         code.
35573         (verify_persistent_db): Likewise.
35575 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35578         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35580         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35582         Moved ...
35583         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35584         ... here.
35585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35586         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35588         Identical file removed.
35589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35590         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35592         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35594         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35596         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35598         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35600         Moved ...
35601         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35603         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35605         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35607         Moved ...
35608         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35610         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35612         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35614         Identical file removed.
35615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35616         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35618         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35620         Moved ...
35621         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35622         ... here.
35623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35624         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35626         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35628         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35630         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35632         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35634         Moved ...
35635         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35637         Moved ...
35638         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35640         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35642         Moved ...
35643         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35645         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35647         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35648         folded into ...
35649         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35650         * sysdeps/unix/sysv/linux/s390/Versions
35651         (libpthread: GLIBC_2.19): New version set.
35652         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35653         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35654         (librt: GLIBC_2.3.3): New version set.
35655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35656         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35657         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35658         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35659         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35660         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35661         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35662         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35663         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35664         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35665         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35666         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35667         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35668         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35669         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35670         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35671         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35672         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35673         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35674         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35675         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35676         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35677         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35679         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35681         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35685         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35691         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35693         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35695         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35701         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35702         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35703         (__libc_vfork): Define the function under this name.
35704         [!NOT_IN_libc] (__vfork): Make this an alias.
35705         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35707         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35708         (__libc_vfork): Define the function under this name.
35709         [!NOT_IN_libc] (__vfork): Make this an alias.
35710         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35711         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35712         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35715         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35717         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35718         code that was previously under [RESET_PID].
35719         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35720         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35723         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35724         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35725         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35726         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35728         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35729         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35730         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35731         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35732         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35733         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35734         Moved ...
35735         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35736         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35737         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35738         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35739         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35740         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35741         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35742         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35743         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35744         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35745         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35746         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35747         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35748         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35749         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35750         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35751         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35752         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35753         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35754         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35755         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35756         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35757         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35758         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35759         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35760         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35761         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35762         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35763         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35765 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35767         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35768         that was previously under [RESET_PID].
35769         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35771 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35773         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35774         not undefine and redefine.
35775         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35776         [O_CLOEXEC]: Make code unconditional.
35777         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35778         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35779         <kernel-features.h>.
35780         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35781         conditional variable definition.
35782         (shm_open) [O_CLOEXEC]: Make code unconditional.
35783         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35784         code.
35786         * configure.ac (USE_REGPARMS): Don't define here.
35787         * configure: Regenerated.
35788         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35789         * sysdeps/i386/configure: Regenerated.
35791         * nptl/createthread.c: Don't include kernel-features.h.
35792         * nptl/pthread_cancel.c: Likewise.
35793         * nptl/pthread_condattr_setclock.c: Likewise.
35794         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35795         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35796         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35797         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35798         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35799         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35800         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35801         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35802         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35803         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35804         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35805         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35806         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35807         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35808         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35809         * nscd/gai.c: Likewise.
35810         * nss/nss_db/db-open.c: Likewise.
35811         * sysdeps/generic/ldsodefs.h: Likewise.
35812         * sysdeps/sh/nptl/tls.h: Likewise.
35813         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35814         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35815         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35816         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35817         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35818         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35819         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35820         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35821         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35822         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35823         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35824         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35825         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35826         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35827         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35828         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35829         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35830         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35831         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35832         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35835         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35836         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35841         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35842         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35843         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35844         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35845         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35846         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35847         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35848         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35849         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35850         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35851         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35852         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35853         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35854         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35855         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35856         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35857         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35858         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35859         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35860         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35861         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35862         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35863         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35864         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35865         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35866         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35867         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35868         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35869         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35870         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35893         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35894         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35895         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35896         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35897         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35898         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35899         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35900         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35901         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35902         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35903         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35904         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35905         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35906         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35907         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35908         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35910         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35911         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35912         * sysdeps/unix/sysv/linux/system.c: Likewise.
35913         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35914         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35915         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35916         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35917         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35918         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35919         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35921         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35922         * configure: Regenerated.
35923         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35925         * configure.ac (base_machine): Do not set specially for particular
35926         machines here.
35927         * configure: Regenerated.
35928         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35929         settings from configure.ac.
35930         * sysdeps/i386/preconfigure: New file.
35931         * sysdeps/s390/preconfigure: Likewise.
35932         * sysdeps/sh/preconfigure: Likewise.
35933         * sysdeps/sparc/preconfigure: Likewise.
35935 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35937         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35938         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35939         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35940         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35941         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35942         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35943         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35944         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35945         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35946         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35947         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35948         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35949         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35951         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35952         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35954         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35955         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35957         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35958         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35959         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35960         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35961         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35962         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35963         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35964         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35965         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35966         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35967         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35968         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35969         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35970         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35971         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35972         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35973         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35974         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35975         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35976         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35977         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35978         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35979         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35980         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35982         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35984         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35987         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35988         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35989         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35990         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35992         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35994         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35997         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35999         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36001         Moved ...
36002         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36003         ... here.
36004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36005         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36007         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36009         Moved ...
36010         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36012         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36014         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36016         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36018         Moved ...
36019         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36021         Moved ...
36022         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36024         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36026         Moved ...
36027         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36029         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36031         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36033         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36035         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36037         Moved ...
36038         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36039         ... here.
36040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36041         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36043         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36045         Moved ...
36046         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36048         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36050         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36052         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36054         Moved ...
36055         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36057         Moved ...
36058         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36060         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36062         Moved ...
36063         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36065         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36067         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36069 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36071         * timezone/checktab.awk: Update from tzcode 2014e.
36072         * timezone/private.h: Likewise.
36073         * timezone/tzfile.h: Likewise.
36074         * timezone/zdump.c: Likewise.
36075         * timezone/zic.c: Likewise.
36077         * sysdeps/unix/sysv/linux/kernel-features.h
36078         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36079         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36080         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36081         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36082         Remove conditional code.
36084 2014-06-25  Will Newton  <will.newton@linaro.org>
36086         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36087         (_dl_arm_cap_flags): Add HWCAP2 values.
36088         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36089         (_DL_HWCAP_COUNT): Increase to 37.
36090         (_DL_HWCAP_LAST): New define.
36091         (_DL_HWCAP2_LAST): New define.
36092         (_dl_procinfo): Add support for printing
36093         AT_HWCAP2 entries.
36094         (_dl_string_hwcap): Use _dl_hwcap_string.
36096 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36100 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36102         * README: Do not mention ports directory.
36104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36105         Remove macro.
36106         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36107         <kernel-features.h>.
36108         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36109         conditional variable definition.
36110         (__futimes): Update comment.
36111         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36112         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36114         [BZ #16560]
36115         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36116         arguments close to 0.
36117         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36118         Likewise.
36119         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36120         Likewise.
36121         * math/auto-libm-test-in: Add more tests of exp10.
36122         * math/auto-libm-test-out: Regenerated.
36123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36125         * sysdeps/unix/sysv/linux/kernel-features.h
36126         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36127         * sysdeps/unix/sysv/linux/readv.c: Do not include
36128         <kernel-features.h>.
36129         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36130         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36131         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36132         unconditional.
36133         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36134         conditional code.
36135         * sysdeps/unix/sysv/linux/writev.c: Do not include
36136         <kernel-features.h>.
36137         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36138         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36139         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36140         unconditional.
36141         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36142         conditional code.
36144 2014-06-25  Will Newton  <will.newton@linaro.org>
36146         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36147         comment changes throughout the file.  Remove checks
36148         for HAVE_*_H definitions that are not required.
36149         (__gen_tempname): Call abort if an unknown kind value is
36150         passed.
36152 2014-06-25  Andreas Schwab  <schwab@suse.de>
36154         [BZ #17086]
36155         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36156         scalbln, scalblnf, scalblnl in libc.
36158 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36160         [BZ #17086]
36161         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36162         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36163         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36165 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36167         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36168         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36169         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36170         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36171         Update #include.
36172         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36173         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36174         Update #include.
36175         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36176         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36177         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36178         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36179         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36180         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36181         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36182         * sysdeps/x86/bits/semaphore.h: ... here.
36183         * sysdeps/x86/nptl/elide.h: Moved ...
36184         * sysdeps/x86/elide.h: ... here.
36185         * sysdeps/x86_64/nptl/Implies: File removed.
36186         * sysdeps/i386/nptl/Implies: File removed.
36188 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36190         [BZ #16539]
36191         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36192         return the argument for normal arguments with exponent below -64.
36193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36194         Likewise.
36195         * math/auto-libm-test-in: Add another test of expm1.
36196         * math/auto-libm-test-out: Regenerated.
36198         [BZ #16287]
36199         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36200         calling __erfcl for arguments at least 16.
36201         * math/auto-libm-test-in: Add more tests of erf.
36202         * math/auto-libm-test-out: Regenerated.
36204         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36205         individual architectures.
36206         * sysdeps/unix/sysv/linux/configure: Regenerated.
36207         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36208         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36209         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36210         (ldd_rewrite_script): Define variable.
36211         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36213         file.
36214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36215         generated file.
36216         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36217         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36218         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36219         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36220         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36221         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36222         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36223         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36225 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36227         [BZ #17084]
36228         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36229         Rename member __data.d to __data.__elision_data.
36231 2014-06-24  Wilco  <wdijkstr@arm.com>
36233         * NEWS: Add 16918 to fixed bug list.
36235 2014-06-24  Wilco  <wdijkstr@arm.com>
36237         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36239 2014-06-24  Wilco  <wdijkstr@arm.com>
36241         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36242         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36243         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36244         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36245         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36246         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36247         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36248         Use _FPU_MASK_RM.
36250 2014-06-24  Wilco  <wdijkstr@arm.com>
36252         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36254 2014-06-24  Wilco  <wdijkstr@arm.com>
36256         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36257         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36258         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36259         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36261 2014-06-24  Wilco  <wdijkstr@arm.com>
36263         [BZ #16918]
36264         * sysdeps/arm/feupdateenv.c (feupdateenv):
36265         Rewrite to reduce FPSCR accesses and fix return value.
36267 2014-06-24  Wilco  <wdijkstr@arm.com>
36269         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36270         Optimize to avoid unnecessary FPSCR writes.
36271         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36272         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36273         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36274         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36276 2014-06-24  Wilco  <wdijkstr@arm.com>
36278         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36279         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36280         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36281         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36282         Call libc_fetestexcept_vfp.
36283         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36284         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36285         __SOFTFP__ ifdef so that they can be built for softfp.
36287 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36289         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36290         argument type signed char.
36292         * Makerules (check-abi): Dump diff of symlist if the test
36293         fails.
36295 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36297         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36298         using abort.
36300         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36301         Remove unused variable ST.
36303 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36305         [BZ #16354]
36306         [BZ #17061]
36307         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36308         small arguments before calling __expm1.
36309         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36310         small arguments before calling __expm1f.
36311         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36312         small arguments before calling __expm1l.
36313         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36314         Likewise.
36315         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36316         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36317         spurious underflow for some cosh tests.
36318         * math/auto-libm-test-out: Regenerated.
36319         * sysdeps/i386/fpu/libm-test-ulps: Update.
36321         [BZ #17050]
36322         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36323         (__ieee754_y1): Set errno if return value overflows.
36324         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36325         (__ieee754_y1f): Set errno if return value overflows.
36326         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36327         (__ieee754_y1l): Set errno if return value overflows.
36328         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36329         (__ieee754_y1l): Set errno if return value overflows.
36330         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36331         * math/auto-libm-test-out: Regenerated.
36333         * math/gen-auto-libm-tests.c: Document use of
36334         ignore-zero-inf-sign.
36335         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36336         (input_flags): Add ignore-zero-inf-sign.
36337         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36338         * math/gen-libm-test.pl (generate_testfile): Handle
36339         ignore-zero-inf-sign.
36340         * math/auto-libm-test-in: Mark some cpow tests with
36341         ignore-zero-inf-sign and some with xfail-rounding.
36342         * math/auto-libm-test-out: Regenerated.
36343         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36344         * sysdeps/i386/fpu/libm-test-ulps: Update.
36345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36347         [BZ #16315]
36348         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36349         overflowing or underflowing operations take place with sign of
36350         result.
36351         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36352         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36353         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36354         (__ieee754_pow): Recompute overflowing and underflowing results in
36355         original rounding mode.
36356         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36357         (__powl_helper): Allow negative argument X and scale negated value
36358         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36359         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36360         overflowing or underflowing operations take place with sign of
36361         result.
36362         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36363         Include <math.h>.
36364         * math/auto-libm-test-in: Add more tests of pow.
36365         * math/auto-libm-test-out: Regenerated.
36366         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36367         (pow_tonearest_test_data): Remove.
36368         (pow_test_tonearest): Likewise.
36369         (pow_towardzero_test_data): Likewise.
36370         (pow_test_towardzero): Likewise.
36371         (pow_downward_test_data): Likewise.
36372         (pow_test_downward): Likewise.
36373         (pow_upward_test_data): Likewise.
36374         (pow_test_upward): Likewise.
36375         (main): Don't call removed functions.
36376         * sysdeps/i386/fpu/libm-test-ulps: Update.
36377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36379 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36382         Moved ...
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36385         Moved ...
36386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36388         Moved ...
36389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36391         Moved ...
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36394         File removed.
36395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36396         File removed.
36397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36398         File removed.
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36400         File removed.
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36402         File removed.
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36404         File removed.
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36406         File removed.
36407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36408         File removed.
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36410         File removed.
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36412         File removed.
36413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36414         File removed.
36415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36416         File removed.
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36418         Moved ...
36419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36421         Moved ...
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36423         ... here.
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36425         Moved ...
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36428         Moved ...
36429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36431         Moved ...
36432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36434         Moved ...
36435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36437         Moved ...
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36440         Moved ...
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36443         Moved ...
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36447         ... here.
36448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36449         Moved ...
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36452         Moved ...
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36454         ... here.
36455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36456         Moved ...
36457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36458         ... here.
36459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36460         Moved ...
36461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36462         ... here.
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36464         Moved ...
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36467         Moved ...
36468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36472         Moved ...
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36474         ... here.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36476         Moved ...
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36478         ... here.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36480         Moved ...
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36483         Moved ...
36484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36486         Moved ...
36487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36489         Moved ...
36490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36492         Moved ...
36493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36494         ... here.
36495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36496         Moved ...
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36499         Moved ...
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36502         Moved ...
36503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36505         Moved ...
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36510         Moved ...
36511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36513         Moved ...
36514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36516         Moved ...
36517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36518         ... here.
36519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36520         Moved ...
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36522         ... here.
36523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36524         Moved ...
36525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36526         ... here.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36528         Moved ...
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36534         Moved ...
36535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36537         Moved ...
36538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36539         ... here.
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36541         Moved ...
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36543         ... here.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36545         Moved ...
36546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36547         ... here.
36548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36549         Moved ...
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36552         Moved ...
36553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36555 2014-06-23  Will Newton  <will.newton@linaro.org>
36556             Wilco  <wdijkstr@arm.com>
36558         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36559         implementation.  Include get-rounding-mode.h.
36560         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36561         [!libc_feholdsetround_noex_ctx]: Define
36562         libc_feholdsetround_noex_ctx.
36563         [!libc_feholdsetround_noexf_ctx]: Define
36564         libc_feholdsetround_noexf_ctx.
36565         [!libc_feholdsetround_noexl_ctx]: Define
36566         libc_feholdsetround_noexl_ctx.
36567         (libc_feholdsetround_ctx): New function.
36568         (libc_feresetround_ctx): New function.
36569         (libc_feholdsetround_noex_ctx): New function.
36570         (libc_feresetround_noex_ctx): New function.
36572 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36574         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36575         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36576         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36577         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36578         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36579         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36581         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36582         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36583         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36584         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36585         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36586         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36588         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36590         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36592         Moved ...
36593         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36594         ... here.
36595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36596         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36598         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36600         Moved ...
36601         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36603         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36605         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36607         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36609         Moved ...
36610         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36612         Moved ...
36613         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36615         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36617         Moved ...
36618         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36620         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36621         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36622         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36623         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36624         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36625         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36626         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36627         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36628         Moved ...
36629         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36630         ... here.
36631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36632         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36634         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36636         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36638         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36642         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36644         Moved ...
36645         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36647         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36649         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36651         Moved ...
36652         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36654         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36655         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36656         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36658         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36659         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36660         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36661         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36662         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36663         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36664         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36665         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36667         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36668         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36669         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36670         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36671         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36672         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36673         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36674         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36675         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36676         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36677         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36678         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36679         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36680         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36681         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36682         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36683         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36684         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36685         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36687 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36690         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36691         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36692         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36693         (IPV6_PMTUDISC_INTERFACE): Likewise.
36694         (IPV6_PMTUDISC_OMIT): Likewise.
36696 2014-06-23  Andreas Schwab  <schwab@suse.de>
36698         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36699         Remove unused errout label.
36701 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36703         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36704         macro: hardware supports Vector Crypto instructions.
36706 2014-06-23  Will Newton  <will.newton@linaro.org>
36708         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36709         rather than __builtin_expect.
36711         * elf/dl-lookup.c (undefined_msg): Remove variable.
36712         (_dl_lookup_symbol_x): Replace undefined_msg with string
36713         literal.
36715         * elf/dl-lookup.c (do_lookup_unique): New function.
36716         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36717         to a separate function.
36719 2014-06-23  Andreas Schwab  <schwab@suse.de>
36721         [BZ #17079]
36722         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36723         before reading the next line.
36725 2014-06-23  Will Newton  <will.newton@linaro.org>
36727         * test-skeleton.c (signal_handler): Use printf and %m
36728         rather than perror.  Use printf rather than fprintf to
36729         stderr.  Use puts rather than fputs to stderr.
36730         (main): Likewise.
36732 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36734         * nscd/nscd.c (thread_info_t): Remove typedef.
36735         (thread_info): Remove variable.
36737 2014-06-21  Allan McRae  <allan@archlinux.org>
36739         * NEWS: Mention CVE-2014-4043.
36741 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36743         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36744         * nptl/smp.h: ... here.
36746         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36748         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36749         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36750         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36751         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36753         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36754         * nptl/stack-aliasing.h: New file.
36755         * sysdeps/i386/i686/stack-aliasing.h: New file.
36756         * sysdeps/i386/i686/nptl/Makefile: File removed.
36757         * sysdeps/x86_64/stack-aliasing.h: New file.
36758         * sysdeps/x86_64/nptl/Makefile
36759         (CFLAGS-pthread_create.c): Variable removed.
36761         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36762         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36763         old file.
36764         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36765         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36766         old file.
36768 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36771         (__ASSUME_SIGFRAME_V2): Remove macro.
36772         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36773         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36774         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36775         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36776         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36777         Declare as function.  Remove conditional macro definitions.
36778         (__default_rt_sa_restorer): Likewise.
36779         (__default_sa_restorer_v1): Remove declaration.
36780         (__default_sa_restorer_v2): Likewise.
36781         (__default_rt_sa_restorer_v1): Likewise.
36782         (__default_rt_sa_restorer_v2): Likewise.
36783         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36784         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36785         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36787 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36789         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36790         (libpthread-routines): Add sysdep.
36791         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36792         * sysdeps/unix/sysv/linux/sparc/Versions
36793         (libpthread: GLIBC_2.3.3): New version set.
36794         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36795         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36796         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36797         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36798         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36799         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36800         Moved ...
36801         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36802         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36803         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36804         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36805         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36806         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36807         * sysdeps/sparc/nptl/sem_init.c: ... here.
36808         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36809         * sysdeps/sparc/nptl/sem_post.c: ... here.
36810         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36811         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36813         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36814         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36815         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36816         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36817         (libpthread-routines): Add cpu_relax.
36818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36819         File removed.
36820         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36821         (librt: GLIBC_2.3.3): New version set.
36822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36823         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36824         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36825         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36828         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36830         Moved ...
36831         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36833         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36835         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36837         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36839         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36841         Moved ...
36842         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36843         Update #include.
36844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36845         Moved ...
36846         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36847         Update #include.
36848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36849         Moved ...
36850         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36851         Update #include.
36852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36853         Moved ...
36854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36855         Update #include.
36856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36857         Moved ...
36858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36859         Update #include.
36860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36861         Moved ...
36862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36863         Update #include.
36864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36865         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36871         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36873         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36875         Moved ...
36876         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36878         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36882 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36884         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36885         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36886         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36887         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36888         * nscd/nscd.c: Likewise.
36889         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36890         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36891         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36892         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36894         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36895         <kernel-features.h>.
36896         (init_mq_netlink): Remove conditional have_sock_cloexec
36897         definitions.  Remove code conditional on have_sock_cloexec < 0.
36898         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36899         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36900         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36901         <kernel-features.h>.
36902         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36903         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36905 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36908         Add tests for memset_chk and memset.
36910         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36911         with AVX2_Usable.
36913 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36915         [BZ #16046]
36916         * elf/tst-dl-iter-static.c: New file.
36917         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36919         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36920         error.
36922 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36924         * sysdeps/unix/sysv/linux/kernel-features.h
36925         (__ASSUME_F_GETOWN_EX): Remove macro.
36926         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36927         <kernel-features.h>.
36928         (miss_F_GETOWN_EX): Remove variable or macro.
36929         (do_fcntl): Do not check miss_F_GETOWN_EX.
36930         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36933         Remove macro.
36934         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36935         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36936         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36938         * sysdeps/unix/sysv/linux/kernel-features.h
36939         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36940         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36941         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36942         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36944 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36946         [BZ #17075]
36947         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36948         Fix calculation of the symbol's value.
36949         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36950         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36951         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36952         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36953         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36954         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36955         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36956         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36957         (modules-names): Add `tst-armtlsdescmod',
36958         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36959         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36960         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36961         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36962         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36963         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36964         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36965         ($(objpfx)tst-armtlsdescloc): New dependency.
36966         ($(objpfx)tst-armtlsdescextnow): Likewise.
36967         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36968         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36969         TLS scheme support.
36970         * sysdeps/arm/configure: Regenerate.
36972 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36974         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36975         (__atfct_seterrno_2): Likewise.
36976         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36977         <kernel-features.h>.
36978         (__ASSUME_ATFCTS): Do not undefine and redefine.
36979         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36980         (__have_atfcts): Remove conditional definition.
36981         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36982         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36983         unreachable if [__ASSUME_ATFCTS].
36984         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36985         not undefine and redefine.
36986         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36987         <kernel-features.h>.
36988         (faccessat) [__NR_faccessat]: Make code unconditional.
36989         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36990         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36991         <kernel-features.h>.
36992         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36993         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36994         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36995         <kernel-features.h>.
36996         (fchownat) [__NR_fchownat]: Make code unconditional.
36997         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36998         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36999         <kernel-features.h>.
37000         (futimesat) [__NR_futimesat]: Make code unconditional.
37001         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37002         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37003         <kernel-features.h>.
37004         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37005         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37006         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37007         <kernel-features.h>.
37008         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37009         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37010         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37011         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37012         <kernel-features.h>.
37013         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37014         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37015         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37016         <kernel-features.h>.
37017         (linkat) [__NR_linkat]: Make code unconditional.
37018         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37019         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37020         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37021         <kernel-features.h>.
37022         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37023         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37024         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37025         <kernel-features.h>.
37026         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37027         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37028         * sysdeps/unix/sysv/linux/openat.c: Do not include
37029         <kernel-features.h>.
37030         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37031         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37032         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37033         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37034         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37035         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37036         <kernel-features.h>.
37037         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37038         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37039         result of INLINE_SYSCALL directly, not via int variable.
37040         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37041         <kernel-features.h>.
37042         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37043         (renameat) [__NR_renameat]: Make code unconditional.
37044         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37045         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37046         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37047         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37048         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37049         (__ASSUME_ATFCTS): Do not undefine and redefine.
37050         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37051         <kernel-features.h>.
37052         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37053         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37054         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37055         <kernel-features.h>.
37056         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37057         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37058         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37059         (__ASSUME_ATFCTS): Do not undefine and redefine.
37060         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37061         <kernel-features.h>.
37062         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37063         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37064         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37065         <kernel-features.h>.
37066         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37067         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37069 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37071         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37073 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37075         [BZ #17069]
37076         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37077         constructed tree before returning error.
37078         * posix/bug-regexp36.c: Expand test case.
37080 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37082         [BZ #6803]
37083         * math/libm-test.inc (scalbln_test_date):
37084         Add errno expectations.
37085         * math/w_scalblnf.c: New File.
37086         Add wrapper which checks for setting errno to ERANGE.
37087         Add weak_alias for corresponding scalbln function.
37088         * math/w_scalbln.c: Likewise.
37089         * math/w_scalblnl.c: Likewise.
37090         * math/Makefile (libm-calls): Add w_scalbln.
37091         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37092         Remove weak_alias for corresponding scalbln function.
37093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37096         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37097         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37098         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37099         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37100         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37101         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37102         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37103         Remove long_double_symbol for scalblnl function in libm, libc.
37104         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37105         Add wrapper which checks for setting errno to ERANGE.
37106         Add long_double_symbol for scalblnl function in libm, libc.
37107         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37108         Remove long_double_symbol for scalblnl in libm.
37109         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37110         Add wrapper which checks for setting errno to ERANGE.
37111         Add long_double_symbol for scalblnl function in libm.
37112         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37113         Do not use wrapper because of own implementation.
37115 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37117         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37118         3 bytes for __pad1 for x32.
37119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37121 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37122             H.J. Lu  <hongjiu.lu@intel.com>
37124         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37125         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37126         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37127         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37128         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37130 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37132         [BZ #17069]
37133         * posix/regcomp.c (parse_expression): Deallocate partially
37134         constructed tree before returning error.
37135         * posix/Makefile.c (tests): Add bug-regex36.
37136         (generated): Add bug-regex36.mtrace.
37137         (tests-special): Add $(objpfx)bug-regex36-mem.out
37138         (bug-regex36-ENV): New variable.
37139         ($(objpfx)bug-regex36-mem.out): New rule.
37140         * posix/bug-regex36.c: New file.
37142 2014-06-19  Will Newton  <will.newton@linaro.org>
37144         * malloc/malloc.c (systrim): If extra is zero then return
37145         early.
37147 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37149         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37151 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37153         * sysdeps/aarch64/strchr.S: New file.
37155 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37157         [BZ #17022]
37158         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37159         from arguments -2 or below.
37160         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37161         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37163 2014-06-18  Andreas Schwab  <schwab@suse.de>
37165         [BZ #17062]
37166         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37167         of a bracket expr not to run off the end of the string.
37168         * posix/Makefile (tests): Add tst-fnmatch3.
37169         * posix/tst-fnmatch3.c: New file.
37171 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37173         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37174         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37175         [$(cross-compiling) = no]: Likewise.
37176         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37177         [$(cross-compiling) = no]: Likewise.
37179 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37181         [BZ #17031]
37182         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37183         double, adjusted for any remainder from the high double.
37184         * math/libm-test.inc (nearbyint): Add tests.
37185         (rint): Likewise.
37187 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37189         * nptl/sysdeps/powerpc/Makefile: Moved ...
37190         * sysdeps/powerpc/nptl/Makefile: ... here.
37191         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37192         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37193         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37194         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37195         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37196         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37197         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37198         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37199         * nptl/sysdeps/powerpc/tls.h: Moved ...
37200         * sysdeps/powerpc/nptl/tls.h: ... here.
37202 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37204         [BZ #16681]
37205         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37206         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37207         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37208         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37209         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37210         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37211         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37212         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37213         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37215 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37217         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37219 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37221         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37222         defined operator.
37224         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37225         $TIMEOUTFACTOR.
37227 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37229         [BZ #17058]
37230         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37231         non-executed part of the test.
37233 2014-06-16  Andreas Schwab  <schwab@suse.de>
37235         * string/bits/string2.h (strdup, strndup): Update feature guard.
37237 2014-06-14  David S. Miller  <davem@davemloft.net>
37239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37241 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37243         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37244         that was previously under [RESET_PID].
37245         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37247         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37248         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37249         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37250         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37251         (__libc_vfork): New strong alias.
37252         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37254 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37256         * sysdeps/generic/elide.h: New file.
37258 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37260         * Makefile (installed-headers): Adjust path of pthread.h header.
37262 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37264         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37265         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37266         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37267         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37269         * nptl/sysdeps/s390/Makefile: Moved ...
37270         * sysdeps/s390/nptl/Makefile: ... here.
37271         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37272         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37273         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37274         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37275         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37276         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37277         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37278         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37279         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37280         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37281         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37282         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37283         * nptl/sysdeps/s390/tls.h: Moved ...
37284         * sysdeps/s390/nptl/tls.h: ... here.
37286         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37287         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37289 2014-06-13  David S. Miller  <davem@davemloft.net>
37291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37294         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37298         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37299         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37300         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37301         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37302         Remove RESET_PID cpp guards.
37303         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37304         Remove RESET_PID cpp guards.
37305         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37307 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37309         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37310         __sp to uintptr_t.
37312 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37314         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37315         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37316         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37317         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37319         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37320         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37322         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37324         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37325         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37326         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37327         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37328         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37329         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37330         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37331         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37332         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37335         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37336         (pthread_rwlock_rdlock): Add elision.
37337         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37338         (pthread_rwlock_wrlock): Add elision.
37339         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37340         (pthread_rwlock_trywrlock): Add elision.
37341         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37342         (pthread_rwlock_tryrdlock): Add elision.
37343         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37344         (pthread_rwlock_tryrdlock): Add elision unlock.
37345         * nptl/sysdeps/pthread/pthread.h:
37346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37347         (PTHREAD_RWLOCK_INITIALIZER,
37348         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37349         Handle new elision field.
37350         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37351         * sysdeps/arm/nptl/bits/pthreadtypes.h
37352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37353         * sysdeps/sh/nptl/bits/pthreadtypes.h
37354         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37355         * sysdeps/tile/nptl/bits/pthreadtypes.h
37356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37357         * sysdeps/a/nptl/bits/pthreadtypes.h
37358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37359         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37361         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37363         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37365         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37367         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37369         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37371         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37373         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37375         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37376         (elision_init): Set try_xbegin to zero when no RTM.
37377         * sysdeps/x86/nptl/bits/pthreadtypes.h
37378         (pthread_rwlock_t): Change __pad1 to __rwelision.
37379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37381 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37383         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37384         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37385         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37386         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37388 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37390         [BZ #16996]
37391         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37392         that the cached result has been set before returning it.
37394 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37396         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37397         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37398         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37399         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37401         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37403         * nptl/sysdeps/sparc/Makefile: Moved ...
37404         * sysdeps/sparc/nptl/Makefile: ... here.
37405         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37406         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37407         * nptl/sysdeps/sparc/tls.h: Moved ...
37408         * sysdeps/sparc/nptl/tls.h: ... here.
37409         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37410         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37411         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37412         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37413         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37414         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37415         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37416         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37417         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37418         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37419         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37420         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37421         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37422         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37423         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37424         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37425         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37426         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37427         Update #include.
37428         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37429         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37430         Update #include.
37431         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37433         Update #include.
37434         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37435         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37436         Update #include.
37438         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37440         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37441         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37443         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37444         (struct list_links): Type removed.
37445         (struct thread_node, struct timer_node): Replace struct list_links
37446         with struct list_head.
37447         (list_unlink_ip): Likewise.
37448         * sysdeps/pthread/timer_routines.c
37449         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37450         (list_append, list_insbefore): Likewise.
37451         (list_init): Function removed.
37452         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37453         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37454         * sysdeps/pthread/Makefile: ... here, new file.
37456         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37457         * sysdeps/nptl/Implies: ... here.
37458         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37459         * nptl/sysdeps/pthread/list.h: Moved ...
37460         * include/list.h: ... here.
37461         * nptl/sysdeps/pthread/createthread.c: Moved ...
37462         * nptl/createthread.c: ... here.
37463         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37464         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37465         * nptl/pt-longjmp.c: ... here.
37466         * nptl/sysdeps/pthread/Makefile: Moved ...
37467         * sysdeps/nptl/Makefile: ... here.
37468         * nptl/sysdeps/pthread/Subdirs: Moved ...
37469         * sysdeps/nptl/Subdirs: ... here.
37470         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37471         * sysdeps/nptl/aio_misc.h: ... here.
37472         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37473         * sysdeps/nptl/bits/libc-lock.h: ... here.
37474         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37475         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37476         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37477         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37478         * nptl/sysdeps/pthread/configure: Moved ...
37479         * sysdeps/nptl/configure: ... here.
37480         * nptl/sysdeps/pthread/configure.ac: Moved ...
37481         * sysdeps/nptl/configure.ac: ... here.
37482         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37483         * sysdeps/nptl/gai_misc.h: ... here.
37484         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37485         * sysdeps/nptl/librt-cancellation.c: ... here.
37486         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37487         * sysdeps/nptl/malloc-machine.h: ... here.
37488         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37489         * sysdeps/nptl/pthread-functions.h: ... here.
37490         * nptl/sysdeps/pthread/pthread.h: Moved ...
37491         * sysdeps/nptl/pthread.h: ... here.
37492         * nptl/sysdeps/pthread/setxid.h: Moved ...
37493         * sysdeps/nptl/setxid.h: ... here.
37494         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37495         * sysdeps/nptl/sigfillset.c: ... here.
37496         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37497         * sysdeps/nptl/tcb-offsets.h: ... here.
37498         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37499         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37500         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37501         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37502         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37503         * sysdeps/pthread/allocalim.h: ... here.
37504         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37505         * sysdeps/pthread/bits/sigthread.h: ... here.
37506         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37507         * sysdeps/pthread/flockfile.c: ... here.
37508         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37509         * sysdeps/pthread/ftrylockfile.c: ... here.
37510         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37511         * sysdeps/pthread/funlockfile.c: ... here.
37512         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37513         * sysdeps/pthread/posix-timer.h: ... here.
37514         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37515         * sysdeps/pthread/timer_create.c: ... here.
37516         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37517         * sysdeps/pthread/timer_delete.c: ... here.
37518         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37519         * sysdeps/pthread/timer_getoverr.c: ... here.
37520         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37521         * sysdeps/pthread/timer_gettime.c: ... here.
37522         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37523         * sysdeps/pthread/timer_routines.c: ... here.
37524         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37525         * sysdeps/pthread/timer_settime.c: ... here.
37526         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37527         * sysdeps/pthread/tst-timer.c: ... here.
37528         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37529         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37531         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37532         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37534         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37535         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37536         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37537         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37538         Update #include target.
37539         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37540         * sysdeps/i386/i686/nptl/Makefile: ... here.
37541         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37542         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37543         Update #include target.
37544         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37545         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37546         * nptl/sysdeps/i386/Makefile: Moved ...
37547         * sysdeps/i386/nptl/Makefile: ... here.
37548         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37549         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37550         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37551         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37552         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37553         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37554         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37555         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37556         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37557         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37558         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37559         * nptl/sysdeps/i386/tls.h: Moved ...
37560         * sysdeps/i386/nptl/tls.h: ... here.
37562         * sysdeps/sh/Makefile [$(subdir) = csu]
37563         (gen-as-const-headers): Add tcb-offsets.sym.
37564         * nptl/sysdeps/sh/Makefile: File removed.
37565         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37566         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37567         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37568         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37569         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37570         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37571         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37572         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37573         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37574         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37575         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37576         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37577         * nptl/sysdeps/sh/tls.h: Moved ...
37578         * sysdeps/sh/nptl/tls.h: ... here.
37579         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37580         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37581         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37582         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37583         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37584         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37585         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37586         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37588         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37590         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37591         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37592         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37594         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37596         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37598         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37600         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37602         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37604         Moved ...
37605         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37607         Moved ...
37608         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37610         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37613         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37614         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37615         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37616         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37617         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37618         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37619         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37620         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37621         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37622         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37623         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37624         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37625         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37626         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37628 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37630         * posix/spawn_faction_addopen.c: Include string.h.
37632 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37634         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37635         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37636         * nptl/sysdeps/x86_64/Makefile: Moved ...
37637         * sysdeps/x86_64/nptl/Makefile: ... here.
37638         * nptl/sysdeps/x86_64/configure: Moved ...
37639         * sysdeps/x86_64/nptl/configure: ... here.
37640         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37641         * sysdeps/x86_64/nptl/configure.ac: ... here.
37642         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37643         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37644         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37645         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37646         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37647         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37648         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37649         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37650         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37651         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37652         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37653         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37654         * nptl/sysdeps/x86_64/tls.h: Moved ...
37655         * sysdeps/x86_64/nptl/tls.h: ... here.
37656         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37657         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37658         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37659         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37661         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37663 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37667 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37669         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37670         type.
37671         [POSIX] (off_t): Likewise.
37672         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37673         [POSIX] (S_ISBLK): Require macro.
37674         [POSIX] (S_ISCHR): Likewise.
37675         [POSIX] (S_ISDIR): Likewise.
37676         [POSIX] (S_ISFIFO): Likewise.
37677         [POSIX] (S_ISREG): Likewise.
37678         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37679         optional-macro.
37680         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37681         type.
37682         [POSIX] (time_t): Likewise.
37683         [POSIX] (timer_t): Likewise.
37685 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37687         [BZ #17048]
37688         * posix/spawn_int.h (struct __spawn_action): Make the path string
37689         non-const to support deallocation.
37690         * posix/spawn_faction_addopen.c
37691         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37692         * posix/spawn_faction_destroy.c
37693         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37694         path in all spawn_do_open actions.
37695         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37696         posix_spawn_file_actions_addopen.
37698 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37700         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37701         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37702         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37703         conditional code always true.
37704         (__libc_vfork): New alias.
37706 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37708         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37709         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37711         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37713         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37714         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37716         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37717         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37719         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37720         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37722 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37724         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37725         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37726         multiarch strcmp for PPC64.
37727         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37728         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37730         multiarch optimizations.
37731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37732         (__libc_ifunc_impl_list): Likewise.
37734 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37736         * benchtests/scripts/validate_benchout.py: New script.
37737         * benchtests/Makefile (bench-func): Call it.
37738         * benchtests/scripts/benchout.schema.json: New file.
37740 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37742         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37743         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37744         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37745         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37746         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37747         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37748         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37749         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37750         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37751         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37752         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37753         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37754         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37755         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37756         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37757         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37759         Moved ...
37760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37761         ... here.
37762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37763         Moved ...
37764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37766         Moved ...
37767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37768         ... here.
37769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37770         Moved ...
37771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37772         ... here.
37773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37774         Moved ...
37775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37777         Moved ...
37778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37779         ... here.
37780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37781         Moved ...
37782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37783         ... here.
37784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37785         Moved ...
37786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37788         Moved ...
37789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37790         ... here.
37791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37792         Moved ...
37793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37794         ... here.
37795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37796         Moved ...
37797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37798         ... here.
37799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37800         Moved ...
37801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37803         Moved ...
37804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37805         ... here.
37806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37807         Moved ...
37808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37809         ... here.
37810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37811         Moved ...
37812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37813         ... here.
37814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37815         Moved ...
37816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37818         Moved ...
37819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37820         ... here.
37821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37822         Moved ...
37823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37824         ... here.
37825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37826         Moved ...
37827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37829         Moved ...
37830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37831         ... here.
37832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37833         Moved ...
37834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37836         Moved ...
37837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37839         Moved ...
37840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37841         ... here.
37842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37843         Moved ...
37844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37845         ... here.
37846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37847         Moved ...
37848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37849         ... here.
37850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37851         Moved ...
37852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37854         Moved ...
37855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37856         ... here.
37857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37858         Moved ...
37859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37860         ... here.
37861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37862         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37863         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37864         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37866         Moved ...
37867         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37868         ... here.
37869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37870         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37872         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37874         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37876         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37878         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37880         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37882         Moved ...
37883         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37885         Moved ...
37886         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37888         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37890         Moved ...
37891         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37893         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37894         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37895         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37896         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37897         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37899 2014-06-10  Wilco  <wdijkstr@arm.com>
37901         * math/test-fenv-return.c: New file.
37902         * math/Makefile: Add new test test-fenv-return.
37904 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37906         [BZ #17042]
37907         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37908         when x - 1 is zero.
37909         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37910         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37911         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37912         0.0L for an argument of 1.0L.
37913         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37914         Likewise.
37915         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37916         value when x - 1 is zero.
37917         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37918         * sysdeps/i386/fpu/libm-test-ulps: Update.
37919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37921 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37923         [BZ #15119]
37924         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37926 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37928         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37929         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37931 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37933         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37934         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37936         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37937         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37939         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37940         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37942         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37943         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37945         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37946         if not already defined.
37947         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37948         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37949         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37950         (TLS_INIT_TP): Use it.
37951         (TLS_DEFINE_INIT_TP): New macro.
37952         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37954 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37956         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37957         constant.
37958         [POSIX] (IXANY): Likewise.
37959         [POSIX] (OLCUC): Likewise.
37960         [POSIX || POSIX2008] (CBAUD): Do not allow.
37961         [POSIX || POSIX2008] (DEFECHO): Likewise.
37962         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37963         [POSIX || POSIX2008] (ECHOKE): Likewise.
37964         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37965         [POSIX || POSIX2008] (EXTA): Likewise.
37966         [POSIX || POSIX2008] (EXTB): Likewise.
37967         [POSIX || POSIX2008] (FLUSHO): Likewise.
37968         [POSIX || POSIX2008] (LOBLK): Likewise.
37969         [POSIX || POSIX2008] (PENDIN): Likewise.
37970         [POSIX || POSIX2008] (SWTCH): Likewise.
37971         [POSIX || POSIX2008] (VDISCARD): Likewise.
37972         [POSIX || POSIX2008] (VDSUSP): Likewise.
37973         [POSIX || POSIX2008] (VLNEXT): Likewise.
37974         [POSIX || POSIX2008] (VREPRINT): Likewise.
37975         [POSIX || POSIX2008] (VSTATUS): Likewise.
37976         [POSIX || POSIX2008] (VWERASE): Likewise.
37977         (B*): Change to B[0123456789]*.
37978         * conform/data/time.h-data [POSIX || UNIX98]
37979         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37980         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37981         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37982         [POSIX] (tm_*): Do not allow.
37984 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37986         * Makefile (install): Don't set LANGUAGE.
37987         * Makefile.in (install): Likewise.
37988         * assert/Makefile (test-assert-ENV): Remove variable.
37989         (test-assert-perr-ENV): Likewise.
37990         * elf/Makefile (neededtest4-ENV): Likewise.
37991         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37992         [$(cross-compiling) = no]: Don't set LANGUAGE.
37993         * io/ftwtest-sh (LANG): Remove variable.
37994         * libio/Makefile (tst-widetext-ENV): Likewise.
37995         * manual/install.texi (Running make install): Don't refer to
37996         environment settings for make install.
37997         * INSTALL: Regenerated.
37998         * nptl/tst-tls6.sh: Don't set LANG.
37999         * posix/globtest.sh (LANG): Remove variable.
38000         * string/Makefile (tester-ENV): Likewise.
38001         (inl-tester-ENV): Likewise.
38002         (noinl-tester-ENV): Likewise.
38003         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38004         [$(cross-compiling) = no]: Don't set LANGUAGE.
38005         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38006         without explicit environment settings.
38008 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38010         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38011         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38012         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38013         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38015 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38017         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38018         other files in the crypt directory.
38019         * crypt/crypt.c: Remove duplicate includes.
38020         * crypt/crypt-entry.c: Likewise.
38021         * crypt/crypt_util.c: Likewise.
38023 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38025         * Makeconfig (run-program-env): New variable.
38026         (run-program-prefix-before-env): Likewise.
38027         (run-program-prefix-after-env): Likewise.
38028         (run-program-prefix): Define in terms of new variables.
38029         (built-program-cmd-before-env): New variable.
38030         (built-program-cmd-after-env): Likewise.
38031         (built-program-cmd): Define in terms of new variables.
38032         (test-program-prefix-before-env): New variable.
38033         (test-program-prefix-after-env): Likewise.
38034         (test-program-prefix): Define in terms of new variables.
38035         (test-program-cmd-before-env): New variable.
38036         (test-program-cmd-after-env): Likewise.
38037         (test-program-cmd): Define in terms of new variables.
38038         * Rules (make-test-out): Use $(run-program-env).
38039         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38040         (help): Do not mention environment variables.  Mention
38041         --timeoutfactor option.
38042         (timeoutfactor): New variable.
38043         (blacklist_exports): Remove function.
38044         (exports): Remove variable.
38045         (command): Do not include ${exports}.
38046         * manual/install.texi (Configuring and compiling): Do not mention
38047         test wrappers preserving environment variables.  Mention that last
38048         assignment to a variable must take precedence.
38049         * INSTALL: Regenerated.
38050         * benchtests/Makefile (run-bench): Use $(run-program-env).
38051         * catgets/Makefile ($(objpfx)test1.cat): Use
38052         $(built-program-cmd-before-env), $(run-program-env) and
38053         $(built-program-cmd-after-env).
38054         ($(objpfx)test2.cat): Do not specify environment variables
38055         explicitly.
38056         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38057         $(run-program-env) and $(built-program-cmd-after-env).
38058         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38059         $(run-program-env) and $(test-program-cmd-after-env).
38060         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38061         explicitly.
38062         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38063         run_program_env and test_program_cmd_after_env arguments.
38064         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38065         * elf/tst-pathopt.sh: Use run_program_env argument.
38066         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38067         $(test-wrapper-env) and $(run-program-env).
38068         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38069         run_program_env arguments.
38070         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38071         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38072         $(test-program-prefix-before-env), $(run-program-env) and
38073         $(test-program-prefix-after-env).
38074         ($(objpfx)tst-gettext2.out): Likewise.
38075         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38076         run_program_env and test_program_prefix_after_env arguments.
38077         * intl/tst-gettext2.sh: Likewise.
38078         * intl/tst-gettext4.sh: Do not set environment variables
38079         explicitly.
38080         * intl/tst-gettext6.sh: Likewise.
38081         * intl/tst-translit.sh: Likewise.
38082         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38083         $(test-program-prefix-before-env), $(run-program-env) and
38084         $(test-program-prefix-after-env).
38085         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38086         run_program_env and test_program_prefix_after_env arguments.
38087         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38088         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38089         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38090         explicitly with each use of ${test_wrapper_env}.
38091         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38092         $(test-program-prefix-before-env), $(run-program-env) and
38093         $(test-program-prefix-after-env).
38094         * posix/tst-getconf.sh: Do not set environment variables
38095         explicitly.
38096         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38097         run_program_env and test_program_prefix_after_env arguments.
38098         * stdio-common/tst-printf.sh: Do not set environment variables
38099         explicitly.
38100         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38101         $(test-program-prefix-before-env), $(run-program-env) and
38102         $(test-program-prefix-after-env).
38103         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38104         run_program_env and test_program_prefix_after_env arguments.
38105         Split $test calls into $test_pre and $test.
38106         * timezone/Makefile (build-testdata): Use
38107         $(built-program-cmd-before-env), $(run-program-env) and
38108         $(built-program-cmd-after-env).
38110 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38112         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38113         strlen for non SHARED builds.
38115 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38117         * nptl/allocatestack.c (check_list): Inlined function...
38118         (__reclaim_stacks): ... here.
38120 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38122         [BZ #15698]
38123         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38124         memory overrun.
38126 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38128         * Rules (make-test-out): Include
38129         LOCPATH=$(common-objpfx)localedata in default environment.
38130         * debug/Makefile (tst-chk1-ENV): Remove variable.
38131         (tst-chk2-ENV): Likewise.
38132         (tst-chk3-ENV): Likewise.
38133         (tst-chk4-ENV): Likewise.
38134         (tst-chk5-ENV): Likewise.
38135         (tst-chk6-ENV): Likewise.
38136         (tst-lfschk1-ENV): Likewise.
38137         (tst-lfschk2-ENV): Likewise.
38138         (tst-lfschk3-ENV): Likewise.
38139         (tst-lfschk4-ENV): Likewise.
38140         (tst-lfschk5-ENV): Likewise.
38141         (tst-lfschk6-ENV): Likewise.
38142         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38143         (tst-iconv7-ENV): Likewise.
38144         * intl/Makefile (LOCPATH-ENV): Likewise.
38145         (tst-codeset-ENV): Likewise.
38146         (tst-gettext3-ENV): Likewise.
38147         (tst-gettext5-ENV): Likewise.
38148         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38149         (tst-fopenloc-ENV): Likewise.
38150         (tst-fgetws-ENV): Remove variable.
38151         (tst-ungetwc1-ENV): Likewise.
38152         (tst-ungetwc2-ENV): Likewise.
38153         (bug-ungetwc2-ENV): Likewise.
38154         (tst-swscanf-ENV): Likewise.
38155         (bug-ftell-ENV): Likewise.
38156         (tst-fgetwc-ENV): Likewise.
38157         (tst-fseek-ENV): Likewise.
38158         (tst-ftell-partial-wide-ENV): Likewise.
38159         (tst-ftell-active-handler-ENV): Likewise.
38160         (tst-ftell-append-ENV): Likewise.
38161         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38162         (tst-regexloc-ENV): Likewise.
38163         (bug-regex1-ENV): Likewise.
38164         (tst-regex-ENV): Likewise.
38165         (tst-regex2-ENV): Likewise.
38166         (bug-regex5-ENV): Likewise.
38167         (bug-regex6-ENV): Likewise.
38168         (bug-regex17-ENV): Likewise.
38169         (bug-regex18-ENV): Likewise.
38170         (bug-regex19-ENV): Likewise.
38171         (bug-regex20-ENV): Likewise.
38172         (bug-regex22-ENV): Likewise.
38173         (bug-regex23-ENV): Likewise.
38174         (bug-regex25-ENV): Likewise.
38175         (bug-regex26-ENV): Likewise.
38176         (bug-regex30-ENV): Likewise.
38177         (bug-regex32-ENV): Likewise.
38178         (bug-regex33-ENV): Likewise.
38179         (bug-regex34-ENV): Likewise.
38180         (bug-regex35-ENV): Likewise.
38181         (tst-rxspencer-ENV): Likewise.
38182         (tst-rxspencer-no-utf8-ENV): Likewise.
38183         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38184         (tst-sscanf-ENV): Likewise.
38185         (tst-swprintf-ENV): Likewise.
38186         (tst-swscanf-ENV): Likewise.
38187         (test-vfprintf-ENV): Likewise.
38188         (scanf13-ENV): Likewise.
38189         (bug14-ENV): Likewise.
38190         (tst-grouping-ENV): Likewise.
38191         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38192         (tst-strtod3-ENV): Likewise.
38193         (tst-strtod4-ENV): Likewise.
38194         (tst-strtod5-ENV): Likewise.
38195         (testmb2-ENV): Likewise./
38196         * string/Makefile (tst-strxfrm-ENV): Likewise.
38197         (tst-strxfrm2-ENV): Likewise.
38198         (bug-strcoll1-ENV): Likewise.
38199         (test-strcasecmp-ENV): Likewise.
38200         (test-strncasecmp-ENV): Likewise.
38201         * time/Makefile (tst-strptime-ENV): Likewise.
38202         (tst-ftime_l-ENV): Likewise.
38203         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38204         (tst-mbrtowc-ENV): Likewise.
38205         (tst-wcrtomb-ENV): Likewise.
38206         (tst-mbrtowc2-ENV): Likewise.
38207         (tst-c16c32-1-ENV): Likewise.
38208         (tst-mbsnrtowcs-ENV): Likewise.
38210 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38212         * manual/resource.texi (How to get information about the memory
38213         subsystem?): Fix typo.
38214         Reported by Peon de la Parra Ivan <peon@keba.com>
38216 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38218         [BZ #16882]
38219         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38220         (pthread_spin_lock): Branch out of spin loop to proper location.
38221         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38222         (pthread_spin_lock): Likewise.
38224         * nptl/tst-spin4.c: New test.
38225         * nptl/Makefile (tests): Add tst-spin4.
38227 2014-06-03  Andreas Schwab  <schwab@suse.de>
38229         [BZ #15946]
38230         * resolv/res_send.c (send_dg): Reload file descriptor after
38231         calling reopen.
38233 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38235         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38237 2014-06-03  Richard Henderson  <rth@redhat.com>
38239         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38240         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38241         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38242         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38243         in the SAVE_PID block.
38244         (__libc_vfork): New alias.
38245         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38247         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38248         child in registers, not on the stack.  Remove RESET_PID conditionals.
38249         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38251 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38253         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38255 2014-06-03  Wilco  <wdijkstr@arm.com>
38257         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38258         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38259         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38260         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38261         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38262         Likewise.
38264 2014-06-03  Wilco  <wdijkstr@arm.com>
38266         * sysdeps/aarch64/fpu/math_private.h
38267         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38268         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38269         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38270         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38271         Fix declarations.
38273 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38275         * crypt/crypt-private.h: Include ufc-crypt.h.
38276         (__b64_from_24bit): Declare extern.
38277         * crypt/crypt_util.c(__b64_from_24bit): New function.
38278         (b64t): New static const variable.
38279         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38280         (b64t): Remove variable.
38281         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38282         * crypt/sha256-crypt.c: Include crypt-private.h.
38283         (b64t): Remove variable.
38284         (__sha256_crypt_r): Remove b64_from_24bit and replace
38285         with __b64_from_24bit.
38286         * crypt/sha512-crypt.c: Likewise.
38288 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38290         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38291         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38292         Label the code __libc_vfork rather than __vfork.
38293         [!NOT_IN_libc] (vfork): Define as weak alias.
38294         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38295         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38296         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38298 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38300         * malloc/malloc.c (malloc_info): Fix format specifier for
38301         n_mmaps.
38303 2014-06-02  Wilco  <wdijkstr@arm.com>
38305         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38306         FPCR write.
38308 2014-06-02  Wilco  <wdijkstr@arm.com>
38310         [BZ #17009]
38311         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38312         Rewrite to reduce FPCR/FPSR accesses.
38314 2014-06-01  David S. Miller  <davem@davemloft.net>
38316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38318 2014-05-31  David S. Miller  <davem@davemloft.net>
38320         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38321         to occur in round to nearest mode when |x| >= 2.0
38323 2014-05-30  Richard Henderson  <rth@twiddle.net>
38325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38326         (PSEUDO_RET_NOERRNO): Remove.
38327         (ret): Don't redefine.
38328         (ret_NOERRNO): Define in terms of ret.
38329         (ret_ERRVAL): Likewise.
38331         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38332         use of PSEUDO_RET; perform the error check directly.
38334 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38336         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38337         with __int128_t.
38339 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38341         * malloc/malloc (malloc_info): Fix formatting.
38343 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38344             Roland McGrath  <roland@hack.frob.com>
38346         * malloc/malloc (malloc_info): Also print mmapped statistics.
38348 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38350         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38351         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38353 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38355         * malloc/malloc.c (malloc_info): Inline mi_arena.
38357 2014-05-29  Richard Henderson  <rth@twiddle.net>
38359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38360         Remove comma before expanding ASM_ARGS_##nr.
38361         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38362         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38363         of ASM_ARGS_##nr.
38364         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38365         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38366         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38367         (ASM_ARGS_1): Add leading comma.
38369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38370         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38371         to __errno_location.
38372         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38373         Remove the expected plt for __errno_location.
38375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38376         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38377         call to __read_tp.
38379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38380         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38381         it and break it down.
38382         (DOCARGS_0, DOCARGS_1): Do nothing.
38383         (DOCARGS_2): Update to store into the new stack frame.
38384         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38385         (UNDOCARGS_1): Update to restore from the new stack frame.
38386         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38387         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38389         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38390         (SINGLE_THREAD_P): New parameter for result regno.
38391         (PSEUDO): Update to match; use cbz instead of beq.
38393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38394         Use ENTRY to define the _nocancel entry point.  Share the syscall
38395         and syscall error check paths with the cancel path.
38396         (PSEUDO_END): New.
38398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38399         whitespace; tabs before and after asm mnemonics.
38401 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38403         [BZ #15132]
38404         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38405         Call fstat64 or stat64 internally, depending on arguments passed.
38406         Replace stat buffer argument with file descriptor argument.
38407         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38408         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38409         Pass fd to __internal_statvfs instead of calling fstat64.
38410         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38411         Pass fd to __internal_statvfs64 instead of calling fstat64.
38412         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38413         Pass -1 to __internal_statvfs instead of calling stat64.
38414         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38415         Pass -1 to __internal_statvfs64 instead of calling stat64.
38417 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38419         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38420         that was previously under [RESET_PID].
38421         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38423         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38424         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38426 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38428         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38430         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38431         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38433 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38435         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38437 2014-05-27  Andreas Schwab  <schwab@suse.de>
38439         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38440         TLS_INIT_TP macro.
38441         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38442         * elf/rtld.c (init_tls, dl_main): Likewise.
38443         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38444         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38445         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38446         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38447         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38448         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38449         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38450         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38451         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38452         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38453         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38454         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38455         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38456         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38457         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38458         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38459         * sysdeps/generic/tls.h: Update description.
38461 2014-05-27  Will Newton  <will.newton@linaro.org>
38463         [BZ #16990]
38464         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38465         and restore r2 rather than just restoring.
38467 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38469         [BZ #16724]
38470         * libio/tst-ftell-append.c: New test case.
38471         * libio/Makefile (tests): Add test case.
38472         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38473         append mode.
38474         * libio/wfileops.c (do_ftell_wide): Likewise.
38476 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38480         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38481         ...
38482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38484         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38485         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38486         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38487         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38488         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38489         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38491         Moved ...
38492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38494         Moved ...
38495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38496         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38497         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38498         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38499         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38500         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38501         ...
38502         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38503         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38504         Moved ...
38505         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38506         here.
38507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38508         ...
38509         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38510         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38511         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38513         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38514         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38515         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38516         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38519         merge into ...
38520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38522         ...
38523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38525         ...
38526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38528         Moved ...
38529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38530         here.
38531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38532         Moved ...
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38535         Moved ...
38536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38539         conditional [RESET_PID].
38540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38542         removed.
38543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38544         removed.
38546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38547         <tcb-offsets.h>.
38548         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38549         (__libc_vfork): New strong alias.
38550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38551         removed.
38552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38553         Removed.
38555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38556         <tcb-offsets.h>.
38557         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38558         (__libc_vfork): New strong alias.
38559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38560         removed.
38561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38562         removed.
38564 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38566         * malloc/malloc.c (mi_arena): New function.
38567         (malloc_info): Remove nested function mi_arena. Call non-nosted
38568         function mi_arena.
38570 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38572         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38573         by insrwi.
38574         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38575         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38576         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38577         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38578         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38579         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38580         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38582 2014-05-26  Andreas Schwab  <schwab@suse.de>
38584         [BZ #16984]
38585         * locale/programs/repertoire.c (repertoire_read): Add slash
38586         between I18NPATH element and file name.
38587         * locale/programs/locfile.c (locfile_read): Likewise.
38589 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38591         * nptl/pthread_mutexattr_settype.c
38592         (__pthread_mutexattr_settype):
38593         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38595 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38597         * nptl/tst-mutex5 (do_test):
38598         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38600 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38602         * benchtests/README: Document 'init' directive.
38603         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38604         BENCH_INIT.
38605         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38606         (parse_file): Recognize 'init' directive.
38608 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38610         [BZ #16796]
38611         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38612         alignment of struct pthread.
38614 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38616         [BZ #16878]
38617         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38618         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38619         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38620         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38622 2014-05-25  Richard Henderson  <rth@twiddle.net>
38624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38625         (SINGLE_THREAD_P_PIC): Remove.
38626         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38627         (SINGLE_THREAD_P_PIC): Remove.
38629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38630         branch to syscall error ...
38631         (PSEUDO): ... here.
38632         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38633         from __local_syscall_error to .Lsyscall_error.
38634         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38635         (SYSCALL_ERROR): Update label name.
38637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38638         Do not use DOARGS/UNDOARGS.
38639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38640         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38641         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38642         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38643         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38646         block comment.
38648         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38649         define if !NOT_IN_libc.
38650         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38651         define with non-default symbol versions.
38653 2014-05-23  Richard Henderson  <rth@twiddle.net>
38655         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38656         (vfork, __vfork): Define via compat_symbol.
38658         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38659         [!HAVE_IFUNC] (vfork_compat): Remove.
38660         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38662 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38664         [BZ #16978]
38665         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38666         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38667         variable.
38669 2014-05-23  Richard Henderson  <rth@twiddle.net>
38671         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38672         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38673         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38674         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38676         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38677         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38678         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38679         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38680         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38681         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38682         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38683         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38684         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38685         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38686         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38687         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38688         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38689         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38690         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38691         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38692         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38693         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38694         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38695         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38696         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38697         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38698         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38699         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38700         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38701         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38702         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38703         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38704         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38705         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38706         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38707         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38708         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38709         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38710         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38711         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38712         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38713         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38714         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38715         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38716         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38717         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38718         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38719         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38720         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38721         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38722         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38723         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38724         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38725         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38727         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38729         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38731         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38733         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38734         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38735         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38736         before exiting on error.
38737         (__libc_vfork): New strong alias.
38738         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38739         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38741         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38742         that was previously under [RESET_PID].
38743         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38745         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38747 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38749         [BZ #16977]
38750         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38751         value when x - 1 is zero.
38752         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38753         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38754         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38755         0.0L for an argument of 1.0L.
38756         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38757         Likewise.
38758         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38759         value when x - 1 is zero.
38760         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38761         * sysdeps/i386/fpu/libm-test-ulps: Update.
38762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38764 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38766         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38767         alphasort and versionsort.
38769 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38771         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38772         macro.
38773         [copysignf]: Likewise.
38775 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38777         * crypt/md5-crypt.c: Fix formatting.
38779 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38781         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38782         (b64_from_24bit): New function.
38784 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38787         libc_hidden_builtin_def to ifunc.
38788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38789         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38791 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38793         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38794         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38796 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38798         * nscd/Depend (linuxthreads): Remove.
38799         (nptl): Add.
38800         * resolv/Depend (linuxthreads): Remove.
38801         * rt/Depend (linuxthreads): Remove.
38803         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38804         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38805         $(common-objpfx)elf/.
38806         (link-libc-before-gnulib): Likewise.
38807         (elfobjdir): Remove variable.
38808         * Makefile (install): Use $(elf-objpfx) instead of
38809         $(common-objpfx)elf/.
38810         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38811         $(elfobjdir)/.
38812         (link-libc-deps): Likewise.
38813         ($(common-objpfx)libc.so): Likewise.
38814         ($(common-objpfx)linkobj/libc.so): Likewise.
38815         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38816         instead of $(common-objpfx)elf/.
38817         (symbolic-link-list): Likewise.
38818         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38819         [$(cross-compiling) = no]: Likewise.
38820         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38821         $(elfobjdir)/.
38822         (static-gnulib-arch): Likewise.
38823         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38824         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38825         $(common-objpfx)elf/.
38827 2014-05-21  Richard Henderson  <rth@redhat.com>
38829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38830         (SINGLE_THREAD_P): Use the correct width load.  Fold
38831         into the ldr offset.
38833         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38834         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38836 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38838         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38839         (libgcc_s_resume): Use __attribute_used__.
38840         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38841         Likewise.
38843 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38845         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38846         optimization when used with float constants.
38848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38850 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38852         [BZ #16915]
38853         * locale/nl_langinfo_l.c: Make direct reference to every
38854         _nl_current_CATEGORY symbol.
38855         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38856         (tests-static): Add tst-langinfo-static.
38857         (tests-special): Add tst-langinfo-static.out.
38858         ($(objpfx)tst-langinfo.out): Redirect output.
38859         ($(objpfx)tst-langinfo-static.out): New.
38860         * localedata/tst-langinfo.sh: Send output to stdout.
38861         * localedata/tst-langinfo-static.c: New file.
38863         [BZ #16965]
38864         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38865         when the shift amount is modulo the limb size.
38867 2014-05-20  Richard Henderson  <rth@redhat.com>
38869         [BZ #16967]
38870         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38871         Change type of sa_flags from unsigned int to int.
38873         [BZ #16966]
38874         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38876         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38878 2014-05-20  Will Newton  <will.newton@linaro.org>
38880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38881         Test the return value of the system call in the nocancel case.
38883 2014-05-20  Will Newton  <will.newton@linaro.org>
38884             Yvan Roux  <yvan.roux@linaro.org>
38886         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38887         #include of asm/ptrace.h.
38888         (PTRACE_GET_THREAD_AREA): Remove #undef.
38889         (PTRACE_GETHBPREGS): Likewise.
38890         (PTRACE_SETHBPREGS): Likewise.
38891         (struct user_regs_struct): New structure.
38892         (struct user_fpsimd_struct): New structure.
38893         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38894         #include of asm/ptrace.h and second #include of sys/user.h.
38895         (PTRACE_GET_THREAD_AREA): Remove #undef.
38896         (PTRACE_GETHBPREGS): Likewise.
38897         (PTRACE_SETHBPREGS): Likewise.
38898         (ELF_NGREG): Use new struct user_regs_struct.
38899         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38901 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38903         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38904         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38906 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38908         [BZ #16958]
38909         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38910         membar to avoid block loads/stores to overlap previous stores.
38912 2014-05-17  Richard Henderson  <rth@redhat.com>
38914         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38915         Create the __##syscall_name##_nocancel entry point.
38916         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38917         Remove; let the sysdep-cancel.h code create it.
38919 2014-05-17  David S. Miller  <davem@davemloft.net>
38921         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38922         Protect with __USE_GNU.
38923         (TIOCSET_TEMPT): Likewise.
38924         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38925         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38926         these are already provided in bits/ioctl-types.h
38928 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38930         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38931         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38933         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38934         Use wait4 regardless of [__NR_waitpid].
38936 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38938         PR libgcc/60166
38939         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38940         (_FP_NANSIGN_Q): Set the quiet bit.
38942 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38944         * benchtests/Makefile
38945         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38946         not $(common-objpfx)math/libm.so.
38947         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38948         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38949         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38950         $(common-objpfx)dlfcn/libdl.so.
38951         ($(objpfx)tst-audit8): Depend on $(libm), not
38952         $(common-objpfx)math/libm.so.
38953         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38954         not $(common-objpfx)dlfcn/libdl.so.
38955         * math/Makefile
38956         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38957         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38958         [$(build-shared) = yes].
38959         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38960         $(common-objpfx)nptl/libpthread.so.
38961         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38962         $(common-objpfx)math/libm.so$(libm.so-version) or
38963         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38964         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38965         $(common-objpfx)dlfcn/libdl.so.
38966         * setjmp/Makefile (link-libm): Remove variable.
38967         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38968         * stdio-common/Makefile (link-libm): Remove variable.
38969         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38970         * stdlib/Makefile (link-libm): Remove variable.
38971         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38972         ($(objpfx)tst-strtod-round): Likewise.
38973         ($(objpfx)tst-tininess): Likewise.
38974         ($(objpfx)tst-strtod-underflow): Likewise.
38975         ($(objpfx)tst-strtod6): Likewise.
38976         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38977         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38978         $(common-objpfx)dlfcn/libdl.so.
38980 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38983         BSD terminal modes definitions.
38985 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38987         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38988         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38990         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38991         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38992         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38993         Don't do #include_next.
38994         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38995         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38996         Don't do #include_next.
38997         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38998         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38999         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39000         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39002 2014-05-16  Allan McRae  <allan@archlinux.org>
39004         * po/sv.po: Update Swedish translation from translation project.
39006         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39007         in sed expression.
39009 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39011         [BZ #16917]
39012         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39013         errno if the TIOCGPTN ioctl fails with an error different than
39014         EINVAL.
39015         * login/tst-ptsname.c: New file.
39016         * login/Makefile (tests): Add tst-ptsname.
39018         [BZ #16943]
39019         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39020         and prlimit64.
39022 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39024         [BZ #16849]
39025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39026         herrno to return EAI_AGAIN.
39028 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39030         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39031         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39032         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39033         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39034         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39035         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39036         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39037         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39038         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39039         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39040         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39041         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39042         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39043         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39044         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39045         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39046         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39047         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39048         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39049         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39050         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39051         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39052         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39053         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39054         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39055         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39056         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39057         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39058         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39059         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39061         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39063         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39065         Moved ...
39066         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39068         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39070         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39072         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39074         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39076         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39078         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39080         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39082         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39084         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39086         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39088         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39090         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39092         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39094         Moved ...
39095         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39097         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39099         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39101         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39103         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39105         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39107         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39109         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39111         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39113         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39115         Moved ...
39116         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39118         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39120         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39121         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39122         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39123         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39124         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39125         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39126         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39127         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39128         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39129         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39130         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39131         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39132         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39133         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39134         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39135         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39136         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39137         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39138         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39139         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39140         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39141         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39142         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39143         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39144         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39145         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39146         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39147         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39148         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39152         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39153         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39155         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39156         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39157         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39158         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39159         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39160         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39161         Moved ...
39162         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39163         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39164         Moved ...
39165         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39167         Moved ...
39168         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39170         Moved ...
39171         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39172         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39173         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39174         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39175         Moved ...
39176         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39177         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39178         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39181         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39182         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39184         Moved ...
39185         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39187         Moved ...
39188         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39189         ... here.
39190         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39191         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39192         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39193         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39194         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39195         Moved ...
39196         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39197         ... here.
39198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39199         Moved ...
39200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39201         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39202         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39203         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39204         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39205         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39206         Moved ...
39207         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39209         Moved ...
39210         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39212         Moved ...
39213         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39215         Moved ...
39216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39217         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39218         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39219         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39220         Moved ...
39221         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39222         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39223         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39225         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39226         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39227         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39229         Moved ...
39230         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39232         Moved ...
39233         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39234         ... here.
39235         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39236         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39237         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39238         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39239         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39240         Moved ...
39241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39242         ... here.
39243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39244         Moved ...
39245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39246         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39247         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39248         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39249         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39250         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39251         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39253         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39255         Moved ...
39256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39258         Moved ...
39259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39261         Moved ...
39262         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39264         Moved ...
39265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39266         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39267         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39268         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39269         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39271         Moved ...
39272         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39273         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39274         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39277         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39278         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39280         Moved ...
39281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39283         Moved ...
39284         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39285         ... here.
39286         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39287         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39288         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39289         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39290         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39291         Moved ...
39292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39293         ... here.
39294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39295         Moved ...
39296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39297         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39298         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39299         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39300         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39301         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39302         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39303         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39304         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39305         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39306         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39308         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39309         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39311         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39312         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39314         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39315         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39316         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39317         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39318         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39319         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39320         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39321         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39322         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39323         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39324         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39325         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39327         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39328         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39330         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39332         Moved ...
39333         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39337         Moved ...
39338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39339         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39342         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39344         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39346         Moved ...
39347         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39349         Moved ...
39350         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39356         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39357         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39358         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39359         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39360         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39361         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39362         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39364         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39365         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39366         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39368         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39369         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39370         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39371         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39372         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39374         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39375         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39376         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39377         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39378         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39379         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39380         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39381         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39382         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39383         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39385         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39388         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39389         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39390         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39391         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39392         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39393         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39394         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39395         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39396         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39397         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39399         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39401         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39403         Update #include.
39404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39405         Likewise.
39406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39407         Likewise.
39408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39409         Likewise.
39410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39411         Likewise.
39412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39413         Likewise.
39414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39415         Likewise.
39416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39417         Likewise.
39418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39419         Likewise.
39420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39421         Likewise.
39422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39427         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39429         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39430         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39431         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39432         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39433         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39434         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39435         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39438         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39439         that was previously under [RESET_PID].
39440         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39441         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39442         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39444         * sysdeps/i386/nptl/Implies: New file.
39445         * sysdeps/x86_64/nptl/Implies: New file.
39446         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39447         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39448         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39449         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39451         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39452         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39453         (__libc_vfork): New strong alias.
39454         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39455         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39457         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39458         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39459         (__libc_vfork): New strong alias.
39460         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39461         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39463         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39464         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39465         (__libc_vfork): New strong alias.
39466         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39467         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39468         * nptl/pt-vfork.c: New file.
39469         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39470         (libpthread: GLIBC_2.20): New version set (empty).
39472 2014-05-14  Will Newton  <will.newton@linaro.org>
39474         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39475         rather than #if.
39477 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39479         [BZ #16564]
39480         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39481         arguments with exponent 65 or above.
39482         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39483         arguments 0x1p113L or above.
39484         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39485         to arguments 0x1p107L or above.
39486         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39487         positive arguments with exponent 65 or above.
39488         * math/auto-libm-test-in: Add more tests of log1p.
39489         * math/auto-libm-test-out: Regenerated.
39491         [BZ #16928]
39492         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39493         non-finite arguments is +0.
39494         * math/s_cacosf.c (__cacosf): Likewise.
39495         * math/s_cacosl.c (__cacosl): Likewise.
39496         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39497         * sysdeps/i386/fpu/libm-test-ulps: Update.
39498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39500         [BZ #16927]
39501         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39502         value.
39503         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39504         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39505         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39506         for explicit high bit of mantissa when testing for argument equal
39507         to 1.
39508         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39509         * sysdeps/i386/fpu/libm-test-ulps: Update.
39510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39512         [BZ #16516]
39513         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39514         (__erf): Scale by 16 instead of 8 in potentially underflowing
39515         case.  Ensure exception if result actually underflows.
39516         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39517         (__erff): Scale by 16 instead of 8 in potentially underflowing
39518         case.  Ensure exception if result actually underflows.
39519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39520         (efx8): Remove variable.
39521         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39522         case.  Ensure exception if result actually underflows.
39523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39524         (efx8): Remove variable.
39525         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39526         case.  Ensure exception if result actually underflows.
39527         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39528         (efx8): Remove variable.
39529         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39530         case.  Ensure exception if result actually underflows.
39531         * math/auto-libm-test-in: Add more tests of erf.
39532         * math/auto-libm-test-out: Regenerated.
39534 2014-05-14  Andreas Schwab  <schwab@suse.de>
39536         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39537         Remove code conditionalized on USE___THREAD.
39539         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39540         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39541         not definedness.
39543 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39545         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39546         Define unconditionally.
39547         (__ASSUME_O_CLOEXEC): Likewise.
39548         (__ASSUME_SOCK_CLOEXEC): Likewise.
39549         (__ASSUME_IN_NONBLOCK): Likewise.
39550         (__ASSUME_PIPE2): Likewise.
39551         (__ASSUME_EVENTFD2): Likewise.
39552         (__ASSUME_SIGNALFD4): Likewise.
39553         (__ASSUME_DUP3): Likewise.
39554         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39555         (__ASSUME_DUP3): Do not define.
39556         (__ASSUME_EVENTFD2): Likewise.
39557         (__ASSUME_IN_NONBLOCK): Likewise.
39558         (__ASSUME_O_CLOEXEC): Likewise.
39559         (__ASSUME_PIPE2): Likewise.
39560         (__ASSUME_SIGNALFD4): Likewise.
39561         (__ASSUME_SOCK_CLOEXEC): Likewise.
39562         (__ASSUME_UTIMES): Undefine.
39563         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39564         (__ASSUME_UTIMES): Do not define.
39565         (__ASSUME_O_CLOEXEC): Likewise.
39566         (__ASSUME_SOCK_CLOEXEC): Likewise.
39567         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39568         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39569         0x020621].
39570         (__ASSUME_PIPE2): Likewise.
39571         (__ASSUME_EVENTFD2): Likewise.
39572         (__ASSUME_SIGNALFD4): Likewise.
39573         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39574         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39575         Do not define.
39576         (__ASSUME_EVENTFD2): Likewise.
39577         (__ASSUME_SIGNALFD4): Likewise.
39578         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39579         (__ASSUME_32BITUIDS): Likewise.
39580         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39581         (__ASSUME_IPC64): Likewise.
39582         (__ASSUME_ST_INO_64_BIT): Likewise.
39583         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39584         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39585         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39586         (__ASSUME_UTIMES): Do not define.
39587         (__ASSUME_PSELECT): Likewise.
39588         (__ASSUME_PPOLL): Likewise.
39589         (__ASSUME_O_CLOEXEC): Likewise.
39590         (__ASSUME_SOCK_CLOEXEC): Likewise.
39591         (__ASSUME_IN_NONBLOCK): Likewise.
39592         (__ASSUME_PIPE2): Likewise.
39593         (__ASSUME_EVENTFD2): Likewise.
39594         (__ASSUME_SIGNALFD4): Likewise.
39595         (__ASSUME_DUP3): Likewise.
39596         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39597         (__ASSUME_UTIMES): Likewise.
39598         (__ASSUME_O_CLOEXEC): Likewise.
39599         (__ASSUME_SOCK_CLOEXEC): Likewise.
39600         (__ASSUME_IN_NONBLOCK): Likewise.
39601         (__ASSUME_PIPE2): Likewise.
39602         (__ASSUME_EVENTFD2): Likewise.
39603         (__ASSUME_SIGNALFD4): Likewise.
39604         (__ASSUME_DUP3): Likewise.
39605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39606         (__ASSUME_UTIMES): Likewise.
39607         (__ASSUME_O_CLOEXEC): Likewise.
39608         (__ASSUME_SOCK_CLOEXEC): Likewise.
39609         (__ASSUME_IN_NONBLOCK): Likewise.
39610         (__ASSUME_PIPE2): Likewise.
39611         (__ASSUME_EVENTFD2): Likewise.
39612         (__ASSUME_SIGNALFD4): Likewise.
39613         (__ASSUME_DUP3): Likewise.
39614         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39615         Likewise.
39616         (__ASSUME_UTIMES): Likewise.
39617         (__ASSUME_EVENTFD2): Likewise.
39618         (__ASSUME_SIGNALFD4): Likewise.
39619         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39620         (__ASSUME_O_CLOEXEC): Likewise.
39621         (__ASSUME_SOCK_CLOEXEC): Likewise.
39622         (__ASSUME_IN_NONBLOCK): Likewise.
39623         (__ASSUME_PIPE2): Likewise.
39624         (__ASSUME_EVENTFD2): Likewise.
39625         (__ASSUME_SIGNALFD4): Likewise.
39626         (__ASSUME_DUP3): Likewise.
39627         (__ASSUME_UTIMES): Undefine.
39629         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39630         feclearexcept.  Remove symbol versioning code.
39631         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39632         symbol versioning code.
39633         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39634         symbol versioning code.
39635         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39636         feupdateenv.  Remove symbol versioning code.
39637         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39638         fegetexceptflag.  Remove symbol versioning code.
39639         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39640         fesetexceptflag.  Remove symbol versioning code.
39641         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39642         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39643         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39644         (__posix_fadvise64_l32): Remove prototype.
39645         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39646         code.
39648 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39650         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39651         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39652         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39653         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39655 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39657         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39658         current working directory
39660 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39662         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39663         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39664         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39665         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39666         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39667         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39668         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39669         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39670         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39671         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39672         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39673         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39674         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39675         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39676         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39677         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39678         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39679         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39680         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39681         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39682         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39683         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39684         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39685         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39687         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39688         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39689         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39691         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39692         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39693         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39694         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39695         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39696         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39697         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39698         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39699         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39700         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39701         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39702         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39703         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39705         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39706         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39708         * sysdeps/unix/sysv/linux/arm/Makefile
39709         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39710         Add rt-aeabi_unwind_cpp_pr1.
39711         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39712         Add nptl-aeabi_unwind_cpp_pr1.
39713         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39714         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39715         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39716         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39717         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39718         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39720         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39721         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39722         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39723         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39725         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39726         Deconditionalize the code that was previously under [RESET_PID].
39727         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39729         * sysdeps/generic/exit-thread.h: New file.
39730         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39731         * include/unistd.h (__exit_thread): Remove declaration.
39732         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39733         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39734         * csu/libc-start.c: Include <exit-thread.h>.
39735         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39736         * nptl/pthread_create.c: Include <exit-thread.h>.
39737         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39738         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39739         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39740         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39741         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39742         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39743         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39744         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39745         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39746         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39747         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39748         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39749         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39750         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39751         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39752         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39753         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39755 2014-05-13  Andreas Schwab  <schwab@suse.de>
39757         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39759 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39761         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39762         (__ASSUME_UTIMES): Do not condition on kernel version.
39763         (__ASSUME_PSELECT): Define unconditionally.
39764         (__ASSUME_PPOLL): Likewise.
39765         (__ASSUME_ATFCTS): Likewise.
39766         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39767         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39768         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39769         (__ASSUME_UTIMENSAT): Define unconditionally.
39770         (__ASSUME_PRIVATE_FUTEX): Likewise.
39771         (__ASSUME_FALLOCATE): Likewise.
39772         (__ASSUME_O_CLOEXEC): Likewise.
39773         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39774         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39775         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39776         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39777         (__ASSUME_IN_NONBLOCK): Likewise.
39778         (__ASSUME_PIPE2): Likewise.
39779         (__ASSUME_EVENTFD2): Likewise.
39780         (__ASSUME_SIGNALFD4): Likewise.
39781         (__ASSUME_DUP3): Likewise.
39782         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39783         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39784         (__ASSUME_AT_RANDOM): Likewise.
39785         (__ASSUME_PREADV): Likewise.
39786         (__ASSUME_PWRITEV): Likewise.
39787         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39788         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39789         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39790         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39791         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39793         (__ASSUME_O_CLOEXEC): Define unconditionally.
39794         (__ASSUME_PSELECT): Do not undefine conditionally.
39795         (__ASSUME_PPOLL): Likewise.
39796         (__ASSUME_ATFCTS): Likewise.
39797         (__ASSUME_SET_ROBUST_LIST): Likewise.
39798         (__ASSUME_UTIMENSAT): Likewise.
39799         (__ASSUME_FDATASYNC): Define unconditionally.
39800         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39801         (__ASSUME_SIGFRAME_V2): Likewise.
39802         )__ASSUME_EVENTFD2): Likewise.
39803         (__ASSUME_SIGNALFD4): Likewise.
39804         (__ASSUME_PSELECT): Do not undefine conditionally.
39805         (__ASSUME_PPOLL): Likewise.
39806         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39807         (__ASSUME_PSELECT): Define unconditionally.
39808         (__ASSUME_PPOLL): Likewise.
39809         (__ASSUME_O_CLOEXEC): Likewise.
39810         (__ASSUME_SOCK_CLOEXEC): Likewise.
39811         (__ASSUME_IN_NONBLOCK): Likewise.
39812         (__ASSUME_PIPE2): Likewise.
39813         (__ASSUME_EVENTFD2): Likewise.
39814         (__ASSUME_SIGNALFD4): Likewise.
39815         (__ASSUME_DUP3): Likewise.
39816         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39817         (__ASSUME_O_CLOEXEC): Likewise.
39818         (__ASSUME_SOCK_CLOEXEC): Likewise.
39819         (__ASSUME_IN_NONBLOCK): Likewise.
39820         (__ASSUME_PIPE2): Likewise.
39821         (__ASSUME_EVENTFD2): Likewise.
39822         (__ASSUME_SIGNALFD4): Likewise.
39823         (__ASSUME_DUP3): Likewise.
39824         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39825         (__ASSUME_EVENTFD2): Likewise.
39826         (__ASSUME_SIGNALFD4): Likewise.
39827         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39829 2014-05-12  Andreas Schwab  <schwab@suse.de>
39831         [BZ #16932]
39832         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39833         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39834         than maximum RPC packet size.
39835         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39836         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39837         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39838         (_nss_nis_getservbyport_r): Likewise.
39840 2014-05-12  Will Newton  <will.newton@linaro.org>
39842         * malloc/Makefile (tests): Add tst-mallopt.
39843         * malloc/tst-mallopt.c: New file.
39845 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39847         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39848         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39850 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39852         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39853         (tst-tlsmod6.so): Likewise.
39855 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39857         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39859 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39861         [BZ #16064]
39862         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39863         and <dl-procinfo.h>.
39864         (__fegetenv): Save SSE state in envp->__eip if supported.
39865         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39866         envp->__eip if supported.
39867         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39868         and <dl-procinfo.h>.
39869         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39870         __data_offset and __data_selector in environment to 0.  Set SSE
39871         state if supported.
39872         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39873         test-fenv-sse.
39874         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39875         -mfpmath=sse.
39876         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39878 2014-05-09  Will Newton  <will.newton@linaro.org>
39880         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39881         and libc_relro_required for ARM.
39882         * sysdeps/arm/preconfigure: Regenerate.
39884 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39885             Stefan Liebler  <stli@linux.vnet.ibm.com>
39887         * config.make.in (enable-lock-elision): New Makefile variable.
39888         * configure.ac: Likewise.
39889         * configure: Regenerate.
39890         * sysdeps/s390/configure.ac:
39891         Add check for gcc transactions support.
39892         * sysdeps/s390/configure: Regenerate.
39893         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39894         Build elision files if enabled.
39895         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39896         Add lock elision support for s390.
39897         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39898         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39899         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39900         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39901         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39902         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39903         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39904         Likewise.
39905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39906         Likewise.
39907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39908         Likewise.
39909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39910         Likewise.
39911         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39912         (__lll_timedlock_elision, __lll_lock_elision)
39913         (__lll_unlock_elision, __lll_trylock_elision)
39914         (lll_timedlock_elision, lll_lock_elision)
39915         (lll_unlock_elision, lll_trylock_elision): Add.
39916         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39917         (pthread_mutex_t): Add lock elision support for s390.
39919 2014-05-14  Wilco  <wdijkstr@arm.com>
39921         * sysdeps/arm/fclrexcpt.c: Cleanup.
39922         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39923         * sysdeps/arm/feenablxcpt.c: Cleanup.
39924         * sysdeps/arm/fegetenv.c: Cleanup.
39925         * sysdeps/arm/fegetexcept.c: Cleanup.
39926         * sysdeps/arm/fegetround.c: Cleanup.
39927         * sysdeps/arm/feholdexcpt.c: Cleanup.
39928         * sysdeps/arm/fesetenv.c: Cleanup.
39929         * sysdeps/arm/fesetround.c: Cleanup.
39930         * sysdeps/arm/feupdateenv.c: Cleanup.
39931         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39932         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39933         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39934         * sysdeps/arm/ftestexcept.c: Cleanup.
39935         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39936         * sysdeps/arm/setfpucw.c: Cleanup.
39938 2014-05-09  Will Newton  <will.newton@linaro.org>
39940         * sysdeps/arm/armv7/strcmp.S: New file.
39941         * NEWS: Mention addition of ARMv7 optimized strcmp.
39943 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39945         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39946         look for %.ac rather than %.in.
39948         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39949         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39950         * sysdeps/mach/hurd/configure: Regenerated.
39951         * sysdeps/unix/sysv/linux/configure: Regenerated.
39953         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39955 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39957         [BZ# 16922]
39958         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39959         (LONG_SUB): Ditto.
39960         (PTR_SUB): Ditto.
39962 2014-05-07  Andreas Schwab  <schwab@suse.de>
39964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39965         when skipping over non-matching result from nscd.
39967 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39969         [BZ #16876]
39970         * nptl/sockperf.c (client): Check socket return value.
39972         [BZ #16877]
39973         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39974         nscd security class.
39976 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39978         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39979         * sysdeps/arm/unwind.h: ... here.
39981 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39983         [BZ# 16916]
39984         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39985         Define.
39987 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39989         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39990         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39991         multiarch strncpy for PPC64.
39992         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39993         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39995         multiarch optimizations.
39996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39997         (__libc_ifunc_impl_list): Likewise.
39998         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39999         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40000         multiarch stpncpy for PPC64.
40001         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40002         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40004 2014-05-06  Andreas Schwab  <schwab@suse.de>
40006         [BZ #16912]
40007         * gmon/mcount.c (_MCOUNT_DECL): Use
40008         atomic_compare_and_exchange_bool_acq instead of
40009         catomic_compare_and_exchange_bool_acq.
40011 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40013         * elf/Makefile (others, install-bin): Remove pldd.
40014         (pldd-modules): Variable removed.
40015         ($(objpfx)pldd): Target removed.
40016         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40017         (others, install-bin): Append pldd here.
40018         ($(objpfx)pldd): New target.
40020         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40021         to 0, so the first #if test emitted later doesn't see it undefined.
40022         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40023         * sysdeps/gnu/errlist.c: Regenerated.
40025 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40027         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40028         [libc_hidden_builtin_def]: Define to empty value.
40029         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40030         [libc_hidden_builtin_def]: Likewise.
40031         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40032         [libc_hidden_builtin_def]: Likewise.
40033         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40034         [libc_hidden_builtin_def]: Likewise.
40035         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40036         __redirect_memcpy and define ifunc as default hidden symbol.
40037         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40038         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40040 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40042         * locale/iso-4217.def: Reintroduce XDR currency.
40044 2014-05-04  Allan McRae  <allan@archlinux.org>
40046         * po/eo.po: Update Esperanto translation from translation project.
40048 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40050         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40051         and FEATURE_INDEX_MAX to 1.
40052         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40054 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40056         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40057         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40058         * iconvdata/big5.c (ONE_DIRECTION): Define.
40059         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40060         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40061         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40062         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40063         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40064         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40065         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40066         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40067         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40068         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40069         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40070         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40071         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40072         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40073         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40074         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40075         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40076         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40077         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40078         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40079         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40080         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40081         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40082         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40083         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40084         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40085         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40086         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40087         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40088         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40089         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40090         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40091         * iconvdata/johab.c (ONE_DIRECTION): Define.
40092         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40093         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40094         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40095         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40096         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40097         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40098         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40099         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40100         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40101         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40103 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40105         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40106         (_IO_JUMPS_OFFSET): Define to 0.
40108         * nptl/sysdeps/pthread/bits/libc-lock.h
40109         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40110         (__libc_lock_define_initialized_recursive): Always define using
40111         initializer.  Modern compilers treat uninitialized (implicit zero) and
40112         explicit zero initializers the same (i.e. put the datum in bss).
40114 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40116         * nscd/nscd-client.h: Include <string.h>.
40118 2014-05-01  David S. Miller  <davem@davemloft.net>
40120         [BZ #16885]
40121         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40122         multiple zero bytes exist at the end of a string.
40123         Reported by Aurelien Jarno <aurelien@aurel32.net>
40125         * string/test-strcmp.c (check): Add explicit test for situations where
40126         there are multiple zero bytes after the first.
40128 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40130         [BZ #16890]
40131         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40132         when compiling wprintf.
40133         * stdio-common/tstdiomisc.c (t3): New function.
40134         (main): Call it.
40136 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40138         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40139         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40140         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40141         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40143 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40145         * stdlib/longlong.h: Updated from GCC.
40147 2014-05-01  Will Newton  <will.newton@linaro.org>
40148             Bernard Ogden  <bernie.ogden@linaro.org>
40150         * NEWS: Update fixed bug list.
40152         [BZ #15119]
40153         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40155 2014-04-30  David S. Miller  <davem@davemloft.net>
40157         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40158         (libc_feholdexcept_setround_sparc_ctx): New function.
40159         (libc_fesetenv_sparc_ctx): Likewise.
40160         (libc_feupdateenv_sparc_ctx): Likewise.
40161         (libc_feholdsetround_sparc_ctx): Likewise.
40162         (libc_feholdexcept_setround_ctx): Define.
40163         (libc_feholdexcept_setroundf_ctx): Likewise.
40164         (libc_feholdexcept_setroundl_ctx): Likewise.
40165         (libc_fesetenv_ctx): Likewise.
40166         (libc_fesetenvf_ctx): Likewise.
40167         (libc_fesetenvl_ctx): Likewise.
40168         (libc_feupdateenv_ctx): Likewise.
40169         (libc_feupdateenvf_ctx): Likewise.
40170         (libc_feupdateenvl_ctx): Likewise.
40171         (libc_feresetround_ctx): Likewise.
40172         (libc_feresetroundf_ctx): Likewise.
40173         (libc_feresetroundl_ctx): Likewise.
40174         (libc_feholdsetround_ctx): Likewise.
40175         (libc_feholdsetroundf_ctx): Likewise.
40176         (libc_feholdsetroundl_ctx): Likewise.
40178         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40179         with __USE_GNU instead of XOPEN cpp guards.
40181         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40182         0.
40184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40185         with XOPEN cpp guards.
40187 2014-04-30  Julian Brown  <julian@codesourcery.com>
40189         [BZ #16888]
40190         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40191         handling.
40193 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40195         [BZ #9894]
40196         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40197         Change to 2.6.32.
40198         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40199         * sysdeps/unix/sysv/linux/configure: Regenerated.
40200         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40201         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40202         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40203         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40204         * README: Update reference to required Linux kernel version.
40205         * manual/install.texi (Linux): Update reference to required Linux
40206         kernel headers version.
40207         * INSTALL: Regenerated.
40209         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40210         header inclusion.
40211         [POSIX] (limits.h): Likewise.
40212         [POSIX] (math.h): Likewise.
40213         [POSIX] (sys/wait.h): Likewise.
40214         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40215         function.
40216         [POSIX] (stddef.h): Do not allow header inclusion.
40218 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40220         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40222 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40224         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40225         Return immediately after lll_futex_wake.
40227 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40229         [BZ #16791]
40230         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40231         structure.
40232         (datahead_init_pos): Call datahead_init_common early.
40233         (datahead_init_neg): Likewise.
40235         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40236         datahead_init_neg): New functions.
40237         * nscd/aicache.c (addhstaiX): Use them.
40238         * nscd/grpcache.c (cache_addgr): Likewise.
40239         * nscd/hstcache.c (cache_addhst): Likewise.
40240         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40241         * nscd/netgroupcache.c (do_notfound): Likewise.
40242         (addgetnetgrentX): Likewise.
40243         (addinnetgrX): Likewise.
40244         * nscd/pwdcache.c (cache_addpw): Likewise.
40245         * nscd/servicescache.c (cache_addserv): Likewise.
40247 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40248             Atsushi Onoe  <atsushi@onoe.org>
40250         [BZ #14308]
40251         [BZ #12994]
40252         [BZ #13651]
40253         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40254         one response is valid.
40255         * resolv/res_send.c (send_dg): Check for validity of other
40256         response if the current response is a referral.
40258 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40260         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40262 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40264         [BZ #16823]
40265         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40266         Always divide by positive zero when computing -Inf result.
40267         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40268         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40270 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40272         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40273         FPSCR if value do not change.
40274         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40275         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40276         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40277         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40278         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40279         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40280         function.
40282 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40284         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40285         * sysdeps/unix/sysv/linux/hppa: Move directory from
40286         ports/systeps/unix/sysv/linux/hppa.
40287         * README: Update listing for hppa-*-linux-gnu.
40289 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40291         [BZ #16754]
40292         * manual/stdio.texi (Hook functions): Fix types of stream hook
40293         functions.
40294         [BZ #16854]
40295         * socket/sys/socket.h: Fix typo in comment.
40297 2014-04-28  Wilco  <wdijkstr@arm.com>
40299         * sysdeps/arm/fenv_private.h: New file.
40300         * sysdeps/arm/math_private.h: New file.
40301         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40303 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40305         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40306         with __int128_t.
40307         (La_x86_64_retval): Likewise.
40309 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40311         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40312         fpsr if value didn't change.
40313         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40314         to fpcr if value didn't change.
40315         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40316         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40317         fpsr or fpcr if value didn't change.
40318         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40319         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40320         fpcr if value didn't change.
40321         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40322         to fpsr if value didn't change.
40324 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40326         * nptl/tst-sem3.c: Use test-skeleton.c
40327         (main): Rename to do_test.  Use return instead of
40328         exit.
40329         * nptl/tst-sem4.c: Use test-skeleton.c
40330         (main): Rename to do_test.
40332 2014-04-22  David S. Miller  <davem@davemloft.net>
40334         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40335         (struct sigaction): New struct member __glibc_reserved0, change
40336         type of sa_flags to int.
40338 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40340         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40341         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40343 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40345         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40346         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40348 2014-04-22  Will Newton  <will.newton@linaro.org>
40349             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40351         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40352         (__longjmp): Add longjmp and longjmp_target SystemTap
40353         probes.
40354         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40355         (__sigsetjmp): Add setjmp SystemTap probe.
40357 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40359         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40360         match manual order.
40362 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40364         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40366         * sysdeps/powerpc/fpu/fenv_private.h
40367         (libc_feholdexcept_setroundl_ctx): Define to
40368         libc_feholdexcept_setround_ppc_ctx.
40369         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40370         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40371         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40372         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40374 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40376         * sysdeps/aarch64/math-tests.h: New file.
40378 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40380         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40381         New.
40382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40383         Check and set bit_AVX2_Usable.
40384         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40385         macro.
40386         (bit_AVX2): Likewise.
40387         (index_AVX2_Usable): Likewise.
40388         (CPUID_AVX2): Likewise.
40389         (HAS_AVX2): Likewise.
40391 2014-04-17  Will Newton  <will.newton@linaro.org>
40393         * manual/setjmp.texi (System V contexts): Add note that
40394         calling setcontext on a context created by a call to a
40395         signal handler is undefined.  Update text to note that
40396         setcontext from a signal handler is possible but not
40397         recommended.
40399         [BZ #16629]
40400         * stdlib/tst-setcontext.c: Include signal.h.
40401         (main): Check that the signal stack before and
40402         after swapcontext is the same.
40404         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40405         Re-implement to restore registers in user code and avoid
40406         rt_sigreturn system call.
40408 2014-04-17  Wilco  <wdijkstr@arm.com>
40410         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40411         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40412         * math/test-fenv.c: Skip exception trap tests on targets which only
40413         support non-stop mode.
40415 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40416             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40418         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40419         (libc_feholdsetround_aarch64_ctx)
40420         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40421         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40422         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40423         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40424         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40425         (libc_feresetround_noexl_ctx): Define.
40427 2014-04-16  Richard Henderson  <rth@redhat.com>
40429         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40431         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40432         unwind tables.
40434         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40435         const from the non-libc, non-ldso copy.
40437         * sysdeps/alpha/libm-test-ulps: Regenerate.
40439 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40440             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40442         * sysdeps/aarch64/fpu/math_private.h: New file.
40444 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40446         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40448 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40450         [BZ #16275]
40451         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40452         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40453         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40454         Intel MPX bound registers before _dl_profile_fixup.
40455         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40456         registers after _dl_profile_fixup.  Save and restore bound
40457         registers bnd0/bnd1 when calling _dl_call_pltexit.
40458         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40459         (LR_BND_OFFSET): Likewise.
40460         (LRV_BND0_OFFSET): Likewise.
40461         (LRV_BND1_OFFSET): Likewise.
40463 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40465         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40466         to...
40467         * sysdeps/mach/hurd/i386/tls.h: ... here.
40468         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40469         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40470         fields.
40472 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40474         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40476 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40478         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40480 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40482         [BZ #14770]
40483         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40484         * sysdeps/s390/configure: Regenerate.
40486         [BZ #16824]
40487         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40488         Set round-to-nearest internally to reduce error accumulation.
40490 2014-04-16  Alan Modra  <amodra@gmail.com>
40492         [BZ #16740]
40493         [BZ #16619]
40494         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40495         * math/libm-test.inc (frexp_test_data): Add tests.
40496         * NEWS: Update fixed bug list.
40498 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40500         * benchtests/Makefile: Depend on libraries in build directory.
40501         (bench-math): Separate out math tests.
40502         (bench-pthread): Separate out pthread tests.
40503         (bench): Include math and pthread tests.
40505 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40507         [BZ #16831]
40508         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40509         _dl_debug_initialize.
40511         * configure.ac: Remove SELinux header check.
40512         * configure: Regenerate.
40513         * nscd/selinux.c (perms): Array of const char* to permission names.
40514         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40515         default policy. Call string_to_security_class and string_to_av_perm to
40516         translate strings. Enforce default policy and call avs_has_perm with
40517         results of translated strings.
40519 2014-04-13  David S. Miller  <davem@davemloft.net>
40521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40523 2014-04-12  Allan McRae  <allan@archlinux.org>
40525         [BZ #16838]
40526         * manual/string.texi (Collation Functions): Fix qsort argument
40527         order in example.
40528         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40530 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40532         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40533         Make the test a no-op if there are no exceptions defined.
40535 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40537         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40538         enable-hardcoded-path-in-tests
40540 2014-04-11  Will Newton  <will.newton@linaro.org>
40542         * benchtests/Makefile (extra-objs): Add json-lib.o.
40543         (bench-func): Tidy up JSON output.
40544         * benchtests/bench-skeleton.c: Include json-lib.h.
40545         (main): Use JSON library functions to do output of
40546         benchmark results.
40547         * benchtests/bench-timing-type.c (main): Output the
40548         timing type simply, leaving formatting to the user.
40549         * benchtests/json-lib.c: New file.
40550         * benchtests/json-lib.h: Likewise.
40552 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40554         [BZ #15215]
40555         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40556         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40557         memory barriers.  Add comments.
40558         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40559         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40560         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40561         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40562         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40563         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40565 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40567         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40568         * sysdeps/s390/s390-64/configure.ac: ... this ...
40569         * sysdeps/s390/configure.ac: ... to here.
40570         * sysdeps/s390/s390-32/configure: Delete file.
40571         * sysdeps/s390/s390-64/configure: Delete file.
40572         * sysdeps/s390/configure: Regenerate.
40574 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40576         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40578 2014-04-11  Will Newton  <will.newton@linaro.org>
40580         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40581         to zero if it is not defined elsewhere.  (mtrim): Test
40582         the value of MALLOC_DEBUG with #if rather than #ifdef.
40584 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40586         * benchtests/pthread_once-inputs: New file.
40587         * benchtests/pthread_once-source.c: New file.
40588         * benchtests/README: Update documentation.
40590 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40591             H.J. Lu  <hongjiu.lu@intel.com>
40593         [BZ #16275]
40594         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40595         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40596         * sysdeps/x86_64/configure: Regenerated.
40597         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40598         macro.
40599         (REGISTER_SAVE_RAX): Likewise.
40600         (REGISTER_SAVE_RCX): Likewise.
40601         (REGISTER_SAVE_RDX): Likewise.
40602         (REGISTER_SAVE_RSI): Likewise.
40603         (REGISTER_SAVE_RDI): Likewise.
40604         (REGISTER_SAVE_R8): Likewise.
40605         (REGISTER_SAVE_R9): Likewise.
40606         (REGISTER_SAVE_BND0): Likewise.
40607         (REGISTER_SAVE_BND1): Likewise.
40608         (REGISTER_SAVE_BND2): Likewise.
40609         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40610         bound registers when calling _dl_fixup.
40612 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40614         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40615         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40616         of its definition.
40617         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40618         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40619         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40620         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40621         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40622         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40623         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40625 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40627         [BZ #15514]
40628         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40629         pathconf(_PC_NAME_MAX).
40631 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40633         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40634         Remove macro usage.
40635         (__PTHREAD_SPINS): Move definition to ...
40636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40637         (__PTHREAD_SPINS): ... here.
40638         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40639         (__PTHREAD_SPIN): Likewise.
40640         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40641         (__PTHREAD_SPIN): Likewise.
40642         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40643         (__PTHREAD_SPIN): Likewise.
40644         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40645         (__PTHREAD_SPIN): Likewise.
40646         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40647         (__PTHREAD_SPIN): Likewise.
40648         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40649         (__PTHREAD_SPIN): Likewise.
40650         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40651         (__PTHREAD_SPIN): Likewise.
40652         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40653         (__PTHREAD_SPIN): Likewise.
40654         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40655         (__PTHREAD_SPIN): Likewise.
40656         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40657         (__PTHREAD_SPIN): Likewise.
40658         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40659         (__PTHREAD_SPIN): Likewise.
40660         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40661         (__PTHREAD_SPIN): Likewise.
40663         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40664         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40665         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40666         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40667         imply folder.
40668         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40669         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40670         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40671         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40672         correct imply path.
40673         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40674         strlen symbol for non multi-arch builds.
40675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40676         missing hidden_def and weak_alias.
40678 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40680         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40682 2014-04-07  Will Newton  <will.newton@linaro.org>
40684         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40685         and contents.  [!_LIBC] Remove #ifndef and contents.
40686         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40687         * string/memccpy.c (__memccpy): Use ANSI prototype.
40688         * string/memfrob.c (memfrob): Likewise.
40689         * string/strcoll.c (STRCOLL): Likewise.
40690         * string/strlen.c (strlen): Likewise.
40691         * string/strtok.c (STRTOK): Likewise.
40692         * string/strcat.c: Remove unused #include of memcopy.h.
40693         (strcat): Use ANSI prototype.
40694         * string/strchr.c: Remove unused #include of memcopy.h.
40695         (strchr): Use ANSI prototype.
40696         * string/strcmp.c: Remove unused #include of memcopy.h.
40697         (strcmp): Use ANSI prototype.
40698         * string/strcpy.c: Remove unused #include of memcopy.h.
40699         (strcpy): Use ANSI prototype.
40701 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40704         * config.make.in (config-extra-cppflags): Set it from
40705         libc_extra_cppflags.
40706         * configure.ac (libc_extra_cflags): Make it accumulate over
40707         configure fragments.
40708         (libc_extra_cppflags): New flag.
40709         * configure. Regenerate.
40710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40711         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40712         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40715         [BZ #16815]
40716         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40717         result for FE_DOWNWARD rounding mode.
40718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40719         Likewise.
40720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40722 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40724         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40725         in function argument name.
40727 2014-04-03  David Svoboda  <svoboda@cert.org>
40729         [BZ #5666]
40730         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40731         explicitly.
40733 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40735         * elf/dl-unmap-segments.h: New file.
40736         * sysdeps/generic/ldsodefs.h
40737         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40738         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40739         * elf/dl-fptr.c: Likewise.
40740         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40741         * sysdeps/aarch64/tlsdesc.c: Likewise.
40742         * sysdeps/arm/tlsdesc.c: Likewise.
40743         * sysdeps/i386/tlsdesc.c: Likewise.
40744         * sysdeps/tile/dl-runtime.c: Likewise.
40745         * sysdeps/x86_64/tlsdesc.c: Likewise.
40746         * elf/dl-load.h: New file.
40747         * elf/dl-load.c: Include it.
40748         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40749         Macros moved to dl-load.h.
40750         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40751         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40752         Use _dl_unmap_segments in place of __munmap.
40753         Break out segment-mapping loop into ...
40754         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40756 2014-04-03  Will Newton  <will.newton@linaro.org>
40758         * elf/dl-lookup.c (do_lookup_x): Remove comment
40759         referring to nested function and move variable
40760         declarations down to before first use.
40762 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40764         [BZ #16799]
40765         [BZ #16800]
40766         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40767         with 0 numerator.
40768         * math/s_catanf.c (__catanf): Likewise.
40769         * math/s_catanh.c (__catanh): Likewise.
40770         * math/s_catanhf.c (__catanhf): Likewise.
40771         * math/s_catanhl.c (__catanhl): Likewise.
40772         * math/s_catanl.c (__catanl): Likewise.
40773         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40774         by positive zero when computing -Inf result.
40775         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40776         (catanh_test): Likewise.
40777         * sysdeps/i386/fpu/libm-test-ulps: Update.
40778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40780         [BZ #16789]
40781         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40782         instead of using underflowing value in computing result.
40783         * math/s_clog10.c (__clog10): Likewise.
40784         * math/s_clog10f.c (__clog10f): Likewise.
40785         * math/s_clog10l.c (__clog10l): Likewise.
40786         * math/s_clogf.c (__clogf): Likewise.
40787         * math/s_clogl.c (__clogl): Likewise.
40788         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40789         (clog10_test): Likewise.
40790         * sysdeps/i386/fpu/libm-test-ulps: Update.
40791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40793 2014-04-02  Alan Modra  <amodra@gmail.com>
40795         [BZ #16739]
40796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40797         output when value is near a power of two.  Use int64_t for lx and
40798         remove casts.  Use decimal rather than hex exponent constants.
40799         Don't use long double multiplication when double will suffice.
40800         * math/libm-test.inc (nextafter_test_data): Add tests.
40801         * NEWS: Add 16739 and 16786 to bug list.
40803         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40805         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40807 2014-04-01  Will Newton  <will.newton@linaro.org>
40809         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40810         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40812 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40814         [BZ #13347]
40815         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40816         * nptl/tst-setuid2.c: New file.
40817         * nptl/Makefile (xtests): Add tst-setuid2.
40819 2014-04-01  Alan Modra  <amodra@gmail.com>
40821         [BZ #16786]
40822         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40824 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40826         [BZ #6803]
40827         [BZ #6804]
40828         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40829         set errno as appropriate.
40830         * math/w_scalbf.c (__scalbf): Likewise.
40831         * math/w_scalbl.c (__scalbl): Likewise.
40832         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40833         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40834         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40835         Add more NaN tests.
40837         [BZ #16349]
40838         * math/w_atan2.c: Include <errno.h>.
40839         (__atan2): Set errno for result underflowing to zero.
40840         * math/w_atan2f.c: Include <errno.h>.
40841         (__atan2f): Set errno for result underflowing to zero.
40842         * math/w_atan2l.c: Include <errno.h>.
40843         (__atan2l): Set errno for result underflowing to zero.
40844         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40845         tests.
40846         * math/auto-libm-test-out: Regenerated.
40848 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40850         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40851         Encode instruction correctly in little endian.
40852         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40853         Likewise.
40854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40855         Likewise.
40856         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40857         Likewise.
40858         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40859         Likewise.
40861 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40863         [BZ #9894]
40864         * sysdeps/unix/sysv/linux/kernel-features.h
40865         [__sparc__ && !__arch64__ && !__sparc_v9__]
40866         (__ASSUME_SET_ROBUST_LIST): Do not define.
40867         [__sparc__ && !__arch64__ && !__sparc_v9__]
40868         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40869         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40870         Likewise.
40871         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40872         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40873         (__ASSUME_REQUEUE_PI): Likewise.
40874         (__ASSUME_SET_ROBUST_LIST): Likewise.
40875         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40876         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40877         Undefine.
40878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40879         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40880         Likewise.
40881         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40882         Likewise.
40883         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40884         Likewise.
40885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40886         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40887         Undefine.
40888         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40889         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40890         Likewise.
40892         [BZ #16648]
40893         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40894         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40895         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40897 2014-03-31  Will Newton  <will.newton@linaro.org>
40899         * benchtests/Makefile (bench): Add ffs and ffsll to list
40900         of tests.
40901         * benchtests/ffs-inputs: New file.
40902         * benchtests/ffsll-inputs: Likewise.
40904 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40906         [BZ #16770]
40907         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40908         too large before casting to int.
40909         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40910         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40911         * math/libm-test.inc (scalb_test_data): Add more tests.
40913 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40915         * benchtests/Makefile (DETAILED_OPT): New make option.
40916         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40917         set.
40918         * benchtests/bench-skeleton.c: Include stdbool.h.
40919         (main): Store and print timings per input.
40920         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40921         member to each argument value.
40922         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40923         (_print_arg_data): Initialize per-input timing to 0.
40925         * benchtests/Makefile (timing-type): New binary.
40926         (bench-clean): Also remove bench-timing-type.
40927         (bench): New target for timing-type.
40928         (bench-func): Print output in JSON format.
40929         * benchtests/bench-skeleton.c (main): Print output in JSON
40930         format.
40931         * benchtests/bench-timing-type.c: New file.
40932         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40933         (TIMING_PRINT_STATS): Remove.
40934         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40935         name separately.
40937         * benchtests/bench-modf.c: Remove.
40938         * benchtests/modf-inputs: New inputs file.
40940 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40942         [BZ #16362]
40943         * math/s_clog10.c (M_PI_LOG10E): New macro.
40944         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40945         imaginary parts are 0.
40946         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40947         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40948         imaginary parts are 0.
40949         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40950         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40951         imaginary parts are 0.
40952         * math/libm-test.inc (clog10_test_data): Update expected results
40953         for when real and imaginary parts are 0.
40955 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40957         * elf/dl-load.c: Finish conversion of __builtin_expect into
40958         __glibc_{un}likely.
40960 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40962         [BZ #16348]
40963         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40964         1+x for argument with exponent below -67.
40965         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40966         Likewise.
40967         * math/auto-libm-test-in: Add more tests of exp.
40968         * math/auto-libm-test-out: Regenerated.
40970 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40972         [BZ #16759]
40973         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40974         (nscd_getnetgrent): Use it.
40976         [BZ #16760]
40977         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40978         of stpcpy.
40980 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40982         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40983         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40984         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40985         (lll_robust_unlock): Remove out of line section. Use cfi
40986         intrinsics.
40987         (LLL_STUB_UNWIND_INFO*): Remove.
40988         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40989         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40990         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40991         (lll_robust_unlock): Remove out of line section. Use cfi
40992         intrinsics.
40993         (LLL_STUB_UNWIND_INFO*): Remove.
40995 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40997         [BZ #16758]
40998         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40999         blank values.
41001 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41003         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41005 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41007         [BZ #16198]
41008         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41009         fnstenv.
41010         * math/test-fenv-preserve.c: New file.
41011         * math/Makefile (tests): Add test-fenv-preserve.
41013 2014-03-26  Will Newton <will.newton@linaro.org>
41015         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41017 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41019         * scripts/versionlist.awk: Partition the version sets and emit all
41020         GLIBC_* (sorted) before all others (sorted).
41022 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41024         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41025         GLIBC_2.2.5 version.
41027 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41029         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41030         calls.
41032         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41033         previous change.
41035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41037 2014-03-25  Andreas Schwab  <schwab@suse.de>
41039         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41040         label to be used after in6ailist is initialized.
41042 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41044         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41045         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41047 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41049         [BZ #16357]
41050         [BZ #16599]
41051         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41052         min_plus_half.
41053         (fp_formats): Update initializers.
41054         (init_fp_formats): Initialize new field.
41055         (output_for_one_input_case): Allow underflow for results up to
41056         min_plus_half.
41057         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41058         * math/auto-libm-test-in: Don't mark some underflows from asin and
41059         atanh as spurious.
41060         * math/auto-libm-test-out: Regenerated.
41061         * sysdeps/i386/fpu/libm-test-ulps: Update.
41062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41064 2014-03-25  Andreas Schwab  <schwab@suse.de>
41066         * libio/Makefile (tst-ftell-partial-wide-ENV)
41067         (tst-ftell-active-handler-ENV): Define.
41069 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41071         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41073 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41075         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41077 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41079         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41080         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41081         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41083 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41085         [BZ #16634]
41086         * elf/dl-load.c (open_verify): Add mode parameter.
41087         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41088         (open_path): Change from boolean 'secure' to complete flag 'mode'
41089         (_dl_map_object): Adjust.
41090         * elf/Makefile (tests): Add tst-dlopen-aout.
41091         * elf/tst-dlopen-aout.c: New test.
41093 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41095         [BZ #16714]
41096         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41097         (struct stat): Rename member pad0 to __glibc_reserved0.
41099         [BZ #16712]
41100         * sysdeps/s390/s390-32/bits/wordsize.h
41101         (__WORDSIZE32_SIZE_ULONG): New define.
41102         * sysdeps/s390/s390-64/bits/wordsize.h
41103         (__WORDSIZE32_SIZE_ULONG): Likewise.
41104         * sysdeps/generic/stdint.h (SIZE_MAX):
41105         Define as UL if __WORDSIZE32_SIZE_ULONG.
41107         [BZ #16713]
41108         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41109         (__glibc_reserved0): New variable.
41110         (sa_flags): Change type to int.
41112         * posix/Makefile (before-compile): Use += before-compile instead
41113         of a :=.
41115         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41116         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41118 2014-03-20  Andreas Schwab  <schwab@suse.de>
41120         [BZ #16743]
41121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41122         non-matching result from nscd.
41124 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41126         * scripts/bench.py: Moved to ...
41127         * benchtests/scripts/bench.py: ... here.
41128         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41130 2014-03-24  Andreas Schwab  <schwab@suse.de>
41132         [BZ #16002]
41133         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41134         alloca_account and account alloca use for struct in6ailist.
41136 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41138         [BZ #16284]
41139         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41140         rounding mode to recompute results that overflow to infinity or
41141         underflow to zero.
41142         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41143         bug 16284.
41144         * math/auto-libm-test-out: Regenerated.
41145         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41146         (ccosh_test): Likewise.
41147         (csin_test_data): Use plus_oflow.
41148         (csin_test): Use ALL_RM_TEST.
41149         (csinh_test_data): Use plus_oflow.
41150         (csinh_test): Use ALL_RM_TEST.
41151         * sysdeps/i386/fpu/libm-test-ulps: Update.
41152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41154 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41156         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41157         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41158         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41160         [BZ #16731]
41161         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41162         when x - 1 is zero.
41163         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41164         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41165         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41167         argument is 1.
41168         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41169         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41170         zero.
41171         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41172         * sysdeps/i386/fpu/libm-test-ulps: Update.
41173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41175 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41177         * scripts/bench.pl: Remove file.
41178         * scripts/bench.py: New benchmark script.
41179         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41180         * benchtests/README: Mention python dependency.
41181         * scripts/pylintrc: New file.
41182         * scripts/pylint: New file.
41184         * bits/mathdef.h: Use #ifdef instead of #if.
41185         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41186         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41187         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41188         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41189         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41190         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41192 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41193             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41195         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41197         and strpbrk-ppc64 objects.
41198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41199         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41200         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41201         multiarch strpbrk for POWER7.
41202         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41203         multiarch strpbrk for PPC64.
41204         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41205         ifunc selector.
41206         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41207         strpbrk for POWER7.
41209 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41211         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41212         (atan_test): Likewise.
41213         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41214         (atanh_test): Use ALL_RM_TEST.
41215         (atan2_test_data): Likewise.
41216         (cabs_test): Likewise.
41217         (cacosh_test): Likewise.
41218         (carg_test): Likewise.
41219         (casin_test): Likewise.
41220         (casinh_test): Likewise.
41221         (cbrt_test): Likewise.
41222         (csqrt_test): Likewise.
41223         (erf_test): Likewise.
41224         (erfc_test): Likewise.
41225         (pow10_test): Likewise.
41226         (exp2_test): Likewise.
41227         (hypot_test): Likewise.
41228         (j0_test): Likewise.
41229         (j1_test): Likewise.
41230         (lgamma_test): Likewise.
41231         (gamma_test): Likewise.
41232         (sincos_test): Likewise.
41233         (tanh_test): Likewise.
41234         (y0_test): Likewise.
41235         (y1_test): Likewise.
41236         * sysdeps/i386/fpu/libm-test-ulps: Update.
41237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41239 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41241         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41243         and strcspn-ppc64 objects.
41244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41245         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41246         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41247         multiarch strcspn for POWER7.
41248         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41249         multiarch strcspn for PPC64.
41250         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41251         ifunc selector.
41252         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41253         strcspn for POWER7.
41255 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41257         * math/gen-libm-test.pl (generate_testfile): Expect only function
41258         name as argument to AUTO_TESTS_* and pass results for all rounding
41259         modes to parse_args.
41260         (parse_auto_input): Separate inputs of automatic tests from
41261         outputs before storing in %auto_tests.
41262         * math/libm-test.inc (acos_test_data): Update call to
41263         AUTO_TESTS_f_f.
41264         (acos_test): Use ALL_RM_TEST.
41265         (acos_tonearest_test_data): Remove.
41266         (acos_test_tonearest): Likewise.
41267         (acos_towardzero_test_data): Likewise.
41268         (acos_test_towardzero): Likewise.
41269         (acos_downward_test_data): Likewise.
41270         (acos_test_downward): Likewise.
41271         (acos_upward_test_data): Likewise.
41272         (acos_test_upward): Likewise.
41273         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41274         (asin_test_data): Likewise.
41275         (asin_test): Use ALL_RM_TEST.
41276         (asin_tonearest_test_data): Remove.
41277         (asin_test_tonearest): Likewise.
41278         (asin_towardzero_test_data): Likewise.
41279         (asin_test_towardzero): Likewise.
41280         (asin_downward_test_data): Likewise.
41281         (asin_test_downward): Likewise.
41282         (asin_upward_test_data): Likewise.
41283         (asin_test_upward): Likewise.
41284         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41285         (atan_test_data): Likewise.
41286         (atanh_test_data): Likewise.
41287         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41288         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41289         (carg_test_data): Likewise.
41290         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41291         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41292         (ccosh_test_data): Likewise.
41293         (cexp_test_data): Likewise.
41294         (clog_test_data): Likewise.
41295         (clog10_test_data): Likewise.
41296         (cos_test_data): Update call to AUTO_TESTS_f_f.
41297         (cos_test): Use ALL_RM_TEST.
41298         (cos_tonearest_test_data): Remove.
41299         (cos_test_tonearest): Likewise.
41300         (cos_towardzero_test_data): Likewise.
41301         (cos_test_towardzero): Likewise.
41302         (cos_downward_test_data): Likewise.
41303         (cos_test_downward): Likewise.
41304         (cos_upward_test_data): Likewise.
41305         (cos_test_upward): Likewise.
41306         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41307         (cosh_test): Use ALL_RM_TEST.
41308         (cosh_tonearest_test_data): Remove.
41309         (cosh_test_tonearest): Likewise.
41310         (cosh_towardzero_test_data): Likewise.
41311         (cosh_test_towardzero): Likewise.
41312         (cosh_downward_test_data): Likewise.
41313         (cosh_test_downward): Likewise.
41314         (cosh_upward_test_data): Likewise.
41315         (cosh_test_upward): Likewise.
41316         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41317         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41318         (ctan_test_data): Likewise.
41319         (ctan_test): Use ALL_RM_TEST.
41320         (ctan_tonearest_test_data): Remove.
41321         (ctan_test_tonearest): Likewise.
41322         (ctan_towardzero_test_data): Likewise.
41323         (ctan_test_towardzero): Likewise.
41324         (ctan_downward_test_data): Likewise.
41325         (ctan_test_downward): Likewise.
41326         (ctan_upward_test_data): Likewise.
41327         (ctan_test_upward): Likewise.
41328         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41329         (ctanh_test): Use ALL_RM_TEST.
41330         (ctanh_tonearest_test_data): Remove.
41331         (ctanh_test_tonearest): Likewise.
41332         (ctanh_towardzero_test_data): Likewise.
41333         (ctanh_test_towardzero): Likewise.
41334         (ctanh_downward_test_data): Likewise.
41335         (ctanh_test_downward): Likewise.
41336         (ctanh_upward_test_data): Likewise.
41337         (ctanh_test_upward): Likewise.
41338         (erf_test_data): Update call to AUTO_TESTS_f_f.
41339         (erfc_test_data): Likewise.
41340         (exp_test_data): Likewise.
41341         (exp_test): Use ALL_RM_TEST.
41342         (exp_tonearest_test_data): Remove.
41343         (exp_test_tonearest): Likewise.
41344         (exp_towardzero_test_data): Likewise.
41345         (exp_test_towardzero): Likewise.
41346         (exp_downward_test_data): Likewise.
41347         (exp_test_downward): Likewise.
41348         (exp_upward_test_data): Likewise.
41349         (exp_test_upward): Likewise.
41350         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41351         (exp10_test): Use ALL_RM_TEST.
41352         (exp10_tonearest_test_data): Remove.
41353         (exp10_test_tonearest): Likewise.
41354         (exp10_towardzero_test_data): Likewise.
41355         (exp10_test_towardzero): Likewise.
41356         (exp10_downward_test_data): Likewise.
41357         (exp10_test_downward): Likewise.
41358         (exp10_upward_test_data): Likewise.
41359         (exp10_test_upward): Likewise.
41360         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41361         (expm1_test_data): Likewise.
41362         (expm1_test): Use ALL_RM_TEST.
41363         (expm1_tonearest_test_data): Remove.
41364         (expm1_test_tonearest): Likewise.
41365         (expm1_towardzero_test_data): Likewise.
41366         (expm1_test_towardzero): Likewise.
41367         (expm1_downward_test_data): Likewise.
41368         (expm1_test_downward): Likewise.
41369         (expm1_upward_test_data): Likewise.
41370         (expm1_test_upward): Likewise.
41371         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41372         (fma_test): Use ALL_RM_TEST.
41373         (fma_towardzero_test_data): Remove.
41374         (fma_test_towardzero): Likewise.
41375         (fma_downward_test_data): Likewise.
41376         (fma_test_downward): Likewise.
41377         (fma_upward_test_data): Likewise.
41378         (fma_test_upward): Likewise.
41379         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41380         (j0_test_data): Update call to AUTO_TESTS_f_f.
41381         (j1_test_data): Likewise.
41382         (jn_test_data): Update call to AUTO_TESTS_if_f.
41383         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41384         (log_test_data): Update call to AUTO_TESTS_f_f.
41385         (log10_test_data): Likewise.
41386         (log1p_test_data): Likewise.
41387         (log2_test_data): Likewise.
41388         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41389         (pow_tonearest_test_data): Likewise.
41390         (sin_test_data): Update call to AUTO_TESTS_f_f.
41391         (sin_test): Use ALL_RM_TEST.
41392         (sin_tonearest_test_data): Remove.
41393         (sin_test_tonearest): Likewise.
41394         (sin_towardzero_test_data): Likewise.
41395         (sin_test_towardzero): Likewise.
41396         (sin_downward_test_data): Likewise.
41397         (sin_test_downward): Likewise.
41398         (sin_upward_test_data): Likewise.
41399         (sin_test_upward): Likewise.
41400         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41401         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41402         (sinh_test): Use ALL_RM_TEST.
41403         (sinh_tonearest_test_data): Remove.
41404         (sinh_test_tonearest): Likewise.
41405         (sinh_towardzero_test_data): Likewise.
41406         (sinh_test_towardzero): Likewise.
41407         (sinh_downward_test_data): Likewise.
41408         (sinh_test_downward): Likewise.
41409         (sinh_upward_test_data): Likewise.
41410         (sinh_test_upward): Likewise.
41411         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41412         (sqrt_test): Use ALL_RM_TEST.
41413         (sqrt_tonearest_test_data): Remove.
41414         (sqrt_test_tonearest): Likewise.
41415         (sqrt_towardzero_test_data): Likewise.
41416         (sqrt_test_towardzero): Likewise.
41417         (sqrt_downward_test_data): Likewise.
41418         (sqrt_test_downward): Likewise.
41419         (sqrt_upward_test_data): Likewise.
41420         (sqrt_test_upward): Likewise.
41421         (tan_test_data): Update call to AUTO_TESTS_f_f.
41422         (tan_test): Use ALL_RM_TEST.
41423         (tan_tonearest_test_data): Remove.
41424         (tan_test_tonearest): Likewise.
41425         (tan_towardzero_test_data): Likewise.
41426         (tan_test_towardzero): Likewise.
41427         (tan_downward_test_data): Likewise.
41428         (tan_test_downward): Likewise.
41429         (tan_upward_test_data): Likewise.
41430         (tan_test_upward): Likewise.
41431         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41432         (tgamma_test_data): Likewise.
41433         (y0_test_data): Likewise.
41434         (y1_test_data): Likewise.
41435         (yn_test_data): Update call to AUTO_TESTS_if_f.
41436         (main): Do not call removed functions.
41438 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41440         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41441         (ldexp_test_data): Remove.
41442         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41443         scalbn_test_data.
41444         (scalb_test): Use ALL_RM_TEST.
41446 2014-03-19  Andreas Schwab  <schwab@suse.de>
41448         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41450 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41452         [BZ #16649]
41453         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41454         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41455         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41456         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41457         (__ASSUME_PREADV): Undefine.
41458         (__ASSUME_PWRITEV): Likewise.
41460 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41462         * bits/mman-linux.h: Add comment about non-Linux use.
41463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41464         bits/mman-linux.h resting place.
41466         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41467         * bits/mman-linux.h: ... here.
41469 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41471         * conform/conformtest.pl: Add standard definition when calling C
41472         preprocessor on data files.
41473         (checknamespace): Remove unused variable.
41475 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41477         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41478         minus_oflow, plus_uflow and minus_uflow in expected results.
41479         * math/libm-test.inc (scalbn_test_data): Add more tests of
41480         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41481         minus_uflow.
41482         (scalbn_test): Use ALL_RM_TEST.
41483         (scalbln_test_data): Add more tests of negative arguments.  Use
41484         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41485         (scalbln_test): Use ALL_RM_TEST.
41487 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41489         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41491 2014-03-18  Will Newton  <will.newton@linaro.org>
41493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41494         inaccurate comment.
41496 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41498         * Makerules [!subdir] (check-abi): Exit with error status if a
41499         test failed.
41501 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41503         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41504         for rint.  Include results for all rounding modes.
41505         (nearbyint_test): Use ALL_RM_TEST.
41506         (rint_test_data): Include all tests used for nearbyint.
41508 2014-03-17  Will Newton  <will.newton@linaro.org>
41510         * nptl/sysdeps/pthread/pthread.h: Revert previous
41511         change.
41513         * sysdeps/generic/ldsodefs.h: Revert previous
41514         change.
41516         * libio/genops.c: Revert previous change.
41517         * libio/libioP.h: Likewise.
41518         * stdio-common/vfprintf.c: Likewise.
41520         * sysdeps/generic/math_private.h: Revert previous
41521         change.
41523         * sysdeps/generic/math_private.h: Check whether
41524         HAVE_RM_CTX is defined with #ifdef rather
41525         than #if.
41527         * argp/argp-fmtstream.h: Check whether
41528         __STRICT_ANSI__ is defined with #ifdef rather
41529         than #if.
41530         * argp/argp.h: Likewise.
41532         * libio/genops.c: Check whether
41533         _IO_JUMPS_OFFSET is defined with #ifdef rather
41534         than #if.
41535         * libio/libioP.h: Likewise.
41536         * stdio-common/vfprintf.c: Likewise.
41538         * sysdeps/generic/ldsodefs.h: Check whether
41539         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41540         than #if.
41542         * nptl/sysdeps/pthread/pthread.h: Check
41543         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41544         its value.
41546 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41548         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41549         setting O_APPEND.
41550         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41551         test case.
41553         [BZ #16680]
41554         * libio/fileops.c (_IO_file_open): Seek to end of file but
41555         don't cache the offset.
41556         (get_file_offset): Remove function.
41557         (do_ftell): Use cached offset when available.
41558         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41559         don't cache the offset.
41560         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41561         case.
41562         (do_one_test): Call it.
41563         (do_ftell_test): Fix up expected old offset for a+ mode.
41564         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41565         available.
41567         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41568         up test status with function return status.
41569         (do_write_test): Likewise.
41570         (do_append_test): Likewise.
41572         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41573         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41574         Remove.
41576 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41578         * math/gen-libm-test.pl (parse_args): Handle results specified for
41579         each rounding mode separately.
41580         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41581         tests and results from lrint_tonearest_test_data,
41582         lrint_towardzero_test_data, lrint_downward_test_data and
41583         lrint_upward_test_data.
41584         (lrint_test): Use ALL_RM_TEST.
41585         (lrint_tonearest_test_data): Remove.
41586         (lrint_test_tonearest): Likewise.
41587         (lrint_towardzero_test_data): Likewise.
41588         (lrint_test_towardzero): Likewise.
41589         (lrint_downward_test_data): Likewise.
41590         (lrint_test_downward): Likewise.
41591         (lrint_upward_test_data): Likewise.
41592         (lrint_test_upward): Likewise.
41593         (llrint_test_data): Merge in per-rounding-mode tests and results
41594         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41595         llrint_downward_test_data and llrint_upward_test_data.
41596         (llrint_test): Use ALL_RM_TEST.
41597         (llrint_tonearest_test_data): Remove.
41598         (llrint_test_tonearest): Likewise.
41599         (llrint_towardzero_test_data): Likewise.
41600         (llrint_test_towardzero): Likewise.
41601         (llrint_downward_test_data): Likewise.
41602         (llrint_test_downward): Likewise.
41603         (llrint_upward_test_data): Likewise.
41604         (llrint_test_upward): Likewise.
41605         (rint_test_data): Merge in per-rounding-mode tests and results
41606         from rint_tonearest_test_data, rint_towardzero_test_data,
41607         rint_downward_test_data and rint_upward_test_data.  Add
41608         per-rounding-mode results for tests not in those arrays.
41609         (rint_test): Use ALL_RM_TEST.
41610         (rint_tonearest_test_data): Remove.
41611         (rint_test_tonearest): Likewise.
41612         (rint_towardzero_test_data): Likewise.
41613         (rint_test_towardzero): Likewise.
41614         (rint_downward_test_data): Likewise.
41615         (rint_test_downward): Likewise.
41616         (rint_upward_test_data): Likewise.
41617         (rint_test_upward): Likewise.
41618         (main): Don't call removed functions.
41620 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41622         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41623         "Compiled on ..." crapola.  It is anti-useful.
41625 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41627         * scripts/evaluate-test.sh: Handle fourth argument to determine
41628         whether test run should stop on failure.
41629         * Makeconfig (stop-on-test-failure): New variable.
41630         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41631         $(stop-on-test-failure).
41632         * Makefile (tests): Give a summary of results from testing and
41633         exit with failure status if they include an ERROR or FAIL.
41634         (xtests): Likewise.
41635         * manual/install.texi (Configuring and compiling): Mention
41636         stop-on-test-failure=y.
41637         * INSTALL: Regenerated.
41639 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41641         * scripts/versionlist.awk: New file.
41642         * Makerules [$(build-shared) = yes]
41643         (postclean-generated): Add Versions.def, not Versions.def.v and
41644         Versions.def.v.i.
41645         ($(common-objpfx)Versions.def.v.i): Target removed.
41646         ($(common-objpfx)Versions.def): New target.
41647         ($(common-objpfx)Versions.all): Depend on that rather that
41648         $(common-objpfx)Versions.def.v.
41649         * Versions.def: File removed.
41651         * Makeconfig (+gccwarn): Add -Wundef.
41652         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41653         a dl-sysdep.h breaking its contract.
41654         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41655         * include/stackinfo.h: New file.
41656         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41657         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41658         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41659         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41660         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41661         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41662         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41663         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41664         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41665         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41666         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41667         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41668         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41669         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41670         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41672 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41674         [BZ #16707]
41675         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41676         implementation.
41677         * math/libm-test.inc (round_test_data): Add more tests.
41679         [BZ #16706]
41680         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41681         implementation.
41682         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41684         [BZ #16701]
41685         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41686         implementation.
41687         * math/libm-test.inc (ceil_test_data): Add more tests.
41689         * math/libm-test.inc (trunc_test_data): Add more tests related to
41690         BZ#16414.
41692 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41694         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41695         with #if rather than #ifdef.
41696         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41698 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41700         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41701         first.  Disable AVX-512 GCC support if assembler doesn't support
41702         it.
41703         * sysdeps/x86_64/configure: Regenerated.
41705 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41707         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41708         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41709         (__old_pthread_attr_setstack): Likewise.
41710         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41711         [!_STACK_GROWS_DOWN]: Likewise.
41713 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41715         * config.make.in (have-bash2): Delete.
41716         * configure.ac (libc_cv_have_bash2): Delete.
41717         * configure: Regenerate.
41718         * elf/Makefile (common-ldd-rewrite): Rename to ...
41719         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41720         (sh-ldd-rewrite): Delete.
41721         (bash-ldd-rewrite): Delete.
41722         (have-bash2): Delete checks.
41723         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41724         ldd-rewrite.
41726         * config.make.in (have-ksh): Delete.
41727         (KSH): Delete.
41728         * configure.ac (libc_cv_have_ksh): Delete.
41729         * configure: Regenerate.
41731         * elf/Makefile: Delete $(have-ksh) check.
41732         ($(objpfx)sotruss): Change KSH to BASH.
41733         * elf/sotruss.ksh: Rename to ...
41734         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41735         function style to match POSIX.  Drop ksh vim mode setting.
41737         * manual/time.texi (Specifying the Time Zone with TZ): Change
41738         Tuesday to Thursday.
41740         * debug/tst-longjmp_chk2.c: Update header comment.
41741         (stackoverflow_handler): Add comment.  Call assert on pass value.
41743 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41745         [BZ #16194]
41746         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41747         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41748         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41749         (La_x86_64_vector): Add zmm.
41750         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41751         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41752         ($(objpfx)tst-audit10): New target.
41753         ($(objpfx)tst-audit10.out): Likewise.
41754         (tst-audit10-ENV): New.
41755         (AVX512-CFLAGS): Likewise.
41756         (CFLAGS-tst-audit10.c): Likewise.
41757         (CFLAGS-tst-auditmod10a.c): Likewise.
41758         (CFLAGS-tst-auditmod10b.c): Likewise.
41759         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41760         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41761         * sysdeps/x86_64/configure: Regenerated.
41762         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41763         AVX-512 zmm register support.
41764         (_dl_x86_64_save_sse): Likewise.
41765         (_dl_x86_64_restore_sse): Likewise.
41766         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41767         size vector registers.
41768         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41769         (ZMM_SIZE): Likewise.
41770         * sysdeps/x86_64/tst-audit10.c: New file.
41771         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41772         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41774 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41776         * configure.ac (HAVE_EHDR_START): New check.
41777         * configure: Regenerated.
41778         * config.h.in (HAVE_EHDR_START): New #undef.
41779         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41780         assuming the lowest-addressed segment maps the start of the file.
41782 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41784         * INSTALL: Regenerated.
41786 2014-03-13  Will Newton  <will.newton@linaro.org>
41788         * manual/setjmp.texi (System V contexts): Improve
41789         clarity and grammar of documentation.
41791 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41793         [BZ #16381]
41794         * elf/Makefile (tests): Add tst-pie2.
41795         (tests-pie): Add tst-pie2.
41796         * elf/tst-pie2.c: New file.
41797         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41798         for ET_EXEC.
41799         * elf/rtld.c (map_doit): Load executable as lt_executable.
41800         (dl_main): Likewise.
41802 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41804         [BZ #16642]
41805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41806         (__ASSUME_PSELECT): Undefine.
41808 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41810         [BZ #16689]
41811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41812         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41813         static build.
41814         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41815         selector for static builds.
41817 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41819         [BZ #16695]
41820         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41821         key in the buffer.
41823 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41825         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41826         IFUNC selector for static builds.
41828 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41830         * sysdeps/mips/math_private.h [__mips_hard_float]
41831         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41832         libc_feresetround_mips_ctx.
41833         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41834         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41835         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41837         [BZ #16677]
41838         * math/s_nextafter.c (__nextafter): Do not return value from
41839         overflowing computation.
41840         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41841         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41842         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41843         Likewise.
41844         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41845         Likewise.
41846         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41847         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41849 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41851         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41852         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41853         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41854         the new mov targetting sp.
41856 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41858         [BZ #16683]
41859         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41860         Define it for static builds as well.
41861         (NO_BZERO_IMPL): Likewise.
41863 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41865         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41866         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41867         multiarch strspn for PPC64.
41868         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41869         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41871         (__libc_ifunc_impl_list): Likewise.
41872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41873         multiarch optimizations
41874         * string/strspn.c (strspn): Using macro to redefine symbol name.
41876 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41877             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41879         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41880         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41881         multiarch strncat for PPC64.
41882         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41883         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41885         (__libc_ifunc_impl_list): Likewise.
41886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41887         multiarch optimizations
41889 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41891         [BZ #16639]
41892         * nscd/nscd.service: Make service type forking.
41894 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41896         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41897         sign in non default rounding modes.
41898         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41900 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41902         * math/libm-test.inc (ALL_RM_TEST): New macro.
41903         (ceil_test): Use ALL_RM_TEST.
41904         (cimag_test): Likewise.
41905         (conj_test): Likewise.
41906         (copysign_test): Likewise.
41907         (cproj_test): Likewise.
41908         (creal_test): Likewise.
41909         (fabs_test): Likewise.
41910         (floor_test): Likewise.
41911         (fmax_test): Likewise.
41912         (fmin_test): Likewise.
41913         (fmod_test): Likewise.
41914         (fpclassify_test): Likewise.
41915         (frexp_test): Likewise.
41916         (ilogb_test): Likewise.
41917         (isfinite_test): Likewise.
41918         (finite_test): Likewise.
41919         (isgreater_test): Likewise.
41920         (isgreaterequal_test): Likewise.
41921         (isinf_test): Likewise.
41922         (isless_test): Likewise.
41923         (islessequal_test): Likewise.
41924         (islessgreater_test): Likewise.
41925         (isnan_test): Likewise.
41926         (isnormal_test): Likewise.
41927         (issignaling_test): Likewise.
41928         (isunordered_test): Likewise.
41929         (logb_test): Likewise.
41930         (logb_downward_test_data): Remove.
41931         (logb_test_downward): Likewise.
41932         (lround_test): Use ALL_RM_TEST.
41933         (llround_test): Likewise.
41934         (modf_test): Likewise.
41935         (nexttoward_test): Likewise.
41936         (remainder_test): Likewise.
41937         (drem_test): Likewise.
41938         (remainder_tonearest_test_data): Likewise.
41939         (remainder_test_tonearest): Likewise.
41940         (drem_test_tonearest): Likewise.
41941         (remainder_towardzero_test_data): Likewise.
41942         (remainder_test_towardzero): Likewise.
41943         (drem_test_towardzero): Likewise.
41944         (remainder_downward_test_data): Likewise.
41945         (remainder_test_downward): Likewise.
41946         (drem_test_downward): Likewise.
41947         (remainder_upward_test_data): Likewise.
41948         (remainder_test_upward): Likewise.
41949         (drem_test_upward): Likewise.
41950         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41951         (round_test): Use ALL_RM_TEST.
41952         (signbit_test): Likewise.
41953         (trunc_test): Likewise.
41954         (significand_test): Likewise.
41955         (main): Don't call removed functions.
41957 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41959         [BZ #16674]
41960         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41961         || __USE_XOPEN2K8].
41962         (ILL_ILLOPN): Likewise.
41963         (ILL_ILLADR): Likewise.
41964         (ILL_ILLTRP): Likewise.
41965         (ILL_PRVOPC): Likewise.
41966         (ILL_PRVREG): Likewise.
41967         (ILL_COPROC): Likewise.
41968         (ILL_BADSTK): Likewise.
41969         (FPE_INTDIV): Likewise.
41970         (FPE_INTOVF): Likewise.
41971         (FPE_FLTDIV): Likewise.
41972         (FPE_FLTOVF): Likewise.
41973         (FPE_FLTUND): Likewise.
41974         (FPE_FLTRES): Likewise.
41975         (FPE_FLTINV): Likewise.
41976         (FPE_FLTSUB): Likewise.
41977         (SEGV_MAPERR): Likewise.
41978         (SEGV_ACCERR): Likewise.
41979         (BUS_ADRALN): Likewise.
41980         (BUS_ADRERR): Likewise.
41981         (BUS_OBJERR): Likewise.
41982         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41983         (TRAP_TRACE): Likewise.
41984         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41985         __USE_XOPEN2K8].
41986         (CLD_KILLED): Likewise.
41987         (CLD_DUMPED): Likewise.
41988         (CLD_TRAPPED): Likewise.
41989         (CLD_STOPPED): Likewise.
41990         (CLD_CONTINUED): Likewise.
41991         (POLL_IN): Likewise.
41992         (POLL_OUT): Likewise.
41993         (POLL_MSG): Likewise.
41994         (POLL_ERR): Likewise.
41995         (POLL_PRI): Likewise.
41996         (POLL_HUP): Likewise.
41997         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41998         Likewise.
41999         (ILL_ILLOPN): Likewise.
42000         (ILL_ILLADR): Likewise.
42001         (ILL_ILLTRP): Likewise.
42002         (ILL_PRVOPC): Likewise.
42003         (ILL_PRVREG): Likewise.
42004         (ILL_COPROC): Likewise.
42005         (ILL_BADSTK): Likewise.
42006         (FPE_INTDIV): Likewise.
42007         (FPE_INTOVF): Likewise.
42008         (FPE_FLTDIV): Likewise.
42009         (FPE_FLTOVF): Likewise.
42010         (FPE_FLTUND): Likewise.
42011         (FPE_FLTRES): Likewise.
42012         (FPE_FLTINV): Likewise.
42013         (FPE_FLTSUB): Likewise.
42014         (SEGV_MAPERR): Likewise.
42015         (SEGV_ACCERR): Likewise.
42016         (BUS_ADRALN): Likewise.
42017         (BUS_ADRERR): Likewise.
42018         (BUS_OBJERR): Likewise.
42019         (BUS_MCEERR_AR): Likewise.
42020         (BUS_MCEERR_AO): Likewise.
42021         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42022         (TRAP_TRACE): Likewise.
42023         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42024         __USE_XOPEN2K8].
42025         (CLD_KILLED): Likewise.
42026         (CLD_DUMPED): Likewise.
42027         (CLD_TRAPPED): Likewise.
42028         (CLD_STOPPED): Likewise.
42029         (CLD_CONTINUED): Likewise.
42030         (POLL_IN): Likewise.
42031         (POLL_OUT): Likewise.
42032         (POLL_MSG): Likewise.
42033         (POLL_ERR): Likewise.
42034         (POLL_PRI): Likewise.
42035         (POLL_HUP): Likewise.
42036         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42037         (ILL_ILLOPN): Likewise.
42038         (ILL_ILLADR): Likewise.
42039         (ILL_ILLTRP): Likewise.
42040         (ILL_PRVOPC): Likewise.
42041         (ILL_PRVREG): Likewise.
42042         (ILL_COPROC): Likewise.
42043         (ILL_BADSTK): Likewise.
42044         (FPE_INTDIV): Likewise.
42045         (FPE_INTOVF): Likewise.
42046         (FPE_FLTDIV): Likewise.
42047         (FPE_FLTOVF): Likewise.
42048         (FPE_FLTUND): Likewise.
42049         (FPE_FLTRES): Likewise.
42050         (FPE_FLTINV): Likewise.
42051         (FPE_FLTSUB): Likewise.
42052         (SEGV_MAPERR): Likewise.
42053         (SEGV_ACCERR): Likewise.
42054         (BUS_ADRALN): Likewise.
42055         (BUS_ADRERR): Likewise.
42056         (BUS_OBJERR): Likewise.
42057         (BUS_MCEERR_AR): Likewise.
42058         (BUS_MCEERR_AO): Likewise.
42059         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42060         (TRAP_TRACE): Likewise.
42061         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42062         __USE_XOPEN2K8].
42063         (CLD_KILLED): Likewise.
42064         (CLD_DUMPED): Likewise.
42065         (CLD_TRAPPED): Likewise.
42066         (CLD_STOPPED): Likewise.
42067         (CLD_CONTINUED): Likewise.
42068         (POLL_IN): Likewise.
42069         (POLL_OUT): Likewise.
42070         (POLL_MSG): Likewise.
42071         (POLL_ERR): Likewise.
42072         (POLL_PRI): Likewise.
42073         (POLL_HUP): Likewise.
42074         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42075         Likewise.
42076         (ILL_ILLOPN): Likewise.
42077         (ILL_ILLADR): Likewise.
42078         (ILL_ILLTRP): Likewise.
42079         (ILL_PRVOPC): Likewise.
42080         (ILL_PRVREG): Likewise.
42081         (ILL_COPROC): Likewise.
42082         (ILL_BADSTK): Likewise.
42083         (ILL_BADIADDR): Likewise.
42084         (ILL_BREAK): Likewise.
42085         (FPE_INTDIV): Likewise.
42086         (FPE_INTOVF): Likewise.
42087         (FPE_FLTDIV): Likewise.
42088         (FPE_FLTOVF): Likewise.
42089         (FPE_FLTUND): Likewise.
42090         (FPE_FLTRES): Likewise.
42091         (FPE_FLTINV): Likewise.
42092         (FPE_FLTSUB): Likewise.
42093         (FPE_DECOVF): Likewise.
42094         (FPE_DECDIV): Likewise.
42095         (FPE_DECERR): Likewise.
42096         (FPE_INVASC): Likewise.
42097         (FPE_INVDEC): Likewise.
42098         (SEGV_MAPERR): Likewise.
42099         (SEGV_ACCERR): Likewise.
42100         (SEGV_PSTKOVF): Likewise.
42101         (BUS_ADRALN): Likewise.
42102         (BUS_ADRERR): Likewise.
42103         (BUS_OBJERR): Likewise.
42104         (BUS_MCEERR_AR): Likewise.
42105         (BUS_MCEERR_AO): Likewise.
42106         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42107         (TRAP_TRACE): Likewise.
42108         (TRAP_BRANCH): Likewise.
42109         (TRAP_HWBKPT): Likewise.
42110         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42111         __USE_XOPEN2K8].
42112         (CLD_KILLED): Likewise.
42113         (CLD_DUMPED): Likewise.
42114         (CLD_TRAPPED): Likewise.
42115         (CLD_STOPPED): Likewise.
42116         (CLD_CONTINUED): Likewise.
42117         (POLL_IN): Likewise.
42118         (POLL_OUT): Likewise.
42119         (POLL_MSG): Likewise.
42120         (POLL_ERR): Likewise.
42121         (POLL_PRI): Likewise.
42122         (POLL_HUP): Likewise.
42123         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42124         (ILL_ILLOPN): Likewise.
42125         (ILL_ILLADR): Likewise.
42126         (ILL_ILLTRP): Likewise.
42127         (ILL_PRVOPC): Likewise.
42128         (ILL_PRVREG): Likewise.
42129         (ILL_COPROC): Likewise.
42130         (ILL_BADSTK): Likewise.
42131         (FPE_INTDIV): Likewise.
42132         (FPE_INTOVF): Likewise.
42133         (FPE_FLTDIV): Likewise.
42134         (FPE_FLTOVF): Likewise.
42135         (FPE_FLTUND): Likewise.
42136         (FPE_FLTRES): Likewise.
42137         (FPE_FLTINV): Likewise.
42138         (FPE_FLTSUB): Likewise.
42139         (SEGV_MAPERR): Likewise.
42140         (SEGV_ACCERR): Likewise.
42141         (BUS_ADRALN): Likewise.
42142         (BUS_ADRERR): Likewise.
42143         (BUS_OBJERR): Likewise.
42144         (BUS_MCEERR_AR): Likewise.
42145         (BUS_MCEERR_AO): Likewise.
42146         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42147         (TRAP_TRACE): Likewise.
42148         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42149         __USE_XOPEN2K8].
42150         (CLD_KILLED): Likewise.
42151         (CLD_DUMPED): Likewise.
42152         (CLD_TRAPPED): Likewise.
42153         (CLD_STOPPED): Likewise.
42154         (CLD_CONTINUED): Likewise.
42155         (POLL_IN): Likewise.
42156         (POLL_OUT): Likewise.
42157         (POLL_MSG): Likewise.
42158         (POLL_ERR): Likewise.
42159         (POLL_PRI): Likewise.
42160         (POLL_HUP): Likewise.
42161         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42162         (ILL_ILLOPN): Likewise.
42163         (ILL_ILLADR): Likewise.
42164         (ILL_ILLTRP): Likewise.
42165         (ILL_PRVOPC): Likewise.
42166         (ILL_PRVREG): Likewise.
42167         (ILL_COPROC): Likewise.
42168         (ILL_BADSTK): Likewise.
42169         (FPE_INTDIV): Likewise.
42170         (FPE_INTOVF): Likewise.
42171         (FPE_FLTDIV): Likewise.
42172         (FPE_FLTOVF): Likewise.
42173         (FPE_FLTUND): Likewise.
42174         (FPE_FLTRES): Likewise.
42175         (FPE_FLTINV): Likewise.
42176         (FPE_FLTSUB): Likewise.
42177         (SEGV_MAPERR): Likewise.
42178         (SEGV_ACCERR): Likewise.
42179         (BUS_ADRALN): Likewise.
42180         (BUS_ADRERR): Likewise.
42181         (BUS_OBJERR): Likewise.
42182         (BUS_MCEERR_AR): Likewise.
42183         (BUS_MCEERR_AO): Likewise.
42184         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42185         (TRAP_TRACE): Likewise.
42186         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42187         __USE_XOPEN2K8].
42188         (CLD_KILLED): Likewise.
42189         (CLD_DUMPED): Likewise.
42190         (CLD_TRAPPED): Likewise.
42191         (CLD_STOPPED): Likewise.
42192         (CLD_CONTINUED): Likewise.
42193         (POLL_IN): Likewise.
42194         (POLL_OUT): Likewise.
42195         (POLL_MSG): Likewise.
42196         (POLL_ERR): Likewise.
42197         (POLL_PRI): Likewise.
42198         (POLL_HUP): Likewise.
42199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42200         (ILL_ILLOPN): Likewise.
42201         (ILL_ILLADR): Likewise.
42202         (ILL_ILLTRP): Likewise.
42203         (ILL_PRVOPC): Likewise.
42204         (ILL_PRVREG): Likewise.
42205         (ILL_COPROC): Likewise.
42206         (ILL_BADSTK): Likewise.
42207         (FPE_INTDIV): Likewise.
42208         (FPE_INTOVF): Likewise.
42209         (FPE_FLTDIV): Likewise.
42210         (FPE_FLTOVF): Likewise.
42211         (FPE_FLTUND): Likewise.
42212         (FPE_FLTRES): Likewise.
42213         (FPE_FLTINV): Likewise.
42214         (FPE_FLTSUB): Likewise.
42215         (SEGV_MAPERR): Likewise.
42216         (SEGV_ACCERR): Likewise.
42217         (BUS_ADRALN): Likewise.
42218         (BUS_ADRERR): Likewise.
42219         (BUS_OBJERR): Likewise.
42220         (BUS_MCEERR_AR): Likewise.
42221         (BUS_MCEERR_AO): Likewise.
42222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42223         (TRAP_TRACE): Likewise.
42224         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42225         __USE_XOPEN2K8].
42226         (CLD_KILLED): Likewise.
42227         (CLD_DUMPED): Likewise.
42228         (CLD_TRAPPED): Likewise.
42229         (CLD_STOPPED): Likewise.
42230         (CLD_CONTINUED): Likewise.
42231         (POLL_IN): Likewise.
42232         (POLL_OUT): Likewise.
42233         (POLL_MSG): Likewise.
42234         (POLL_ERR): Likewise.
42235         (POLL_PRI): Likewise.
42236         (POLL_HUP): Likewise.
42237         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42238         (ILL_ILLOPN): Likewise.
42239         (ILL_ILLADR): Likewise.
42240         (ILL_ILLTRP): Likewise.
42241         (ILL_PRVOPC): Likewise.
42242         (ILL_PRVREG): Likewise.
42243         (ILL_COPROC): Likewise.
42244         (ILL_BADSTK): Likewise.
42245         (ILL_DBLFLT): Likewise.
42246         (ILL_HARDWALL): Likewise.
42247         (FPE_INTDIV): Likewise.
42248         (FPE_INTOVF): Likewise.
42249         (FPE_FLTDIV): Likewise.
42250         (FPE_FLTOVF): Likewise.
42251         (FPE_FLTUND): Likewise.
42252         (FPE_FLTRES): Likewise.
42253         (FPE_FLTINV): Likewise.
42254         (FPE_FLTSUB): Likewise.
42255         (SEGV_MAPERR): Likewise.
42256         (SEGV_ACCERR): Likewise.
42257         (BUS_ADRALN): Likewise.
42258         (BUS_ADRERR): Likewise.
42259         (BUS_OBJERR): Likewise.
42260         (BUS_MCEERR_AR): Likewise.
42261         (BUS_MCEERR_AO): Likewise.
42262         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42263         (TRAP_TRACE): Likewise.
42264         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42265         __USE_XOPEN2K8].
42266         (CLD_KILLED): Likewise.
42267         (CLD_DUMPED): Likewise.
42268         (CLD_TRAPPED): Likewise.
42269         (CLD_STOPPED): Likewise.
42270         (CLD_CONTINUED): Likewise.
42271         (POLL_IN): Likewise.
42272         (POLL_OUT): Likewise.
42273         (POLL_MSG): Likewise.
42274         (POLL_ERR): Likewise.
42275         (POLL_PRI): Likewise.
42276         (POLL_HUP): Likewise.
42277         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42278         (ILL_ILLOPN): Likewise.
42279         (ILL_ILLADR): Likewise.
42280         (ILL_ILLTRP): Likewise.
42281         (ILL_PRVOPC): Likewise.
42282         (ILL_PRVREG): Likewise.
42283         (ILL_COPROC): Likewise.
42284         (ILL_BADSTK): Likewise.
42285         (FPE_INTDIV): Likewise.
42286         (FPE_INTOVF): Likewise.
42287         (FPE_FLTDIV): Likewise.
42288         (FPE_FLTOVF): Likewise.
42289         (FPE_FLTUND): Likewise.
42290         (FPE_FLTRES): Likewise.
42291         (FPE_FLTINV): Likewise.
42292         (FPE_FLTSUB): Likewise.
42293         (SEGV_MAPERR): Likewise.
42294         (SEGV_ACCERR): Likewise.
42295         (BUS_ADRALN): Likewise.
42296         (BUS_ADRERR): Likewise.
42297         (BUS_OBJERR): Likewise.
42298         (BUS_MCEERR_AR): Likewise.
42299         (BUS_MCEERR_AO): Likewise.
42300         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42301         (TRAP_TRACE): Likewise.
42302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42303         __USE_XOPEN2K8].
42304         (CLD_KILLED): Likewise.
42305         (CLD_DUMPED): Likewise.
42306         (CLD_TRAPPED): Likewise.
42307         (CLD_STOPPED): Likewise.
42308         (CLD_CONTINUED): Likewise.
42309         (POLL_IN): Likewise.
42310         (POLL_OUT): Likewise.
42311         (POLL_MSG): Likewise.
42312         (POLL_ERR): Likewise.
42313         (POLL_PRI): Likewise.
42314         (POLL_HUP): Likewise.
42315         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42316         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42318         [BZ #16670]
42319         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42320         before #include of <time.h>.
42321         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42322         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42323         (test-xfail-UNIX98/sched.h/conform): Likewise.
42325 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42327         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42328         error absence of trapping exception support.
42329         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42331 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42333         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42334         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42335         * timezone/Makefile (testdata): Move definition above include of
42336         Rules.
42337         (test-zones): New variable.
42338         (tests-special): Add zone files.
42339         (build-testdata): Use $(evaluate-test).
42341         * elf/Makefile (tests-special): Rename tests to end with .out.
42342         ($(objpfx)noload-mem): Likewise.
42343         ($(objpfx)tst-leaks1-mem): Likewise.
42344         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42345         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42346         $(objpfx)test-iconvconfig.out.
42347         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42348         set -e inside subshell and redirect output to file.
42349         * iconvdata/Makefile (generated): Rename tests to end with .out.
42350         Correct type.
42351         (tests-special): Rename tests to end with .out.
42352         ($(objpfx)mtrace-tst-loading): Likewise.
42353         * intl/Makefile (generated): Likewise.
42354         (tests-special): Likewise.
42355         ($(objpfx)mtrace-tst-gettext): Likewise.
42356         * misc/Makefile (generated): Likewise.
42357         (tests-special): Likewise.
42358         ($(objpfx)tst-error1-mem): Likewise.
42359         * nptl/Makefile (tests-special): Likewise.
42360         ($(objpfx)tst-stack3-mem): Likewise.
42361         (generated): Likewise.
42362         * posix/Makefile (generated): Likewise.
42363         (tests-special): Likewise.
42364         (xtests-special): Likewise.
42365         ($(objpfx)tst-fnmatch-mem): Likewise.
42366         ($(objpfx)bug-regex2-mem): Likewise.
42367         ($(objpfx)bug-regex14-mem): Likewise.
42368         ($(objpfx)bug-regex21-mem): Likewise.
42369         ($(objpfx)bug-regex31-mem): Likewise.
42370         ($(objpfx)tst-vfork3-mem): Likewise.
42371         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42372         ($(objpfx)tst-pcre-mem): Likewise.
42373         ($(objpfx)tst-boost-mem): Likewise.
42374         ($(objpfx)bug-ga2-mem): Likewise.
42375         ($(objpfx)bug-glob2-mem): Likewise.
42376         * resolv/Makefile (generate): Likewise.
42377         (tests-special): Likewise.
42378         (xtests-special): Likewise.
42379         (generated): Likewise.
42380         ($(objpfx)mtrace-tst-leaks): Likewise.
42381         ($(objpfx)mtrace-tst-leaks2): Likewise.
42383         * scripts/merge-test-results.sh: New file.
42384         * Makefile (tests-special-notdir): New variable.
42385         (tests): Run merge-test-results.sh.
42386         (xtests): Likewise.
42387         * Rules (tests-special-notdir): New variable.
42388         (xtests-special-notdir): Likewise.
42389         (tests): Run merge-test-results.sh
42390         (xtests): Likewise.
42392         * Makeconfig (test-xfail-name): New variable.
42393         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42394         compute variable name for expected failures.
42395         * conform/Makefile (conformtest-headers-data): New variable.
42396         (conformtest-standards): Likewise.
42397         (conformtest-headers-ISO): Likewise.
42398         (conformtest-headers-ISO99): Likewise.
42399         (conformtest-headers-ISO11): Likewise.
42400         (conformtest-headers-POSIX): Likewise.
42401         (conformtest-headers-XPG3): Likewise.
42402         (conformtest-headers-XPG4): Likewise.
42403         (conformtest-headers-UNIX98): Likewise.
42404         (conformtest-headers-XOPEN2K): Likewise.
42405         (conformtest-headers-POSIX2008): Likewise.
42406         (conformtest-headers-XOPEN2K8): Likewise.
42407         (conformtest-header-list-base): Likewise.
42408         (conformtest-header-list-tests): Likewise.
42409         (conformtest-header-base): Likewise.
42410         (conformtest-header-tests): Likewise.
42411         (tests-special): Add $(conformtest-header-list-tests).  If
42412         [$(fast-check) && !$(cross-compiling)], add
42413         $(conformtest-header-tests) instead of
42414         $(objpfx)run-conformtest.out.
42415         (generated): Add $(conformtest-header-list-base).  If
42416         [$(fast-check) && !$(cross-compiling)], add
42417         $(conformtest-header-base).  Remove previous setting.
42418         ($(conformtest-header-list-tests)): New target.
42419         (test-xfail-run-conformtest): Remove variable.
42420         ($(objpfx)run-conformtest.out): Remove target.
42421         (test-xfail-ISO11/complex.h/conform): New variable.
42422         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42423         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42424         (test-xfail-XPG3/varargs.h/conform): Likewise.
42425         (test-xfail-XPG4/varargs.h/conform): Likewise.
42426         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42427         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42428         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42429         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42430         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42431         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42432         (test-xfail-XPG3/ftw.h/conform): Likewise.
42433         (test-xfail-XPG3/grp.h/conform): Likewise.
42434         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42435         (test-xfail-XPG3/limits.h/conform): Likewise.
42436         (test-xfail-XPG3/pwd.h/conform): Likewise.
42437         (test-xfail-XPG3/search.h/conform): Likewise.
42438         (test-xfail-XPG3/signal.h/conform): Likewise.
42439         (test-xfail-XPG3/stdio.h/conform): Likewise.
42440         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42441         (test-xfail-XPG3/string.h/conform): Likewise.
42442         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42443         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42444         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42445         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42446         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42447         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42448         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42449         (test-xfail-XPG3/termios.h/conform): Likewise.
42450         (test-xfail-XPG3/time.h/conform): Likewise.
42451         (test-xfail-XPG3/unistd.h/conform): Likewise.
42452         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42453         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42454         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42455         (test-xfail-XPG4/netdb.h/conform): Likewise.
42456         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42457         (test-xfail-XPG4/signal.h/conform): Likewise.
42458         (test-xfail-XPG4/stdio.h/conform): Likewise.
42459         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42460         (test-xfail-XPG4/stropts.h/conform): Likewise.
42461         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42462         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42463         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42464         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42465         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42466         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42467         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42468         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42469         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42470         (test-xfail-XPG4/termios.h/conform): Likewise.
42471         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42472         (test-xfail-XPG4/unistd.h/conform): Likewise.
42473         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42474         (test-xfail-POSIX/sched.h/conform): Likewise.
42475         (test-xfail-POSIX/signal.h/conform): Likewise.
42476         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42477         (test-xfail-POSIX/tar.h/conform): Likewise.
42478         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42479         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42480         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42481         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42482         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42483         (test-xfail-UNIX98/sched.h/conform): Likewise.
42484         (test-xfail-UNIX98/signal.h/conform): Likewise.
42485         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42486         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42487         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42488         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42489         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42490         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42491         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42492         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42493         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42494         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42495         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42496         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42497         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42498         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42499         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42500         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42501         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42502         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42503         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42504         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42505         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42506         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42507         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42508         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42509         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42510         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42511         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42512         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42513         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42514         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42515         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42516         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42517         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42518         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42519         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42520         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42521         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42522         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42523         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42524         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42525         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42526         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42527         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42528         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42529         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42530         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42531         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42532         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42533         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42534         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42535         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42536         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42537         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42538         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42539         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42540         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42541         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42542         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42543         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42544         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42545         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42546         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42547         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42548         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42549         (conformtest-cc-flags): Likewise.
42550         ($(conformtest-header-tests): New target.
42551         * conform/check-header-lists.sh: New file.
42552         * conform/run-conformtest.sh: Remove.
42554         * conform/conformtest.pl: Allow ' and \ in values given for
42555         constants.
42556         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42557         inclusion.
42558         [POSIX] (sys/types.h): Likewise.
42559         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42560         inclusion.
42561         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42562         inclusion.
42563         * conform/data/signal.h-data (SIGIO): Remove expectation.
42564         [XPG3] (SIGBUS): Do not expect.
42565         [POSIX || XPG3] (SIGPOLL): Likewise.
42566         [POSIX || XPG3] (SIGPROF): Likewise.
42567         [POSIX || XPG3] (SIGSYS): Likewise.
42568         [XPG3] (SIGTRAP): Likewise.
42569         [POSIX || XPG3] (SIGURG): Likewise.
42570         [POSIX || XPG3] (SIGVTALRM): Likewise.
42571         [POSIX || XPG3] (SIGXCPU): Likewise.
42572         [POSIX || XPG3] (SIGXFSZ): Likewise.
42573         [POSIX] (SA_SIGINFO): Expect.
42574         [XPG3] (siginfo_t): Do not expect type or contents.
42575         [POSIX] (si_pid): Do not expect element.
42576         [POSIX] (si_uid): Likewise.
42577         [POSIX] (si_addr): Likewise.
42578         [POSIX] (si_status): Likewise.
42579         [POSIX] (si_band): Likewise.
42580         [XPG4] (si_value): Likewise.
42581         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42582         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42583         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42584         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42585         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42586         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42587         [POSIX || XPG3] (ILL_COPROC): Likewise.
42588         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42589         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42590         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42591         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42592         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42593         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42594         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42595         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42596         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42597         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42598         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42599         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42600         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42601         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42602         [POSIX || XPG3] (CLD_EXITED): Likewise.
42603         [POSIX || XPG3] (CLD_KILLED): Likewise.
42604         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42605         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42606         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42607         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42608         [POSIX || XPG3] (POLL_IN): Likewise.
42609         [POSIX || XPG3] (POLL_OUT): Likewise.
42610         [POSIX || XPG3] (POLL_MSG): Likewise.
42611         [POSIX || XPG3] (POLL_ERR): Likewise.
42612         [POSIX || XPG3] (POLL_PRI): Likewise.
42613         [POSIX || XPG3] (POLL_HUP): Likewise.
42614         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42615         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42616         (SIG*): Do not allow.
42617         [XPG3] (si_*): Likewise.
42618         [XPG3] (SI_*): Likewise.
42619         [XPG3 || XPG4] (sigev_*): Likewise.
42620         [XPG3 || XPG4] (SIGEV_*): Likewise.
42621         [XPG3 || XPG4] (sival_*): Likewise.
42622         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42623         [POSIX || XPG3] (BUS_*): Likewise.
42624         [POSIX || XPG3] (CLD_*): Likewise.
42625         [POSIX || XPG3] (FPE_*): Likewise.
42626         [POSIX || XPG3] (ILL_*): Likewise.
42627         [POSIX || XPG3] (POLL_*): Likewise.
42628         [POSIX || XPG3] (SEGV_*): Likewise.
42629         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42630         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42631         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42632         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42633         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42634         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42635         Specify type and value.
42636         (TVERSLEN): Likewise.
42637         (REGTYPE): Likewise.
42638         (AREGTYPE): Likewise.
42639         (LNKTYPE): Likewise.
42640         (SYMTYPE): Likewise.
42641         (CHRTYPE): Likewise.
42642         (BLKTYPE): Likewise.
42643         (DIRTYPE): Likewise.
42644         (FIFOTYPE): Likewise.
42645         (CONTTYPE): Likewise.
42646         (TSUID): Likewise.
42647         (TSGID): Likewise.
42648         (TSVTX): Likewise.
42649         (TUREAD): Likewise.
42650         (TUWRITE): Likewise.
42651         (TUEXEC): Likewise.
42652         (TGREAD): Likewise.
42653         (TGWRITE): Likewise.
42654         (TGEXEC): Likewise.
42655         (TOREAD): Likewise.
42656         (TOWRITE): Likewise.
42657         (TOEXEC): Likewise.
42658         [POSIX] (TSVTX): Expect constant.
42660 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42662         * Makefile (tests): Change dependencies to ....
42663         (tests-special): ... additions to this variable.
42664         (tests): Depend on $(tests-special).
42665         * Makerules (check-abi-list): New variable.
42666         (check-abi): Depend on $(check-abi-list).
42667         [$(subdir) = elf] (tests-special): Add
42668         $(objpfx)check-abi-libc.out.
42669         [$(build-shared) = yes && subdir] (tests-special): Add
42670         $(check-abi-list).
42671         [$(build-shared) = yes && subdir] (tests): Do not depend on
42672         check-abi.
42673         * Rules (tests): Depend on $(tests-special).
42674         (xtests): Depend on $(xtests-special).
42675         * catgets/Makefile (tests): Change dependencies to ....
42676         (tests-special): ... additions to this variable.
42677         * conform/Makefile (tests): Change dependencies to ....
42678         (tests-special): ... additions to this variable.
42679         * elf/Makefile (tests): Change dependencies to ....
42680         (tests-special): ... additions to this variable.
42681         * grp/Makefile (tests): Change dependencies to ....
42682         (tests-special): ... additions to this variable.
42683         * iconv/Makefile (xtests): Change dependencies to ....
42684         (xtests-special): ... additions to this variable.
42685         * iconvdata/Makefile (tests): Change dependencies to ....
42686         (tests-special): ... additions to this variable.
42687         * intl/Makefile (tests): Change dependencies to ....
42688         (tests-special): ... additions to this variable.  Also add
42689         $(objpfx)tst-gettext.out.
42690         * io/Makefile (tests): Change dependencies to ....
42691         (tests-special): ... additions to this variable.
42692         * libio/Makefile (tests): Change dependencies to ....
42693         (tests-special): ... additions to this variable.
42694         * malloc/Makefile (tests): Change dependencies to ....
42695         (tests-special): ... additions to this variable.
42696         * misc/Makefile (tests): Change dependencies to ....
42697         (tests-special): ... additions to this variable.
42698         * nptl/Makefile (tests): Change dependencies to ....
42699         (tests-special): ... additions to this variable.
42700         * nptl_db/Makefile (tests): Change dependencies to ....
42701         (tests-special): ... additions to this variable.
42702         * posix/Makefile (tests): Change dependencies to ....
42703         (tests-special): ... additions to this variable.
42704         (xtests): Change dependencies to ....
42705         (xtests-special): ... additions to this variable.
42706         * resolv/Makefile (tests): Change dependencies to ....
42707         (tests-special): ... additions to this variable.
42708         (xtests): Change dependencies to ....
42709         (xtests-special): ... additions to this variable.
42710         * stdio-common/Makefile (tests): Change dependencies to ....
42711         (tests-special): ... additions to this variable.
42712         (do-tst-unbputc): Remove target.
42713         (do-tst-printf): Likewise.
42714         * stdlib/Makefile (tests): Change dependencies to ....
42715         (tests-special): ... additions to this variable.
42716         * string/Makefile (tests): Change dependencies to ....
42717         (tests-special): ... additions to this variable.
42718         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42719         (tests-special): ... additions to this variable.
42721         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42722         whole file.
42723         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42724         whole file.
42725         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42726         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42728         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42729         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42730         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42731         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42732         * conform/data/libgen.h-data [XPG3]: Likewise.
42733         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42734         * conform/data/ndbm.h-data [XPG3]: Likewise.
42735         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42736         * conform/data/netdb.h-data [XPG3]: Likewise.
42737         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42738         * conform/data/poll.h-data [XPG3]: Likewise.
42739         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42740         * conform/data/strings.h-data [XPG3]: Likewise.
42741         * conform/data/stropts.h-data [XPG3]: Likewise.
42742         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42743         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42744         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42745         Likewise.
42746         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42747         * conform/data/sys/time.h-data [XPG3]: Likewise.
42748         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42749         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42750         * conform/data/sys/un.h-data [XPG3]: Likewise.
42751         * conform/data/syslog.h-data [XPG3]: Likewise.
42752         * conform/data/ucontext.h-data [XPG3]: Likewise.
42753         * conform/data/utmpx.h-data [XPG3]: Likewise.
42754         * conform/data/varargs.h-data [UNIX98]: Enable file.
42756         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42758         * math/libm-test.inc (struct test_f_f_data): Move expected results
42759         into structure for each rounding mode.
42760         (struct test_ff_f_data): Likewise.
42761         (struct test_ff_f_data_nexttoward): Likewise.
42762         (struct test_fi_f_data): Likewise.
42763         (struct test_fl_f_data): Likewise.
42764         (struct test_if_f_data): Likewise.
42765         (struct test_fff_f_data): Likewise.
42766         (struct test_c_f_data): Likewise.
42767         (struct test_f_f1_data): Likewise.
42768         (struct test_fF_f1_data): Likewise.
42769         (struct test_ffI_f1_data): Likewise.
42770         (struct test_c_c_data): Likewise.
42771         (struct test_cc_c_data): Likewise.
42772         (struct test_f_i_data): Likewise.
42773         (struct test_ff_i_data): Likewise.
42774         (struct test_f_l_data): Likewise.
42775         (struct test_f_L_data): Likewise.
42776         (struct test_fFF_11_data): Likewise.
42777         (RM_): New macro.
42778         (RM_FE_DOWNWARD): Likewise.
42779         (RM_FE_TONEAREST): Likewise.
42780         (RM_FE_TOWARDZERO): Likewise.
42781         (RM_FE_UPWARD): Likewise.
42782         (RUN_TEST_LOOP_f_f): Update references to expected results.
42783         (RUN_TEST_LOOP_2_f): Likewise.
42784         (RUN_TEST_LOOP_fff_f): Likewise.
42785         (RUN_TEST_LOOP_c_f): Likewise.
42786         (RUN_TEST_LOOP_f_f1): Likewise.
42787         (RUN_TEST_LOOP_fF_f1): Likewise.
42788         (RUN_TEST_LOOP_fI_f1): Likewise.
42789         (RUN_TEST_LOOP_ffI_f1): Likewise.
42790         (RUN_TEST_LOOP_c_c): Likewise.
42791         (RUN_TEST_LOOP_cc_c): Likewise.
42792         (RUN_TEST_LOOP_f_i): Likewise.
42793         (RUN_TEST_LOOP_f_i_tg): Likewise.
42794         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42795         (RUN_TEST_LOOP_f_b): Likewise.
42796         (RUN_TEST_LOOP_f_b_tg): Likewise.
42797         (RUN_TEST_LOOP_f_l): Likewise.
42798         (RUN_TEST_LOOP_f_L): Likewise.
42799         (RUN_TEST_LOOP_fFF_11): Likewise.
42800         * math/gen-libm-test.pl (parse_args): Output four copies of
42801         expected results for each test.
42803         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42804         (__ASSUME_UTIMES): Remove.
42805         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42806         (__ASSUME_UTIMES): Likewise.
42808         * math/gen-auto-libm-tests.c: Update comment on output format.
42809         (output_for_one_input_case): Generate before-rounding and
42810         after-rounding information as conditions on output flags not
42811         floating-point format.
42812         * math/auto-libm-test-out: Regenerated.
42813         * math/gen-libm-test.pl (cond_value): New function.
42814         (or_cond_value): Use cond_value.
42815         (generate_testfile): Handle conditional exceptions.
42817 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42819         * math/libm-test.inc (max_valid_error): New variable.
42820         (init_max_error): Take new argument specifying whether function
42821         results are exactly determined.  Set max_valid_error and bound
42822         other variables for errors based on this argument.
42823         (set_max_error): Do not record results above max_valid_error.
42824         (check_float_internal): Only accept errors of up to 0.5ulps if
42825         also at most max_valid_error.
42826         (START): Take new argument EXACT and pass it to init_max_error.
42827         (acos_test): Update call to START.
42828         (acos_test_tonearest): Likewise.
42829         (acos_test_towardzero): Likewise.
42830         (acos_test_downward): Likewise.
42831         (acos_test_upward): Likewise.
42832         (acosh_test): Likewise.
42833         (asin_test): Likewise.
42834         (asin_test_tonearest): Likewise.
42835         (asin_test_towardzero): Likewise.
42836         (asin_test_downward): Likewise.
42837         (asin_test_upward): Likewise.
42838         (asinh_test): Likewise.
42839         (atan_test): Likewise.
42840         (atanh_test): Likewise.
42841         (atan2_test): Likewise.
42842         (cabs_test): Likewise.
42843         (cacos_test): Likewise.
42844         (cacosh_test): Likewise.
42845         (carg_test): Likewise.
42846         (casin_test): Likewise.
42847         (casinh_test): Likewise.
42848         (catan_test): Likewise.
42849         (catanh_test): Likewise.
42850         (cbrt_test): Likewise.
42851         (ccos_test): Likewise.
42852         (ccosh_test): Likewise.
42853         (ceil_test): Likewise.
42854         (cexp_test): Likewise.
42855         (cimag_test): Likewise.
42856         (clog_test): Likewise.
42857         (clog10_test): Likewise.
42858         (conj_test): Likewise.
42859         (copysign_test): Likewise.
42860         (cos_test): Likewise.
42861         (cos_test_tonearest): Likewise.
42862         (cos_test_towardzero): Likewise.
42863         (cos_test_downward): Likewise.
42864         (cos_test_upward): Likewise.
42865         (cosh_test): Likewise.
42866         (cosh_test_tonearest): Likewise.
42867         (cosh_test_towardzero): Likewise.
42868         (cosh_test_downward): Likewise.
42869         (cosh_test_upward): Likewise.
42870         (cpow_test): Likewise.
42871         (cproj_test): Likewise.
42872         (creal_test): Likewise.
42873         (csin_test): Likewise.
42874         (csinh_test): Likewise.
42875         (csqrt_test): Likewise.
42876         (ctan_test): Likewise.
42877         (ctan_test_tonearest): Likewise.
42878         (ctan_test_towardzero): Likewise.
42879         (ctan_test_downward): Likewise.
42880         (ctan_test_upward): Likewise.
42881         (ctanh_test): Likewise.
42882         (ctanh_test_tonearest): Likewise.
42883         (ctanh_test_towardzero): Likewise.
42884         (ctanh_test_downward): Likewise.
42885         (ctanh_test_upward): Likewise.
42886         (erf_test): Likewise.
42887         (erfc_test): Likewise.
42888         (exp_test): Likewise.
42889         (exp_test_tonearest): Likewise.
42890         (exp_test_towardzero): Likewise.
42891         (exp_test_downward): Likewise.
42892         (exp_test_upward): Likewise.
42893         (exp10_test): Likewise.
42894         (exp10_test_tonearest): Likewise.
42895         (exp10_test_towardzero): Likewise.
42896         (exp10_test_downward): Likewise.
42897         (exp10_test_upward): Likewise.
42898         (pow10_test): Likewise.
42899         (exp2_test): Likewise.
42900         (expm1_test): Likewise.
42901         (expm1_test_tonearest): Likewise.
42902         (expm1_test_towardzero): Likewise.
42903         (expm1_test_downward): Likewise.
42904         (expm1_test_upward): Likewise.
42905         (fabs_test): Likewise.
42906         (fdim_test): Likewise.
42907         (floor_test): Likewise.
42908         (fma_test): Likewise.
42909         (fma_test_towardzero): Likewise.
42910         (fma_test_downward): Likewise.
42911         (fma_test_upward): Likewise.
42912         (fmax_test): Likewise.
42913         (fmin_test): Likewise.
42914         (fmod_test): Likewise.
42915         (fpclassify_test): Likewise.
42916         (frexp_test): Likewise.
42917         (hypot_test): Likewise.
42918         (ilogb_test): Likewise.
42919         (isfinite_test): Likewise.
42920         (finite_test): Likewise.
42921         (isgreater_test): Likewise.
42922         (isgreaterequal_test): Likewise.
42923         (isinf_test): Likewise.
42924         (isless_test): Likewise.
42925         (islessequal_test): Likewise.
42926         (islessgreater_test): Likewise.
42927         (isnan_test): Likewise.
42928         (isnormal_test): Likewise.
42929         (issignaling_test): Likewise.
42930         (isunordered_test): Likewise.
42931         (j0_test): Likewise.
42932         (j1_test): Likewise.
42933         (jn_test): Likewise.
42934         (ldexp_test): Likewise.
42935         (lgamma_test): Likewise.
42936         (gamma_test): Likewise.
42937         (lrint_test): Likewise.
42938         (lrint_test_tonearest): Likewise.
42939         (lrint_test_towardzero): Likewise.
42940         (lrint_test_downward): Likewise.
42941         (lrint_test_upward): Likewise.
42942         (llrint_test): Likewise.
42943         (llrint_test_tonearest): Likewise.
42944         (llrint_test_towardzero): Likewise.
42945         (llrint_test_downward): Likewise.
42946         (llrint_test_upward): Likewise.
42947         (log_test): Likewise.
42948         (log10_test): Likewise.
42949         (log1p_test): Likewise.
42950         (log2_test): Likewise.
42951         (logb_test): Likewise.
42952         (logb_test_downward): Likewise.
42953         (lround_test): Likewise.
42954         (llround_test): Likewise.
42955         (modf_test): Likewise.
42956         (nearbyint_test): Likewise.
42957         (nextafter_test): Likewise.
42958         (nexttoward_test): Likewise.
42959         (pow_test): Likewise.
42960         (pow_test_tonearest): Likewise.
42961         (pow_test_towardzero): Likewise.
42962         (pow_test_downward): Likewise.
42963         (pow_test_upward): Likewise.
42964         (remainder_test): Likewise.
42965         (drem_test): Likewise.
42966         (remainder_test_tonearest): Likewise.
42967         (drem_test_tonearest): Likewise.
42968         (remainder_test_towardzero): Likewise.
42969         (drem_test_towardzero): Likewise.
42970         (remainder_test_downward): Likewise.
42971         (drem_test_downward): Likewise.
42972         (remainder_test_upward): Likewise.
42973         (drem_test_upward): Likewise.
42974         (remquo_test): Likewise.
42975         (rint_test): Likewise.
42976         (rint_test_tonearest): Likewise.
42977         (rint_test_towardzero): Likewise.
42978         (rint_test_downward): Likewise.
42979         (rint_test_upward): Likewise.
42980         (round_test): Likewise.
42981         (scalb_test): Likewise.
42982         (scalbn_test): Likewise.
42983         (scalbln_test): Likewise.
42984         (signbit_test): Likewise.
42985         (sin_test): Likewise.
42986         (sin_test_tonearest): Likewise.
42987         (sin_test_towardzero): Likewise.
42988         (sin_test_downward): Likewise.
42989         (sin_test_upward): Likewise.
42990         (sincos_test): Likewise.
42991         (sinh_test): Likewise.
42992         (sinh_test_tonearest): Likewise.
42993         (sinh_test_towardzero): Likewise.
42994         (sinh_test_downward): Likewise.
42995         (sinh_test_upward): Likewise.
42996         (sqrt_test): Likewise.
42997         (sqrt_test_tonearest): Likewise.
42998         (sqrt_test_towardzero): Likewise.
42999         (sqrt_test_downward): Likewise.
43000         (sqrt_test_upward): Likewise.
43001         (tan_test): Likewise.
43002         (tan_test_tonearest): Likewise.
43003         (tan_test_towardzero): Likewise.
43004         (tan_test_downward): Likewise.
43005         (tan_test_upward): Likewise.
43006         (tanh_test): Likewise.
43007         (tgamma_test): Likewise.
43008         (trunc_test): Likewise.
43009         (y0_test): Likewise.
43010         (y1_test): Likewise.
43011         (yn_test): Likewise.
43012         (significand_test): Likewise.
43014         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43015         individual tests in comment.
43016         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43017         (prev_max_error): New variable.
43018         (prev_real_max_error): Likewise.
43019         (prev_imag_max_error): Likewise.
43020         (compare_ulp_data): Don't refer to test names in comment.
43021         (find_test_ulps): Remove function.
43022         (find_function_ulps): Likewise.
43023         (find_complex_function_ulps): Likewise.
43024         (init_max_error): Take function name as argument.  Look up ulps
43025         for that function.
43026         (print_ulps): Remove function.
43027         (print_max_error): Use prev_max_error instead of calling
43028         find_function_ulps.
43029         (print_complex_max_error): Use prev_real_max_error and
43030         prev_imag_max_error instead of calling find_complex_function_ulps.
43031         (check_float_internal): Take max_ulp parameter instead of calling
43032         find_test_ulps.  Don't call print_ulps.
43033         (check_float): Update call to check_float_internal.
43034         (check_complex): Update calls to check_float_internal.
43035         (START): Pass argument to init_max_error.
43036         * math/gen-libm-test.pl (%results): Don't include "kind"
43037         information.
43038         (parse_ulps): Don't handle ulps of individual tests.
43039         (print_ulps_file): Likewise.
43040         (output_ulps): Likewise.
43041         * math/README.libm-test: Update.
43042         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43043         individual tests.
43044         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43045         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43046         * sysdeps/arm/libm-test-ulps: Likewise.
43047         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43048         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43049         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43050         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43051         * sysdeps/microblaze/libm-test-ulps: Likewise.
43052         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43053         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43054         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43055         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43056         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43057         * sysdeps/sh/libm-test-ulps: Likewise.
43058         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43059         * sysdeps/tile/libm-test-ulps: Likewise.
43060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43062 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43064         * math/libm-test.inc (print_complex_max_error): Check separately
43065         whether real and imaginary errors are within allowed range and
43066         pass 0 to print_complex_function_ulps instead of value within
43067         allowed range.
43069 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43071         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43072         formatting.
43073         (get_handles_fopen): Likewise.
43074         (do_write_test): Likewise.
43076         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43078         * libio/fileops.c (do_ftell): Use cached offset when
43079         available.
43080         * libio/iofwide.c (do_ftell_wide): Likewise.
43081         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43082         _IO_file_attach.
43083         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43085         [BZ #16532]
43086         * libio/libioP.h (get_file_offset): New function.
43087         * libio/fileops.c (get_file_offset): Likewise.
43088         (do_ftell): Likewise.
43089         (_IO_new_file_seekoff): Split out ftell logic.
43090         * libio/wfileops.c (do_ftell_wide): Likewise.
43091         (_IO_wfile_seekoff): Split out ftell logic.
43092         * libio/tst-ftell-active-handler.c: New test case.
43093         * libio/Makefile (tests): Add it.
43095 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43097         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43098         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43100 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43102         [BZ #16639]
43103         * nscd/connections.c (nscd_init): Call do_exit.
43104         (start_threads): Call do_exit and notify_parent.
43105         (begin_drop_privileges): Call do_exit.
43106         (finish_drop_privileges): Likewise.
43107         * nscd/selinux.c (preserve_capabilities): Likewise.
43108         (install_real_capabilities): Likewise.
43109         (nscd_selinux_enabled): Likewise.
43110         (avc_create_thread): Likewise.
43111         (avc_alloc_lock): Likewise.
43112         (nscd_avc_init): Likewise.
43113         * nscd/nscd.c (parent_fd): New static variable.
43114         (main): Create a pipe between parent and child processes.
43115         Skip closing parent_fd.
43116         (monitor_child): New function.
43117         (do_exit): Likewise.
43118         (notify_parent): Likewise.
43119         * nscd/nscd.h (notify_parent): Likewise.
43120         (do_exit): Likewise.
43122 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43124         * malloc/malloc.c (__libc_calloc): Revert last change.
43126 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43130 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43132         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43134         implementation.
43135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43136         (__libc_ifunc_impl_list): Likewise.
43137         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43138         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43139         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43140         * string/strrchr.c: Define STRRCHR.
43142 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43144         * benchtest/bench-strtok.c (simple_strtok): Delete.
43145         (strtok_string): Use as benchmark.
43146         * string/strtok (STRTOK): New macro.
43148 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43150         * manual/threads.texi: Add header and standard comments to all
43151         functions.
43153         * elf/dl-lookup.c (check_match): New function.
43154         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43155         (do_lookup_x): Remove nested function check_match. Use non-nested
43156         function check_match.
43158 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43160         * csu/Makefile (generated, before-compile): Use += rather than =.
43161         * catgets/Makefile (generated, generated-dirs): Likewise.
43162         * debug/Makefile (generated): Likewise.
43163         * dlfcn/Makefile (generated): Likewise.
43164         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43165         * iconvdata/Makefile (before-compile, generated): Likewise.
43166         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43167         * libio/Makefile (generated): Likewise.
43168         * malloc/Makefile (generated): Likewise.
43169         * manual/Makefile (generated, generated-dirs): Likewise.
43170         * misc/Makefile (generated): Likewise.
43171         * posix/Makefile (generated): Likewise.
43172         * resolv/Makefile (generated): Likewise.
43173         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43174         * timezone/Makefile (generated, generated-dirs): Likewise.
43176         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43178 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43181         power8 implementation.
43182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43183         file: POWER8 llround ifunc implementation.
43184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43185         (__lllround): Add POWER8 implementation.
43186         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43187         POWER8 llround implementation.
43189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43190         power8 implementation.
43191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43192         file: POWER8 llrint ifunc implementation.
43193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43194         Add POWER8 implementation.
43195         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43196         POWER8 llrint implementation.
43198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43199         power8 implementation.
43200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43201         file: POWER8 finite ifunc implementation.
43202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43203         Add POWER8 implementation.
43204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43205         Likewise.
43206         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43207         POWER8 finite implementation.
43208         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43211         power8 implementation.
43212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43213         file: POWER8 isinf ifunc implementation.
43214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43215         POWER8 implementation.
43216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43217         Likewise.
43218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43219         isinf implementation.
43220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43222         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43223         (INIT_ARCH): Add hwcap2 initialization.
43224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43225         power8 implementation.
43226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43227         file: POWER8 isnan ifunc implementation.
43228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43229         POWER8 implementation.
43230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43231         Likewise.
43232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43233         isnan implementation.
43234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43236 2014-02-27  Joey Ye  <joey.ye@arm.com>
43238         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43239         (_FP_NANFRAC_Q): Set to zero.
43241 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243         [BZ #16623]
43244         * math/auto-libm-test-in: New test inputs.
43245         * math/auto-libm-test-out: Regenerate.
43246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43247         and DA.
43248         (__cos): Likewise.
43249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43251 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43253         * scripts/evaluate-test.sh: Take new argument indicating whether
43254         failure is expected.
43255         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43256         indicating whether failure is expected.
43257         * conform/Makefile (test-xfail-run-conformtest): New variable.
43258         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43259         level.
43260         * posix/Makefile (test-xfail-annexc): New variable.
43261         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43263 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43265         * argp/Makefile: Include Makeconfig immediately after defining
43266         subdir.
43267         * assert/Makefile: Likewise.
43268         * benchtests/Makefile: Likewise.
43269         * catgets/Makefile: Likewise.
43270         * conform/Makefile: Likewise.
43271         * crypt/Makefile: Likewise.
43272         * csu/Makefile: Likewise.
43273         (all): Remove target.
43274         * ctype/Makefile: Include Makeconfig immediately after defining
43275         subdir.
43276         * debug/Makefile: Likewise.
43277         * dirent/Makefile: Likewise.
43278         * dlfcn/Makefile: Likewise.
43279         * gmon/Makefile: Likewise.
43280         * gnulib/Makefile: Likewise.
43281         * grp/Makefile: Likewise.
43282         * gshadow/Makefile: Likewise.
43283         * hesiod/Makefile: Likewise.
43284         * hurd/Makefile: Likewise.
43285         (all): Remove target.
43286         * iconvdata/Makefile: Include Makeconfig immediately after
43287         defining subdir.
43288         * inet/Makefile: Likewise.
43289         * intl/Makefile: Likewise.
43290         * io/Makefile: Likewise.
43291         * libio/Makefile: Likewise.
43292         (all): Remove target.
43293         * locale/Makefile: Include Makeconfig immediately after defining
43294         subdir.
43295         * login/Makefile: Likewise.
43296         * mach/Makefile: Likewise.
43297         (all): Remove target.
43298         * malloc/Makefile: Include Makeconfig immediately after defining
43299         subdir.
43300         (all): Remove target.
43301         * manual/Makefile: Include Makeconfig immediately after defining
43302         subdir.
43303         * math/Makefile: Likewise.
43304         * misc/Makefile: Likewise.
43305         * nis/Makefile: Likewise.
43306         * nss/Makefile: Likewise.
43307         * po/Makefile: Likewise.
43308         (all): Remove target.
43309         * posix/Makefile: Include Makeconfig immediately after defining
43310         subdir.
43311         * pwd/Makefile: Likewise.
43312         * resolv/Makefile: Likewise.
43313         * resource/Makefile: Likewise.
43314         * rt/Makefile: Likewise.
43315         * setjmp/Makefile: Likewise.
43316         * shadow/Makefile: Likewise.
43317         * signal/Makefile: Likewise.
43318         * socket/Makefile: Likewise.
43319         * soft-fp/Makefile: Likewise.
43320         * stdio-common/Makefile: Likewise.
43321         * stdlib/Makefile: Likewise.
43322         * streams/Makefile: Likewise.
43323         * string/Makefile: Likewise.
43324         * sunrpc/Makefile: Likewise.
43325         (all): Remove target.
43326         * sysvipc/Makefile: Include Makeconfig immediately after defining
43327         subdir.
43328         * termios/Makefile: Likewise.
43329         * time/Makefile: Likewise.
43330         * timezone/Makefile: Likewise.
43331         (all): Remove target.
43332         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43333         subdir.
43334         * wctype/Makefile: Likewise.
43336 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43338         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43339         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43340         (libc_feholdexcept_setround_mips): Ditto.
43341         (libc_feholdsetround): New.
43342         (libc_feholdsetroundf): New.
43343         (libc_feholdsetroundl): New.
43344         (libc_feupdateenv_test_mips): New.
43345         (libc_feupdateenv_test): New.
43346         (libc_feupdateenv_testf): New.
43347         (libc_feupdateenv_testl): New.
43348         (libc_feresetround): New.
43349         (libc_feresetroundf): New.
43350         (libc_feresetroundl): New.
43351         (libc_fetestexcept_mips): New.
43352         (libc_fetestexcept): New.
43353         (libc_fetestexceptf): New.
43354         (libc_fetestexceptl): New.
43355         (HAVE_RM_CTX): New.
43356         (libc_feholdexcept_setround_mips_ctx): New.
43357         (libc_feholdexcept_setround_ctx): New.
43358         (libc_feholdexcept_setroundf_ctx): New.
43359         (libc_feholdexcept_setroundl_ctx): New.
43360         (libc_fesetenv_mips_ctx): New.
43361         (libc_fesetenv_ctx): New.
43362         (libc_fesetenv_ctxf): New.
43363         (libc_fesetenv_ctxl): New.
43364         (libc_feupdateenv_mips_ctx): New.
43365         (libc_feupdateenv_ctx): New.
43366         (libc_feupdateenvf_ctx): New.
43367         (libc_feupdateenvl_ctx): New.
43368         (libc_feholdsetround_mips_ctx): New.
43369         (libc_feholdsetround_ctx): New.
43370         (libc_feholdsetroundf_ctx): New.
43371         (libc_feholdsetroundl_ctx): New.
43372         (libc_feresetround_mips_ctx): New.
43373         (libc_feresetround_ctx): New.
43374         (libc_feresetroundf_ctx): New.
43375         (libc_feresetroundl_ctx): New.
43377 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43379         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43381         * manual/ipc.texi: New file.
43382         * manual/Makefile (chapters): Add ipc.
43383         * manual/job.texi: Add "Inter-Process Communication" to next.
43384         * manual/process.texi: Add "Inter-Process Communication" to prev.
43386 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43390 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43392         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43394         * manual/arith.texi: Fix spaces after sentences.
43395         * manual/charset.texi: Likewise.
43396         * manual/errno.texi: Likewise.
43397         * manual/install.texi: Likewise.
43398         * manual/llio.texi: Likewise.
43399         * manual/locale.texi: Likewise.
43400         * manual/maint.texi: Likewise.
43401         * manual/math.texi: Likewise.
43402         * manual/memory.texi: Likewise.
43403         * manual/message.texi: Likewise.
43404         * manual/probes.texi: Likewise.
43405         * manual/resource.texi: Likewise.
43406         * manual/signal.texi: Likewise.
43407         * manual/socket.texi: Likewise.
43408         * manual/stdio.texi: Likewise.
43409         * manual/string.texi: Likewise.
43410         * manual/time.texi: Likewise.
43411         * manual/users.texi: Likewise.
43413 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43415         [BZ #16632]
43416         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43417         _DEFAULT_SOURCE is defined.
43419 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43420             Carlos O'Donell  <carlos@redhat.com>
43422         [BZ #16613]
43423         * elf/dl-tls.c (_dl_count_modids): New function.
43424         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43425         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43426         audit library and increment generation counter.
43427         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43428         * elf/tst-audit9.c: New file.
43429         * elf/tst-auditmod9a.c: New file.
43430         * elf/tst-auditmod9b.c: New file.
43431         * elf/Makefile: Add rules to build and run tst-audit9.
43433 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43435         [BZ #15347]
43436         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43438 2014-02-25  Will Newton  <will.newton@linaro.org>
43440         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43441         (__longjmp): Restore sp and lr before restoring callee
43442         saved registers.  Add longjmp and longjmp_target
43443         SystemTap probe point.
43444         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43445         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43446         Define to zero to match jmpbuf layout.
43447         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43448         (__sigsetjmp): Save sp and lr before saving callee
43449         saved registers.  Add setjmp SystemTap probe point.
43451 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43455 2014-02-24  Andreas Schwab  <schwab@suse.de>
43457         [BZ #15804]
43458         * elf/pldd.c (wait_for_ptrace_stop): New function.
43459         (main): Call it after attaching.
43461 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43463         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43464         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43465         Versions files is now verboten.
43466         * hurd/Versions (libc: GLIBC_2.0):
43467         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43468         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43469         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43470         * mach/Versions: Likewise.
43472         * csu/Versions: Remove unused %include.
43473         * resolv/Versions: Likewise.
43475 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43477         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43478         ($(objpfx)check-local-headers.out): Likewise.
43479         ($(objpfx)begin-end-check.out): Likewise.
43480         * Makerules (check-abi-%.out): Likewise.
43481         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43482         ($(objpfx)test2.cat): Likewise.
43483         ($(objpfx)de/libc.cat): Likewise.
43484         ($(objpfx)test-gencat.out): Likewise.
43485         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43486         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43487         ($(objpfx)noload-mem): Likewise.
43488         ($(objpfx)tst-pathopt.out): Likewise.
43489         ($(objpfx)tst-rtld-load-self.out): Likewise.
43490         ($(objpfx)tst-array1-cmp.out): Likewise.
43491         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43492         ($(objpfx)tst-array2-cmp.out): Likewise.
43493         ($(objpfx)tst-array3-cmp.out): Likewise.
43494         ($(objpfx)tst-array4-cmp.out): Likewise.
43495         ($(objpfx)tst-array5-cmp.out): Likewise.
43496         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43497         ($(objpfx)check-textrel.out): Likewise.
43498         ($(objpfx)check-execstack.out): Likewise.
43499         ($(objpfx)check-localplt.out): Likewise.
43500         ($(objpfx)order2-cmp.out): Likewise.
43501         ($(objpfx)tst-leaks1-mem): Likewise.
43502         ($(objpfx)tst-leaks1-static-mem): Likewise.
43503         ($(objpfx)tst-initorder-cmp.out): Likewise.
43504         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43505         ($(objpfx)tst-unused-dep.out): Likewise.
43506         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43507         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43508         * iconv/Makefile (test-iconvconfig): Likewise.
43509         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43510         ($(objpfx)iconv-test.out): Likewise.
43511         ($(objpfx)tst-tables.out): Likewise.
43512         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43513         ($(objpfx)tst-gettext.out): Likewise.
43514         ($(objpfx)tst-translit.out): Likewise.
43515         ($(objpfx)tst-gettext2.out): Likewise.
43516         ($(objpfx)tst-gettext4.out): Likewise.
43517         ($(objpfx)tst-gettext6.out): Likewise.
43518         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43519         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43520         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43521         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43522         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43523         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43524         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43525         ($(objpfx)wordexp-tst.out): Likewise.
43526         ($(objpfx)annexc.out): Likewise.
43527         ($(objpfx)tst-fnmatch-mem): Likewise.
43528         ($(objpfx)bug-regex2-mem): Likewise.
43529         ($(objpfx)bug-regex14-mem): Likewise.
43530         ($(objpfx)bug-regex21-mem): Likewise.
43531         ($(objpfx)bug-regex31-mem): Likewise.
43532         ($(objpfx)tst-vfork3-mem): Likewise.
43533         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43534         ($(objpfx)tst-pcre-mem): Likewise.
43535         ($(objpfx)tst-boost-mem): Likewise.
43536         ($(objpfx)tst-getconf.out): Likewise.
43537         ($(objpfx)bug-ga2-mem): Likewise.
43538         ($(objpfx)bug-glob2-mem): Likewise.
43539         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43540         ($(objpfx)mtrace-tst-leaks2): Likewise.
43541         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43542         ($(objpfx)tst-printf.out): Likewise.
43543         ($(objpfx)tst-setvbuf1.out): Likewise.
43544         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43545         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43546         ($(objpfx)tst-fmtmsg.out): Likewise.
43547         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43548         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43550         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43551         * bits/sigaction.h [__USE_MISC]: Likewise.
43552         * bits/waitstatus.h: Update #endif comments.
43553         * ctype/ctype.h: Likewise.
43554         * dirent/dirent.h: Likewise.
43555         [__USE_MISC]: Remove redundant conditionals.
43556         * grp/grp.h: Update #endif comments.
43557         [__USE_GNU]: Remove redundant conditionals.
43558         [__USE_MISC]: Likewise.
43559         * inet/netinet/in.h [__USE_GNU]: Likewise.
43560         * io/sys/stat.h [__USE_MISC]: Likewise.
43561         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43562         * libio/bits/stdio.h: Update #endif comments.
43563         [__USE_MISC]: Remove redundant conditionals.
43564         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43565         * libio/stdio.h: Update #endif comments.
43566         [__USE_MISC]: Remove redundant conditionals.
43567         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43568         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43569         * math/math.h: Update #else and #endif comments.
43570         [__USE_MISC]: Remove redundant conditionals.
43571         * misc/sys/uio.h: Update #endif comments.
43572         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43573         * posix/glob.h [__USE_MISC]: Likewise.
43574         * posix/sys/types.h: Update #endif comments.
43575         [__USE_MISC]: Remove redundant conditionals.
43576         * posix/sys/wait.h: Update #endif comments.
43577         [__USE_MISC]: Remove redundant conditionals.
43578         * posix/unistd.h: Update #endif comments.
43579         [__USE_MISC]: Remove redundant conditionals.
43580         * pwd/pwd.h [__USE_GNU]: Likewise.
43581         [__USE_MISC]: Likewise.
43582         * resolv/netdb.h [__USE_GNU]: Likewise.
43583         * signal/signal.h: Update #endif comments.
43584         [__USE_MISC]: Remove redundant conditionals.
43585         * stdlib/stdlib.h: Update #else and #endif comments.
43586         [__USE_MISC]: Remove redundant conditionals.
43587         [__USE_GNU]: Likewise.
43588         * string/bits/string2.h [__USE_MISC]: Likewise.
43589         * string/string.h: Update #endif comments.
43590         [__USE_MISC]: Remove redundant conditionals.
43591         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43592         Likewise.
43593         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43594         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43595         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43596         Likewise.
43597         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43598         Likewise.
43599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43600         comments.
43601         [__USE_MISC]: Remove redundant conditionals.
43602         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43603         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43604         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43605         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43606         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43607         Likewise.
43608         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43609         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43610         Likewise.
43611         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43612         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43613         Likewise.
43614         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43615         Likewise.
43616         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43617         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43618         Likewise.
43619         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43620         Likewise.
43621         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43622         * sysdeps/x86/bits/string.h: Update #endif comments.
43623         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43624         conditionals.
43625         * time/sys/time.h: Update #endif comments.
43626         * time/time.h: Likewise.
43627         [__USE_MISC]: Remove redundant conditionals.
43629 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43631         [BZ #16600]
43632         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43634 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43636         * Versions.def (librt): Add GLIBC_2.17.
43638 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43640         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43641         synonym for _SYS_AUXV_H to allow direct inclusion.
43642         * sysdeps/sparc/bits/hwcap.h: Likewise.
43643         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43644         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43645         * sysdeps/sparc/sysdep.h: Likewise.
43647 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43649         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43651 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43653         * benchtests/bench-strrchr.c: Print length instead of position.
43655 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43657         [BZ #16611]
43658         * sysdeps/unix/sysv/linux/kernel-features.h
43659         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43660         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43661         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43662         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43663         Likewise.
43664         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43665         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43666         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43667         (__ASSUME_SENDMMSG): Define instead of using previous
43668         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43669         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43670         (__ASSUME_SENDMMSG_SYSCALL): Define.
43671         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43672         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43673         Likewise.
43674         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43675         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43676         Likewise.
43677         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43678         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43679         Likewise.
43680         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43681         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43682         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43683         [__ASSUME_SENDMMSG]: Change conditionals to
43684         [__ASSUME_SENDMMSG_SOCKETCALL].
43685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43686         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43687         Define.
43688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43689         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43690         Likewise.
43691         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43692         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43693         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43694         [!__ASSUME_SENDMMSG]: Change conditional to
43695         [!__ASSUME_SENDMMSG_SOCKETCALL].
43696         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43697         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43698         Define.
43700         [BZ #16610]
43701         * sysdeps/unix/sysv/linux/kernel-features.h
43702         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43703         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43704         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43705         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43706         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43707         [__i386__ || __sparc__]
43708         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43709         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43710         (__ASSUME_RECVMMSG): Define instead of using previous
43711         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43712         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43713         (__ASSUME_RECVMMSG_SYSCALL): Define.
43714         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43716         Likewise.
43717         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43719         Likewise.
43720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43721         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43722         Likewise.
43723         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43724         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43725         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43726         [__ASSUME_RECVMMSG]: Change condition to
43727         [__ASSUME_RECVMMSG_SOCKETCALL].
43728         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43729         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43730         Define.
43731         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43732         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43734         Likewise.
43735         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43736         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43737         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43738         [!__ASSUME_RECVMMSG]: Change condition to
43739         [!__ASSUME_RECVMMSG_SOCKETCALL].
43740         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43741         (__ASSUME_RECVMMSG_SYSCALL): Define.
43743         [BZ #16609]
43744         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43745         __powerpc__ || __s390__ || __sh__ || __sparc__]
43746         (__ASSUME_SOCKETCALL): Define.
43747         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43748         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43749         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43750         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43751         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43752         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43753         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43754         (__ASSUME_ACCEPT4): Define instead of using previous
43755         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43756         __powerpc__ || __sparc__ || __s390__)] condition.
43757         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43758         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43759         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43760         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43761         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43762         [!__ASSUME_ACCEPT4]: Change condition to
43763         [!__ASSUME_ACCEPT4_SOCKETCALL].
43764         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43765         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43766         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43767         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43768         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43769         __ASSUME_ACCEPT4_SYSCALL.
43770         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43771         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43772         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43773         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43774         __ASSUME_ACCEPT4_SYSCALL.
43775         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43776         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43777         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43778         [__ASSUME_ACCEPT4]: Change condition to
43779         [__ASSUME_ACCEPT4_SOCKETCALL].
43780         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43781         (__ASSUME_SOCKETCALL): Define.
43782         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43783         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43784         (__ASSUME_SOCKETCALL): Define.
43785         (__ASSUME_ACCEPT4): Remove.
43786         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43787         Define.
43788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43789         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43790         Likewise.
43791         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43792         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43794         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43795         macro.
43796         (HWCAP_ARM_LPAE): Likewise.
43797         (HWCAP_ARM_EVTSTRM): Likewise.
43798         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43799         Add vpfd32, lpae and evtstrm.
43800         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43801         Increase to 22.
43803 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43805         * math/auto-libm-test-in: Add tests of clog10.
43806         * math/auto-libm-test-out: Regenerated.
43807         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43808         * sysdeps/i386/fpu/libm-test-ulps: Update.
43809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43811 2014-02-18  Andreas Schwab  <schwab@suse.de>
43813         [BZ #16574]
43814         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43815         Store non-zero if the second buffer was newly allocated.
43816         (send_dg): Likewise.
43817         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43818         to send_vc and send_dg.
43819         (res_nsend): Pass NULL for ansp2_malloced.
43820         * resolv/res_query.c (__libc_res_nquery): Add parameter
43821         answerp2_malloced and pass it down to __libc_res_nsend.
43822         (res_nquery): Pass additional NULL to __libc_res_nquery.
43823         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43824         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43825         second answer buffer if answerp2_malloced was set.
43826         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43827         (__libc_res_nquerydomain): Add parameter
43828         answerp2_malloced and pass it down to __libc_res_nquery.
43829         (res_nquerydomain): Pass additional NULL to
43830         __libc_res_nquerydomain.
43831         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43832         additional NULL to __libc_res_nsend and __libc_res_nquery.
43833         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43834         additional NULL to __libc_res_nsearch.
43835         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43836         parameter of __libc_res_nsearch to check for separately allocated
43837         second buffer.
43838         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43839         __libc_res_nquery.
43840         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43841         additional NULL to __libc_res_nquery.
43842         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43843         __libc_res_nsearch.
43844         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43845         * include/resolv.h: Update prototypes of __libc_res_nquery,
43846         __libc_res_nsearch, __libc_res_nsend.
43848 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43850         * math/auto-libm-test-in: Add tests of fma.
43851         * math/auto-libm-test-out: Regenerated.
43852         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43853         (fma_towardzero_test_data): Likewise.
43854         (fma_downward_test_data): Likewise.
43855         (fma_upward_test_data): Likewise.
43856         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43857         mpc_mode.
43858         (rounding_modes): Add values for new field.
43859         (func_calc_method): Add value mpfr_fff_f.
43860         (func_calc_desc): Add mpfr_fff_f union field.
43861         (test_function): Add field exact_args.
43862         (FUNC): Add macro argument EXACT_ARGS.
43863         (FUNC_mpfr_f_f): Update call to FUNC.
43864         (FUNC_mpfr_f_f): Likewise.
43865         (FUNC_mpfr_ff_f): Likewise.
43866         (FUNC_mpfr_if_f): Likewise.
43867         (FUNC_mpc_c_f): Likewise.
43868         (FUNC_mpc_c_c): Likewise.
43869         (test_functions): Add fma.  Update calls to FUNC.
43870         (handle_input_arg): Add argument exact_args.
43871         (add_test): Update call to handle_input_arg.
43872         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43873         (output_for_one_input_case): Update call to calc_generic_results.
43874         Recalculate exact zero results in each rounding mode.
43876         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43877         non-negative before setting low bit.
43878         * math/auto-libm-test-in: Mark one asin test possibly having
43879         spurious underflow.
43880         * math/auto-libm-test-out: Regenerated.
43881         * sysdeps/i386/fpu/libm-test-ulps: Update.
43882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43884 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43886         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43887         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43888         ports/sysdeps/unix/sysv/linux/microblaze.
43889         * README: Add missing listing for microblaze*-*-linux-gnu.
43891 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43893         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43894         duplicate code
43896 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43898         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43899         * sysdeps/unix/sysv/linux/ia64: Move directory from
43900         ports/sysdeps/unix/sysv/linux/ia64.
43901         * README: Update listing for ia64-*-linux-gnu.
43903 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43904             Joseph Myers  <joseph@codesourcery.com>
43906         * Makeconfig (test-name): New variable.
43907         (evaluate-test): Likewise.
43908         * Makerules (do-test-clean): Remove .test-result files.
43909         (common-mostlyclean): Likewise.
43910         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43911         * scripts/evaluate-test.sh: New file.
43913 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43915         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43916         separate $(objpfx)tst-fopenloc-cmp.out and
43917         $(objpfx)tst-fopenloc-mem.out targets.
43918         (tests): Update dependencies.
43919         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43920         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43921         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43922         (tst-rxspencer-no-utf8-ARGS): New variable.
43923         (tst-rxspencer-no-utf8-ENV): Likewise.
43924         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43925         instead of $(objpfx)tst-rxspencer-mem.
43926         ($(objpfx)tst-rxspencer-mem): Change target to
43927         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43928         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43929         * posix/tst-rxspencer-no-utf8.c: New file.
43931         * elf/Makefile ($(objpfx)order.out): Remove rule.
43932         [$(run-built-tests) = yes] (tests): Depend on
43933         $(objpfx)order-cmp.out.
43934         ($(objpfx)order-cmp.out): New rule.
43935         [$(run-built-tests) = yes] (tests): Depend on
43936         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43937         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43938         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43939         $(objpfx)tst-array5-static-cmp.out.
43940         ($(objpfx)tst-array1.out): Remove rule.
43941         ($(objpfx)tst-array1-cmp.out): New rule.
43942         ($(objpfx)tst-array1-static.out): Remove rule.
43943         ($(objpfx)tst-array1-static-cmp.out): New rule.
43944         ($(objpfx)tst-array2.out): Remove rule.
43945         ($(objpfx)tst-array2-cmp.out): New rule.
43946         ($(objpfx)tst-array3.out): Remove rule.
43947         ($(objpfx)tst-array3-cmp.out): New rule.
43948         ($(objpfx)tst-array4.out): Remove rule.
43949         ($(objpfx)tst-array4-cmp.out): New rule.
43950         ($(objpfx)tst-array5.out): Remove rule.
43951         ($(objpfx)tst-array5-cmp.out): New rule.
43952         ($(objpfx)tst-array5-static.out): Remove rule.
43953         ($(objpfx)tst-array5-static-cmp.out): New rule.
43954         [$(run-built-tests) = yes] (tests): Depend on
43955         $(objpfx)order2-cmp.out.
43956         ($(objpfx)order2.out): Remove rule.
43957         ($(objpfx)order2-cmp.out): New rule.
43958         ($(objpfx)tst-initorder.out): Remove rule.
43959         [$(run-built-tests) = yes] (tests): Depend on
43960         $(objpfx)tst-initorder-cmp.out.
43961         ($(objpfx)tst-initorder-cmp.out): New rule.
43962         ($(objpfx)tst-initorder2.out): Remove rule.
43963         [$(run-built-tests) = yes] (tests): Depend on
43964         $(objpfx)tst-initorder2-cmp.out.
43965         ($(objpfx)tst-initorder2-cmp.out): New rule.
43966         [$(run-built-tests) = yes] (tests): Depend on
43967         $(objpfx)tst-unused-dep-cmp.out.
43968         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43969         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43970         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43971         on $(objpfx)tst-setvbuf1-cmp.out.
43972         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43973         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43974         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43975         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43976         ($(objpfx)tst-svc.out): Remove rule.
43977         ($(objpfx)tst-svc-cmp.out): New rule.
43979 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43981         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43982         * ctype/ctype.h [__USE_MISC]: Likewise.
43983         * dirent/dirent.h [__USE_MISC]: Likewise.
43984         * grp/grp.h [__USE_MISC]: Likewise.
43985         * io/fcntl.h [__USE_MISC]: Likewise.
43986         * io/sys/stat.h [__USE_MISC]: Likewise.
43987         * libio/stdio.h [__USE_MISC]: Likewise.
43988         * posix/unistd.h [__USE_MISC]: Likewise.
43989         * pwd/pwd.h [__USE_MISC]: Likewise.
43990         * stdlib.h [__USE_MISC]: Likewise.
43991         * string/bits/string2.h [__USE_MISC]: Likewise.
43992         * string/string.h [__USE_MISC]: Likewise.
43993         * time/time.h [__USE_MISC]: Likewise.
43995 2014-02-13  Andreas Schwab  <schwab@suse.de>
43997         [BZ #16574]
43998         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43999         second answer buffer if it was separately allocated.
44001 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44003         * sysdeps/mips/math-tests.h: Include <features.h>.
44004         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44005         (ROUNDING_TESTS_long_double): Do not define.
44006         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44007         (EXCEPTION_TESTS_long_double): Likewise.
44008         * sysdeps/mips/mips64/libm-test-ulps: Update.
44010         * include/features.h (__USE_BSD): Remove macro definitions.
44011         (__USE_SVID): Likewise.
44012         (_BSD_SOURCE): Likewise.
44013         (_SVID_SOURCE): Likewise.
44014         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44015         from definition of _DEFAULT_SOURCE.
44016         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44017         [_DEFAULT_SOURCE].
44018         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44019         * bits/mman.h [__USE_BSD]: Likewise.
44020         * bits/termios.h [__USE_BSD]: Likewise.
44021         * bits/waitstatus.h [__USE_BSD]: Likewise.
44022         * ctype/ctype.h [__USE_SVID]: Likewise.
44023         * dirent/dirent.h [__USE_BSD]: Likewise.
44024         * grp/grp.h [__USE_SVID]: Likewise.
44025         [__USE_BSD]: Likewise.
44026         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44027         * io/fcntl.h [__USE_BSD]: Likewise.
44028         * io/ftw.h [__USE_BSD]: Likewise.
44029         * io/sys/stat.h [__USE_BSD]: Likewise.
44030         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44031         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44032         * libio/stdio.h [__USE_SVID]: Likewise.
44033         [__USE_BSD]: Likewise.
44034         * math/math.h [__USE_SVID]: Likewise.
44035         [__USE_BSD]: Likewise.
44036         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44037         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44038         * misc/search.h [__USE_SVID]: Likewise.
44039         * misc/sys/mman.h [__USE_BSD]: Likewise.
44040         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44041         * misc/sys/uio.h [__USE_BSD]: Likewise.
44042         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44043         * posix/glob.h [__USE_BSD]: Likewise.
44044         * posix/regex.h [__USE_BSD]: Likewise.
44045         * posix/sys/types.h [__USE_BSD]: Likewise.
44046         [__USE_SVID]: Likewise.
44047         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44048         * posix/sys/wait.h [__USE_BSD]: Likewise.
44049         [__USE_SVID]: Likewise.
44050         * posix/unistd.h [__USE_BSD]: Likewise.
44051         [__USE_SVID]: Likewise.
44052         * pwd/pwd.h [__USE_SVID]: Likewise.
44053         * resolv/netdb.h [__USE_BSD]: Likewise.
44054         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44055         * signal/signal.h [__USE_BSD]: Likewise.
44056         [__USE_SVID]: Likewise.
44057         * socket/sys/socket.h [__USE_BSD]: Likewise.
44058         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44059         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44060         [__USE_SVID]: Likewise.
44061         * string/bits/string2.h [__USE_BSD]: Likewise.
44062         [__USE_SVID]: Likewise.
44063         * string/bits/string3.h [__USE_BSD]: Likewise.
44064         * string/endian.h [__USE_BSD]: Likewise.
44065         * string/string.h [__USE_SVID]: Likewise.
44066         [__USE_BSD]: Likewise.
44067         * string/strings.h [__USE_BSD]: Likewise.
44068         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44069         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44070         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44071         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44072         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44073         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44074         Likewise.
44075         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44076         Likewise.
44077         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44078         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44079         Likewise.
44080         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44081         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44082         Likewise.
44083         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44084         Likewise.
44085         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44086         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44087         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44088         Likewise.
44089         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44090         Likewise.
44091         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44092         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44093         * termios/termios.h [__USE_BSD]: Likewise.
44094         * time/sys/time.h [__USE_BSD]: Likewise.
44095         * time/time.h [__USE_BSD]: Likewise.
44096         [__USE_SVID]: Likewise.
44098         * Makefile (subdir_targets): Remove subdir_lint.out.
44100         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44101         (do-tst-printf): Likewise.
44102         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44103         $(objpfx)tst-printf.out.
44105         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44107         * Makerules (check-abi-%): Change target to
44108         $(objpfx)check-abi-%.out.
44109         (check-abi target): Update dependencies.
44110         (check-abi-pattern variable): Redirect output of diff to $@.
44111         (check-abi variable): Likewise.
44112         * elf/Makefile (check-abi): Update dependencies.
44114         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44115         unused.
44116         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44117         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44118         subnormal range.
44119         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44120         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44121         value has largest subnormal exponent.
44122         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44123         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44124         * sysdeps/aarch64/soft-fp/sfp-machine.h
44125         (_FP_TININESS_AFTER_ROUNDING): New macro.
44126         * sysdeps/alpha/soft-fp/sfp-machine.h
44127         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44128         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44129         Likewise.
44130         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44131         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44132         * sysdeps/mips/soft-fp/sfp-machine.h
44133         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44134         * sysdeps/powerpc/soft-fp/sfp-machine.h
44135         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44136         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44137         Likewise.
44138         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44140         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44141         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44142         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44143         Likewise.
44145 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44147         [BZ #16545]
44148         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44149         model 1.
44151 2014-02-12  Richard Henderson  <rth@redhat.com>
44153         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44154         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44155         * sysdeps/unix/sysv/linux/alpha: Move directory from
44156         ports/sysdeps/unix/sysv/linux/alpha.
44157         * README: Update listing for alpha-*-linux-gnu.
44159 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44161         * include/features.h: Update comment documenting feature test
44162         macros.
44163         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44164         _DEFAULT_SOURCE.
44165         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44166         (_SVID_SOURCE): Likewise.
44167         (_DEFAULT_SOURCE): Update description of default features.
44168         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44169         with _GNU_SOURCE.
44170         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44171         (S_ISVTX): Likewise.
44172         * manual/math.texi (Mathematical Constants): Likewise.
44173         * manual/signal.texi (Interrupted Primitives): Likewise.
44174         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44175         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44176         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44177         Don't refer to _SVID_SOURCE in warning text.
44179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44181         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44182         already defined.
44183         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44184         * sysdeps/mips/dl-lookup.c: Remove.
44185         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44187 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44189         [BZ #16447]
44190         * math/auto-libm-test-in: Add testcase for expl.
44191         * math/auto-libm-test-out: Regenerate.
44192         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44193         calculation of unsafe.
44194         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44196 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44198         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44199         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44200         ports/sysdeps/unix/sysv/linux/aarch64.
44201         * README: Update listing for aarch64*-*-linux-gnu.
44203 2014-02-11  Will Newton  <will.newton@linaro.org>
44205         * manual/probes.texi (Mathematical Function Probes): Use
44206         "triggered" instead of "hit".
44208         * manual/probes.texi (Internal Probes): Add documentation
44209         of setjmp, longjmp and longjmp_target probes.
44211         * include/stap-probe.h: Add comment about probe argument
44212         format.
44214         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44215         definition.  (tr_where, tr_freehook, tr_mallochook,
44216         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44218 2014-02-11  David S. Miller  <davem@davemloft.net>
44220         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44221         processing int_tests.
44223 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44225         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44226         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44227         * sysdeps/unix/sysv/linux/mips: Move directory from
44228         ports/sysdeps/unix/sysv/linux/mips.
44229         * README: Update listing for mips-*-linux-gnu and
44230         mips64-*-linux-gnu.
44232 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44234         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44235         * sysdeps/unix/sysv/linux/m68k: Move directory from
44236         ports/sysdeps/unix/sysv/linux/m68k.
44237         * README: Update listing for m68k-*-linux-gnu.
44239 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44241         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44242         * sysdeps/unix/sysv/linux/generic: Move directory from
44243         ports/sysdeps/unix/sysv/linux/generic.
44244         * sysdeps/unix/sysv/linux/tile: Move directory from
44245         ports/sysdeps/unix/sysv/linux/tile.
44246         * README: Update listing for tile*-*-linux-gnu.
44248 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44250         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44251         __builtin_expect.
44252         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44253         * catgets/open_catalog.c (__open_catalog): Likewise.
44254         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44255         * debug/confstr_chk.c: Likewise.
44256         * debug/fread_chk.c (__fread_chk): Likewise.
44257         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44258         * debug/getgroups_chk.c: Likewise.
44259         * debug/mbsnrtowcs_chk.c: Likewise.
44260         * debug/mbsrtowcs_chk.c: Likewise.
44261         * debug/mbstowcs_chk.c: Likewise.
44262         * debug/memcpy_chk.c: Likewise.
44263         * debug/memmove_chk.c: Likewise.
44264         * debug/mempcpy_chk.c: Likewise.
44265         * debug/memset_chk.c: Likewise.
44266         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44267         * debug/strcat_chk.c (__strcat_chk): Likewise.
44268         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44269         * debug/strncat_chk.c (__strncat_chk): Likewise.
44270         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44271         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44272         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44273         * debug/wcpncpy_chk.c: Likewise.
44274         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44275         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44276         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44277         * debug/wcsncpy_chk.c: Likewise.
44278         * debug/wcsnrtombs_chk.c: Likewise.
44279         * debug/wcsrtombs_chk.c: Likewise.
44280         * debug/wcstombs_chk.c: Likewise.
44281         * debug/wmemcpy_chk.c: Likewise.
44282         * debug/wmemmove_chk.c: Likewise.
44283         * debug/wmempcpy_chk.c: Likewise.
44284         * debug/wmemset_chk.c: Likewise.
44285         * dirent/scandirat.c (SCANDIRAT): Likewise.
44286         * dlfcn/dladdr1.c (dladdr1): Likewise.
44287         * dlfcn/dladdr.c (dladdr): Likewise.
44288         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44289         * dlfcn/dlerror.c (__dlerror): Likewise.
44290         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44291         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44292         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44293         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44294         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44295         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44296         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44297         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44298         Likewise.
44299         * elf/dl-conflict.c: Likewise.
44300         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44301         * elf/dl-dst.h: Likewise.
44302         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44303         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44304         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44305         * elf/dl-init.c (call_init, _dl_init): Likewise.
44306         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44307         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44308         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44309         Likewise.
44310         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44311         Likewise.
44312         * elf/dl-minimal.c (__libc_memalign): Likewise.
44313         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44314         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44315         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44316         * elf/dl-sym.c (do_sym): Likewise.
44317         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44318         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44319         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44320         * elf/dl-writev.h (_dl_writev): Likewise.
44321         * elf/ldconfig.c (search_dir): Likewise.
44322         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44323         (dl_main): Likewise.
44324         * elf/setup-vdso.h (setup_vdso): Likewise.
44325         * grp/compat-initgroups.c (compat_call): Likewise.
44326         * grp/fgetgrent.c (fgetgrent): Likewise.
44327         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44328         * grp/putgrent.c (putgrent): Likewise.
44329         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44330         Likewise.
44331         * hurd/hurdinit.c: Likewise.
44332         * iconvdata/8bit-gap.c (struct): Likewise.
44333         * iconvdata/ansi_x3.110.c : Likewise.
44334         * iconvdata/big5.c : Likewise.
44335         * iconvdata/big5hkscs.c : Likewise.
44336         * iconvdata/cp1255.c: Likewise.
44337         * iconvdata/cp1258.c : Likewise.
44338         * iconvdata/cp932.c : Likewise.
44339         * iconvdata/euc-cn.c: Likewise.
44340         * iconvdata/euc-jisx0213.c : Likewise.
44341         * iconvdata/euc-jp.c: Likewise.
44342         * iconvdata/euc-jp-ms.c : Likewise.
44343         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44344         * iconvdata/gb18030.c : Likewise.
44345         * iconvdata/gbbig5.c (const): Likewise.
44346         * iconvdata/gbgbk.c: Likewise.
44347         * iconvdata/gbk.c : Likewise.
44348         * iconvdata/ibm1364.c : Likewise.
44349         * iconvdata/ibm930.c : Likewise.
44350         * iconvdata/ibm932.c: Likewise.
44351         * iconvdata/ibm933.c : Likewise.
44352         * iconvdata/ibm935.c : Likewise.
44353         * iconvdata/ibm937.c : Likewise.
44354         * iconvdata/ibm939.c : Likewise.
44355         * iconvdata/ibm943.c: Likewise.
44356         * iconvdata/iso_11548-1.c: Likewise.
44357         * iconvdata/iso-2022-cn.c : Likewise.
44358         * iconvdata/iso-2022-cn-ext.c : Likewise.
44359         * iconvdata/iso-2022-jp-3.c: Likewise.
44360         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44361         * iconvdata/iso-2022-kr.c : Likewise.
44362         * iconvdata/iso646.c (gconv_end): Likewise.
44363         * iconvdata/iso_6937-2.c : Likewise.
44364         * iconvdata/iso_6937.c : Likewise.
44365         * iconvdata/iso8859-1.c: Likewise.
44366         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44367         * iconvdata/shift_jisx0213.c : Likewise.
44368         * iconvdata/sjis.c : Likewise.
44369         * iconvdata/t.61.c : Likewise.
44370         * iconvdata/tcvn5712-1.c : Likewise.
44371         * iconvdata/tscii.c: Likewise.
44372         * iconvdata/uhc.c : Likewise.
44373         * iconvdata/unicode.c (gconv_end): Likewise.
44374         * iconvdata/utf-16.c (gconv_end): Likewise.
44375         * iconvdata/utf-32.c (gconv_end): Likewise.
44376         * iconvdata/utf-7.c (base64): Likewise.
44377         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44378         * iconv/gconv_close.c (__gconv_close): Likewise.
44379         * iconv/gconv_open.c (__gconv_open): Likewise.
44380         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44381         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44382         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44383         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44384         (ucs4le_internal_loop_single): Likewise.
44385         * iconv/iconv.c (iconv): Likewise.
44386         * iconv/iconv_close.c: Likewise.
44387         * iconv/loop.c (SINGLE): Likewise.
44388         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44389         * include/atomic.h: Likewise.
44390         * inet/inet6_option.c (option_alloc): Likewise.
44391         * intl/bindtextdom.c (set_binding_values): Likewise.
44392         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44393         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44394         * intl/localealias.c (read_alias_file): Likewise.
44395         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44396         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44397         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44398         * libio/fmemopen.c (fmemopen): Likewise.
44399         * libio/iofgets.c (_IO_fgets): Likewise.
44400         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44401         * libio/iofgetws.c (fgetws): Likewise.
44402         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44403         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44404         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44405         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44406         * locale/findlocale.c (_nl_find_locale): Likewise.
44407         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44408         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44409         Likewise.
44410         * locale/setlocale.c (setlocale): Likewise.
44411         * login/programs/pt_chown.c (main): Likewise.
44412         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44413         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44414         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44415         (mmap, mmap64, mremap, munmap): Likewise.
44416         * math/e_exp2l.c: Likewise.
44417         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44418         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44419         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44420         * math/s_catan.c (__catan): Likewise.
44421         * math/s_catanf.c (__catanf): Likewise.
44422         * math/s_catanh.c (__catanh): Likewise.
44423         * math/s_catanhf.c (__catanhf): Likewise.
44424         * math/s_catanhl.c (__catanhl): Likewise.
44425         * math/s_catanl.c (__catanl): Likewise.
44426         * math/s_ccosh.c (__ccosh): Likewise.
44427         * math/s_ccoshf.c (__ccoshf): Likewise.
44428         * math/s_ccoshl.c (__ccoshl): Likewise.
44429         * math/s_cexp.c (__cexp): Likewise.
44430         * math/s_cexpf.c (__cexpf): Likewise.
44431         * math/s_cexpl.c (__cexpl): Likewise.
44432         * math/s_clog10.c (__clog10): Likewise.
44433         * math/s_clog10f.c (__clog10f): Likewise.
44434         * math/s_clog10l.c (__clog10l): Likewise.
44435         * math/s_clog.c (__clog): Likewise.
44436         * math/s_clogf.c (__clogf): Likewise.
44437         * math/s_clogl.c (__clogl): Likewise.
44438         * math/s_csin.c (__csin): Likewise.
44439         * math/s_csinf.c (__csinf): Likewise.
44440         * math/s_csinh.c (__csinh): Likewise.
44441         * math/s_csinhf.c (__csinhf): Likewise.
44442         * math/s_csinhl.c (__csinhl): Likewise.
44443         * math/s_csinl.c (__csinl): Likewise.
44444         * math/s_csqrt.c (__csqrt): Likewise.
44445         * math/s_csqrtf.c (__csqrtf): Likewise.
44446         * math/s_csqrtl.c (__csqrtl): Likewise.
44447         * math/s_ctan.c (__ctan): Likewise.
44448         * math/s_ctanf.c (__ctanf): Likewise.
44449         * math/s_ctanh.c (__ctanh): Likewise.
44450         * math/s_ctanhf.c (__ctanhf): Likewise.
44451         * math/s_ctanhl.c (__ctanhl): Likewise.
44452         * math/s_ctanl.c (__ctanl): Likewise.
44453         * math/w_pow.c: Likewise.
44454         * math/w_powf.c: Likewise.
44455         * math/w_powl.c: Likewise.
44456         * math/w_scalb.c (sysv_scalb): Likewise.
44457         * math/w_scalbf.c (sysv_scalbf): Likewise.
44458         * math/w_scalbl.c (sysv_scalbl): Likewise.
44459         * misc/error.c (error_tail): Likewise.
44460         * misc/pselect.c (__pselect): Likewise.
44461         * nis/nis_callback.c (__nis_create_callback): Likewise.
44462         * nis/nis_call.c (__nisfind_server): Likewise.
44463         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44464         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44465         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44466         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44467         * nis/nis_lookup.c (nis_lookup): Likewise.
44468         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44469         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44470         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44471         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44472         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44473         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44474         * nis/nss_compat/compat-initgroups.c (add_group)
44475         (internal_getgrent_r): Likewise.
44476         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44477         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44478         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44479         (internal_getspnam_r): Likewise.
44480         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44481         (_nss_nis_getaliasbyname_r): Likewise.
44482         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44483         (_nss_nis_getntohost_r): Likewise.
44484         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44485         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44486         (_nss_nis_getgrgid_r): Likewise.
44487         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44488         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44489         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44490         (_nss_nis_gethostbyname4_r): Likewise.
44491         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44492         (initgroups_netid): Likewise.
44493         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44494         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44495         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44496         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44497         (_nss_nis_getprotobynumber_r): Likewise.
44498         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44499         (_nss_nis_getsecretkey): Likewise.
44500         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44501         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44502         (_nss_nis_getpwuid_r): Likewise.
44503         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44504         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44505         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44506         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44507         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44508         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44509         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44510         Likewise.
44511         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44512         (_nss_nisplus_getntohost_r): Likewise.
44513         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44514         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44515         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44516         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44517         Likewise.
44518         * nis/nss_nisplus/nisplus-initgroups.c
44519         (_nss_nisplus_initgroups_dyn): Likewise.
44520         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44521         (_nss_nisplus_getnetbyaddr_r): Likewise.
44522         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44523         (_nss_nisplus_getprotobynumber_r): Likewise.
44524         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44525         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44526         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44527         Likewise.
44528         * nis/nss_nisplus/nisplus-service.c
44529         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44530         (_nss_nisplus_getservbyport_r): Likewise.
44531         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44532         (_nss_nisplus_getspnam_r): Likewise.
44533         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44534         Likewise.
44535         * nscd/aicache.c (addhstaiX): Likewise.
44536         * nscd/cache.c (cache_search, prune_cache): Likewise.
44537         * nscd/connections.c (register_traced_file, send_ro_fd)
44538         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44539         (main_loop_epoll): Likewise.
44540         * nscd/grpcache.c (addgrbyX): Likewise.
44541         * nscd/hstcache.c (addhstbyX): Likewise.
44542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44543         * nscd/mem.c (gc, mempool_alloc): Likewise.
44544         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44545         (addinnetgrX): Likewise.
44546         * nscd/nscd-client.h (__nscd_acquire_maplock)
44547         (__nscd_drop_map_ref): Likewise.
44548         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44549         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44550         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44551         Likewise.
44552         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44553         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44554         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44555         (__nscd_get_map_ref): Likewise.
44556         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44557         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44558         Likewise.
44559         * nscd/pwdcache.c (addpwbyX): Likewise.
44560         * nscd/selinux.c (preserve_capabilities): Likewise.
44561         * nscd/servicescache.c (addservbyX): Likewise.
44562         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44563         * posix/fnmatch.c (fnmatch): Likewise.
44564         * posix/getopt.c (_getopt_internal_r): Likewise.
44565         * posix/glob.c (glob, glob_in_dir): Likewise.
44566         * posix/wordexp.c (exec_comm_child): Likewise.
44567         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44568         (getanswer_r, gaih_getanswer_slice): Likewise.
44569         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44570         * resolv/res_init.c: Likewise.
44571         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44572         * resolv/res_query.c (__libc_res_nquery): Likewise.
44573         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44574         Likewise.
44575         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44576         * stdio-common/perror.c (perror): Likewise.
44577         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44578         * stdio-common/tmpnam.c (tmpnam): Likewise.
44579         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44580         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44581         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44582         Likewise.
44583         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44584         * stdlib/putenv.c (putenv): Likewise.
44585         * stdlib/setenv.c (__add_to_environ): Likewise.
44586         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44587         * stdlib/strtol_l.c (INTERNAL): Likewise.
44588         * string/memmem.c (memmem): Likewise.
44589         * string/strerror.c (strerror): Likewise.
44590         * string/strnlen.c (__strnlen): Likewise.
44591         * string/test-memmem.c (simple_memmem): Likewise.
44592         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44593         * sunrpc/pm_getport.c (__get_socket): Likewise.
44594         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44595         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44596         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44597         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44598         Likewise.
44599         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44600         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44601         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44602         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44603         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44604         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44605         Likewise.
44606         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44607         Likewise.
44608         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44609         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44610         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44611         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44612         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44613         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44614         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44615         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44616         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44617         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44618         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44619         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44620         Likewise.
44621         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44622         Likewise.
44623         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44624         Likewise.
44625         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44626         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44627         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44628         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44629         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44630         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44631         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44632         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44633         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44634         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44635         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44636         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44637         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44638         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44640         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44641         Likewise.
44642         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44643         Likewise.
44644         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44645         Likewise.
44646         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44647         Likewise.
44648         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44649         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44650         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44651         Likewise.
44652         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44653         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44654         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44655         * sysdeps/posix/sleep.c: Likewise.
44656         * sysdeps/posix/tempname.c: Likewise.
44657         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44658         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44659         Likewise.
44660         * sysdeps/powerpc/powerpc32/dl-machine.h
44661         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44662         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44664         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44665         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44666         Likewise.
44667         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44668         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44669         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44670         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44671         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44672         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44673         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44674         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44675         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44676         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44677         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44678         (elf_machine_lazy_rel): Likewise.
44679         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44680         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44681         (elf_machine_lazy_rel): Likewise.
44682         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44683         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44684         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44685         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44686         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44687         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44688         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44690         Likewise.
44691         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44692         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44693         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44694         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44695         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44696         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44697         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44698         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44699         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44700         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44701         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44702         Likewise.
44703         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44704         (__posix_fallocate64_l64): Likewise.
44705         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44706         (posix_fallocate): Likewise.
44707         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44708         Likewise.
44709         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44710         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44711         (getifaddrs_internal): Likewise.
44712         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44713         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44714         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44715         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44716         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44717         (__posix_fallocate64_l64): Likewise.
44718         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44719         Likewise.
44720         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44721         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44722         (__get_clockfreq): Likewise.
44723         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44724         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44725         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44726         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44727         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44728         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44729         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44730         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44731         Likewise.
44732         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44733         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44734         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44735         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44736         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44737         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44738         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44739         Likewise.
44740         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44741         (posix_fallocate): Likewise.
44742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44743         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44744         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44745         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44746         (elf_machine_rela, elf_machine_rela_relative)
44747         (elf_machine_lazy_rel): Likewise.
44748         * time/asctime.c (asctime_internal): Likewise.
44749         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44750         * time/tzset.c (__tzset_parse_tz): Likewise.
44751         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44752         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44753         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44754         * wcsmbs/wcsmbsload.h: Likewise.
44756         [BZ #15894]
44757         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44759         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44760         (arena_get2): Remove THREAD_STATS conditionals.
44761         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44762         (__malloc_stats, int): Likewise.
44764 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44766         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44767         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44769         * manual/setjmp.texi: Fix typos/grammar errors.
44771         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44772         Only return early when n is <= 0.  Delete unused return statement.
44774         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44775         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44776         * debug/tst-longjmp_chk3.c: New file.
44778         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44779         (test_main): Replace code with set_fortify_handler call.
44780         * debug/test-strcpy_chk.c: Likewise.
44781         * debug/tst-chk1.c: Likewise.
44782         * debug/tst-longjmp_chk.c: Likewise.
44783         * test-skeleton.c: Include fcntl.h & paths.h
44784         (set_fortify_handler): Define.
44786         * debug/tst-longjmp_chk.c: Add header comment and include
44787         ../test-skeleton.c.
44788         (do_test): Mark static.
44789         (TEST_FUNCTION): Define.
44791         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44792         (IP_PMTUDISC_INTERFACE): Likewise.
44793         (IP_MULTICAST_IF): Likewise.
44794         (IP_MULTICAST_TTL): Likewise.
44795         (IP_MULTICAST_LOOP): Likewise.
44796         (IP_ADD_MEMBERSHIP): Likewise.
44797         (IP_DROP_MEMBERSHIP): Likewise.
44798         (IP_UNBLOCK_SOURCE): Likewise.
44799         (IP_BLOCK_SOURCE): Likewise.
44800         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44801         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44802         (IP_MSFILTER): Likewise.
44803         (MCAST_JOIN_GROUP): Likewise.
44804         (MCAST_BLOCK_SOURCE): Likewise.
44805         (MCAST_UNBLOCK_SOURCE): Likewise.
44806         (MCAST_LEAVE_GROUP): Likewise.
44807         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44808         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44809         (MCAST_MSFILTER): Likewise.
44810         (IP_MULTICAST_ALL): Likewise.
44811         (IP_UNICAST_IF): Likewise.
44813         * timezone/Makefile: Delete $(have-ksh) check.
44814         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44815         * timezone/tzselect.ksh: Add +x mode bits.
44817         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44818         (ANON_INODE_FS_MAGIC): Likewise.
44819         (BDEVFS_MAGIC): Likewise.
44820         (BINFMTFS_MAGIC): Likewise.
44821         (BTRFS_TEST_MAGIC): Likewise.
44822         (CRAMFS_MAGIC_WEND): Likewise.
44823         (DEBUGFS_MAGIC): Likewise.
44824         (ECRYPTFS_SUPER_MAGIC): Likewise.
44825         (EXT3_SUPER_MAGIC): Likewise.
44826         (EXT4_SUPER_MAGIC): Likewise.
44827         (FUTEXFS_SUPER_MAGIC): Likewise.
44828         (HOSTFS_SUPER_MAGIC): Likewise.
44829         (HUGETLBFS_MAGIC): Likewise.
44830         (MINIX3_SUPER_MAGIC): Likewise.
44831         (MTD_INODE_FS_MAGIC): Likewise.
44832         (NILFS_SUPER_MAGIC): Likewise.
44833         (OPENPROM_SUPER_MAGIC): Likewise.
44834         (PIPEFS_MAGIC): Likewise.
44835         (PSTOREFS_MAGIC): Likewise.
44836         (QNX6_SUPER_MAGIC): Likewise.
44837         (RAMFS_MAGIC): Likewise.
44838         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44839         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44840         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44841         (SECURITYFS_MAGIC): Likewise.
44842         (SELINUX_MAGIC): Likewise.
44843         (SMACK_MAGIC): Likewise.
44844         (SOCKFS_MAGIC): Likewise.
44845         (SQUASHFS_MAGIC): Likewise.
44846         (STACK_END_MAGIC): Likewise.
44847         (TMPFS_MAGIC): Likewise.
44848         (USBDEVICE_SUPER_MAGIC): Likewise.
44849         (V9FS_MAGIC): Likewise.
44850         (XENFS_SUPER_MAGIC): Likewise.
44851         (CRAMFS_MAGIC): Fix typo in comment.
44852         (EXT2_SUPER_MAGIC): Update comment.
44853         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44855 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44857         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44858         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44859         * sysdeps/unix/sysv/linux/arm: Move directory from
44860         ports/sysdeps/unix/sysv/linux/arm.
44861         * README: Update listing for arm-*-linux-gnueabi.
44863         * README: Remove mention of am33.
44865 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44867         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44868         than the comma operator, to avoid "rhs of comma has no effect"
44869         compiler warnings.
44870         (__sigfillset, __sigandset, __sigorset): Likewise.
44871         * include/signal.h (__sigemptyset): Likewise.
44872         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44874 2014-02-07  Allan McRae  <allan@archlinux.org>
44876         * version.h (RELEASE): Set to "development".
44877         (VERSION): Set to "2.19.90"
44878         * NEWS: Add 2.20 section.
44880 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44882         [BZ #16529]
44883         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44885 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44887         * manual/contrib.texi: Update entry for Carlos O'Donell,
44888         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44890 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44892         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44894         * sysdeps/unix/sysv/linux/kernel-features.h
44895         [__LINUX_KERNEL_VERSION >= 0x020621]
44896         (__ASSUME_PROC_PID_TASK_COMM): Define.
44898 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44900         [BZ #16398]
44901         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44902         conversion when destination buffer does not have enough space.
44903         * libio/tst-ftell-partial-wide.c: New test case.
44904         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44906         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44907         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44908         Leonard and Allan McRae.
44910 2014-02-04  David S. Miller  <davem@davemloft.net>
44912         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44913         32-bit.
44915 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44918         New file
44919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44920         New file
44921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44922         New file.
44923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44924         New file.
44925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44926         New file.
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44928         New file.
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44930         New file.
44931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44932         New file.
44933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44934         New file.
44935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44936         New file.
44937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44938         New file.
44939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44940         New file.
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44942         New file.
44944 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44946         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44947         * shlib-versions: Likewise.
44949 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44950             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44952         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44953         (abilist-pattern): New variable, set to %-le.abilist.
44955         * Makerules (abilist-pattern): New variable.
44956         (vpath): Use $(abilist-pattern) in place of %.abilist.
44957         (check-abi-% pattern rule): Likewise.
44958         (check-abi, update-abi): Likewise.
44960 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44964 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44966         * manual/startup.texi: Add next, previous, and top entries for
44967         the `Program Arguments' and `Environment Variables' nodes.
44969 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44971         * manual/macros.texi: Add comments before MTASC-safety macros.
44973         * manual/users.texi: Document MTASC-safety properties.
44975         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44976         (pthread_getspecific, pthread_setspecific): Format with
44977         @deftypefun, and add @safety note.
44978         * manual/signal.texi: Move comments that analyze the above
44979         functions to their home place.
44981 2014-02-03  Allan McRae  <allan@archlinux.org>
44983         * po/sl.po: Update Slovenian translation from translation project.
44985 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44987         * manual/time.texi (timegm): Add missing blank after @c.
44988         Reported by Joseph Myers <joseph@codesourcery.com>.
44990 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44992         * manual/check-safety.sh: New.
44993         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44995         * manual/terminal.texi: Document MTASC-safety properties.
44997         * manual/filesys.texi: Document MTASC-safety properties.
44999         * manual/errno.texi: Document MTASC-safety properties.
45001         * manual/intro.texi: Document safety identifiers and
45002         conditionals.
45004         * manual/string.texi (wcstok): Fix prototype.
45005         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45007         * manual/time.texi: Document MTASC-safety properties.
45009         * manual/string.texi: Document MTASC-safety properties.
45011         * manual/threads.texi: Document MTASC-safety properties.
45013         * manual/stdio.texi: Document MTASC-safety properties.
45015         * manual/syslog.texi: Document MTASC-safety properties.
45017         * manual/sysinfo.texi: Document MTASC-safety properties.
45019         * manual/startup.texi: Document MTASC-safety properties.
45021         * manual/socket.texi: Document MTASC-safety properties.
45023         * manual/signal.texi: Document MTASC-safety properties.
45025 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45027         * manual/setjmp.texi: Document MTASC-safety properties.
45029         * manual/search.texi: Document MTASC-safety properties.
45031         * manual/resource.texi: Document MTASC-safety properties.
45033         * manual/process.texi: Document MTASC-safety properties.
45035         * manual/platform.texi: Document MTASC-safety properties.
45037         * manual/pipe.texi: Document MTASC-safety properties.
45039         * manual/pattern.texi: Document MTASC-safety properties.
45041         * manual/message.texi: Document MTASC-safety properties.
45043         [BZ #12751]
45044         * manual/memory.texi: Document MTASC-safety properties.
45046         * manual/math.texi: Document MTASC-safety properties.
45048         * manual/locale.texi: Document MTASC-safety properties.
45050         * manual/llio.texi: Document MTASC-safety properties.
45052         * manual/libdl.texi: New.
45054         * manual/lang.texi: Document MTASC-safety properties.
45056         * manual/job.texi: Document MTASC-safety properties.
45058         * manual/getopt.texi: Document MTASC-safety properties.
45060         * manual/ctype.texi: Document MTASC-safety properties.
45062 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45064         [BZ #16046]
45065         * csu/libc-tls.c (static_map): Remove variable.
45066         (__libc_setup_tls): Use main executable's link map for TLS data.
45067         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45068         casing for LM_ID_BASE and GL(dl_nns).
45069         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45070         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45071         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45072         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45073         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45074         member.
45075         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45076         l_phnum members.
45078 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45080         * manual/debug.texi: Document MTASC-safety properties.
45082 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45084         [BZ #16510]
45085         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45086         of __x86_64__ when disabling x87 inline functions.
45088 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45090         * manual/charset.texi: Document MTASC-safety properties.
45092         * manual/crypt.texi: Document MTASC-safety properties.
45094         * manual/conf.texi: Document MTASC-safety properties.
45096         * manual/arith.texi: Document MTASC-safety properties.
45098         * manual/argp.texi: Document MTASC-safety properties.
45100         * manual/macros.texi: Introduce macros to document multi
45101         thread, asynchronous signal and asynchronous cancellation
45102         safety properties.
45103         * manual/intro.texi: Introduce the properties themselves.
45105 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45107         * sysdeps/sh/sh4/Makefile: New file.
45109 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45111         * math/gen-libm-test.pl ($srcdir): New variable.
45112         ($auto_input): Use it.
45114 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45116         [BZ #16506]
45117         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45118         access beyond array bounds when parsing netgroups file.
45120         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45121         the old buffer before realloc.
45123 2014-01-27  Allan McRae  <allan@archlinux.org>
45125         * po/fr.po: Update French translation from translation project.
45127 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45129         * sysdeps/sh/libm-test-ulps: Regenerate.
45131 2014-01-24  David S. Miller  <davem@davemloft.net>
45133         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45135 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45137         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45138         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45140 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45142         [BZ #16474]
45143         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45144         string pointers after reallocation.
45146 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45148         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45149         __SH4A__ instead of __SH_FPU_ANY__.
45151 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45153         * sysdeps/sh/fpu_control.h: New file.
45154         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45155         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45156         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45157         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45158         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45159         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45160         * sysdeps/sh/sys/ucontext.h: Remove.
45161         * sysdeps/sh/sys: Remove directory.
45163 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45165         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45166         s390/sys/ucontext.h.
45167         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45168         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45170 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45172         [BZ #15605]
45173         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45175 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45177         [BZ#16431]
45178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45179         Adjust the vDSO correctly for internal calls.
45180         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45182 2014-01-20  Allan McRae  <allan@archlinux.org>
45184         * po/ca.po: Update Catalan translation from translation project.
45186 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45188         * sysdeps/s390/sotruss-lib.c: New file.
45190 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45192         [BZ#16430]
45193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45194         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45195         local calls issues by not having a PLT stub required for IFUNC calls.
45196         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45198 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45200         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45201         * math/test-fpucw-static.c: Likewise.
45203 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45205         [BZ #16453]
45206         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45208 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45210         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45211         implementation for powerpc.
45213 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45215         [BZ #14782]
45216         * sysdeps/posix/system.c (__libc_system): Do not enable
45217         asynchronous cancellation.
45219 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45221         [BZ #16427]
45222         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45223         handling only for numbers special also in the IEEE case.
45225 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45227         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45229 2014-01-11  Allan McRae  <allan@archlinux.org>
45231         * po/bg.po: Update Bulgarian translation from translation project.
45233         * po/de.po: Update German translation from translation project.
45235 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45237         * sysdeps/generic/gcc-compat.h: New file.
45239 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45241         * benchtests/asin-inputs: Correct slow inputs.
45242         * benchtests/acos-inputs: Likewise.
45244 2014-01-10  Allan McRae  <allan@archlinux.org>
45246         * po:sv.po: Update Swedish translation from translation project.
45248         * po/vi.po: Update Vietnamese translation from translation project.
45250         * po/eo.po: Update Esperanto translation from translation project.
45252         * po/cs.po: Update Czech translation from translation project.
45254         * po/nl.po: Update Dutch translation from translation project.
45256         * po/pl.po: Update Polish translation from translation project.
45258         * po/ru.po: Update Russian translation from translation project.
45260         * po/uk.po: Update Ukrainian translation from translation project.
45262 2014-01-08  Brooks Moses  <bmoses@google.com>
45264         * elf/dl-load.c: Fix comment typo.
45266 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45268         * po/header.pot: Rename to...
45269         * po/pot.header: ... this.
45270         * po/Makefile: Use pot.header.
45272 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45273             Maxim Kuvyrkov  <maxim@kugelworks.com>
45275         [BZ #16394]
45276         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45277         SRC and DEST against LEN.
45279 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45281         [BZ #16414]
45282         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45283         implementation.
45284         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45286 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45290 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45292         [BZ #16408]
45293         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45294         for large positive arguments.
45296 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45300         * math/auto-libm-test-in: Mark various tests with
45301         xfail-rounding:ldbl-128ibm.
45302         * math/auto-libm-test-out: Regenerated.
45304         [BZ #16407]
45305         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45306         Increase overflow threshold.
45308 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45310         [BZ #14286]
45311         * stdio-common/vfprintf.c: Check for integer overflow.
45313 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45315         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45316         the first argument and return value of __tls_get_addr_internal.
45318 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45320         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45321         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45323 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45325         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45326         * sysdeps/s390/rtld-global-offsets.sym: New file.
45327         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45328         GLIBC_2.19 symbol.
45329         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45330         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45331         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45332         ... this.
45333         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45334         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45335         ... this.
45336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45337         Regenerate.
45338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45339         Regenerate.
45340         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45341         halfs of GPRs for high_gprs contexts.
45342         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45343         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45344         field.
45345         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45346         uc_flags field.
45347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45348         64 bit versions:
45349         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45350         for high GPRs (uc_high_gprs) and for future extensions
45351         (__reserved).
45352         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45353         for future extensions (__reserved).
45354         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45355         64 bit versions:
45356         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45357         SC_HIGHGPRS offset definition.
45358         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45359         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45361         * Versions.def: Add GLIBC_2.19 for libpthread.
45362         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45363         siglongjmp for libpthread with GLIBC_2.19 symver.
45364         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45365         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45366         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45367         * sysdeps/s390/__longjmp.c: New file.
45368         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45369         * sysdeps/s390/longjmp.c: New file.
45370         * sysdeps/s390/setjmp.S: New file.
45371         * sysdeps/s390/sigjmp.S: New file.
45372         * sysdeps/s390/v1-longjmp.c: New file.
45373         * sysdeps/s390/v1-setjmp.h: New file.
45374         * sysdeps/s390/v1-sigjmp.c: New file.
45375         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45376         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45377         GLIBC_2.19 version.
45378         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45379         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45380         versioned symbols for ____longjmp_chk.
45381         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45382         Likewise.
45383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45384         Regenerate.
45385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45386         Regenerate.
45387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45388         Regenerate.
45389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45390         Regenerate.
45391         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45392         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45393         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45394         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45395         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45396         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45397         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45398         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45399         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45400         * sysdeps/s390/rtld-__longjmp.c: New file.
45401         * sysdeps/s390/rtld-setjmp.S: New file.
45403 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45405         [BZ #16400]
45406         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45407         Return -__logl (x) for small positive arguments without evaluating
45408         a polynomial.
45410 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45412         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45413         Rename to ...
45414         (__ptrace_peeksiginfo_args): ... this.
45415         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45416         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45419 2014-01-06  Allan McRae  <allan@archlinux.org>
45421         * inet/netinet/in.h: Fix typo in comment.
45423 2014-01-05  Andreas Jaeger  <aj@suse.de>
45425         * sysdeps/i386/fpu/libm-test-ulps: Update.
45427 2014-01-05  Allan McRae  <allan@archlinux.org>
45429         * po/libc.pot: Regenerated.
45431         * malloc/memusagestat.c: Fix gettext call formatting.
45433 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45435         * nscd/nscd.c: Improve usage() output.
45437 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45439         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45440         * sysdeps/unix/sysv/linux/configure: Regenerated.
45441         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45442         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45444 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45446         [BZ #16390]
45447         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45448         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45450 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45452         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45453         extra tokens at end of #undef directive.
45454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45455         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45456         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45458 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45460         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45462         * math/auto-libm-test-in: Mark various tests with
45463         xfail-rounding:ldbl-128ibm.
45464         * math/auto-libm-test-out: Regenerated.
45466 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45468         [BZ #16386]
45469         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45470         numbers with subnormal high part when calculating exponent.
45472         [BZ #16385]
45473         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45474         fabs.
45476         [BZ #16384]
45477         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45478         M_LN2l.
45479         (__ieee754_acoshl): Use __log1pl not __log1p.
45481 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45483         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45484         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45485         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45486         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45487         (reused_arena, arena_get2): Convert to GNU style.
45488         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45489         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45490         (memalign_check, __malloc_set_state): Likewise.
45491         * malloc/mallocbug.c (main): Likewise.
45492         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45493         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45494         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45495         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45496         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45497         (__posix_memalign, malloc_info): Likewise.
45498         * malloc/malloc.h: Likewise.
45499         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45500         (mallochook, memalignhook, reallochook, mabort): Likewise.
45501         * malloc/mcheck.h: Likewise.
45502         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45503         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45504         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45505         * malloc/morecore.c (__default_morecore): Likewise.
45506         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45507         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45508         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45509         (print_and_abort): Likewise.
45510         * malloc/obstack.h: Likewise.
45511         * malloc/set-freeres.c (__libc_freeres): Likewise.
45512         * malloc/tst-mallocstate.c (main): Likewise.
45513         * malloc/tst-mtrace.c (main): Likewise.
45514         * malloc/tst-realloc.c (do_test): Likewise.
45516 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45518         [BZ #16366]
45519         * nscd/netgroupcache.c (do_notfound): New function.
45520         (addgetnetgrentX): Use it.
45522         [BZ # 16365]
45523         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45524         NSS_STATUS_NOTFOUND.
45526 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45528         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45531 2014-01-01  Allan McRae  <allan@archlinux.org>
45533         * scripts/update-copyrights: Update configure input file suffix.
45535         * NEWS: Update copyright year.
45536         * catgets/gencat.c: Likewise.
45537         * csu/version.c: Likewise.
45538         * debug/catchsegv.sh: Likewise.
45539         * debug/pcprofiledump.c: Likewise.
45540         * debug/xtrace.sh: Likewise.
45541         * elf/ldconfig.c: Likewise.
45542         * elf/ldd.bash.in: Likewise.
45543         * elf/pldd.c: Likewise.
45544         * elf/sotruss.ksh: Likewise.
45545         * elf/sprof.c: Likewise.
45546         * iconv/iconv_prog.c: Likewise.
45547         * iconv/iconvconfig.c: Likewise.
45548         * locale/programs/locale.c: Likewise.
45549         * locale/programs/localedef.c: Likewise.
45550         * login/programs/pt_chown.c: Likewise.
45551         * malloc/memusage.sh: Likewise.
45552         * malloc/memusagestat.c: Likewise.
45553         * malloc/mtrace.pl: Likewise.
45554         * manual/libc.texinfo: Likewise.
45555         * nscd/nscd.c: Likewise.
45556         * nss/getent.c: Likewise.
45557         * nss/makedb.c: Likewise.
45558         * posix/getconf.c: Likewise.
45559         * scripts/test-installation.pl: Likewise.
45561         * All files with FSF copyright notices: Update copyright dates
45562         using scripts/update-copyrights.
45563         * intl/plural.c: Regenerated.
45564         * locale/programs/charmap-kw.h: Likewise.
45565         * locale/programs/locfile-kw.h: Likewise.
45567 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45569         * sysdeps/unix/sysv/linux/configure: Regenerated.
45570         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45571         the linux/fanotify.h header.
45572         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45573         HAVE_LINUX_FANOTIFY_H is defined.
45575 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45577         * benchtests/cos-inputs: New inputs.
45578         * benchtests/sin-inputs: Likewise.
45580         * benchtests/atan-inputs: New inputs. Fix name of multiple
45581         precision fallback inputs.
45583         * benchtests/atanh-inputs: New inputs.
45584         * benchtests/tanh-inputs: Likewise.
45586         * benchtests/acosh-inputs: New inputs.
45587         * benchtests/asinh-inputs: Likewise.
45589         * benchtests/cosh-inputs: New inputs.
45590         * benchtests/sinh-inputs: Likewise.
45592         * benchtests/acos-inputs: Add more inputs.
45593         * benchtests/asin-inputs: Likewise.
45595 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45597         [BZ #16375]
45598         * manual/arith.texi: Fix spelling.
45599         * manual/charset.texi: Likewise.
45600         * manual/errno.texi: Likewise.
45601         * manual/filesys.texi: Likewise.
45602         * manual/lang.texi: Likewise.
45603         * manual/llio.texi: Likewise.
45604         * manual/locale.texi: Likewise.
45605         * manual/message.texi: Likewise.
45606         * manual/resource.texi: Likewise.
45607         * manual/search.texi: Likewise.
45608         * manual/setjmp.texi: Likewise.
45609         * manual/stdio.texi: Likewise.
45610         * manual/string.texi: Likewise.
45611         * manual/sysinfo.texi: Likewise.
45612         * manual/time.texi: Likewise.
45614 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45616         * po/sl.po: New file.
45618 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45620         * .gitignore: Add core/.gdbinit/.gdb_history.
45622 2013-12-27  Allan McRae  <allan@archlinux.org>
45624         [BZ #16369]
45625         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45626         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45628 2013-12-24  Brooks Moses  <bmoses@google.com>
45630         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45631         all compilers that claim C++98 compliance, not just GCC.
45632         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45633         Likewise.
45635 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45637         * NEWS: Restore accidentally deleted bug-fix entries.
45639 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45640             Ondřej Bílka  <neleai@seznam.cz>
45642         [BZ #15073]
45643         * malloc/malloc.c (_int_free): Perform sanity check only if we
45644         have_lock.
45646 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45648         [BZ #12986]
45649         * manual/stdio.texi (String Input Conversions): Clarify that character
45650         classes are not supported.
45652 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45656 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45658         [BZ #16337]
45659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45660         Calculate results for small negative arguments directly rather
45661         than using reflection formula with special underflow handling.
45663         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45664         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45665         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45666         (fchflags): Likewise.
45667         (revoke): Likewise.
45668         (setlogin): Likewise.
45669         (sigaltstack): Likewise.
45670         (wait4): Likewise.
45671         (sigblock): Remove.
45672         (sigsetmask): Likewise.
45673         (wait3): Likewise.
45674         (waitpid): Likewise.
45675         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45676         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45677         file.
45678         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45679         * sysdeps/unix/bsd/Makefile: ... here.
45680         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45681         * sysdeps/unix/bsd/Versions: ... here.
45682         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45683         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45684         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45685         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45686         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45687         * sysdeps/unix/bsd/sigblock.c: ... here.
45688         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45689         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45690         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45691         * sysdeps/unix/bsd/sigvec.c: ... here.
45692         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45693         * sysdeps/unix/bsd/tcdrain.c: ... here.
45694         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45695         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45696         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45697         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45698         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45699         * sysdeps/unix/bsd/wait.c: ... here.
45700         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45701         * sysdeps/unix/bsd/wait3.c: ... here.
45702         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45703         * sysdeps/unix/bsd/waitpid.c: ... here.
45705 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45707         [BZ #16356]
45708         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45709         round-to-nearest for [!USE_AS_EXPM1L].
45710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45711         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45712         more tests of exp and exp10.  Expect some exp10 tests to miss
45713         exceptions or fail in directed rounding modes.
45714         * math/auto-libm-test-out: Regenerated.
45715         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45716         (exp10_test_tonearest): New function.
45717         (exp10_towardzero_test_data): New array.
45718         (exp10_test_towardzero): New function.
45719         (exp10_downward_test_data): New array.
45720         (exp10_test_downward): New function.
45721         (exp10_upward_test_data): New array.
45722         (exp10_test_upward): New function.
45723         (main): Call the new functions.
45724         * sysdeps/i386/fpu/libm-test-ulps: Update.
45725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45727 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45729         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45730         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45731         * math/auto-libm-test-out: Regenerated.
45732         * math/libm-test.inc (acosh_test_data): Add more tests.
45733         (atanh_test_data): Likewise.
45734         (ceil_test_data): Likewise.
45735         (copysign_test_data): Likewise.
45736         * sysdeps/i386/fpu/libm-test-ulps: Update.
45737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45739         * timezone/checktab.awk: Update from tzcode 2013i.
45740         * timezone/private.h: Likewise.
45741         * timezone/scheck.c: Likewise.
45742         * timezone/tzfile.h: Likewise.
45743         * timezone/tzselect.ksh: Likewise.
45744         * timezone/zdump.c: Likewise.
45745         * timezone/zic.c: Likewise.
45747         * math/auto-libm-test-in: Add tests of cpow.
45748         * math/auto-libm-test-out: Regenerated.
45749         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45750         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45751         mpc_cc_c.
45752         (func_calc_desc): Add mpc_cc_c union field.
45753         (test_functions): Add cpow.
45754         (special_fill_2pi): New function.
45755         (special_real_inputs): Add 2pi.
45756         (calc_generic_results): Handle mpc_cc_c.
45757         * sysdeps/i386/fpu/libm-test-ulps: Update.
45758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45760         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45761         csqrt, ctan and ctanh.
45762         * math/auto-libm-test-out: Regenerated.
45763         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45764         (TEST_COND_x86): Likewise.
45765         (ccos_test_data): Use AUTO_TESTS_c_c.
45766         (ccosh_test_data): Likewise.
45767         (cexp_test_data): Likewise.
45768         (clog_test_data): Likewise.
45769         (csqrt_test_data): Likewise.
45770         (ctan_test_data): Likewise.
45771         (ctan_tonearest_test_data): Likewise.
45772         (ctan_towardzero_test_data): Likewise.
45773         (ctan_downward_test_data): Likewise.
45774         (ctan_upward_test_data): Likewise.
45775         (ctanh_test_data): Likewise.
45776         (ctanh_tonearest_test_data): Likewise.
45777         (ctanh_towardzero_test_data): Likewise.
45778         (ctanh_downward_test_data): Likewise.
45779         (ctanh_upward_test_data): Likewise.
45780         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45781         mpc_c_c.
45782         (func_calc_desc): Add mpc_c_c union field.
45783         (FUNC_mpc_c_c): New macro.
45784         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45785         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45786         ctanh.
45787         (special_fill_min_subnorm_p120): New function.
45788         (special_real_inputs): Add min_subnorm_p120.
45789         (calc_generic_results): Handle mpc_c_c.
45790         * sysdeps/i386/fpu/libm-test-ulps: Update.
45791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45793 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45795         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45796         (do_sin_slow): New functions.
45797         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45798         (cslow2, csloww1, csloww2): Use the new functions.
45800         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45801         Use M to change sign of result instead of X.  Assume X is
45802         positive.
45803         (csloww1): Likewise.
45804         (__sin): Adjust.
45805         (__cos): Adjust.
45807         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45808         arguments A and DA.
45809         (__sin): Adjust.
45810         (__cos): Likewise.
45812         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45813         (__cos): Likewise.
45814         (sloww1): Don't adjust sign of DX.
45815         (csloww1): Likewise.
45816         (sloww2): Use X directly and don't adjust sign of DX.
45817         (csloww2): Likewise.
45819 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45821         * math/auto-libm-test-in: Add tests of cabs and carg.
45822         * math/auto-libm-test-out: Regenerated.
45823         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45824         (carg_test_data): Likewise.
45825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45826         mpc_c_f.
45827         (func_calc_desc): Add mpc_c_f union field.
45828         (test_functions): Add cabs and carg.
45829         (calc_generic_results): Handle mpc_c_f.
45831         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45832         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45833         as a macro and a compat symbol.
45834         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45835         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45836         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45837         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45838         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45839         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45840         not use .hidden.
45841         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45842         Likewise.
45843         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45844         Likewise.
45845         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45846         Likewise.
45847         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45848         Likewise.
45849         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45850         Likewise.
45851         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45852         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45853         from GLIBC_2.3.2.
45855 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45859 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45861         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45862         trailing whitespace removed.
45863         * scripts/config.guess: Update to version 2013-11-29.
45864         * scripts/config.sub: Update to version 2013-10-01.
45866         * math/auto-libm-test-in: Add tests of sincos.
45867         * math/auto-libm-test-out: Regenerated.
45868         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45869         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45870         mpfr_f_11.
45871         (func_calc_desc): Add mpfr_f_11 union field.
45872         (test_functions): Add sincos.
45873         (calc_generic_results): Handle mpfr_f_11.
45874         * sysdeps/i386/fpu/libm-test-ulps: Update.
45875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45877 2013-12-19  Andreas Schwab  <schwab@suse.de>
45879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45880         CALL_MCOUNT.
45881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45882         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45883         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45885 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45887         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45888         * sysdeps/i386/fpu/libm-test-ulps: Update.
45889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45891         [BZ #16293]
45892         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45893         round-to-nearest mode when using frndint.
45894         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45895         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45896         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45897         Likewise.
45898         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45899         sinh test to fail.
45900         * math/auto-libm-test-out: Regenerated.
45901         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45902         (TEST_COND_x86): Likewise.
45903         (expm1_tonearest_test_data): New array.
45904         (expm1_test_tonearest): New function.
45905         (expm1_towardzero_test_data): New array.
45906         (expm1_test_towardzero): New function.
45907         (expm1_downward_test_data): New array.
45908         (expm1_test_downward): New function.
45909         (expm1_upward_test_data): New array.
45910         (expm1_test_upward): New function.
45911         (main): Run the new test functions.
45912         * sysdeps/i386/fpu/libm-test-ulps: Update.
45913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45915         * include/features.h: Update comment documenting feature test
45916         macros.  Mention _DEFAULT_SOURCE in comment.
45917         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45918         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45919         _BSD_SOURCE and _SVID_SOURCE.
45920         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45921         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45922         !_SVID_SOURCE]: Likewise.
45923         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45924         (__USE_POSIX_IMPLICITLY): Define.
45925         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45926         (_POSIX_SOURCE): Undefine and redefine.
45927         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45928         (_POSIX_C_SOURCE): Likewise.
45929         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45930         (Feature Test Macros): Update documentation of default features.
45932 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45934         * benchtests/Makefile: Add bench-strtok.
45935         * benchtests/bench-strtok.c: New file: strtok benchtest.
45937 2013-12-19  Allan McRae  <allan@archlinux.org>
45939         * manual/install.texi: Suppress menu for plain text output.
45940         * INSTALL: Regenerated.
45942 2013-12-18  Brooks Moses  <bmoses@google.com>
45944         [BZ #15846]
45945         * misc/getauxval.c: Include errno.h.
45946         (__getauxval): Set errno to ENOENT if the requested type is not
45947         found.
45948         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45949         don't declare with __attribute_const__.
45950         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45951         * manual/startup.texi: Document that getauxval sets errno.
45953 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45955         * math/auto-libm-test-in: Add tests of jn and yn.
45956         * math/auto-libm-test-out: Regenerated.
45957         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45958         (yn_test_data): Likewise.
45959         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45960         mpfr_if_f.
45961         (func_calc_desc): Add mpfr_if_f union field.
45962         (FUNC_mpfr_if_f): New macro.
45963         (test_functions): Add jn and yn.
45964         (calc_generic_results): Assert type of second input for
45965         mpfr_ff_f.  Handle mpfr_if_f.
45966         (output_for_one_input_case): Disable all checking for arguments
45967         fitting floating-point types in case of an integer argument.
45968         * sysdeps/i386/fpu/libm-test-ulps: Update.
45969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45972         Don't expect fegetround reference in libm.so.
45974 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45976         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45977         $(config-cflags-nofma).
45979 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45981         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45982         * math/auto-libm-test-out: Regenerated.
45984         [BZ #16338]
45985         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45986         to determine exponent and adjust argument to have exponent of -1.
45987         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45988         log2.
45989         * math/auto-libm-test-out: Regenerated.
45990         * sysdeps/i386/fpu/libm-test-ulps: Update.
45991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45993 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45995         * manual/probes.texi: Remove cases when per-thread arenas are
45996         disabled.
45998 2013-12-18  Andreas Schwab  <schwab@suse.de>
46000         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46001         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46002         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46003         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46004         * sysdeps/i386/i686/multiarch/Makefile: Update.
46005         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46007 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46009         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46010         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46012 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46014         [BZ #15968]
46015         Support TZ transition times < 00:00:00.
46016         This is needed for version-3 tz-format files; it supports time
46017         stamps past 2037 for America/Godthab (the only entry in the tz
46018         database for which this change is relevant).
46019         * manual/time.texi (TZ Variable): Document transition times
46020         from -167:59:59 through -00:00:01.
46021         * time/tzset.c (tz_rule): Time of day is now signed.
46022         (__tzset_parse_tz): Parse negative time of day.
46024         Document TZ transition times >= 25:00:00.
46025         * manual/time.texi (TZ Variable): Document transition times from
46026         25:00:00 through 167:59:59.  These are already supported, and this
46027         support will help with version-3 tz-format files.
46029         * manual/time.texi (TZ Variable): Modernize North America example
46030         to reflect current (i.e., 2007-and-later) daylight saving rules.
46032         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46034 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46036         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46037         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46038         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46039         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46040         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46041         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46042         * sysdeps/unix/bsd/clock.c: Likewise.
46043         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46044         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46045         * sysdeps/unix/bsd/init-posix.c: Likewise.
46046         * sysdeps/unix/bsd/poll.c: Likewise.
46047         * sysdeps/unix/bsd/ptsname.c: Likewise.
46048         * sysdeps/unix/bsd/seekdir.c: Likewise.
46049         * sysdeps/unix/bsd/setegid.c: Likewise.
46050         * sysdeps/unix/bsd/seteuid.c: Likewise.
46051         * sysdeps/unix/bsd/setgid.c: Likewise.
46052         * sysdeps/unix/bsd/setrgid.c: Likewise.
46053         * sysdeps/unix/bsd/setruid.c: Likewise.
46054         * sysdeps/unix/bsd/setsid.c: Likewise.
46055         * sysdeps/unix/bsd/setuid.c: Likewise.
46056         * sysdeps/unix/bsd/sigaction.c: Likewise.
46057         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46058         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46059         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46060         * sysdeps/unix/bsd/telldir.c: Likewise.
46061         * sysdeps/unix/bsd/times.c: Likewise.
46062         * sysdeps/unix/bsd/usleep.c: Likewise.
46064         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46065         ($(objpfx)libbsd-compat.a): Remove rule.
46067         * include/features.h (__FAVOR_BSD): Do not define.
46068         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46069         features conflicting with POSIX.
46070         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46071         (_BSD_SOURCE): Remove description of not being a subset of other
46072         feature test macros.
46073         * manual/job.texi (getpgrp): Do not document BSD version.
46074         (getpgid): Do not document by reference to BSD getpgrp.
46075         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46076         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46077         * signal/signal.h [__FAVOR_BSD]: Likewise.
46078         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46079         instead of making contents conditional on [__FAVOR_BSD].
46080         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46082 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46086 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46088         [BZ #16314]
46089         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46090         values below 2**-450, not 2**-500.
46091         * math/auto-libm-test-in: Don't allow spurious underflow from
46092         hypot.
46093         * math/auto-libm-test-out: Regenerated.
46095         [BZ #16316]
46096         [BZ #16330]
46097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46098         values of ha and hb and sort them after adjusting subnormal
46099         arguments.
46100         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46101         Likewise.
46102         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46103         values of ea and eb and sort them after adjusting subnormal
46104         arguments.
46105         * math/auto-libm-test-in: Do not expect some hypot tests of
46106         subnormals to fail.  Add more hypot tests.
46107         * math/auto-libm-test-out: Regenerated.
46109 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46111         [BZ #13304]
46112         * sysdeps/sh/s_fma.c: New file.
46113         * sysdeps/sh/s_fmaf.c: New file.
46114         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46115         version.
46116         * sysdeps/sh/Implies: Add sh/soft-fp.
46118 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46120         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46121         level of indirection to members `objname', `errstring', `malloced'.
46122         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46123         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46124         it as the __longjmp argument (just pass 1 instead).
46125         (_dl_catch_error): Initialize C with argument pointers and address of
46126         volatile local ERRCODE rather than copying values out of C at return.
46128 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46130         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46131         * math/auto-libm-test-out: Regenerated.
46132         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46133         (hypot_test_data): Likewise.
46134         (pow_test_data): Likewise.
46135         (pow_tonearest_test_data): Likewise.
46136         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46137         mpfr_ff_f.
46138         (func_calc_desc): Add mpfr_ff_f union field.
46139         (FUNC_mpfr_ff_f): New macro.
46140         (test_functions): Add atan2, hypot and pow.
46141         (special_fill_min): New function.
46142         (special_fill_minus_min): Likewise.
46143         (special_fill_min_subnorm): Likewise.
46144         (special_fill_minus_min_subnorm): Likewise.
46145         (special_real_inputs): Add min, -min, min_subnorm and
46146         -min_subnorm.
46147         (calc_generic_results): Handle mpfr_ff_f.
46148         * sysdeps/i386/fpu/libm-test-ulps: Update.
46149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46151 2013-12-16  Will Newton  <will.newton@linaro.org>
46153         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46154         (Aligned Memory Blocks): Add documentation for aligned_alloc
46155         and suggest it as an alternative to posix_memalign.
46156         (Hooks for Malloc): Document __memalign_hook is also called
46157         for aligned_alloc.  (Summary of Malloc): Add summary for
46158         aligned alloc.  Document __memalign_hook is also called
46159         for aligned_alloc.
46161 2013-12-16  Will Newton  <will.newton@linaro.org>
46163         * manual/memory.texi (Malloc Examples): Clarify default
46164         alignment documentation.  Suggest posix_memalign rather
46165         than memalign or valloc.
46166         (Aligned Memory Blocks): Remove suggestion to use memalign
46167         or valloc.  Remove obsolete comment about BSD.
46168         Document memalign errno values and mark the function obsolete.
46169         Document posix_memalign returned error codes.  Mark valloc
46170         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46171         called for posix_memalign and valloc.
46172         (Summary of Malloc): Add posix_memalign to function summary.
46173         __memalign_hook is also called for posix_memalign and valloc.
46175 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46177         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46178         TAYLOR_SIN.
46179         (__sin): Adjust.
46180         (__cos): Likewise.
46181         (sloww): Use mynumber union.  Expand ternary operator into
46182         if-else statements.
46183         (cslow): use mynumber union.
46185 2013-12-16  Allan McRae  <allan@archlinux.org>
46187         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46188         * configure: Regenerated.
46190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46192         [BZ #14120]
46193         * configure.ac: Added --enable-maintainer-mode. Check for
46194         autoconf when enabled.
46195         * configure: Regenerated.
46197         * nscd/nscd.service: New file.
46198         * nscd/nscd.tmpfiles: New file.
46200 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46202         [BZ #12100]
46203         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46204         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46205         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46206         (strstr): Add __strstr_sse2_unaligned ifunc.
46207         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46208         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46209         (strcasestr): Remove __strcasestr_sse42 ifunc.
46210         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46214 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46216         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46217         * sysdeps/sh/bits/fenv.h: ... here.
46218         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46220 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46222         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46225         hypotf multiarch implementations.
46226         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46227         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46229         multiarch hypot for PPC64.
46230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46233         multiarch hypotf for PPC64.
46235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46236         modff multiarch implementations.
46237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46240         multiarch modf for PPC64.
46241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46244         multiarch modff for PPC64.
46246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46247         and logl multiarch implementations.
46248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46251         multiarch logb for PPC64.
46252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46255         multiarch logb for PPC64.
46256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46259         multiarch logb for PPC64.
46261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46262         isinff multiarch implementation.
46263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46264         file.
46265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46267         multiarch isinf for PPC64.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46269         file.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46271         multiarch isinff for PPC64.
46273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46274         finitef multiarch implementation.
46275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46276         file.
46277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46279         multiarch finite for PPC64.
46280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46281         file.
46282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46283         multiarch finitef for PPC64.
46285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46286         lrint multiarch implementation.
46287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46288         file.
46289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46291         multiarch llrint for PPC64.
46292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46293         multiarch lrint for PPC64.
46295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46296         copysignf multiarch implementation.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46298         file.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46300         file.
46301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46302         multiarch copysign for PPC64.
46303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46304         multiarch copysignf for PPC64.
46306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46307         multiarch implementation.
46308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46309         file.
46310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46311         file.
46312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46313         file.
46314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46315         file.
46316         multiarch llround for PPC64.
46317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46318         multiarch trunc for PPC64.
46319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46320         multiarch truncf for PPC64.
46322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46323         multiarch implementation.
46324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46325         file.
46326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46327         file.
46328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46329         file.
46330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46331         file.
46332         multiarch llround for PPC64.
46333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46334         multiarch round for PPC64.
46335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46336         multiarch roundf for PPC64.
46338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46339         multiarch implementation.
46340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46341         file.
46342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46343         file.
46344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46345         file.
46346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46347         file.
46348         multiarch llround for PPC64.
46349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46350         multiarch floor for PPC64.
46351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46352         multiarch floorf for PPC64.
46354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46355         multiarch implementation.
46356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46357         file.
46358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46359         file.
46360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46361         file.
46362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46363         file.
46364         multiarch llround for PPC64.
46365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46366         multiarch ceil for PPC64.
46367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46368         multiarch ceilf for PPC64.
46370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46371         multiarch implementation.
46372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46373         file.
46374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46375         file.
46376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46377         file.
46378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46379         multiarch llround for PPC64.
46380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46381         multiarch lround for PPC64.
46383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46384         multiarch implementation.
46385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46388         file.
46389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46392         multiarch isnan for PPC64.
46393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46394         multiarch isnanf for PPC64.
46396         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46397         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46398         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46399         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46400         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46403         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46404         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46405         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46406         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46409         multiarch implementations.
46410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46411         (__libc_ifunc_impl_list): Likewise.
46412         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46414         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46415         multiarch stpcpy for PPC64.
46417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46418         multiarch implementations.
46419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46420         (__libc_ifunc_impl_list): Likewise.
46421         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46422         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46423         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46424         multiarch strcpy for PPC64.
46426         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46427         redefine function name.
46428         (_wordcopy_fwd_dest_aligned): Likewise.
46429         (_wordcopy_bwd_aligned): Likewise.
46430         (_wordcopy_bwd_dest_aligned): Likewise.
46431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46432         multiarch implementations.
46433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46434         (__libc_ifunc_impl_list): Likewise.
46435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46436         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46437         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46438         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46439         multiarch wcscpy for PPC64.
46441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46442         multiarch implementations.
46443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46444         (__libc_ifunc_impl_list): Likewise.
46445         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46446         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46447         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46448         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46449         multiarch wcscpy for PPC64.
46451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46452         multiarch implementations.
46453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46454         (__libc_ifunc_impl_list): Likewise.
46455         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46456         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46457         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46458         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46459         multiarch wcsrchr for PPC64.
46461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46462         multiarch implementations.
46463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46464         (__libc_ifunc_impl_list): Likewise.
46465         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46466         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46467         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46468         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46469         multiarch wcschr for PPC64.
46471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46472         multiarch implementations.
46473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46474         (__libc_ifunc_impl_list): Likewise.
46475         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46476         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46477         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46478         multiarch strchrnul for PPC64.
46480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46481         implementations.
46482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46483         (__libc_ifunc_impl_list): Likewise.
46484         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46485         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46486         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46487         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46488         strchr for PPC64.
46490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46491         implementations.
46492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46493         (__libc_ifunc_impl_list): Likewise.
46494         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46495         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46496         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46497         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46498         strncmp for PPC64.
46500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46501         multiarch implementations.
46502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46503         (__libc_ifunc_impl_list): Likewise.
46504         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46505         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46506         strncasecmp for PPC64.
46507         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46508         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46509         multiarch strncasecmp_l for PPC64.
46511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46512         multiarch implementations.
46513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46514         (__libc_ifunc_impl_list): Likewise.
46515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46516         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46517         multiarch strcasecmp for PPC64.
46518         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46519         file.
46520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46521         multiarch strcasecmp_l for PPC64.
46523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46524         implementations.
46525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46526         (__libc_ifunc_impl_list): Likewise.
46527         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46528         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46529         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46530         strnlen for PPC64.
46532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46533         implementations.
46534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46535         (__libc_ifunc_impl_list): Likewise.
46536         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46537         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46538         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46539         strlen for PPC64.
46541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46542         implementations.
46543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46544         (__libc_ifunc_impl_list): Likewise.
46545         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46546         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46547         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46548         rawmemrchr for PPC64.
46550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46551         implementation.
46552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46553         (__libc_ifunc_impl_list): Likewise.
46554         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46555         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46556         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46557         memrchr for PPC64.
46559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46560         implementation.
46561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46562         (__libc_ifunc_impl_list): Likewise.
46563         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46564         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46565         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46566         memchr for PPC64.
46568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46569         implementation.
46570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46571         (__libc_ifunc_impl_list): Likewise.
46572         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46573         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46574         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46575         mempcpy for PPC64.
46577         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46578         avoid cretion of __bzero symbol.
46579         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46580         Likewise.
46581         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46582         Likewise.
46583         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46584         Likewise.
46585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46586         multiarch implementations.
46587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46588         (__libc_ifunc_impl_list): Likewise.
46589         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46590         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46591         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46592         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46593         bzero for PPC32.
46594         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46595         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46596         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46597         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46598         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46599         memset for PPC64.
46600         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46602         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46604         implementations.
46605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46606         (__libc_ifunc_impl_list): Likewise.
46607         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46608         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46609         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46610         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46611         memcmp for PPC64.
46613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46614         multiarch for POWER/PPC64.
46615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46616         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46617         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46618         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46619         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46620         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46623         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46624         memcpy for PPC64.
46626         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46627         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46628         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46629         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46630         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46631         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46632         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46633         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46634         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46635         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46636         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46637         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46638         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46639         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46640         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46649 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46651         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46653 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46655         * benchtests/Makefile (bench): Add exp2 and log2.
46656         (LDLIBS-bench-exp2): Add -lm.
46657         (LDLIBS-bench-log2): Likewise.
46658         * benchtests/exp2-inputs: New inputs file.
46659         * benchtests/log2-inputs: New inputs file.
46660         * benchtests/log-inputs: Add new inputs.
46661         * benchtests/tan-inputs: Likewise.
46663 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46665         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46666         definition...
46667         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46668         (csloww2): ... from here.
46670         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46671         instead of structures.
46672         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46673         (POLYNOMIAL): Likewise.
46674         (TAYLOR_SLOW): Likewise.
46675         (__sin): Likewise.
46676         (__cos): Likewise.
46677         (slow1): Likewise.
46678         (slow2): Likewise.
46679         (sloww): Likewise.
46680         (sloww1); Likewise.
46681         (sloww2): Likewise.
46682         (bsloww1): Likewise.
46683         (bsloww2): Likewise.
46684         (cslow2): Likewise.
46685         (csloww): Likewise.
46686         (csloww1): Likewise.
46687         (csloww2): Likewise.
46689 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46691         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46692         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46693         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46694         * malloc/hooks.c (realloc_check): Likewise.
46696         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46697         * malloc/arena.c: Remove PER_THREAD conditional.
46698         [!PER_THREAD]: Remove code.
46699         (ptmalloc_unlock_all2): Likewise.
46700         (ptmalloc_init): Likewise.
46701         (_int_new_arena): Likewise.
46702         (arena_get2): Likewise.
46703         * malloc/hooks.c (__malloc_get_state): Likewise.
46704         (__malloc_set_state): Likewise.
46705         * malloc/malloc.c: Likewise.
46706         (struct malloc_state): Likewise.
46707         (struct malloc_par): Likewise.
46708         (__libc_realloc): Likewise.
46709         (__libc_mallopt): Likewise.
46711 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46713         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46715 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46717         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46718         macro to a function.  Check for zero perturb_byte.
46719         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46721         * malloc/malloc.c: (force_reg): Remove.
46722         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46723         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46724         force_reg by atomic_forced_read.
46725         * malloc/arena.c (ptmalloc_init): Likewise.
46726         * malloc/hooks.c (top_check): Likewise.
46728 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46732 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46736 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46738         * math/auto-libm-test-in: Add tests of lgamma.
46739         * math/auto-libm-test-out: Regenerated.
46740         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46741         (M_LOG_2_SQRT_PIl): Likewise.
46742         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46743         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46744         mpfr_f_f1.
46745         (func_calc_desc): Add mpfr_f_f1 union field.
46746         (ARGS1): New macro.
46747         (ARGS2): Likewise.
46748         (ARGS3): Likewise.
46749         (ARGS4): Likewise.
46750         (RET1): Likewise.
46751         (RET2): Likewise.
46752         (CALC): Likewise.
46753         (FUNC): Likewise.
46754         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46755         (test_functions): Add lgamma.
46756         (calc_generic_results): Handle mpfr_f_f1.
46757         * sysdeps/i386/fpu/libm-test-ulps: Update.
46758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46760 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46762         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46763         __mpn_add_n for PowerPC64/POWER7.
46764         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46765         __mpn_sub_n for PowerPC64/POWER7.
46767         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46768         __mpn_addmul_1 for PowerPC64.
46769         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46770         __mpn_submul_1 for PowerPC64.
46771         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46772         for PowerPC64.
46773         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46774         for PowerPC64.
46776 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46778         [BZ #15089]
46779         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46781 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46783         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46785         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46786         add multiarch folders.
46787         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46788         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46789         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46790         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46791         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46792         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46793         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46794         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46795         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46796         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46797         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46806         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46808         New file.
46809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46810         New file.
46811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46812         multiarch __ieee754_hypot for PowerPC32.
46813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46814         New file.
46815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46816         New file.
46817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46818         multiarch __ieee754_hypotf for PowerPC32.
46820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46821         long_double_symbol only if __logbl is defined.
46822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46823         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46824         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46825         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46827         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46829         path for implementation.
46830         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46831         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46833         logb, and logbl multiarch implementations for PowerPC32.
46834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46835         file.
46836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46837         file.
46838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46839         multiarch logb for PowerPC32.
46840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46841         file.
46842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46843         file.
46844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46845         multiarch logbf for PowerPC32.
46846         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46848         file.
46849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46850         multiarch logbl implementation for PowerPC32.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46853         and modff multiarch implementations.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46855         New file.
46856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46857         New file.
46858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46859         multiarch modf for PowerPC32.
46860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46861         New file.
46862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46863         New file.
46864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46865         multiarch modff for PowerPC32.
46867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46868         and lrintf multiarch implementations.
46869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46870         New file.
46871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46872         New file.
46873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46874         multiarch lrint for PowerPC32.
46875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46876         file: multiarch lrintf for PowerPC32.
46878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46879         and lroundf multiarch implementations.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46881         New file.
46882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46883         New file.
46884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46885         New file.
46886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46887         multiarch lround for PowerPC32.
46888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46889         file: multiarch lroundf for PowerPC32.
46891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46892         copysign and copysignf multiarch implementations.
46893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46894         New file.
46895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46896         New file.
46897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46898         file: multiarch copysign for PowerPC32.
46899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46900         file: multiarch copysignf for PowerPC32.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46903         and truncf multiarch implementations.
46904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46905         New file.
46906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46907         file.
46908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46909         multiarch trunc for PowerPC32.
46910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46911         New file.
46912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46913         New file.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46915         multiarch truncf for PowerPC32.
46917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46918         and roundf multiarch implementations.
46919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46920         New file.
46921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46922         file.
46923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46924         multiarch round for PowerPC32.
46925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46926         New file.
46927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46928         New file.
46929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46930         multiarch roundf for PowerPC32.
46932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46933         and floorf multiarch implementations.
46934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46935         New file.
46936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46937         file.
46938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46939         multiarch floor for PowerPC32.
46940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46941         New file.
46942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46943         New file.
46944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46945         multiarch floorf for PowerPC32.
46947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46948         and ceilf multiarch implementations.
46949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46950         New file.
46951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46952         file.
46953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46954         multiarch ceil for PowerPC32.
46955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46956         New file.
46957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46958         file.
46959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46960         multiarch ceilf for PowerPC32.
46962         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46963         is defined.
46964         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46965         FINITEF is defined.
46966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46967         and finitef multiarch implementations.
46968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46969         New file.
46970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46971         file.
46972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46973         multiarch finite for PowerPC32.
46974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46975         New file.
46976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46977         file: multiarch finitef for PowerPC32.
46979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46980         and isinff multiarch implementations.
46981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46982         file.
46983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46984         file.
46985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46986         multiarch isinf for PowerPC32.
46987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46988         New file.
46989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46990         multiarch isinff for PowerPC32.
46992         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46993         alias when __isnan is defined.
46994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46995         and isnanf multiarch implementations.
46996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46997         file.
46998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46999         file.
47000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47001         file.
47002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47003         file.
47004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47005         multiarch isnan for PowerPC32.
47006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47007         New file.
47008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47009         New file.
47010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47011         multiarch isnanf for PowerPC32.
47013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47014         and sqrtf multiarch implementations.
47015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47016         file.
47017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47018         file.
47019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47020         multiarch sqrt for PowerPC32.
47021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47022         file.
47023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47024         file.
47025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47026         multiarch sqrtf for PowerPC32.
47028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47029         and llroundf multiarch implementations.
47030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47031         New file.
47032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47033         New file.
47034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47035         New file.
47036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47037         file: multiarch llround for PowerPC32.
47038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47039         file: multiarch llroundf for PowerPC32.
47041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47042         multiarch PowerPC32 fpu implementations.
47043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47044         New file.
47045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47046         New file.
47047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47048         multiarch llrint for PowerPC32.
47049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47050         New file.
47051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47052         New file.
47053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47054         file.
47056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47058         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47059         file.
47060         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47061         file.
47062         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47063         file.
47064         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47065         multiarch wordcopy for PPC32.
47066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47067         wordcopy objects.
47068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47069         (__libc_ifunc_impl_list): Likewise.
47070         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47071         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47073         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47074         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47075         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47077         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47079         file.
47080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47081         file.
47082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47083         file.
47084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47085         multiarch wcscpy for PPC32.
47086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47087         multiarch objects.
47088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47089         (__libc_ifunc_impl_list): Likewise.
47090         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47091         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47092         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47093         sysdeps/powerpc/power6/wcscpy.c.
47095         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47097         file.
47098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47099         file.
47100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47101         file.
47102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47103         multiarch wcsrchr for PPC32.
47104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47105         multiarch objects.
47106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47107         (__libc_ifunc_impl_list): Likewise.
47108         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47109         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47110         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47111         sysdeps/powerpc/power6/wcsrchr.c.
47113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47114         file.
47115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47116         file.
47117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47119         multiarch wcschr for PPc32.
47120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47121         multiarch objects.
47122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47123         (__libc_ifunc_impl_list): Likewise.
47124         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47125         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47126         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47127         sysdeps/powerpc/power6/wcschr.c.
47129         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47131         file.
47132         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47133         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47134         file: multiarch strchr for PPC32.
47135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47136         multiarch objects.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47138         (__libc_ifunc_impl_list): Likewise.
47140         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47141         name.
47142         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47143         file.
47144         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47145         file.
47146         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47147         multiarch strchrnul for PPC32.
47148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47149         multiarch objects.
47150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47151         (__libc_ifunc_impl_list): Likewise.
47153         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47154         file.
47155         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47156         multiarch strncasecmp for PPC32.
47157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47158         file.
47159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47160         multiarch strncasecmp_l for PPC32.
47161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47162         strncasecmp multiarch objects.
47163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47164         (__libc_ifunc_impl_list): Likewise.
47166         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47167         file.
47168         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47169         multiarch strncasecmp for PPC32.
47170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47171         New file.
47172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47173         multiarch strcasecmp_l for PPC32.
47174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47175         multiarch objects.
47176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47177         (__libc_ifunc_impl_list): Likewise.
47179         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47180         file.
47181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47182         file.
47183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47184         multiarch strncmp for PPC32.
47185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47186         multiarch objects.
47187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47188         (__libc_ifunc_impl_list): Likewise.
47190         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47191         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47192         file.
47193         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47194         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47196         multiarch objects.
47197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47198         (__libc_ifunc_impl_list): Likewise.
47200         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47201         file.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47203         file.
47204         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47206         multiarch objects.
47207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47208         (__libc_ifunc_impl_list): Likewise.
47210         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47211         file.
47212         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47213         file.
47214         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47215         multiarch rawmemchr for PPC32.
47216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47217         multiarch objects.
47218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47219         (__libc_ifunc_impl_list): Likewise.
47221         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47222         file.
47223         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47224         file.
47225         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47226         file: memrchr multiarch for PPC32.
47227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47228         multiarch objects.
47229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47230         (__libc_ifunc_impl_list): Likewise.
47232         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47233         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47234         file.
47235         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47236         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47237         multiarch memchr for PPC32.
47238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47239         multiarch objects.
47240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47241         (__libc_ifunc_impl_list): Likewise.
47243         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47244         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47245         file.
47246         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47247         file.
47248         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47249         file: multiarch mempcpy for PPC32.
47250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47251         multiarch objects.
47252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47253         (__libc_ifunc_impl_list): Likewise.
47255         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47256         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47257         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47258         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47259         multiarch bzero for PPC32.
47260         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47261         file.
47262         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47263         file.
47264         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47265         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47266         file: multiarch memset for PPC32.
47267         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47269         memset multiarch objects.
47270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47271         (__libc_ifunc_impl_list): Likewise.
47273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47274         file.
47275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47277         memcmp for PPC32.
47278         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47280         multiarch objects.
47281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47282         (__libc_ifunc_impl_list): Likewise.
47284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47286         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47287         file.
47288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47289         file.
47290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47291         file.
47292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47293         multiarch memcpy for PPC32.
47294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47295         multiarch objects.
47296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47297         (__libc_ifunc_impl_list): Likewise.
47299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47300         support multiarch for POWER/PPC32.
47301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47302         Likewise.
47303         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47305         Implies file to make multiarch folder appers before the fpu and
47306         default folder for power4 configuration.
47308 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47310         * scripts/bench.pl: Append volatile keyword to type.
47312 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47314         * sysdeps/sh/sotruss-lib.c: New file.
47315         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47317 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47321 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47323         [BZ #6810]
47324         * math/w_tgamma.c: Include <errno.h>.
47325         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47326         * math/w_tgammaf.c: Include <errno.h>.
47327         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47328         * math/w_tgammal.c: Include <errno.h>.
47329         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47330         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47331         underflow.  Add more tgamma tests.
47332         * math/auto-libm-test-out: Regenerated.
47333         * sysdeps/i386/fpu/libm-test-ulps: Update.
47334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47336         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47337         sin, sinh, tan, tanh, tgamma, y0 and y1.
47338         * math/auto-libm-test-out: Regenerated.
47339         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47340         (TEST_COND_x86): Likewise.
47341         (M_E2l): Remove macro.
47342         (M_E3l): Likewise.
47343         (M_2_SQRT_PIl): Likewise.
47344         (M_SQRT_PIl): Likewise.
47345         (M_1_DIV_El): Likewise.
47346         (log_test_data): Use AUTO_TESTS_f_f.
47347         (log10_test_data): Likewise.
47348         (log1p_test_data): Likewise.
47349         (log2_test_data): Likewise.
47350         (sin_test_data): Likewise.
47351         (sin_tonearest_test_data): Likewise.
47352         (sin_towardzero_test_data): Likewise.
47353         (sin_downward_test_data): Likewise.
47354         (sin_upward_test_data): Likewise.
47355         (sinh_test_data): Likewise.
47356         (sinh_tonearest_test_data): Likewise.
47357         (sinh_towardzero_test_data): Likewise.
47358         (sinh_downward_test_data): Likewise.
47359         (sinh_upward_test_data): Likewise.
47360         (tan_test_data): Likewise.
47361         (tan_tonearest_test_data): Likewise.
47362         (tan_towardzero_test_data): Likewise.
47363         (tan_downward_test_data): Likewise.
47364         (tan_upward_test_data): Likewise.
47365         (tanh_test_data): Likewise.
47366         (tgamma_test_data): Likewise.
47367         (y0_test_data): Likewise.
47368         (y1_test_data): Likewise.
47369         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47370         (special_real_inputs): Add pi/4.
47371         * sysdeps/i386/fpu/libm-test-ulps: Update.
47372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47374 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47376         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47377         "longjmp_target" static probes.
47378         (__longjmp): Rename to __longjmp_symbol.
47379         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47380         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47381         on which longjmp to generate.
47382         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47383         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47384         probe.
47385         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47386         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47387         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47388         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47389         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47390         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47392         __longjmp_symbol based on which __longjmp to generate.
47393         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47394         probe.
47395         (setjmp): Rename to setjmp_symbol.
47396         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47397         (_setjmp): Rename to _setjmp_symbol.
47398         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47399         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47400         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47401         which setjmp to generate.
47402         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47403         "longjmp_target" static probes.
47405 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47407         * benchtests/README: Add note about output arguments.
47408         * benchtests/bench-sincos.c: Remove file.
47409         * benchtests/sincos-inputs: New file.
47410         * scripts/bench.pl: Identify output arguments and define
47411         static variables for them.
47413         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47415         [BZ #15941]
47416         * Makefile (INSTALL): Add install-plain.texi as the primary
47417         dependency.
47418         * manual/install-plain.texi: New file.
47419         * manual/install.texi: Include node directive only for
47420         non-plaintext output.
47422 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47424         * stdlib/longlong.h: Update from GCC.
47426         [BZ #6807]
47427         [BZ #15901]
47428         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47429         * math/w_j0f.c (y0f): Likewise.
47430         * math/w_j0l.c (__y0l): Likewise.
47431         * math/w_j1.c (y1): Likewise.
47432         * math/w_j1f.c (y1f): Likewise.
47433         * math/w_j1l.c (__y1l): Likewise.
47434         * math/w_jn.c (yn): Likewise.
47435         * math/w_jnf.c (ynf): Likewise.
47436         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47437         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47438         value for Bessel function domain errors outside _SVID_ mode.
47439         Adjust sign of return value for yn (negative integer, 0).
47440         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47441         by zero in return for negative x and set sign appropriately for
47442         negative n.
47443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47444         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47445         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47446         expectations in error cases.
47447         (y1_test_data): Likewise.
47448         (yn_test_data): Likewise.
47449         * sysdeps/i386/fpu/libm-test-ulps: Update.
47450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47452 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47454         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47455         "64" to "64-v1".  Add "64-v2".
47456         (abi-64-options): Rename to ...
47457         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47458         (abi-64-condition): Rename to ...
47459         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47460         (abi-64-ld-soname): Rename to ...
47461         (abi-64-v1-ld-soname): ... this.
47462         (abi-64-v2-options): Define.
47463         (abi-64-v2-condition): Likewise.
47464         (abi-64-v2-ld-soname): Likewise.
47465         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47466         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47471 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47472             Alan Modra  <amodra@gmail.com>
47474         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47475         New versions for use with the ELFv2 ABI.
47476         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47477         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47478         declaration.
47479         (struct La_ppc64v2_retval): Likewise.
47480         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47481         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47482         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47483         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47484         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47485         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47486         Do not save or restore CR.
47487         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47488         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47489         return values for ELFv2 ABI.  Fix location of FPR return registers.
47490         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47491         updated values for _CALL_ELF == 2.
47492         (La_regs, La_retval, int_retval): Likewise.
47494 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47496         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47497         (FRAME_MIN_SIZE_PARM): Likewise.
47498         (FRAME_BACKCHAIN): Likewise.
47499         (FRAME_CR_SAVE): Likewise.
47500         (FRAME_LR_SAVE): Likewise.
47501         (FRAME_TOC_SAVE): Likewise.
47502         (FRAME_PARM_SAVE): Likewise.
47503         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47504         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47505         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47506         (call_mcount_parm_offset): New macro.
47507         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47508         (PROF): Use symbolic stack frame offsets.
47509         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47510         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47511         Redefine in terms of FRAME_MIN_SIZE.
47512         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47513         (_dl_profile_resolve): Likewise.  Update comment.
47514         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47515         symbols stack frame offsets.
47516         (__sigsetjmp): Likewise.
47517         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47518         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47519         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47520         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47523         (FRAME_BACKCHAIN): Remove.
47524         (FRAME_CR_SAVE): Likewise.
47525         (FRAME_LR_SAVE): Likewise.
47526         (FRAME_COMPILER_DW): Likewise.
47527         (FRAME_LINKER_DW): Likewise.
47528         (FRAME_TOC_SAVE): Likewise.
47529         (FRAME_PARM_SAVE): Likewise.
47530         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47531         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47532         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47534         (CHECK_SP): Use symbolic stack frame offsets.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47536         zone" instead of caller's parameter save area for temp storage.
47537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47538         Likewise.  Also, use symbolic stack frame offsets.
47539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47540         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47541         our own stack frame instead of the caller's.
47542         (__socket): Use symbolic stack frame offsets.
47544 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47545             Alan Modra  <amodra@gmail.com>
47547         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47548         Define.
47549         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47550         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47551         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47552         New function.
47553         (elf_machine_fixup_plt): Call it.
47554         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47555         reloc arguments.
47556         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47557         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47558         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47559         r2 before calling target.
47561 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47562             Alan Modra  <amodra@gmail.com>
47564         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47565         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47566         versions of macros to support ELFv2 ABI.
47567         (LOCALENTRY): New macro.
47568         (ENTRY, EALIGN): Use it.
47569         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47570         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47571         fall through into ENTRY entry point.
47572         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47573         Only define if _CALL_ELF != 2.
47575         (elf_machine_matches_host): Verify ABI version matches.
47576         (RTLD_START): Use LOCALENTRY.
47577         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47578         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47579         (PLT_ENTRY_WORDS): New macro.
47580         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47581         (elf_machine_runtime_setup): Support ELFv2 ABI.
47582         (elf_machine_fixup_plt): Likewise.
47583         (elf_machine_plt_conflict): Likewise.
47584         (resolve_ifunc): Likewise.
47585         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47586         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47587         Likewise.
47588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47589         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47591         (makecontext): Support ELFv2 ABI.
47592         * elf/elf.h (EF_PPC64_ABI): Define.
47594 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47596         * sysdeps/powerpc/powerpc64/sysdep.h
47597         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47598         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47599         (ENTRY) [ASSEMBLER]: ... but instead here ...
47600         (EALIGN) [ASSEMBLER]: ... and here.
47601         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47602         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47603         (ENTRY_2) [!ASSEMBLER]: Use it.
47604         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47605         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47606         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47607         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47608         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47610         Use PPC64_LOAD_FUNCPTR.
47612         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47614 2013-12-04  Alan Modra  <amodra@gmail.com>
47616         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47617         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47618         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47619         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47622         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47623         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47624         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47625         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47626         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47628 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47631         (__makecontext): Fix incorrect CFI when backtracing out of
47632         context created via makecontext.
47633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47634         (__setcontext): Fix incorrect CFI during switch to new context.
47635         (__novec_setcontext): Likewise.
47637 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47639         [BZ #4772]
47640         * time/strptime_l.c (__strptime_internal): Allow modifiers
47641         in strptime.
47642         * time/tst-strptime.c (day_tests): Add testcase.
47644 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47646         * scripts/bench.pl: Skip over blank lines.
47648 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47650         [BZ #926]
47651         * manual/time.texi (Calendar Time): Clarify what timezone functions
47652         use.
47654 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47658 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47660         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47661         implementation.
47662         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47663         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47664         * debug/memset_chk.c (__memset_chk): Likewise.
47665         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47666         * debug/strncpy_chk.c: Likewise.
47668 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47670         [BZ #15268]
47671         [BZ #15425]
47672         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47673         (__ieee754_exp): For possibly underflowing results, check size of
47674         result and force underflow exception if required.
47675         * math/auto-libm-test-in: Add more tests of exp.
47676         * math/auto-libm-test-out: Regenerated.
47677         * sysdeps/i386/fpu/libm-test-ulps: Update.
47678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47680         [BZ #16283]
47681         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47682         * math/w_exp2f.c (__exp2f): Likewise.
47683         * math/w_exp2l.c (__exp2l): Likewise.
47684         * math/auto-libm-test-in: Do not allow missing errno on exp2
47685         underflow.
47686         * math/auto-libm-test-out: Regenerated.
47688 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47690         [BZ #16274]
47691         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47692         handle filename validation.
47693         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47694         (do_open): Delete.
47696 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47698         [BZ #6786]
47699         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47700         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47701         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47702         <float.h>.
47703         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47704         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47705         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47707         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47708         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47709         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47710         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47711         Add more erfc tests.
47712         * math/auto-libm-test-out: Regenerated.
47713         * sysdeps/i386/fpu/libm-test-ulps: Update.
47714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47716         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47717         exp2, expm1, j0 and j1.
47718         * math/auto-libm-test-out: Regenerated.
47719         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47720         (erfc_test_data): Likewise.
47721         (exp_test_data): Likewise.
47722         (exp_tonearest_test_data): Likewise.
47723         (exp_towardzero_test_data): Likewise.
47724         (exp_downward_test_data): Likewise.
47725         (exp_upward_test_data): Likewise.
47726         (exp10_test_data): Likewise.
47727         (exp2_test_data): Likewise.
47728         (expm1_test_data): Likewise.
47729         (j0_test_data): Likewise.
47730         (j1_test_data): Likewise.
47731         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47732         (input_flag_type): Add flag_xfail_rounding.
47733         (input_flags): Add xfail-rounding.
47734         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47735         (output_for_one_input_case): Handle flag_xfail_rounding.
47736         * sysdeps/i386/fpu/libm-test-ulps: Update.
47737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47739 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47741         [BZ #16289]
47742         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47743         division by 0.
47745 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747         [BZ #16195]
47748         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47749         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47750         (STAP_PROBE0): New macro.
47751         (STAP_PROBE1): Likewise.
47752         (STAP_PROBE2): Likewise.
47753         (STAP_PROBE3): Likewise.
47754         (STAP_PROBE4): Likewise.
47756 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47758         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47760 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47762         * benchtests/Makefile (bench): Add sqrt.
47763         (LDLIBS-bench-sqrt): New.
47764         * benchtests/sqrt-input: New.
47766 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47768         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47769         (GAIH_EAI): Likewise.
47770         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47771         (gaih_inet): Likewise.
47772         (getaddrinfo): Don't use GAIH_EAI.
47774         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47775         (struct gaih): Remove definition.
47777 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47779         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47780         Use HERRNOP directly.
47782 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47786 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47788         * math/gen-auto-libm-tests.c (test_functions): Add more
47789         single-argument functions.
47790         (special_fill_pi_2): New function.
47791         (special_fill_minus_pi_2): Likewise.
47792         (special_fill_pi_6): Likewise.
47793         (special_fill_minus_pi_6): Likewise.
47794         (special_fill_pi_3): Likewise.
47795         (special_fill_2pi_3): Likewise.
47796         (special_fill_e): Likewise.
47797         (special_fill_1_e): Likewise.
47798         (special_fill_e_minus_1): Likewise.
47799         (special_real_inputs): Add more special inputs.
47800         (output_for_one_input_case): Do not require ERANGE on underflow to
47801         zero if round-to-nearest result does not underflow to zero, unless
47802         exact results required.
47803         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47804         atan, atanh, cbrt, cos and cosh.
47805         * math/auto-libm-test-out: Regenerated.
47806         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47807         (acos_tonearest_test_data): Likewise.
47808         (acos_towardzero_test_data): Likewise.
47809         (acos_downward_test_data): Likewise.
47810         (acos_upward_test_data): Likewise.
47811         (acosh_test_data): Likewise.
47812         (asin_test_data): Likewise.
47813         (asin_tonearest_test_data): Likewise.
47814         (asin_towardzero_test_data): Likewise.
47815         (asin_upward_test_data): Likewise.
47816         (asinh_test_data): Likewise.
47817         (atan_test_data): Likewise.
47818         (atanh_test_data): Likewise.
47819         (cbrt_test_data): Likewise.
47820         (cos_test_data): Likewise.
47821         (cos_tonearest_test_data): Likewise.
47822         (cos_towardzero_test_data): Likewise.
47823         (cos_downward_test_data): Likewise.
47824         (cos_upward_test_data): Likewise.
47825         (cosh_test_data): Likewise.
47826         (cosh_tonearest_test_data): Likewise.
47827         (cosh_towardzero_test_data): Likewise.
47828         (cosh_downward_test_data): Likewise.
47829         (cosh_upward_test_data): Likewise.
47830         * sysdeps/i386/fpu/libm-test-ulps: Update.
47831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47833 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47835         [BZ #6787]
47836         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47837         * math/w_exp10f.c (__exp10f): Likewise.
47838         * math/w_exp10l.c (__exp10l): Likewise.
47839         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47840         errno settings in existing tests.
47842         [BZ #14032]
47843         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47844         precision control set to double precision.
47845         * sysdeps/i386/fpu/w_sqrt.c: New file.
47846         * math/auto-libm-test-in: Add more tests.
47847         * math/auto-libm-test-out: Update.
47849         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47850         (sqrt_test_tonearest): New function.
47851         (sqrt_towardzero_test_data): New variable.
47852         (sqrt_test_towardzero): New function.
47853         (sqrt_downward_test_data): New variable.
47854         (sqrt_test_downward): New function.
47855         (sqrt_upward_test_data): New variable.
47856         (sqrt_test_upward): New function.
47857         (main): Call the new functions.
47859         * math/gen-auto-libm-tests.c: New file.
47860         * math/auto-libm-test-in: Likewise.
47861         * math/auto-libm-test-out: New generated file.
47862         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47863         variables.
47864         (%beautify): Add generated representations of zero.
47865         (top level): Set $auto_input and call parse_auto_input.
47866         (beautify): Remove trailing "f" from hex float constants.
47867         (parse_args): Handle XFAIL_TEST.
47868         (convert_condition): New function.
47869         (or_value): Likewise.
47870         (or_cond_value): Likewise.
47871         (generate_testfile): Handle AUTO_TESTS_* lines.
47872         (parse_auto_input): New function.
47873         * math/libm-test.inc (XFAIL_TEST): New macro.
47874         (ERRNO_UNCHANGED): Update value.
47875         (ERRNO_EDOM): Likewise.
47876         (ERRNO_ERANGE): Likewise.
47877         (IGNORE_RESULT): Likewise.
47878         (TEST_COND_flt_32): New macro.
47879         (TEST_COND_dbl_64): Likewise.
47880         (TEST_COND_ldbl_96_intel): Likewise.
47881         (TEST_COND_ldbl_96_m68k): Likewise.
47882         (TEST_COND_ldbl_128): Likewise.
47883         (TEST_COND_ldbl_128ibm): Likewise.
47884         (TEST_COND_long32): Likewise.
47885         (TEST_COND_long64): Likewise.
47886         (TEST_COND_before_rounding): Likewise.
47887         (TEST_COND_after_rounding): Likewise.
47888         (enable_test): Handle XFAIL_TEST flag.
47889         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47890         with finite results.
47891         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47892         auto-libm-test-out.
47894 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47895             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47897         [BZ #16214]
47898         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47899         __tls_get_addr_internal instead of __tls_get_offset in order to
47900         avoid GOT pointer dependency.  Make rtld export
47901         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47902         __tls_get_addr since we are a __tls_get_offset platform.
47903         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47904         GOT pointer being set up before.
47905         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47907 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47909         * manual/math.texi (Errors in Math Functions): Document accuracy
47910         goals.
47912         [BZ #15004]
47913         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47914         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47915         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47916         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47917         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47918         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47919         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47920         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47921         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47922         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47923         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47924         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47925         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47926         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47927         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47928         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47930         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47931         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47932         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47933         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47934         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47935         Likewise.
47936         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47937         Likewise.
47938         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47939         Likewise.
47940         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47941         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47942         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47943         atomic-feupdateenv and flt-rounds.
47944         * sysdeps/powerpc/nofpu/Versions (libc): Add
47945         __atomic_feholdexcept, __atomic_feclearexcept,
47946         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47947         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47948         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47949         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47950         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47951         here.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47953         Update.
47955         * manual/arith.texi (FP Exceptions): Document that exceptions may
47956         not be raised when matherr is used.
47957         (Math Error Reporting): Document overflow in directed rounding
47958         modes.  Document that errno may not be set when finite values are
47959         returned on overflow.  Document intent to set errno on underflow
47960         only for underflow to zero.
47962         [BZ #16271]
47963         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47964         round-to-nearest then adjust result for other rounding modes.
47965         * include/fenv.h (fegetround): Use libm_hidden_proto.
47966         * math/fegetround.c (fegetround): Use libm_hidden_def.
47967         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47968         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47969         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47970         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47971         Likewise.
47972         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47973         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47974         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47975         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47977 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47979         [BZ #16077]
47980         * nss/Versions (libnss_files): Add
47981         _nss_files_gethostbyname3_r.
47982         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47983         New function.
47984         (HOST_DB_LOOKUP): Remove macro.
47985         (_nss_files_gethostbyname_r): Implement function without the
47986         HOST_DB_LOOKUP macro.
47987         (_nss_files_gethostbyname2_r): Likewise.
47989 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47991         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47993 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47995         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47996         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47997         warning.
47999 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48001         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48002         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48003         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48004         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48005         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48006         __fe_nomask_env_priv and attribute_hidden.
48007         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48008         (libc_feupdateenv_test_ppc): Likewise.
48009         (libc_feresetround_ppc): Likewise.
48010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48011         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48012         compat_symbol macro.
48013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48014         (__fe_nomask_env): Likewise.
48015         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48017 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48019         * string/Makefile: Remove ifunc tests.
48020         * string/test-string.h: Define TEST_IFUNC.
48021         * string/test-bcopy-ifunc.c: Remove.
48022         * string/test-bzero-ifunc.c: Likewise.
48023         * string/test-memccpy-ifunc.c: Likewise.
48024         * string/test-memchr-ifunc.c: Likewise.
48025         * string/test-memcmp-ifunc.c: Likewise.
48026         * string/test-memcpy-ifunc.c: Likewise.
48027         * string/test-memmem-ifunc.c: Likewise.
48028         * string/test-memmove-ifunc.c: Likewise.
48029         * string/test-mempcpy-ifunc.c: Likewise.
48030         * string/test-memrchr-ifunc.c: Likewise.
48031         * string/test-memset-ifunc.c: Likewise.
48032         * string/test-rawmemchr-ifunc.c: Likewise.
48033         * string/test-stpcpy-ifunc.c: Likewise.
48034         * string/test-stpncpy-ifunc.c: Likewise.
48035         * string/test-strcasecmp-ifunc.c: Likewise.
48036         * string/test-strcasestr-ifunc.c: Likewise.
48037         * string/test-strcat-ifunc.c: Likewise.
48038         * string/test-strchr-ifunc.c: Likewise.
48039         * string/test-strchrnul-ifunc.c: Likewise.
48040         * string/test-strcmp-ifunc.c: Likewise.
48041         * string/test-strcpy-ifunc.c: Likewise.
48042         * string/test-strcspn-ifunc.c: Likewise.
48043         * string/test-strlen-ifunc.c: Likewise.
48044         * string/test-strncasecmp-ifunc.c: Likewise.
48045         * string/test-strncat-ifunc.c: Likewise.
48046         * string/test-strncmp-ifunc.c: Likewise.
48047         * string/test-strncpy-ifunc.c: Likewise.
48048         * string/test-strnlen-ifunc.c: Likewise.
48049         * string/test-strpbrk-ifunc.c: Likewise.
48050         * string/test-strrchr-ifunc.c: Likewise.
48051         * string/test-strspn-ifunc.c: Likewise.
48052         * string/test-strstr-ifunc.c: Likewise.
48054 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48056         * benchtests/Makefile: Remove ifunc tests.
48057         * benchtests/bench-string.h: Define TEST_IFUNC.
48058         * benchtests/bench-bcopy-ifunc.c: Remove.
48059         * benchtests/bench-bzero-ifunc.c: Likewise.
48060         * benchtests/bench-memccpy-ifunc.c: Likewise.
48061         * benchtests/bench-memchr-ifunc.c: Likewise.
48062         * benchtests/bench-memcmp-ifunc.c: Likewise.
48063         * benchtests/bench-memcpy-ifunc.c: Likewise.
48064         * benchtests/bench-memmem-ifunc.c: Likewise.
48065         * benchtests/bench-memmove-ifunc.c: Likewise.
48066         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48067         * benchtests/bench-memrchr-ifunc.c: Likewise.
48068         * benchtests/bench-memset-ifunc.c: Likewise.
48069         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48070         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48071         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48072         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48073         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48074         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48075         * benchtests/bench-strcat-ifunc.c: Likewise.
48076         * benchtests/bench-strchr-ifunc.c: Likewise.
48077         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48078         * benchtests/bench-strcmp-ifunc.c: Likewise.
48079         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48080         * benchtests/bench-strcpy-ifunc.c: Likewise.
48081         * benchtests/bench-strcspn-ifunc.c: Likewise.
48082         * benchtests/bench-strlen-ifunc.c: Likewise.
48083         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48084         * benchtests/bench-strncat-ifunc.c: Likewise.
48085         * benchtests/bench-strncmp-ifunc.c: Likewise.
48086         * benchtests/bench-strncpy-ifunc.c: Likewise.
48087         * benchtests/bench-strnlen-ifunc.c: Likewise.
48088         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48089         * benchtests/bench-strrchr-ifunc.c: Likewise.
48090         * benchtests/bench-strsep-ifunc.c: Likewise.
48091         * benchtests/bench-strspn-ifunc.c: Likewise.
48092         * benchtests/bench-strstr-ifunc.c: Likewise.
48094 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48096         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48098 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48100         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48101         * rt/aio.h: Likewise.
48102         * sysdeps/gnu/bits/utmp.h: Likewise.
48103         * sysdeps/gnu/bits/utmpx.h: Likewise.
48104         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48105         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48106         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48107         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48108         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48109         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48110         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48111         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48112         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48113         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48114         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48115         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48116         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48118         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48119         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48120         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48121         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48122         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48123         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48124         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48125         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48126         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48127         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48128         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48130         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48131         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48132         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48133         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48134         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48135         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48136         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48137         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48138         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48139         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48140         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48141         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48142         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48143         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48144         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48145         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48147 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48149         [BZ #16245]
48150         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48151         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48153 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48155         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48156         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48157         Likewise.
48159 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48161         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48162         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48163         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48164         (__fesetround): Remove define.
48165         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48166         rounding and exceptions handling.
48167         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48168         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48169         (__fe_nomask_env): Likewise.
48170         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48171         __fegetround instead of fegetround.
48172         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48173         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48175 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48177         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48178         it's there.
48180         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48182 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48184         [BZ #11157]
48185         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48186         (encrypt_r): Likewise.
48187         * malloc/obstack.h (obstack_free): Likewise.
48188         * posix/unistd.h (encrypt): Likewise.
48190 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48192         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48193         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48194         DL_CALL_DT_FINI() that call the functions directly.
48195         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48196         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48197         * elf/dl-fini.c: Likewise.
48199 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48201         * malloc/hooks.c (memalign_check): Add alignment rounding.
48202         * malloc/malloc.c (_mid_memalign): New function.
48203         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48204         Implement by calling _mid_memalign.
48205         * manual/probes.texi (Memory Allocation Probes): Remove
48206         memory_valloc_retry and memory_pvalloc_retry.
48208 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48210         * locale/programs/locarchive.c (open_archive): Add const
48211         qualifier to ARCHIVEFNAME and copy default fname to
48212         DEFAULT_FNAME.
48214         [BZ #15601]
48215         * libio/tst-widetext.input: Rename Oriya to Odia.
48216         * locale/iso-639.def: Likewise.
48218         * manual/probes.texi (Mathematical Function Probes): Add
48219         documentation for sin, cos, asin and acos probes.
48220         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48221         (__sin32): Add slowasin probe.
48222         (__cos32): Add slowacos probe.
48223         (__mpsin): Add slowsin probe.
48224         (__mpcos): Add slowcos probe.
48226 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48228         [BZ #15483]
48229         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48230         thread-local __sim_exceptions_thread and global
48231         __sim_exceptions_global.
48232         (__sim_disabled_exceptions): Change to thread-local
48233         __sim_disabled_exceptions_thread and global
48234         __sim_disabled_exceptions_global.
48235         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48236         and global __sim_round_mode_global.
48237         (__simulate_exceptions): Use thread-local floating-point state and
48238         set global state from it as needed.
48239         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48240         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48241         __sim_round_mode_thread.
48242         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48243         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48244         and global __sim_exceptions_global.
48245         (__sim_disabled_exceptions): Change to thread-local
48246         __sim_disabled_exceptions_thread and global
48247         __sim_disabled_exceptions_global.
48248         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48249         and global __sim_round_mode_global.
48250         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48251         (SIM_SET_GLOBAL): Likewise.
48252         * sysdeps/powerpc/soft-fp/sfp-machine.h
48253         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48254         __sim_round_mode_thread.
48255         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48256         __sim_disabled_exceptions_thread.
48257         (__sim_exceptions): Change to __sim_exceptions_thread.
48258         (__sim_disabled_exceptions): Change to
48259         __sim_disabled_exceptions_thread.
48260         (__sim_round_mode): Change to __sim_round_mode_thread.
48261         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48262         thread-local floating-point state and set global state from it as
48263         needed.
48264         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48265         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48266         (__sim_disabled_exceptions): Remove extern declaration.
48267         (feenableexcept): Use thread-local floating-point state and set
48268         global state from it as needed.
48269         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48270         extern declaration.
48271         (__sim_disabled_exceptions): Likewise.
48272         (__sim_round_mode): Likewise.
48273         (__fegetenv): Use thread-local floating-point state.
48274         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48275         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48276         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48277         floating-point state and set global state from it as needed.
48278         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48279         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48280         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48281         Likewise.
48282         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48283         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48284         Likewise.
48285         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48286         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48287         Use __sim_round_mode_thread.
48288         * math/test-fenv-tls.c: New file.
48289         * math/Makefile (tests): Add test-fenv-tls.
48290         ($(objpfx)test-fenv-tls): Depend on
48291         $(common-objpfx)nptl/libpthread.so.
48293 2013-11-19  Andreas Schwab  <schwab@suse.de>
48295         * locale/programs/locale.c (show_info): Decode wordarray elements.
48296         * locale/categories.def (LC_MONETARY): Add element for
48297         _NL_MONETARY_CRNCYSTR.
48298         * locale/C-monetary.c (conversion_rate): New variable.
48299         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48300         element.
48302 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48304         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48305         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48307 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48309         * elf/Makefile (tst-auxv): New test.
48310         * elf/tst-auxv.c: New
48311         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48313 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48315         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48316         (hidden_proto): Caller changed.
48317         (hidden_tls_proto): New macro.
48318         (libc_hidden_tls_proto): Likewise.
48319         (rtld_hidden_tls_proto): Likewise.
48320         (libm_hidden_tls_proto): Likewise.
48321         (libresolv_hidden_tls_proto): Likewise.
48322         (librt_hidden_tls_proto): Likewise.
48323         (libdl_hidden_tls_proto): Likewise.
48324         (libnss_files_hidden_tls_proto): Likewise.
48325         (libnsl_hidden_tls_proto): Likewise.
48326         (libnss_nisplus_hidden_tls_proto): Likewise.
48327         (libutil_hidden_tls_proto): Likewise.
48329 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48331         [BZ #10253]
48332         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48333         (decompose_rpath): Defer expansion to fillin_rpath.
48334         (_dl_init_paths): Pass linkmap to fillin_rpath.
48336 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48338         * benchtests/Makefile: Add strsep.
48339         * benchtests/bench-strsep.c: New file: strsep benchtest.
48340         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48342 2013-11-18  Andreas Schwab  <schwab@suse.de>
48344         * locale/programs/locale.c (show_info) [case byte]: Check for
48345         '\377' instead of '\177'.
48346         * locale/C-monetary.c (not_available): Always use "\377".
48347         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48348         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48349         detect unavailable sign_posn locale elements.
48350         * locale/localeconv.c (__localeconv): For grouping and
48351         mon_grouping handle "\177" and "\377" like no grouping.
48352         (INT_ELEM): New macro.  Use it to set all numeric members.
48353         * locale/programs/ld-monetary.c (monetary_read)
48354         <tok_mon_grouping>: Normalize single -1 to the empty string.
48355         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48356         Likewise.
48358 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48360         [BZ #16055]
48361         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48362         when we match (nil).
48363         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48365 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48367         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48368         (NO_TEST_INLINE): Update value.
48369         (ERRNO_UNCHANGED): Likewise.
48370         (ERRNO_EDOM): Likewise.
48371         (ERRNO_ERANGE): Likewise.
48372         (IGNORE_RESULT): Likewise.
48373         (check_float_internal): Check signs of NaN results if
48374         TEST_NAN_SIGN used.
48375         (check_complex): Pass TEST_NAN_SIGN flag through to second
48376         check_float_internal call.
48377         (copysign_test_data): Add tests with quiet NaNs as second
48378         argument.  Use TEST_NAN_SIGN.
48379         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48380         TEST_NAN_SIGN.
48381         (signbit_test_data): Add tests of quiet NaN argument.
48382         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48384         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48385         $ignore_result.
48386         (parse_args): Handle function results specified as IGNORE.
48387         * math/libm-test.inc (IGNORE_RESULT): New macro.
48388         (check_float_internal): Do not check numerical result if flag
48389         IGNORE_RESULT set.
48390         (check_complex): Pass through IGNORE_RESULT to second
48391         check_float_internal call.
48392         (check_int): Do not check numerical result if flag IGNORE_RESULT
48393         set.
48394         (check_long): Likewise.
48395         (check_bool): Likewise.
48396         (check_longlong): Likewise.
48397         (lrint_test_data): Add tests of infinite and NaN arguments.
48398         (lrint_tonearest_test_data): Likewise.
48399         (lrint_towardzero_test_data): Likewise.
48400         (lrint_downward_test_data): Likewise.
48401         (lrint_upward_test_data): Likewise.
48402         (llrint_test_data): Likewise.
48403         (llrint_tonearest_test_data): Likewise.
48404         (llrint_towardzero_test_data): Likewise.
48405         (llrint_downward_test_data): Likewise.
48406         (llrint_upward_test_data): Likewise.
48407         (lround_test_data): Likewise.
48408         (llround_test_data): Likewise.
48410         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48411         (ERRNO_UNCHANGED): Update value.
48412         (ERRNO_EDOM): Likewise.
48413         (ERRNO_ERANGE): Likewise.
48414         (NO_TEST_INLINE_FLOAT): New macro.
48415         (NO_TEST_INLINE_DOUBLE): Likewise.
48416         (enable_test): New function.
48417         (RUN_TEST_f_f): Check enable_test before running test.
48418         (RUN_TEST_2_f): Likewise.
48419         (RUN_TEST_fff_f): Likewise.
48420         (RUN_TEST_c_f): Likewise.
48421         (RUN_TEST_f_f1): Likewise.
48422         (RUN_TEST_fF_f1): Likewise.
48423         (RUN_TEST_fI_f1): Likewise.
48424         (RUN_TEST_ffI_f1): Likewise.
48425         (RUN_TEST_c_c): Likewise.
48426         (RUN_TEST_cc_c): Likewise.
48427         (RUN_TEST_f_i): Likewise.
48428         (RUN_TEST_f_i_tg): Likewise.
48429         (RUN_TEST_ff_i_tg): Likewise.
48430         (RUN_TEST_f_b): Likewise.
48431         (RUN_TEST_f_b_tg): Likewise.
48432         (RUN_TEST_f_l): Likewise.
48433         (RUN_TEST_f_L): Likewise.
48434         (RUN_TEST_fFF_11): Likewise.
48435         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48436         conditionals.
48437         (cosh_test_data): Likewise.
48438         (exp_test_data): Likewise.
48439         (expm1_test_data): Likewise.
48440         (hypot_test_data): Likewise.
48441         (pow_test_data): Likewise.
48442         (sinh_test_data): Likewise.
48443         (tanh_test_data): Likewise.
48444         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48445         flags argument.
48447         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48448         tests with quiet NaN input and output.
48449         (acosh_test_data): Likewise.
48450         (asin_test_data): Likewise.
48451         (asinh_test_data): Likewise.
48452         (atan_test_data): Likewise.
48453         (atanh_test_data): Likewise.
48454         (atan2_test_data): Likewise.
48455         (cbrt_test_data): Likewise.
48456         (cos_test_data): Likewise.
48457         (cosh_test_data): Likewise.
48458         (erf_test_data): Likewise.
48459         (erfc_test_data): Likewise.
48460         (exp_test_data): Likewise.
48461         (exp10_test_data): Likewise.
48462         (exp2_test_data): Likewise.
48463         (expm1_test_data): Likewise.
48464         (hypot_test_data): Likewise.
48465         (j0_test_data): Likewise.
48466         (j1_test_data): Likewise.
48467         (jn_test_data): Likewise.
48468         (lgamma_test_data): Likewise.
48469         (log_test_data): Likewise.
48470         (log10_test_data): Likewise.
48471         (log1p_test_data): Likewise.
48472         (log2_test_data): Likewise.
48473         (pow_test_data): Likewise.
48474         (scalb_test_data): Likewise.
48475         (sin_test_data): Likewise.
48476         (sincos_test_data): Likewise.
48477         (sinh_test_data): Likewise.
48478         (tan_test_data): Likewise.
48479         (tanh_test_data): Likewise.
48480         (tgamma_test_data): Likewise.
48481         (y0_test_data): Likewise.
48482         (y1_test_data): Likewise.
48483         (yn_test_data): Likewise.
48485         [BZ #16167]
48486         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48487         argument being NaN and avoid computations with second argument in
48488         that case.
48489         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48490         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48491         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48493 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48495         * locale/iso-639.def: Add Chitwani Tharu (the).
48497 2013-11-14  Andreas Schwab  <schwab@suse.de>
48499         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48500         word instead of empty string.
48502 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48505         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48507         (__fe_nomask_env): Likewise.
48509 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48511         * benchtests/bench-timing.h: Include time.h.
48513 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48515         [BZ #15997]
48516         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48517         to 3.4.0 for x32.
48518         * sysdeps/unix/sysv/linux/configure: Regenerated.
48520 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48522         [BZ #16151]
48523         * stdlib/strtod_l.c (round_and_return): Do not consider
48524         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48525         exponent one less than half the least subnormal exponent.
48526         * stdlib/test-strtod-round-data: Add more tests.
48527         * stdlib/tst-strtod-round.c (tests): Regenerated.
48529 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48531         [BZ #14143]
48532         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48533         (__fe_mask_env): Likewise.
48534         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48535         libm_hidden_proto and add function prototype.
48536         (__fe_mask_env): Add function prototype.
48537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48538         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48540         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48542         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48544 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48546         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48547         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48549 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48551         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48552         of htab_find_slot().
48554 2013-11-11  David S. Miller  <davem@davemloft.net>
48556         [BZ #16150]
48557         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48558         symbol in the non-vis3 case in static builds.
48559         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48560         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48561         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48562         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48564 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48566         [BZ #387]
48567         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48568         it is empty.
48570 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48572         * benchtests/Makefile: Add bench-strtod.
48573         * benchtests/bench-strtod.c: New file: strtod benchtest
48575 2013-11-11  Andreas Schwab  <schwab@suse.de>
48577         [BZ #16153]
48578         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48579         terminating NUL in key length.
48581 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48583         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48584         Add artificial ODP entry for vDSO symbol for PPC64.
48585         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48586         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48588 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48590         [BZ #15374]
48591         * nss/getent.c (services_keys): Recognize services starting with digit.
48593 2013-11-06  David S. Miller  <davem@davemloft.net>
48595         [BZ #15985]
48596         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48597         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48599 2013-11-06  Will Newton  <will.newton@linaro.org>
48601         * manual/memory.texi (Malloc Examples): Remove register
48602         keyword from examples.
48604 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48606         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48608 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48610         [BZ #6981]
48611         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48612         depending on [__GCC_IEC_559 > 0].
48613         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48614         depending on [__GCC_IEC_559_COMPLEX > 0].
48616 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48618         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48619         to iso-639.def.
48621 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48623         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48625 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48627         [BZ #16112]
48628         * malloc/malloc (malloc_info): Do not handle first bin as
48629         special case.
48631 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48633         * locale/iso-639.def: Add Central Nahuatl (nhn).
48635 2013-11-01  Bruno Haible  <bruno@clisp.org>
48637         [BZ #7003]
48638         * manual/math.texi (BSD Random): Specify range upper bound as
48639         in POSIX.
48641 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48643         * locale/iso-639.def: Add Meadow Mari (mhr).
48645 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48647         [BZ #14752], [BZ #15763]
48648         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48649         Validate name.
48650         * rt/tst_shm.c: Add test for escaping directory.
48652 2013-10-31  Andreas Schwab  <schwab@suse.de>
48654         [BZ #15917]
48655         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48656         followed by 'x' as part of digit sequence.
48657         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48659 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48661         [BZ #16037]
48662         * configure.ac: allow GNU Make 4.0 and greater.
48663         * configure: Regenerated.
48665 2013-10-30  Will Newton  <will.newton@linaro.org>
48667         [BZ #16038]
48668         * malloc/hooks.c (memalign_check): Limit alignment to the
48669         maximum representable power of two.
48670         * malloc/malloc.c (__libc_memalign): Likewise.
48671         * malloc/tst-memalign.c (do_test): Add test for very
48672         large alignment values.
48673         * malloc/tst-posix_memalign.c (do_test): Likewise.
48675 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48677         [BZ #11087]
48678         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48679         (munmap_chunk): Likewise.
48680         (mremap_chunk): Likewise.
48682 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48684         [BZ #15799]
48685         * stdlib/div.c (div): Remove obsolete code.
48686         * stdlib/ldiv.c (ldiv): Likewise.
48687         * stdlib/lldiv.c (lldiv): Likewise.
48689 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48691         [BZ #16071]
48692         * nss/nss_files/files-XXX.c (get_contents_ret): New
48693         enumerator.
48694         (get_contents): New function.
48695         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48697 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48699         * configure.in: Moved to ...
48700         * configure.ac: ... here. Change reference to configure.in
48701         to configure.ac.
48702         * sysdeps/arm/preconfigure.ac: ... here.
48703         configure.in to configure.ac.
48704         * sysdeps/gnu/configure.in: Moved to ...
48705         * sysdeps/gnu/configure.ac: ... here.
48706         * sysdeps/i386/configure.in: Moved to ...
48707         * sysdeps/i386/configure.ac: ... here.
48708         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48709         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48710         * sysdeps/mach/configure.in: Moved to ...
48711         * sysdeps/mach/configure.ac: ... here.
48712         * sysdeps/mach/hurd/configure.in: Moved to ...
48713         * sysdeps/mach/hurd/configure.ac: ... here.
48714         * sysdeps/powerpc/configure.in: Moved to ...
48715         * sysdeps/powerpc/configure.ac: ... here.
48716         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48717         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48718         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48719         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48720         * sysdeps/s390/s390-32/configure.in: Moved to ...
48721         * sysdeps/s390/s390-32/configure.ac: ... here.
48722         * sysdeps/s390/s390-64/configure.in: Moved to ...
48723         * sysdeps/s390/s390-64/configure.ac: ... here.
48724         * sysdeps/sh/configure.in: Moved to ...
48725         * sysdeps/sh/configure.ac: ... here.
48726         * sysdeps/sparc/configure.in: Moved to ...
48727         * sysdeps/sparc/configure.ac: ... here.
48728         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48729         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48730         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48731         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48732         * sysdeps/x86_64/configure.in: Moved to ...
48733         * sysdeps/x86_64/configure.ac: ... here.
48734         * sysdeps/x86_64/preconfigure.in: Moved to ...
48735         * sysdeps/x86_64/preconfigure.ac: ... here.
48736         * aclocal.m4: Change reference to configure.in to configure.ac.
48737         * config.h.in: Likewise.
48738         * manual/install.texi: Likewise.
48739         * manual/maint.texi: Likewise.
48740         * Makefile: Likewise.
48741         * malloc/Makefile: Likewise.
48742         * nscd/Makefile: Likewise.
48743         * Makeconfig: Change reference to configure.in and
48744         preconfigure.in to configure.ac and preconfigure.ac
48745         respectively.
48746         * INSTALL: Regenerated.
48747         * configure: Likewise.
48748         * sysdeps/gnu/configure: Likewise.
48749         * sysdeps/i386/configure: Likewise.
48750         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48751         * sysdeps/mach/configure: Likewise.
48752         * sysdeps/mach/hurd/configure: Likewise.
48753         * sysdeps/powerpc/configure: Likewise.
48754         * sysdeps/powerpc/powerpc32/configure: Likewise.
48755         * sysdeps/powerpc/powerpc64/configure: Likewise.
48756         * sysdeps/s390/s390-32/configure: Likewise.
48757         * sysdeps/s390/s390-64/configure: Likewise.
48758         * sysdeps/sh/configure: Likewise.
48759         * sysdeps/sparc/configure: Likewise.
48760         * sysdeps/unix/sysv/linux/configure: Likewise.
48761         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48762         * sysdeps/x86_64/configure: Likewise.
48763         * sysdeps/x86_64/preconfigure: Likewise.
48765 2013-10-29  Andreas Schwab  <schwab@suse.de>
48767         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48769 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48771         * benchtests/pow-inputs: Add new inputs.
48773         * benchtests/exp-inputs: Add new inputs.
48775         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48776         conditional check for return value.
48777         (__cos32): Likewise.
48779 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48782         to provide a boost for large inputs with word alignment.
48783         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48784         implementation based on optimized PPC64 strcpy.
48785         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48786         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48787         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48788         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48790 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48792         [BZ #2801]
48793         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48795 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48797         [BZ #14876]
48798         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48799         * time/tst-strptime.c (day_tests): Add testcase.
48801 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48803         [BZ #14029]
48804         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48806 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48808         [BZ #16074]
48809         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48810         MAP_FAILED on error.
48812 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48814         [BZ #16072]
48815         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48816         heap for large requests.
48818 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48820         [BZ #9954]
48821         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48822         result if the result has no associated interface.
48823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48824         interface for all 127.X.Y.Z addresses.
48826 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48828         * locale/iso-639.def: Add Ligurian (lij)
48830 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48832         [BZ #15825]
48833         * sunrpc/rpc_main.c: Document rpcgen -5.
48835 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48837         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48839 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48841         [BZ #10278]
48842         * posix/glob.c: Match only directories when trailing slash is present.
48843         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48844         (main): Add testcase.
48846 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48848         [BZ #15670]
48849         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48851 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48853         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48854         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48855         AUTH_DES and cindex for FIPS 140-2.
48856         (DES Encryption): Add cindex FIPS 46-3.
48858         * locale/locarchive.h (struct locarhandle): Add fname.
48859         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48860         if an optional argument was specified to --list-archive,
48861         otherwise NULL.
48862         * locale/programs/locarchive.c (show_archive_content): Take new
48863         argument fname and pass it via ah.fname to open_archive.
48864         * locale/programs/localedef.h: Update decl.
48865         (open_archive): If AH->fname is non-null, open that file
48866         rather than the default file name, and don't ignore ENOENT.
48867         (create_archive): Set AH.fname to NULL.
48868         (delete_locales_from_archive): Likewise.
48869         (add_locales_to_archive): Likewise.
48870         * locale/programs/locfile.c (write_all_categories): Likewise.
48872 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48873             Aldy Hernandez  <aldyh@redhat.com>
48875         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48876         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48877         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48878         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48879         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48880         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48881         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48882         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48883         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48884         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48885         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48886         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48887         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48888         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48889         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48890         Likewise.
48891         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48892         Likewise.
48893         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48894         Likewise.
48895         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48896         Likewise.
48897         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48898         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48899         Likewise.
48900         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48901         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48902         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48903         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48904         Likewise.
48905         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48906         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48907         * sysdeps/powerpc/preconfigure: Likewise.
48908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48909         Likewise.
48910         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48911         Replace contents of file by #include of <fenv_libc.h>.
48912         * sysdeps/powerpc/soft-fp/sfp-machine.h
48913         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48914         and <sys/prctl.h>.
48915         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48916         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48917         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48918         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48928         Allow copysignl PLT reference to be missing.
48930 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48931             Joseph Myers  <joseph@codesourcery.com
48933         [BZ #15948]
48934         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48935         single character.
48936         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48938 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48940         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48941         * elf/tst-tls1.c: Likewise.
48942         * elf/tst-tls10.h: Likewise.
48943         * elf/tst-tls14.c: Likewise.
48944         * elf/tst-tls2.c: Likewise.
48945         * elf/tst-tls3.c: Likewise.
48946         * elf/tst-tls4.c: Likewise.
48947         * elf/tst-tls5.c: Likewise.
48948         * elf/tst-tls6.c: Likewise.
48949         * elf/tst-tls7.c: Likewise.
48950         * elf/tst-tls8.c: Likewise.
48951         * elf/tst-tls9.c: Likewise.
48952         * elf/tst-tlsmod1.c: Likewise.
48953         * elf/tst-tlsmod13.c: Likewise.
48954         * elf/tst-tlsmod13a.c: Likewise.
48955         * elf/tst-tlsmod14a.c: Likewise.
48956         * elf/tst-tlsmod16a.c: Likewise.
48957         * elf/tst-tlsmod16b.c: Likewise.
48958         * elf/tst-tlsmod2.c: Likewise.
48959         * elf/tst-tlsmod3.c: Likewise.
48960         * elf/tst-tlsmod4.c: Likewise.
48961         * elf/tst-tlsmod5.c: Likewise.
48962         * elf/tst-tlsmod6.c: Likewise.
48964 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48966         [BZ #12486]
48967         * malloc/malloc.c: remove checks for statistics.
48969 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48971         [BZ #15277]
48972         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48973         * inet/tst-network.c: Add testcase.
48975 2013-10-17  Andreas Schwab  <schwab@suse.de>
48977         [BZ #15218]
48978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48979         to determine canonical name.
48981 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48983         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48984         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48985         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48986         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48987         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48988         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48989         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48990         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48991         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48992         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48993         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48994         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48995         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48996         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48997         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48998         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49000         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49001         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49002         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49003         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49005         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49006         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49007         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49008         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49009         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49010         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49011         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49012         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49013         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49014         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49015         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49016         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49017         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49018         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49019         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49020         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49021         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49024         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49025         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49026         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49028         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49029         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49030         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49034         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49035         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49036         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49037         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49038         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49042 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49044         [BZ #16041]
49045         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49046         make result into a quiet NaN.
49048 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49050         * soft-fp/adddf3.c: Fix horizontal whitespace.
49051         * soft-fp/addsf3.c: Likewise.
49052         * soft-fp/addtf3.c: Likewise.
49053         * soft-fp/divdf3.c: Likewise.
49054         * soft-fp/divsf3.c: Likewise.
49055         * soft-fp/divtf3.c: Likewise.
49056         * soft-fp/double.h: Likewise.
49057         * soft-fp/eqdf2.c: Likewise.
49058         * soft-fp/eqsf2.c: Likewise.
49059         * soft-fp/eqtf2.c: Likewise.
49060         * soft-fp/extenddftf2.c: Likewise.
49061         * soft-fp/extended.h: Likewise.
49062         * soft-fp/extendsfdf2.c: Likewise.
49063         * soft-fp/extendsftf2.c: Likewise.
49064         * soft-fp/extendxftf2.c: Likewise.
49065         * soft-fp/fixdfdi.c: Likewise.
49066         * soft-fp/fixdfsi.c: Likewise.
49067         * soft-fp/fixdfti.c: Likewise.
49068         * soft-fp/fixsfdi.c: Likewise.
49069         * soft-fp/fixsfsi.c: Likewise.
49070         * soft-fp/fixsfti.c: Likewise.
49071         * soft-fp/fixtfdi.c: Likewise.
49072         * soft-fp/fixtfsi.c: Likewise.
49073         * soft-fp/fixtfti.c: Likewise.
49074         * soft-fp/fixunsdfdi.c: Likewise.
49075         * soft-fp/fixunsdfsi.c: Likewise.
49076         * soft-fp/fixunsdfti.c: Likewise.
49077         * soft-fp/fixunssfdi.c: Likewise.
49078         * soft-fp/fixunssfsi.c: Likewise.
49079         * soft-fp/fixunssfti.c: Likewise.
49080         * soft-fp/fixunstfdi.c: Likewise.
49081         * soft-fp/fixunstfsi.c: Likewise.
49082         * soft-fp/fixunstfti.c: Likewise.
49083         * soft-fp/floatdidf.c: Likewise.
49084         * soft-fp/floatdisf.c: Likewise.
49085         * soft-fp/floatditf.c: Likewise.
49086         * soft-fp/floatsidf.c: Likewise.
49087         * soft-fp/floatsisf.c: Likewise.
49088         * soft-fp/floatsitf.c: Likewise.
49089         * soft-fp/floattidf.c: Likewise.
49090         * soft-fp/floattisf.c: Likewise.
49091         * soft-fp/floattitf.c: Likewise.
49092         * soft-fp/floatundidf.c: Likewise.
49093         * soft-fp/floatundisf.c: Likewise.
49094         * soft-fp/floatunditf.c: Likewise.
49095         * soft-fp/floatunsidf.c: Likewise.
49096         * soft-fp/floatunsisf.c: Likewise.
49097         * soft-fp/floatunsitf.c: Likewise.
49098         * soft-fp/floatuntidf.c: Likewise.
49099         * soft-fp/floatuntisf.c: Likewise.
49100         * soft-fp/floatuntitf.c: Likewise.
49101         * soft-fp/fmadf4.c: Likewise.
49102         * soft-fp/fmasf4.c: Likewise.
49103         * soft-fp/fmatf4.c: Likewise.
49104         * soft-fp/gedf2.c: Likewise.
49105         * soft-fp/gesf2.c: Likewise.
49106         * soft-fp/getf2.c: Likewise.
49107         * soft-fp/ledf2.c: Likewise.
49108         * soft-fp/lesf2.c: Likewise.
49109         * soft-fp/letf2.c: Likewise.
49110         * soft-fp/muldf3.c: Likewise.
49111         * soft-fp/mulsf3.c: Likewise.
49112         * soft-fp/multf3.c: Likewise.
49113         * soft-fp/negdf2.c: Likewise.
49114         * soft-fp/negsf2.c: Likewise.
49115         * soft-fp/negtf2.c: Likewise.
49116         * soft-fp/op-1.h: Likewise.
49117         * soft-fp/op-2.h: Likewise.
49118         * soft-fp/op-4.h: Likewise.
49119         * soft-fp/op-8.h: Likewise.
49120         * soft-fp/op-common.h: Likewise.
49121         * soft-fp/quad.h: Likewise.
49122         * soft-fp/single.h: Likewise.
49123         * soft-fp/soft-fp.h: Likewise.
49124         * soft-fp/sqrtdf2.c: Likewise.
49125         * soft-fp/sqrtsf2.c: Likewise.
49126         * soft-fp/sqrttf2.c: Likewise.
49127         * soft-fp/subdf3.c: Likewise.
49128         * soft-fp/subsf3.c: Likewise.
49129         * soft-fp/subtf3.c: Likewise.
49130         * soft-fp/truncdfsf2.c: Likewise.
49131         * soft-fp/trunctfdf2.c: Likewise.
49132         * soft-fp/trunctfsf2.c: Likewise.
49133         * soft-fp/trunctfxf2.c: Likewise.
49134         * soft-fp/unorddf2.c: Likewise.
49135         * soft-fp/unordsf2.c: Likewise.
49136         * soft-fp/unordtf2.c: Likewise.
49138 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49140         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49141         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49143 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49145         * elf/dl-libc.c: Clear initfini list after freeing.
49147 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49149         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49150         * soft-fp/addsf3.c: Likewise.
49151         * soft-fp/addtf3.c: Likewise.
49152         * soft-fp/divdf3.c: Likewise.
49153         * soft-fp/divsf3.c: Likewise.
49154         * soft-fp/divtf3.c: Likewise.
49155         * soft-fp/double.h: Likewise.
49156         * soft-fp/eqdf2.c: Likewise.
49157         * soft-fp/eqsf2.c: Likewise.
49158         * soft-fp/eqtf2.c: Likewise.
49159         * soft-fp/extenddftf2.c: Likewise.
49160         * soft-fp/extended.h: Likewise.
49161         * soft-fp/extendsfdf2.c: Likewise.
49162         * soft-fp/extendsftf2.c: Likewise.
49163         * soft-fp/extendxftf2.c: Likewise.
49164         * soft-fp/fixdfdi.c: Likewise.
49165         * soft-fp/fixdfsi.c: Likewise.
49166         * soft-fp/fixdfti.c: Likewise.
49167         * soft-fp/fixsfdi.c: Likewise.
49168         * soft-fp/fixsfsi.c: Likewise.
49169         * soft-fp/fixsfti.c: Likewise.
49170         * soft-fp/fixtfdi.c: Likewise.
49171         * soft-fp/fixtfsi.c: Likewise.
49172         * soft-fp/fixtfti.c: Likewise.
49173         * soft-fp/fixunsdfdi.c: Likewise.
49174         * soft-fp/fixunsdfsi.c: Likewise.
49175         * soft-fp/fixunsdfti.c: Likewise.
49176         * soft-fp/fixunssfdi.c: Likewise.
49177         * soft-fp/fixunssfsi.c: Likewise.
49178         * soft-fp/fixunssfti.c: Likewise.
49179         * soft-fp/fixunstfdi.c: Likewise.
49180         * soft-fp/fixunstfsi.c: Likewise.
49181         * soft-fp/fixunstfti.c: Likewise.
49182         * soft-fp/floatdidf.c: Likewise.
49183         * soft-fp/floatdisf.c: Likewise.
49184         * soft-fp/floatditf.c: Likewise.
49185         * soft-fp/floatsidf.c: Likewise.
49186         * soft-fp/floatsisf.c: Likewise.
49187         * soft-fp/floatsitf.c: Likewise.
49188         * soft-fp/floattidf.c: Likewise.
49189         * soft-fp/floattisf.c: Likewise.
49190         * soft-fp/floattitf.c: Likewise.
49191         * soft-fp/floatundidf.c: Likewise.
49192         * soft-fp/floatundisf.c: Likewise.
49193         * soft-fp/floatunsidf.c: Likewise.
49194         * soft-fp/floatunsisf.c: Likewise.
49195         * soft-fp/floatuntidf.c: Likewise.
49196         * soft-fp/floatuntisf.c: Likewise.
49197         * soft-fp/floatuntitf.c: Likewise.
49198         * soft-fp/fmadf4.c: Likewise.
49199         * soft-fp/fmasf4.c: Likewise.
49200         * soft-fp/fmatf4.c: Likewise.
49201         * soft-fp/gedf2.c: Likewise.
49202         * soft-fp/gesf2.c: Likewise.
49203         * soft-fp/getf2.c: Likewise.
49204         * soft-fp/ledf2.c: Likewise.
49205         * soft-fp/lesf2.c: Likewise.
49206         * soft-fp/letf2.c: Likewise.
49207         * soft-fp/muldf3.c: Likewise.
49208         * soft-fp/mulsf3.c: Likewise.
49209         * soft-fp/multf3.c: Likewise.
49210         * soft-fp/negdf2.c: Likewise.
49211         * soft-fp/negsf2.c: Likewise.
49212         * soft-fp/negtf2.c: Likewise.
49213         * soft-fp/op-1.h: Likewise.
49214         * soft-fp/op-2.h: Likewise.
49215         * soft-fp/op-4.h: Likewise.
49216         * soft-fp/op-8.h: Likewise.
49217         * soft-fp/op-common.h: Likewise.
49218         * soft-fp/quad.h: Likewise.
49219         * soft-fp/single.h: Likewise.
49220         * soft-fp/soft-fp.h: Likewise.
49221         * soft-fp/sqrtdf2.c: Likewise.
49222         * soft-fp/sqrtsf2.c: Likewise.
49223         * soft-fp/sqrttf2.c: Likewise.
49224         * soft-fp/subdf3.c: Likewise.
49225         * soft-fp/subsf3.c: Likewise.
49226         * soft-fp/subtf3.c: Likewise.
49227         * soft-fp/truncdfsf2.c: Likewise.
49228         * soft-fp/trunctfdf2.c: Likewise.
49229         * soft-fp/trunctfsf2.c: Likewise.
49230         * soft-fp/trunctfxf2.c: Likewise.
49231         * soft-fp/unorddf2.c: Likewise.
49232         * soft-fp/unordsf2.c: Likewise.
49233         * soft-fp/unordtf2.c: Likewise.
49235 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49237         [BZ #15672]
49238         * misc/error.c (error_tail): Fix possible buffer overflow.
49240 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49242         [BZ #13028]
49243         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49244         address.
49246 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49248         [BZ #832]
49249         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49250         testing pipefail option.
49252 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49254         * soft-fp/double.h: Indent preprocessor directives inside #if.
49255         * soft-fp/extended.h: Likewise.
49256         * soft-fp/op-2.h: Likewise.
49257         * soft-fp/op-4.h: Likewise.
49258         * soft-fp/op-common.h: Likewise.
49259         * soft-fp/quad.h: Likewise.
49260         * soft-fp/single.h: Likewise.
49261         * soft-fp/soft-fp.h: Likewise.
49263 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49265         * iconv/iconv_prog.c: Fix typos.
49266         * stdio-common/psiginfo-data.h: Likewise.
49268 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49270         [BZ #15764]
49271         * locale/setlocale.c: Fix typo.
49273 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49275         [BZ #16036]
49276         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49277         signaling NaN arguments.
49278         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49279         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49281         [BZ #14910]
49282         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49283         unordered operands.
49284         * soft-fp/gesf2.c (__gesf2): Likewise.
49285         * soft-fp/getf2.c (__getf2): Likewise.
49286         * soft-fp/ledf2.c (__ledf2): Likewise.
49287         * soft-fp/lesf2.c (__lesf2): Likewise.
49288         * soft-fp/letf2.c (__letf2): Likewise.
49290         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49291         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49292         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49293         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49294         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49295         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49296         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49297         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49298         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49299         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49300         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49301         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49302         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49303         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49304         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49305         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49306         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49307         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49308         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49309         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49310         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49311         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49312         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49313         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49314         * soft-fp/floattidf.c (__floattidf): Likewise.
49315         * soft-fp/floattisf.c (__floattisf): Likewise.
49316         * soft-fp/floattitf.c (__floattitf): Likewise.
49317         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49318         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49319         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49320         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49321         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49322         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49323         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49324         * soft-fp/gesf2.c (__gesf2): Likewise.
49325         * soft-fp/getf2.c (__getf2): Likewise.
49326         * soft-fp/ledf2.c (__ledf2): Likewise.
49327         * soft-fp/lesf2.c (__lesf2): Likewise.
49328         * soft-fp/letf2.c (__letf2): Likewise.
49330         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49331         Undefine and redefine.
49332         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49333         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49334         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49335         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49336         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49337         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49338         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49339         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49340         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49341         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49342         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49343         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49344         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49345         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49346         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49348         [BZ #16032]
49349         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49350         without decrementing exponent if mantissa >= that for the
49351         denominator, not >.
49352         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49353         denominator, not >.  Decrement exponent in < case instead of
49354         incrementing in >= case.
49355         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49356         without decrementing exponent if mantissa >= that for the
49357         denominator, not >.
49359         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49360         computing saturated result for unsigned overflow.
49362 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49363             Jeff Law  <law@redhat.com>
49365         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49366         (atan2Mp): Add systemtap probe marker.
49367         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49368         (__ieee754_log): Add systemtap probe marker.
49369         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49370         (atanMp): Add systemtap probe marker.
49371         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49372         (tanMp): Add systemtap probe marker.
49373         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49374         (__slowexp): Add systemtap probe marker.
49375         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49376         (__slowpow): Add systemtap probe marker.
49377         * manual/probes.texi: Document probes.
49379 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49381         [BZ #15362]
49382         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49383         written.
49384         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49385         written.
49386         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49387         written to buffer but not flushed.
49388         * libio/iofwrite_u.c:  Likewise.
49389         * libio/iopadn.c:  Return bytes returned even if EOF was
49390         encountered.
49391         * libio/iowpadn.c:  Likewise.
49392         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49393         if _IO_padn does not write the whole buffer.
49394         [!COMPILE_WPRINTF] (PAD): Likewise.
49396 2013-10-10  David S. Miller  <davem@davemloft.net>
49398         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49399         directory block.
49401 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49403         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49404         instead of FSF address.
49405         * soft-fp/fixdfti.c: Likewise.
49406         * soft-fp/fixsfti.c: Likewise.
49407         * soft-fp/fixtfti.c: Likewise.
49408         * soft-fp/fixunsdfti.c: Likewise.
49409         * soft-fp/fixunssfti.c: Likewise.
49410         * soft-fp/fixunstfti.c: Likewise.
49411         * soft-fp/floattidf.c: Likewise.
49412         * soft-fp/floattisf.c: Likewise.
49413         * soft-fp/floattitf.c: Likewise.
49414         * soft-fp/floatuntidf.c: Likewise.
49415         * soft-fp/floatuntisf.c: Likewise.
49416         * soft-fp/floatuntitf.c: Likewise.
49417         * soft-fp/trunctfxf2.c: Likewise.
49419         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49420         * soft-fp/fixdfti.c: Likewise.
49421         * soft-fp/fixsfti.c: Likewise.
49422         * soft-fp/fixtfti.c: Likewise.
49423         * soft-fp/fixunsdfti.c: Likewise.
49424         * soft-fp/fixunssfti.c: Likewise.
49425         * soft-fp/fixunstfti.c: Likewise.
49426         * soft-fp/floattidf.c: Likewise.
49427         * soft-fp/floattisf.c: Likewise.
49428         * soft-fp/floattitf.c: Likewise.
49429         * soft-fp/floatuntidf.c: Likewise.
49430         * soft-fp/floatuntisf.c: Likewise.
49431         * soft-fp/floatuntitf.c: Likewise.
49432         * soft-fp/trunctfxf2.c: Likewise.
49434 2013-10-10  David S. Miller  <davem@davemloft.net>
49436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49438 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49440         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49441         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49442         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49443         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49444         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49445         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49446         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49449         for NaNs before doing comparisons on argument.
49450         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49451         Likewise.
49453 2013-10-10  Will Newton  <will.newton@linaro.org>
49455         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49456         passed to _int_memalign does not overflow.
49458 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49460         * scripts/bench.pl: Add include-sources directive.
49461         * benchtests/README: Update documentation.
49463 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49465         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49466         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49467         instead of FP_INIT_ROUNDMODE.
49468         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49469         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49471         [BZ #16034]
49472         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49473         copy class of input value.
49474         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49475         not handle exceptions.
49476         * soft-fp/negsf2.c (__negsf2): Likewise.
49477         * soft-fp/negtf2.c (__negtf2): Likewise.
49478         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49480 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49482         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49483         semicolon.  From Linux kernel.
49485 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49487         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49489 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49491         [BZ #156]
49492         * manual/socket.texi: Added statement about buffer
49493         for gethostbyname2_r.
49495 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49497         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49498         Use .p2align directive instead, throughout.
49499         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49500         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49501         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49503         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49504         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49505         * sysdeps/x86_64/strchr.S: Likewise.
49506         * sysdeps/x86_64/strrchr.S: Likewise.
49508 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49510         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49512         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49514         * sysdeps/generic/math_private.h (__mpsin1): Remove
49515         declaration.
49516         (__mpcos1): Likewise.
49517         (__mpsin): New argument __range_reduce.
49518         (__mpcos): Likewise.
49519         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49520         (slow): Use __mpsin and __mpcos.
49521         (slow1): Likewise.
49522         (slow2): Likewise.
49523         (sloww): Likewise.
49524         (sloww1): Likewise.
49525         (sloww2): Likewise.
49526         (bsloww): Likewise.
49527         (bsloww1): Likewise.
49528         (bsloww2): Likewise.
49529         (cslow2): Likewise.
49530         (csloww): Likewise.
49531         (csloww1): Likewise.
49532         (csloww2): Likewise.
49533         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49534         range_reduce.  Merge in __mpsin1.
49535         (__mpcos): Likewise.
49536         (__mpsin1): Remove.
49537         (__mpcos1): Likewise.
49539 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49541         * locale/loadlocale.c (_nl_intern_locale_data): Use
49542         LOCFILE_ALIGNED_P.
49543         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49544         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49545         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49546         obstack data is appropriately aligned.
49547         (obstack_int32_grow_fast): Likewise.
49548         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49549         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49550         (add_locale_uint32_array): Likewise.
49552 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49554         * benchtests/Makefile: Remove ARGLIST and RET variables.
49555         ($(objpfx)bench-%.c): Pass only function name to the script.
49556         * benchtests/README: Update documentation.
49557         * benchtests/acos-inputs: Add new directives.
49558         * benchtests/acosh-inputs: Likewise.
49559         * benchtests/asin-inputs: Likewise.
49560         * benchtests/asinh-inputs: Likewise.
49561         * benchtests/atan-inputs: Likewise.
49562         * benchtests/atanh-inputs: Likewise.
49563         * benchtests/cos-inputs: Likewise.
49564         * benchtests/cosh-inputs: Likewise.
49565         * benchtests/exp-inputs: Likewise.
49566         * benchtests/log-inputs: Likewise.
49567         * benchtests/pow-inputs: Likewise.
49568         * benchtests/rint-inputs: Likewise.
49569         * benchtests/sin-inputs: Likewise.
49570         * benchtests/sinh-inputs: Likewise.
49571         * benchtests/tan-inputs: Likewise.
49572         * benchtests/tanh-inputs: Likewise.
49573         * scripts/bench.pl: Add support for new directives.
49575 2013-10-07  Alan Modra  <amodra@gmail.com>
49577         * README: Fix careless merge.
49579 2013-10-05  Alan Modra  <amodra@gmail.com>
49581         * NEWS: Mention powerpc64le support and bugs fixed.
49582         * README: Both big-endian and little-endian powerpc64 supported.
49584 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49586         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49587         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49588         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49589         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49591 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49593         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49594         match prototype.
49596 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49598         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49599         Move -mhard-float appending from
49600         ports/sysdeps/powerpc/powerpc32/Makefile.
49601         [$(with-fp) = yes] (ASFLAGS): Likewise.
49602         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49603         * sysdeps/powerpc/nofpu: Move directory from
49604         ports/sysdeps/powerpc/nofpu.
49605         * sysdeps/powerpc/soft-fp: Move directory from
49606         ports/sysdeps/powerpc/soft-fp.
49607         * sysdeps/powerpc/powerpc32/405: Move directory from
49608         ports/sysdeps/powerpc/powerpc32/405.
49609         * sysdeps/powerpc/powerpc32/440: Move directory from
49610         ports/sysdeps/powerpc/powerpc32/440.
49611         * sysdeps/powerpc/powerpc32/464: Move directory from
49612         ports/sysdeps/powerpc/powerpc32/464.
49613         * sysdeps/powerpc/powerpc32/476: Move directory from
49614         ports/sysdeps/powerpc/powerpc32/476.
49615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49616         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49618         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49620         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49622         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49624         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49625         * README: Update for powerpc-*-linux-gnu software floating point
49626         support in libc.
49628         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49629         case to powerpc/powerpc32*.
49630         * sysdeps/unix/sysv/linux/configure: Regenerated.
49632         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49633         (_FPU_MASK_OM): Define as 0x04.
49634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49636         0x00c10080.
49637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49638         0x0000003c.
49639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49642         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49643         getcontext_e500.
49644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49645         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49646         setcontext_e500.
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49648         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49649         and setcontext_e500.
49651 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49653         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49655 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49657         * manual/threads.texi (Default Thread Attributes): Fix typo.
49659 2013-10-04  Will Newton  <will.newton@linaro.org>
49661         * malloc/Makefile: Add tst-memalign.
49662         * malloc/tst-memalign.c: New file.
49664         * malloc/tst-posix_memalign.c: Add comments.
49665         (do_test): Add comments and call free on all potentially
49666         allocated pointers. Add space after cast.
49668         * malloc/tst-pvalloc.c: Add comments.
49669         (do_test): Add comments and call free on all potentially
49670         allocated pointers. Remove duplicate check for NULL pointer.
49671         Add space after cast.
49673         * malloc/tst-valloc.c: Add comments.
49674         (do_test): Add comments and call free on all potentially
49675         allocated pointers. Remove duplicate check for NULL pointer.
49676         Add space after cast.
49678 2013-10-04  Alan Modra  <amodra@gmail.com>
49680         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49681         Use stdint types in rather than __attribute__((mode())).
49682         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49684 2013-10-04  Alan Modra  <amodra@gmail.com>
49686         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49687         Correct handling of unaligned relocs for little-endian.
49688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49690 2013-10-04  Alan Modra  <amodra@gmail.com>
49692         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49693         * configure: Regenerate.
49694         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49695         * shlib-versions: Likewise.
49697 2013-10-04  Alan Modra  <amodra@gmail.com>
49699         * string/tester.c (test_memrchr): Increment reported test cycle.
49701 2013-10-04  Alan Modra  <amodra@gmail.com>
49703         * string/test-memcpy.c (do_one_test): When reporting errors, print
49704         string address and don't overrun end of string.
49706 2013-10-04  Alan Modra  <amodra@gmail.com>
49708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49709         insrdi.  Make better use of reg selection to speed exit slightly.
49710         Schedule entry path a little better.  Remove useless "are we done"
49711         checks on entry to main loop.  Handle wrapping around zero address.
49712         Correct main loop count.  Handle single left-over word from main
49713         loop inline rather than by using loop_small.  Remove extra word
49714         case in loop_small caused by wrong loop count.  Add little-endian
49715         support.
49716         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49717         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49718         cache hint.
49719         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49720         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49721         support.  Avoid rlwimi.
49722         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49724 2013-10-04  Alan Modra  <amodra@gmail.com>
49726         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49727         insrdi.  Formatting.
49728         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49729         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49730         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49731         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49732         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49733         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49735 2013-10-04  Alan Modra  <amodra@gmail.com>
49737         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49739         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49740         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49741         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49742         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49743         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49744         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49745         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49746         use of regs.  Use power7 mtocrf.  Tidy function tails.
49748 2013-10-04  Alan Modra  <amodra@gmail.com>
49750         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49751         Formatting.  Consistently use rXXX register defines or rN defines.
49752         Use early exit labels that avoid restoring unused non-volatile regs.
49753         Make cr field use more consistent with rWORDn compares.  Rename
49754         regs used as shift registers for unaligned loop, using rN defines
49755         for short lifetime/multiple use regs.
49756         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49757         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49758         addi 1,1,64 to pop stack frame.  Simplify return value code.
49759         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49761 2013-10-04  Alan Modra  <amodra@gmail.com>
49763         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49764         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49765         rather than rlwimi.
49766         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49767         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49768         little-endian support.  Correct typos.
49769         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49770         rather than rlwimi.
49771         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49772         in loop and entry code to keep "and." results.
49773         (strchr): Add little-endian support.  Comment.  Move cntlzd
49774         earlier in tail.
49775         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49777 2013-10-04  Alan Modra  <amodra@gmail.com>
49779         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49780         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49781         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49782         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49784 2013-10-04  Alan Modra  <amodra@gmail.com>
49786         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49787         (rTMP): Define as r11.
49788         (strcmp): Add little-endian support.  Optimise tail.
49789         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49790         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49791         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49792         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49793         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49794         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49797 2013-10-04  Alan Modra  <amodra@gmail.com>
49799         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49800         little-endian support.  Remove unnecessary "are we done" tests.
49801         Handle "s" wrapping around zero and extremely large "size".
49802         Correct main loop count.  Handle single left-over word from main
49803         loop inline rather than by using small_loop.  Correct comments.
49804         Delete "zero" tail, use "end_max" instead.
49805         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49807 2013-10-04  Alan Modra  <amodra@gmail.com>
49809         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49810         support.  Don't branch over align.
49811         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49812         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49813         support.  Rearrange tmp reg use to suit.  Comment.
49814         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49816 2013-10-04  Alan Modra  <amodra@gmail.com>
49818         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49820 2013-10-04  Alan Modra  <amodra@gmail.com>
49822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49823         conditional form of branch and link when obtaining pc.
49824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49826 2013-10-04  Alan Modra  <amodra@gmail.com>
49828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49829         HIWORD/LOWORD.
49830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49833 2013-10-04  Alan Modra  <amodra@gmail.com>
49835         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49836         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49837         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49838         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49839         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49840         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49841         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49842         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49843         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49844         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49846 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49847             Alistair Popple <alistair@ozlabs.au.ibm.com>
49848             Alan Modra <amodra@gmail.com>
49850         [BZ #15723]
49851         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49852         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49853         _dl_hwcap access for little-endian.
49854         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49855         destroy vmx regs when saving unaligned.
49856         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49857         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49858         destroy vmx regs when saving unaligned.
49860 2013-10-04  Alan Modra  <amodra@gmail.com>
49862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49863         Don't use a union to pack hi/low value.
49865 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49867         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49868         for little-endian.
49869         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49870         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49871         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49872         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49873         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49875 2013-10-04  Alan Modra  <amodra@gmail.com>
49877         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49878         constants to usual value for .cst8 section, and remove redundant
49879         high address load.
49880         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49881         constant for 0x1p52.  Load little-endian words of double from
49882         correct stack offsets.
49884 2013-10-04  Alan Modra  <amodra@gmail.com>
49886         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49887         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49888         words of double from correct stack offsets.
49889         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49890         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49891         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49892         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49893         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49894         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49895         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49896         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49897         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49898         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49899         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49900         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49901         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49902         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49903         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49904         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49905         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49907 2013-10-04  Alan Modra  <amodra@gmail.com>
49909         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49910         64-bit int/double union.
49911         (_FPU_SETCW): Likewise.
49912         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49913         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49915 2013-10-04  Alan Modra  <amodra@gmail.com>
49917         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49918         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49920 2013-10-04  Alan Modra  <amodra@gmail.com>
49922         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49923         use vector int constants.
49924         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49926 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49928         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49929         array with long long.
49930         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49931         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49932         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49933         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49934         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49935         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49936         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49937         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49938         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49939         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49940         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49941         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49942         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49944 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49946         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49947         (__signbit): Likewise.  Correct for little-endian.
49948         (__signbitl): Call __signbit.
49949         (lrint): Correct for little-endian.
49950         (lrintf): Call lrint.
49952 2013-10-04  Alan Modra  <amodra@gmail.com>
49954         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49955         union 32-bit int array member with 64-bit int array.
49956         (t515, tm256): Double rather than long double.
49957         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49959 2013-10-04  Alan Modra  <amodra@gmail.com>
49961         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49962         Delete.
49963         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49965         version of math_ldbl.h.
49967 2013-10-04  Alan Modra  <amodra@gmail.com>
49969         [BZ #15734], [BZ #15735]
49970         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49971         all uses of ieee875 long double macros and unions.  Simplify test
49972         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49973         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49974         normalize after ldbl_extract_mantissa, and don't add hidden bit
49975         already handled.  Don't treat low word of ieee854 mantissa like
49976         low word of IBM long double and mask off bit when testing for
49977         zero.
49978         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49979         all uses of ieee875 long double macros and unions.  Simplify tests
49980         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49981         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49982         two1022, instead use their values.  Recognise that tests for large
49983         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49984         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49985         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49986         test for 0.0L and nan.  Correct negation.
49987         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49988         ieee875 long double macros and unions.  Correct output for large
49989         magnitude x.  Correct absolute value calculation.
49990         (__erfcl): Likewise.
49991         * math/libm-test.inc: Add tests for errors discovered in IBM long
49992         double versions of fmodl, remainderl, erfl and erfcl.
49994 2013-10-04  Alan Modra  <amodra@gmail.com>
49996         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49997         all uses of ieee854 long double macros and unions.  Simplify tests
49998         for long doubles that are fully specified by the high double.
49999         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50000         Likewise.
50001         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50002         Remove dead code too.
50003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50004         (__ieee754_ynl): Likewise.
50005         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50008         Remove dead code too.
50009         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50010         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50011         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50012         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50013         Simplify.
50014         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50015         Simplify.
50016         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50017         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50018         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50019         Comment on variable precision.
50020         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50022         Likewise.
50023         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50024         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50025         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50026         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50027         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50029 2013-10-04  Alan Modra  <amodra@gmail.com>
50031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50032         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50033         all uses of ieee854 long double macros and unions.
50034         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50035         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50036         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50038         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50040         Likewise.
50041         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50042         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50043         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50044         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50045         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50046         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50047         Simplify sign and nan test too.
50048         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50050         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50051         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50052         Likewise.
50053         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50054         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50055         Likewise.
50056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50057         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50058         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50059         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50060         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50063 2013-10-04  Alan Modra  <amodra@gmail.com>
50065         * stdio-common/printf_size.c (__printf_size): Don't use
50066         union ieee854_long_double in fpnum union.
50067         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50068         signbit macro to retrieve sign from long double.
50069         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50070         retrieve sign from long double.
50071         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50072         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50073         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50074         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50075         * math/test-misc.c (main): Don't use union ieee854_long_double.
50077 2013-10-04  Alan Modra  <amodra@gmail.com>
50079         [BZ #15680]
50080         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50081         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50082         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50083         calculation.  Remove unnecessary test for denormal exponent.
50084         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50085         Correct handling of denormals.  Avoid undefined shift behaviour.
50086         Correct normalisation of low mantissa when low double is denormal.
50087         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50088         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50089         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50090         Correct normalisation of low mantissa.  Test for overflow of high
50091         mantissa and normalise.
50092         (ldbl_nearbyint): Use more readable constant for two52.
50093         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50094         (__mpn_construct_long_double): Fix test for overflow of high
50095         mantissa and correct normalisation.  Avoid undefined shift.
50097 2013-10-04  Alan Modra  <amodra@gmail.com>
50099         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50100         (union ibm_extended_long_double): Define as an array of ieee754_double.
50101         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50102         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50103         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50104         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50105         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50106         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50108         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50109         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50110         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50111         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50113 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50115         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50116         page size instead of calling getpagesize.
50118         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50119         (LOCFILE_ALIGN_MASK): Likewise.
50120         (LOCFILE_ALIGN_UP): Likewise.
50121         (LOCFILE_ALIGNED_P): Likewise.
50122         * locale/programs/ld-collate.c (collate_output): Use the new
50123         macros instead of __alignof__ (int32_t).
50124         * locale/weight.h (findidx): Likewise.
50126 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50128         [BZ #431]
50129         * manual/string.texi: Fix strncat and wcsncat.
50131 2013-10-03  Brooks Moses  <bmoses@google.com>
50133         [BZ #15915]
50134         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50135         * Makerules: ...here, and adjust associated comments.
50137 2013-10-02  Will Newton  <will.newton@linaro.org>
50139         * malloc/Makefile: Add tst-pvalloc.
50140         * malloc/tst-pvalloc.c: New file.
50142 2013-10-02  Will Newton  <will.newton@linaro.org>
50144         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50145         improve test coverage.
50147 2013-10-02  Will Newton  <will.newton@linaro.org>
50149         * malloc/Makefile: Add tst-posix_memalign.
50150         * malloc/tst-posix_memalign.c: New file.
50152 2013-10-01  Eric Blake  <eblake@redhat.com>
50154         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50155         Use __THROWNL rather than __THROW on static functions.
50157 2013-09-30  Petr Machata  <pmachata@redhat.com>
50159         * elf/elf.h (R_AARCH64_ABS16): New macro.
50160         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50161         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50162         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50163         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50164         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50165         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50166         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50167         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50168         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50169         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50170         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50171         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50172         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50173         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50174         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50175         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50176         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50177         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50178         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50179         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50180         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50181         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50182         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50183         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50184         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50185         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50186         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50187         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50188         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50189         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50190         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50191         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50192         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50193         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50194         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50195         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50196         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50197         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50198         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50199         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50200         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50201         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50202         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50203         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50204         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50205         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50206         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50207         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50208         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50209         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50210         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50211         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50212         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50213         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50214         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50215         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50216         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50217         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50218         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50219         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50220         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50221         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50222         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50223         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50224         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50225         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50226         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50227         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50228         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50229         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50230         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50231         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50232         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50233         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50234         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50235         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50236         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50237         (R_AARCH64_TLSDESC_LDR): Likewise.
50238         (R_AARCH64_TLSDESC_ADD): Likewise.
50239         (R_AARCH64_TLSDESC_CALL): Likewise.
50241 2013-09-30  Andreas Schwab  <schwab@suse.de>
50243         [BZ #15048]
50244         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50245         the nss database lookup.
50246         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50249 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50251         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50253 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50255         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50256         ${Bash-specific parameter/pattern/string} parameter expansion.
50257         * sysdeps/unix/make-syscalls.sh: Likewise.
50259 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50261         * sysdeps/sh/stackguard-macros.h: New file.
50263 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50267         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50268         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50269         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50270         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50272 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50274         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50275         Fix thread ID register.
50277 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50279         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50280         [POSIX || UNIX98]: Require rather than permitting all symbols from
50281         <time.h>.
50282         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50283         element of struct sched_param.
50284         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50285         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50286         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50287         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50288         constant.
50290 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50292         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50293         argument calculation.
50295 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50297         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50298         Expect macro.
50299         [POSIX] (pthread_attr_t): Do not require type.
50300         [POSIX] (pthread_cond_t): Likewise.
50301         [POSIX] (pthread_condattr_t): Likewise.
50302         [POSIX] (pthread_key_t): Likewise.
50303         [POSIX] (pthread_mutex_t): Likewise.
50304         [POSIX] (pthread_mutexattr_t): Likewise.
50305         [POSIX] (pthread_once_t): Likewise.
50306         [POSIX] (pthread_t): Likewise.
50307         [POSIX-based standards] (pthread_atfork): Expect function.
50309 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50310             Richard Sandiford  <richard@codesourcery.com>
50312         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50313         (swap_endianness_p): New extern variable.
50314         (set_big_endian): New inline function.
50315         (maybe_swap_uint32): Likewise.
50316         (maybe_swap_uint32_array): Likewise.
50317         (maybe_swap_uint32_obstack): Likewise.
50318         * locale/programs/locfile.c: Include <stdbool.h>.
50319         (swap_endianness_p): New variable.
50320         (add_locale_uint32): Call maybe_swap_uint32.
50321         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50322         (write_locale_data): Call maybe_swap_uint32_array.
50323         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50324         maybe_swap_uint32.
50325         (obstack_int32_grow_fast): Likewise.
50326         (output_weightwc): Call maybe_swap_uint32_obstack.
50327         (collate_output): Likewise.
50328         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50329         (OPT_LITTLE_ENDIAN): Likewise.
50330         (options): Add --little-endian and --big-endian options.
50331         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50332         * locale/programs/locarchive.c: Include "locfile.h".
50333         (GET): New macro.
50334         (SET): Likewise.
50335         (INC): Likewise.
50336         (create_archive): Use the new macros to access fields of
50337         structures directly mapped from or written to locale archives.
50338         (oldlocrecentcmp): Likewise.
50339         (enlarge_archive): Likewise.
50340         (insert_name): Likewise.
50341         (add_alias): Likewise.
50342         (add_locale): Likewise.
50343         (delete_locales_from_archive): Likewise.
50344         (show_archive_content): Likewise.
50345         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50346         locale data.
50348 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50350         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50351         http://www.gnu.org/doc/freemanuals.texi.
50352         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50354 2013-09-24  Will Newton  <will.newton@linaro.org>
50356         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50357         macro.
50359 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50361         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50362         unsigned char.
50364 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50366         * manual/threads.texi (POSIX Threads): Fix a typo.
50368 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50370         [BZ #14547]
50371         * string/tst-strcoll-overflow.c: New test case.
50372         * string/Makefile (xtests): Add tst-strcoll-overflow.
50373         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50374         cache if string sizes may cause integer overflow.
50376         [BZ #14547]
50377         * string/strcoll_l.c (coll_seq): New members rule, idx,
50378         save_idx and back_us.
50379         (get_next_seq_nocache): New function.
50380         (do_compare_nocache): New function.
50381         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50382         when malloc fails.
50384 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50386         [BZ #15754]
50387         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50388         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50389         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50391         [BZ #15754]
50392         * elf/Makefile (tests): Add tst-ptrguard1.
50393         (tests-static): Add tst-ptrguard1-static.
50394         (tst-ptrguard1-ARGS): Define.
50395         (tst-ptrguard1-static-ARGS): Define.
50396         * elf/tst-ptrguard1.c: New file.
50397         * elf/tst-ptrguard1-static.c: New file.
50398         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50399         * sysdeps/i386/stackguard-macros.h: Likewise.
50400         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50401         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50402         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50403         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50404         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50405         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50407 2013-09-23  Hector Marco  <hecmargi@upv.es>
50408             Ismael Ripoll  <iripoll@disca.upv.es>
50409             Carlos O'Donell  <carlos@redhat.com>
50411         [BZ #15754]
50412         * sysdeps/generic/stackguard-macros.h: Define
50413         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50414         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50415         Define __pointer_chk_guard_local.
50416         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50417         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50419 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50421         [BZ #15859]
50422         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50424 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50426         * include/string.h (__ffs): Declare as hidden.
50427         * string/ffs.c (__ffs): Define as hidden.
50428         * sysdeps/i386/ffs.c (__ffs): Likewise.
50429         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50430         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50431         * sysdeps/s390/ffs.c (__ffs): Likewise.
50432         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50434 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50436         * NEWS: Mention malloc probes.
50438         * malloc/arena.c (new_heap): New memory_heap_new probe.
50439         (grow_heap): New memory_heap_more probe.
50440         (shrink_heap): New memory_heap_less probe.
50441         (heap_trim): New memory_heap_free probe.
50442         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50443         (systrim): New memory_sbrk_less probe.
50444         * manual/probes.texi: Document them.
50446         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50447         * manual/probes.texi: Document it.
50449         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50450         (__libc_realloc): Add memory_realloc_retry probe.
50451         (__libc_memalign): Add memory_memalign_retry probe.
50452         (__libc_valloc): Add memory_valloc_retry probe.
50453         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50454         (__libc_calloc): Add memory_calloc_retry probe.
50455         * manual/probes.texi: Document them.
50457         * malloc/arena.c (get_free_list): Add probe
50458         memory_arena_reuse_free_list.
50459         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50460         and memory_arena_reuse.
50461         (arena_get2) [!PER_THREAD]: Likewise.
50462         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50463         memory_arena_reuse_realloc.
50464         * manual/probes.texi: Document them.
50466         * malloc/malloc.c (__libc_free): Add
50467         memory_mallopt_free_dyn_thresholds probe.
50468         (__libc_mallopt): Add multiple memory_mallopt probes.
50469         * manual/probes.texi: Document them.
50471         * malloc/malloc.c: Include stap-probe.h.
50472         (__libc_mallopt): Add memory_mallopt probe.
50473         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50474         * manual/probes.texi: New.
50475         * manual/Makefile (chapters): Add probes.
50476         * manual/threads.texi: Set next node.
50478 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50480         [BZ #15963, #13985]
50481         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50482         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50483         Add `Chinese' to `nan' entry name.
50485 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50487         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50488         (POLYNOMIAL): Likewise.
50489         (TAYLOR_SINCOS): Likewise.
50490         (TAYLOR_SLOW): Likewise.
50491         (__sin): Use TAYLOR_SINCOS.
50492         (__cos): Likewise.
50493         (slow): Use TAYLOR_SLOW.
50494         (sloww): Likewise.
50495         (bsloww): Likewise.
50496         (csloww): Likewise.
50498 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50500         * stdlib/strtod_l.c: Fix buffer overrun.
50502 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50504         * benchtests/Makefile (bench): Add sincos.
50505         * benchtests/bench-sincos.c: New file.
50507         * math/libm-test.inc (cos_test_data): New test inputs.
50508         (sin_test_data): Likewise.
50510         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50511         macro.
50512         (__sin): Use it.
50513         (__cos): Likewise.
50514         (slow1): Likewise.
50515         (slow2): Likewise.
50516         (sloww1): Likewise.
50517         (sloww2): Likewise.
50518         (bsloww1): Likewise.
50519         (bsloww2): Likewise.
50520         (cslow2): Likewise.
50521         (csloww1): Likewise.
50522         (csloww2): Likewise.
50524         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50525         function.
50526         (__sin): Use it.
50527         (__cos): Likewise.
50529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50530         gotos.
50531         (__cos): Likewise.
50533 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50535         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50536         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50537         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50538         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50539         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50540         * elf/cache.c (print_entry): Handle the new cache flags.
50542 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50543             Aldy Hernandez  <aldyh@redhat.com>
50545         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50546         Change condition to [_SOFT_FLOAT].
50547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50559         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50562         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50563         declaration.
50565 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50567         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50568         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50569         (__longjmp): Use LOAD_GP to load saved GPRs.
50570         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50571         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50572         (__sigsetjmp): Use SAVE_GP to save GPRs.
50574         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50575         Do not append -msoft-float.
50576         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50578 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50580         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50582 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50584         [BZ #15966]
50585         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50586         (_FPU_GETCW): Use initial "__" on variable and field names but not
50587         on macro parameter name.
50588         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50589         parentheses around reference to macro parameter.
50591 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50593         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50594         prototype.
50595         (ctype_startup): Use uint32_t in cast and sizeof for
50596         ctype->charnames.
50598 2013-09-11  Jia Liu  <proljc@gmail.com>
50600         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50601         __daddr_t_defined.
50602         [__FreeBSD__]: Likewise.
50604 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50607         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50608         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50609         (strchr): Remove __strchr_sse42 ifunc selection.
50610         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50611         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50613 2013-09-11  Will Newton  <will.newton@linaro.org>
50615         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50616         parameter to RES. Remove hardcoded 1000 value.
50617         * benchtests/bench-skeleton.c (main): Pass RES parameter
50618         to TIMING_INIT and multiply result by 1000.
50620 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50624 2013-09-11  Andreas Schwab  <schwab@suse.de>
50626         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50627         if not defined.
50628         (O_TMPFILE) [__USE_GNU]: Define.
50629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50630         Define.
50632 2013-09-11  Will Newton  <will.newton@linaro.org>
50634         [BZ #15857]
50635         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50636         does not overflow.
50638 2013-09-11  Will Newton  <will.newton@linaro.org>
50640         [BZ #15856]
50641         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50642         does not overflow.
50644 2013-09-11  Will Newton  <will.newton@linaro.org>
50646         [BZ #15855]
50647         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50648         does not overflow.
50650 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50652         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50653         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50654         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50655         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50656         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50658 2013-09-10  Allan McRae  <allan@archlinux.org>
50660         [BZ #15748]
50661         * manual/arith.texi (Parsing of Floats): Clarify
50662         cross-reference.
50664         [BZ #15849]
50665         * manual/install.texi (Running make install): Mention
50666         --enable-pt-chown.
50667         * INSTALL: Regenerated.
50669 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50671         * csu/init-first.c (_init): Remove the !SHARED condition around
50672         FPU control word initialization.
50673         * elf/dl-support.c (_dl_fpu_control): New variable.
50674         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50675         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50676         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50677         * math/test-fpucw-static.c: New file.
50678         * math/test-fpucw-ieee.c: New file.
50679         * math/test-fpucw-ieee-static.c: New file.
50680         * math/Makefile (tests): Add `test-fpucw-ieee' and
50681         `$(tests-static)'.
50682         (tests-static): New variable.
50683         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50684         dependency to...
50685         [($(build-shared),yes)]
50686         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50687         ... this.
50688         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50689         New dependency.
50691 2013-09-09  Allan McRae  <allan@archlinux.org>
50693         [BZ #15939]
50694         * manual/string.texi (Collation Functions): Fix typo in
50695         strcoll example.
50696         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50698         [BZ #15893]
50699         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50701         [BZ #15892]
50702         * libio/memstream.c (open_memstream): Fix memory leak.
50703         * libio/wmemstream.c (open_wmemstream): Likewise.
50705         [BZ #15895]
50706         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50708 2013-09-09  Will Newton  <will.newton@linaro.org>
50710         * malloc/Makefile: Add tst-realloc to tests.
50711         * malloc/tst-realloc.c: New file.
50713 2013-09-09  Allan McRae  <allan@archlinux.org>
50715         [BZ #15844]
50716         * COPYING: Update from GNU website to fix FSF address.
50717         * COPYING.LIB: Likewise.
50719 2013-09-06  David S. Miller  <davem@davemloft.net>
50721         * po/zh_TW.po: Update Chinese (traditional) translation from
50722         translation project.
50724 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50725             Joseph Myers  <joseph@codesourcery.com>
50727         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50728         "localeinfo.h".
50729         (obstack_chunk_alloc): New macro.
50730         (obstack_chunk_free): Likewise.
50731         (record_offset): New function.
50732         (init_locale_data): Likewise.
50733         (align_locale_data): Likewise.
50734         (add_locale_empty): Likewise.
50735         (add_locale_raw_data): Likewise.
50736         (add_locale_raw_obstack): Likewise.
50737         (add_locale_string): Likewise.
50738         (add_locale_wstring): Likewise.
50739         (add_locale_uint32): Likewise.
50740         (add_locale_uint32_array): Likewise.
50741         (add_locale_char): Likewise.
50742         (start_locale_structure): Likewise.
50743         (end_locale_structure): Likewise.
50744         (start_locale_prelude): Likewise.
50745         (end_locale_prelude): Likewise.
50746         (write_locale_data): Take locale_file structure rather than an
50747         iovec.
50748         * locale/programs/locfile.h: Include "obstack.h".
50749         (struct locale_file): Change to store locale file contents instead
50750         of header.
50751         (init_locale_data): New prototype.
50752         (align_locale_data): Likewise.
50753         (add_locale_empty): Likewise.
50754         (add_locale_raw_data): Likewise.
50755         (add_locale_raw_obstack): Likewise.
50756         (add_locale_string): Likewise.
50757         (add_locale_wstring): Likewise.
50758         (add_locale_uint32): Likewise.
50759         (add_locale_uint32_array): Likewise.
50760         (add_locale_char): Likewise.
50761         (start_locale_structure): Likewise.
50762         (end_locale_structure): Likewise.
50763         (start_locale_prelude): Likewise.
50764         (end_locale_prelude): Likewise.
50765         (write_locale_data): Update prototype.
50766         * locale/programs/3level.h (struct TABLE): Remove result field.
50767         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50768         Use new locale_file interface.
50769         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50770         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50771         * locale/programs/ld-address.c (address_output): Use new
50772         locale_file interface.
50773         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50774         NO_ADD_LOCALE.
50775         (collate_finish): Don't call collseq_table_finalize.
50776         (collate_output): Use new locale_file interface.
50777         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50778         in file.
50779         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50780         (TABLE): Move defines earlier in file.
50781         (ELEMENT): Likewise.
50782         (DEFAULT): Likewise.
50783         (wctrans_table_add): Move macro and inline function earlier in
50784         file.
50785         (struct wctype_table): Move type earlier in file.
50786         (add_locale_wctype_table): New static prototype.
50787         (struct locale_ctype_t): Use logical types instead of struct iovec
50788         pointers for members.
50789         (ctype_output): Use new locale_file interface.
50790         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50791         new locale_file interface.
50792         (allocate_arrays): Update for use of new locale_file interface.
50793         * locale/programs/ld-identification.c (identification_output): Use
50794         new locale_file interface.
50795         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50796         * locale/programs/ld-messages.c (messages_output): Likewise.
50797         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50798         * locale/programs/ld-name.c (name_output): Likewise.
50799         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50800         * locale/programs/ld-paper.c (paper_output): Likewise.
50801         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50802         * locale/programs/ld-time.c (time_output): Likewise.
50804 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50806         * benchtests/Makefile: Add memrchr benchmark.
50807         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50808         benchmark as memrchr.
50809         * benchtests/bench-memrchr-ifunc.c: New file.
50810         * benchtests/bench-memrchr.c: New file.
50812 2013-09-06   Will Newton  <will.newton@linaro.org>
50814         * benchtests/Makefile (string-bench): Add memcpy.
50816 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50817             Cong Wang  <amwang@redhat.com>
50819         [BZ #15850]
50820         * sysdeps/unix/sysv/linux/bits/in.h
50821         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50822         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50823         before __USE_KERNEL_IPV6_DEFS uses.
50824         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50825         IPPROTO_BEETPH.
50826         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50827         sockaddr_in6, or ipv6_mreq.
50829 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50831         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50832         memory access for final bytes in some large inputs.
50833         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50835 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50837         * string/test-memrchr.c: New file.
50838         * string/test-memrchr-ifunc.c: New file.
50839         * string/Makefile: Add new memrchr testcase.
50841 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50843         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50844         fanotify_init returns EPERM.
50846 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50848         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50849         errors.
50850         (top level): Treat second token from macro or constant entries for
50851         allowed headers as allowed.
50852         * include/complex.h: Condition internal declarations on
50853         [!_ISOMAC].
50854         * include/fenv.h: Condition include of <stdbool.h> and internal
50855         declarations on [!_ISOMAC].
50857 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50859         [BZ #15923]
50860         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50862 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50864         * configure.in (--enable-versioning): Remove configure option.
50865         (libc_cv_asm_symver_directive): Remove configure test.
50866         (libc_cv_ld_version_script_option): Likewise.
50867         (VERSIONING): Remove variable and AC_SUBST.
50868         (DO_VERSIONING): Remove AC_DEFINE.
50869         * configure: Regenerated.
50870         * config.h.in (DO_VERSIONING): Remove macro.
50871         * Makerules [$(versioning) = yes]: Change conditionals to
50872         [$(build-shared) = yes].
50873         * config.make.in (versioning): Remove variable.
50874         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50875         [$(build-shared) = yes].
50876         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50877         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50878         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50879         [$(build-shared) = yes].
50880         * extra-lib.mk [$(versioning) = yes]: Likewise.
50881         * hurd/Makefile [$(versioning) = yes]: Likewise.
50882         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50883         [SHARED].
50884         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50885         [SHARED].
50886         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50887         [SHARED && !NO_HIDDEN].
50888         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50889         [SHARED].
50890         [SHARED && DO_VERSIONING]: Likewise..
50891         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50892         [$(build-shared) = yes].
50893         * manual/install.texi (--disable-versioning): Remove
50894         documentation.
50895         * INSTALL: Regenerated.
50896         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50897         to [SHARED].
50898         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50899         [$(build-shared) = yes].
50900         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50901         * sysdeps/i386/i686/multiarch/strstr-c.c
50902         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50903         [SHARED && !NO_HIDDEN].
50904         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50905         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50906         * sysdeps/powerpc/powerpc32/dl-machine.c
50907         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50908         * sysdeps/powerpc/powerpc32/sysdep.h
50909         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50910         to [SHARED && PIC && !NO_HIDDEN].
50911         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50912         conditional to [SHARED].
50914 2013-09-04   Will Newton  <will.newton@linaro.org>
50916         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50917         * benchtests/bench-string.h: Include bench-timing.h instead
50918         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50919         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50920         call to HP_TIMING_DIFF_INIT.
50921         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50922         instead of hp-timing.h macros.
50923         * benchtests/bench-memchr.c: Likewise.
50924         * benchtests/bench-memcmp.c: Likewise.
50925         * benchtests/bench-memcpy.c: Likewise.
50926         * benchtests/bench-memmem.c: Likewise.
50927         * benchtests/bench-memmove.c: Likewise.
50928         * benchtests/bench-memset.c: Likewise.
50929         * benchtests/bench-rawmemchr.c: Likewise.
50930         * benchtests/bench-strcasecmp.c: Likewise.
50931         * benchtests/bench-strcasestr.c: Likewise.
50932         * benchtests/bench-strcat.c: Likewise.
50933         * benchtests/bench-strchr.c: Likewise.
50934         * benchtests/bench-strcmp.c: Likewise.
50935         * benchtests/bench-strcpy.c: Likewise.
50936         * benchtests/bench-strcpy_chk.c: Likewise.
50937         * benchtests/bench-strlen.c: Likewise.
50938         * benchtests/bench-strncasecmp.c: Likewise.
50939         * benchtests/bench-strncat.c: Likewise.
50940         * benchtests/bench-strncmp.c: Likewise.
50941         * benchtests/bench-strncpy.c: Likewise.
50942         * benchtests/bench-strnlen.c: Likewise.
50943         * benchtests/bench-strpbrk.c: Likewise.
50944         * benchtests/bench-strrchr.c: Likewise.
50945         * benchtests/bench-strspn.c: Likewise.
50946         * benchtests/bench-strstr.c: Likewise.
50948 2013-09-04  Will Newton  <will.newton@linaro.org>
50950         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50952 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50954         [BZ #15427]
50955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50956         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50957         * math/libm-test.inc (lgamma_test_data): Add more tests.
50958         * sysdeps/i386/fpu/libm-test-ulps: Update.
50959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50961 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50963         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50965         Add ifunc.
50966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50967         Add strcmp-sse2-unaligned
50968         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50970 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50972         * Versions.def (libc): Add GLIBC_2.19.
50974 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50976         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50977         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50979 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50981         [BZ #14155]
50982         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50983         intermediate calculations in recurrence.
50984         (__ieee754_ynf): Likewise.
50985         * math/libm-test.inc (jn_test_data): Do not allow spurious
50986         underflow exception.  Add more tests.
50987         (yn_test_data): Add more tests.
50988         * sysdeps/i386/fpu/libm-test-ulps: Update.
50989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50991 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50993         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50995 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50997         * csu/init-first.c: Fix then/than typos.
50998         * locale/programs/ld-collate.c: Likewise.
50999         * locale/programs/linereader.h: Likewise.
51000         * manual/charset.texi: Likewise.
51001         * manual/filesys.texi: Likewise.
51002         * manual/stdio.texi: Likewise.
51003         * manual/string.texi: Likewise.
51004         * stdlib/fmtmsg.c: Likewise.
51005         * sysdeps/i386/stpncpy.S: Likewise.
51006         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51007         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51008         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51009         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51011 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51013         * elf/dl-open.c: Fix typos.
51014         * iconvdata/gbbig5.c: Likewise.
51015         * iconvdata/iso-2022-jp.c: Likewise.
51016         * iconv/gconv_int.h: Likewise.
51017         * iconv/loop.c: Likewise.
51018         * nis/rpcsvc/nis.h: Likewise.
51019         * resolv/ns_name.c: Likewise.
51020         * stdio-common/vfscanf.c: Likewise.
51021         * streams/stropts.h: Likewise.
51022         * sunrpc/rpc_thread.c: Likewise.
51023         * sysdeps/i386/strpbrk.S: Likewise.
51024         * sysdeps/ieee754/k_standard.c: Likewise.
51025         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51026         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51027         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51028         * sysdeps/mach/hurd/profil.c: Likewise.
51029         * sysdeps/s390/dl-procinfo.h: Likewise.
51030         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51031         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51032         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51033         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51034         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51036 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51038         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51041 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51043         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51044         aix specific files.
51045         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51046         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51047         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51048         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51049         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51050         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51051         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51052         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51054 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51055             Roland McGrath  <roland@hack.frob.com>
51057         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51058         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51060 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51062         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51063         __executable_start symbol instead of _start.
51065 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51067         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51068         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51069         Move macros to...
51070         * sysdeps/gnu/ldsodefs.h: ... this new file.
51072         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51073         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51074         instead of ELFOSABI_LINUX.
51076         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51077         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51078         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51079         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51080         Likewise.
51081         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51082         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51083         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51084         Likewise.
51085         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51086         (ibm_extended_long_double): Add ieee_nan member.
51087         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51088         (do_test): New function.
51090         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51091         TEST_TRUNC.
51092         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51093         functions, renamed from truncdfsf_test, trunctfsf_test,
51094         trunctfdf_test.
51095         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51096         functions.
51097         (do_test): Run all these.
51099 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51101         * argp/argp-help.c: Fix typos.
51102         * argp/argp-parse.c: Likewise.
51103         * debug/backtracesyms.c: Likewise.
51104         * elf/elf.h: Likewise.
51105         * malloc/malloc.c: Likewise.
51106         * nis/nis_print.c: Likewise.
51107         * resolv/res_comp.c: Likewise.
51108         * stdlib/stdlib.h: Likewise.
51109         * sunrpc/clnt_tcp.c: Likewise.
51110         * sunrpc/clnt_udp.c: Likewise.
51111         * sunrpc/clnt_unix.c: Likewise.
51112         * sysdeps/unix/bsd/ptsname.c: Likewise.
51113         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51114         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51116         Likewise.
51117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51118         Likewise.
51119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51120         Likewise.
51121         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51123 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51125         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51128 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51130         [BZ #15897]
51131         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51132         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51133         ($(objpfx)bug-dl-leaf): New rule.
51134         ($(objpfx)bug-dl-leaf.so): Likewise.
51135         ($(objpfx)bug-dl-leaf.out): Likewise.
51136         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51137         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51138         * dlfcn/bug-dl-leaf.c: New test.
51139         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51140         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51141         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51142         (dlclose): Likewise.
51143         (dlmopen): Likewise.
51145 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51147         * include/netdb.h [!_ISOMAC]:
51148         Don't include <tls.h>.
51149         (h_errno, __libc_h_errno): Move declaration and macros out of
51150         [_LIBC_REENTRANT].
51152         * include/resolv.h [_RESOLV_H_]:
51153         Don't include <tls.h>.
51154         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51155         * resolv/res_libc.c: Don't include <tls.h>.
51156         (_res): Use __attribute__ ((nocommon)) in place of
51157         __attribute__ ((section (".bss"))).
51159         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51160         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51162         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51164         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51165         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51167         * resolv/res_mkquery.c: Include <sys/time.h>.
51169         * inet/ifreq.c: Moved to ...
51170         * sysdeps/unix/ifreq.c: ... here.
51171         * inet/ifreq.c: New file, true stub version.
51173         * socket/sa_len.c: New file.
51174         * socket/Makefile (aux): Add it.
51175         * sysdeps/unix/sysv/linux/Makefile
51176         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51177         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51178         and #include <socket/sa_len.c>.
51179         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51180         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51182         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51183         * bits/socket.h: ... here.
51185         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51186         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51187         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51189 2013-08-27  Andreas Schwab  <schwab@suse.de>
51191         [BZ #15736]
51192         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51193         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51194         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51195         * string/test-strcasecmp.c (test_main): Run tests in several
51196         locales.
51197         * string/test-strncasecmp.c (test_main): Likewise.
51199         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51200         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51201         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51203         (__strncasecmp_ssse3) [PIC]: Likewise.
51205 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51207         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51209         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51210         instead of explicitly declaring xdecrypt.
51211         * nis/nss_nis/nis-publickey.c: Likewise.
51213 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51215         [BZ #15890]
51216         * nscd/aicache.c: Include res_hconf.h.
51217         (addhstaiX): Initialize res_hconf.
51219 2013-08-26  Andreas Schwab  <schwab@suse.de>
51221         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51222         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51224 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51226         * nscd/aicache.c (addhstaiX): Fix indentation.
51228 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51230         * configure.ac: Quote $build_pt_chown test.
51231         * configure: Regenerated.
51233 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51235         [BZ #15532]
51236         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51237         * math/s_cexpf.c (__cexpf): Likewise.
51238         * math/s_cexpl.c (__cexpl): Likewise.
51239         * math/libm-test.inc (cexp_test_data): Correct expected return
51240         value for NaN + i0.  Add another test.
51242 2013-08-22  David S. Miller  <davem@davemloft.net>
51244         * po/ca.po: Update Catalan translation from translation project.
51245         * po/uk.po: Add Ukrainian translations from translation project.
51247 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51249         [BZ #15797]
51250         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51251         is infinite, not alongside NaN test.
51252         * math/s_fdimf.c (__fdimf): Likewise.
51253         * math/s_fdiml.c (__fdiml): Likewise.
51254         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51255         errno is unchanged.
51257 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51259         * argp/argp-help.c: Fix typos.
51260         * crypt/speeds.c: Likewise.
51261         * csu/check_fds.c: Likewise.
51262         * elf/dl-load.c: Likewise.
51263         * elf/dl-open.c: Likewise.
51264         * elf/reldep3.c: Likewise.
51265         * elf/reldep.c: Likewise.
51266         * elf/sprof.c: Likewise.
51267         * iconv/iconv_charmap.c: Likewise.
51268         * iconv/skeleton.c: Likewise.
51269         * iconv/strtab.c: Likewise.
51270         * io/lockf64.c: Likewise.
51271         * libio/libioP.h: Likewise.
51272         * resolv/gai_notify.c: Likewise.
51273         * resolv/ns_name.c: Likewise.
51274         * resolv/ns_samedomain.c: Likewise.
51275         * resolv/res_send.c: Likewise.
51276         * stdlib/random.c: Likewise.
51277         * sunrpc/rpc/xdr.h: Likewise.
51278         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51279         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51280         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51281         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51282         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51283         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51284         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51285         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51286         * sysdeps/mach/hurd/check_fds.c: Likewise.
51287         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51288         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51289         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51290         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51291         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51292         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51293         * sysdeps/pthread/aio_notify.c: Likewise.
51294         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51295         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51296         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51297         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51298         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51300 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51302         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51303         version if bit_Slow_SSE4_2 is set.
51304         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51305         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51307 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51309         [BZ #15867]
51310         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51311         trampoline stack frame information.
51312         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51313         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51314         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51315         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51316         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51317         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51318         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51319         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51320         sa_flags value.
51321         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51322         interrupting a syscall and set with option SA_SIGINFO.
51324 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51326         [BZ #15531]
51327         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51328         argument is infinite.
51329         * math/s_cprojf.c (__cprojf): Likewise.
51330         * math/s_cprojl.c (__cprojl): Likewise.
51331         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51332         * math/libm-test.inc (cproj_test_data): Add more tests.
51334         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51336         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51337         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51338         size.  Use __ffs to determine corresponding shift.
51340 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51341             Roland McGrath  <roland@hack.frob.com>
51343         * Makefile (INSTALL): Remove trailing blank lines from output of
51344         makeinfo.
51346 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51348         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51349         Align 32 bit compat elf_greg to 8 bytes.
51351 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51353         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51355 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51357         * string/strcoll_l.c (coll_seq): New structure.
51358         (get_next_seq_cached): New function.
51359         (get_next_seq): New function.
51360         (do_compare): New function.
51361         (STRCOLL): Use GNU style definition.  Simplify implementation
51362         by using get_next_seq, get_next_seq_cached and do_compare.
51364 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51366         [BZ #14699]
51367         CVE-2013-4237
51368         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51369         member.
51370         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51371         member.
51372         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51373         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51374         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51375         conditional.
51376         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51377         GETDENTS_64BIT_ALIGNED.
51378         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51379         * manual/filesys.texi (Reading/Closing Directory): Document
51380         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51381         strongly.
51382         * manual/conf.texi (Limits for Files): Add portability note to
51383         NAME_MAX, PATH_MAX.
51384         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51386 2013-08-13  Andreas Schwab  <schwab@suse.de>
51388         [BZ #15749]
51389         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51390         of fabs.
51391         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51392         LDBL_MAX_EXP >= 16384]: Add tests for it.
51394 2013-08-12  David S. Miller  <davem@davemloft.net>
51396         * version.h (RELEASE): Set to "development".
51397         (VERSION): Set to "2.18.90".
51398         * NEWS: Add 2.19 section.
51400 2013-08-03  David S. Miller  <davem@davemloft.net>
51402         * po/ko.po: Update Korean translation from translation project.
51404 2013-08-01  David S. Miller  <davem@davemloft.net>
51406         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51407         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51408         Bilka.
51410 2013-07-30  David S. Miller  <davem@davemloft.net>
51412         * po/fr.po: Update French translation from translation project.
51414 2013-07-28  David S. Miller  <davem@davemloft.net>
51416         * po/cs.po: Update Czech translation from translation project.
51418         * po/sv.po: Update Swedish translation from translation project.
51420 2013-07-27  David S. Miller  <davem@davemloft.net>
51422         * po/eo.po: Update Esperanto translation from translation project.
51424         * po/vi.po: Update Vietnamese translation from translation project.
51426         * po/de.po: Update German translation from translation project.
51428 2013-07-26  David S. Miller  <davem@davemloft.net>
51430         * po/bg.po: Update Bulgarian translation from translation project.
51432         * po/nl.po: Update Dutch translation from translation project.
51433         * po/pl.po: Update Polish translation from translation project.
51434         * po/ru.po: Update Russian translation from translation project.
51436 2013-07-24  David S. Miller  <davem@davemloft.net>
51438         * po/libc.pot: Update.
51440 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51442         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51443         variable page size.
51444         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51445         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51446         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51448 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51450         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51452 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51453             Andreas Schwab  <schwab@suse.de>
51454             Roland McGrath  <roland@hack.frob.com>
51455             Joseph Myers  <joseph@codesourcery.com>
51456             Carlos O'Donell  <carlos@redhat.com>
51458         [BZ #15755]
51459         * config.h.in: Define HAVE_PT_CHOWN.
51460         * config.make.in (build-pt-chown): New variable.
51461         * configure.in (--enable-pt_chown): New configure option.
51462         * configure: Regenerate.
51463         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51464         build-pt-chown is enabled.
51465         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51466         pt_chown to fix pty ownership.
51467         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51468         CLOSE_ALL_FDS.
51469         * manual/install.texi (Configuring and compiling): Mention
51470         --enable-pt_chown. Add @findex for grantpt.
51471         * INSTALL: Regenerate.
51473 2013-07-20  David S. Miller  <davem@davemloft.net>
51475         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51476         difference between 32-bit and 64-bit.
51478 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51480         [BZ #15711]
51481         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51482         Avoid system header dependency with -ffreestanding.
51483         ($(objpfx)bits/syscall%d): Likewise.
51485 2013-07-13  David S. Miller  <davem@davemloft.net>
51487         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51488         underflows from atanl/atan2l due to bug 15319.
51489         (casinh_test_data): Likewise.
51491 2013-07-07  David S. Miller  <davem@davemloft.net>
51493         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51495 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51497         * sysdeps/i386/fpu/libm-test-ulps: Update.
51498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51500 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51502         * configure.in (--enable-lock-elision): Fix message text.
51503         * INSTALL: Regenerate.
51504         * configure: Regenerate.
51506 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51510 2013-07-03  Andreas Jaeger  <aj@suse.de>
51512         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51513         define.
51514         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51515         (ptrace_peeksiginfo_args): Add.
51516         (__ptrace_peeksiginfo_flags): Add.
51517         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51518         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51519         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51521 2013-07-03  Allan McRae  <allan@archlinux.org>
51523         * sysdeps/i386/fpu/libm-test-ulps: Update.
51525 2013-07-02  David S. Miller  <davem@davemloft.net>
51527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51529 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51533 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51535         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51538 2013-07-02  Andi Kleen <ak@linux.intel.com>
51540         * config.h.in (ENABLE_LOCK_ELISION): Add.
51541         * configure.in (--enable-lock-elision): Add option.
51542         * manual/install.texi: Document --enable lock elision.
51543         * configure: Regenerate
51544         * INSTALL: Regenerate.
51546 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51548         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51549         SSE4.2 strcasecmp for libc.a.
51550         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51552 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51554         [BZ #13304]
51555         * soft-fp/op-common.h (_FP_FMA): New macro.
51556         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51557         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51558         (_FP_MUL_MEAT_1_imm): ... here.
51559         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51560         (_FP_MUL_MEAT_1_wide): ... here.
51561         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51562         (_FP_MUL_MEAT_1_hard): ... here.
51563         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51564         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51565         (_FP_MUL_MEAT_2_wide): ... here.
51566         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51567         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51568         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51569         (_FP_MUL_MEAT_2_gmp): ... here.
51570         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51571         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51572         (_FP_MUL_MEAT_4_wide): ... here.
51573         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51574         (_FP_MUL_MEAT_4_gmp): ... here.
51575         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51576         (_FP_WFRACBITS_DW_S): Likewise.
51577         (_FP_WFRACXBITS_DW_S): Likewise.
51578         (_FP_HIGHBIT_DW_S): Likewise.
51579         (FP_FMA_S): Likewise.
51580         (_FP_FRAC_HIGH_DW_S): Likewise.
51581         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51582         (_FP_WFRACBITS_DW_D): Likewise.
51583         (_FP_WFRACXBITS_DW_D): Likewise.
51584         (_FP_HIGHBIT_DW_D): Likewise.
51585         (FP_FMA_D): Likewise.
51586         (_FP_FRAC_HIGH_DW_D): Likewise.
51587         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51588         (_FP_WFRACBITS_DW_E): Likewise.
51589         (_FP_WFRACXBITS_DW_E): Likewise.
51590         (_FP_HIGHBIT_DW_E): Likewise.
51591         (FP_FMA_E): Likewise.
51592         (_FP_FRAC_HIGH_DW_E): Likewise.
51593         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51594         (_FP_WFRACBITS_DW_Q): Likewise.
51595         (_FP_WFRACXBITS_DW_Q): Likewise.
51596         (_FP_HIGHBIT_DW_Q): Likewise.
51597         (FP_FMA_Q): Likewise.
51598         (_FP_FRAC_HIGH_DW_Q): Likewise.
51599         * soft-fp/fmasf4.c: New file.
51600         * soft-fp/fmadf4.c: Likewise.
51601         * soft-fp/fmatf4.c: Likewise.
51603 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51606         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51607         Silvermont.
51608         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51609         macro.
51610         (index_Slow_SSE4_2): Likewise.
51611         (index_Prefer_PMINUB_for_stringop): Likewise.
51612         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51613         bit_Slow_SSE4_2 is set.
51614         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51615         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51617 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51619         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51620         rtld_global._dl_hwcap2.
51621         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51622         POWER8.
51623         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51624         POWER8 feature descriptions defined in _dl_hwcap2.
51625         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51626         string handling for POWER8 feature bits.
51627         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51628         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51629         _dl_powerpc_cap_flags.
51630         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51631         * sysdeps/powerpc/rtld-global-offsets.sym
51632         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51633         _dl_hwcap2 in the rtld_global_ro structure.
51635 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51637         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51638         hardware capabilities in support of AT_HWCAP2.
51639         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51640         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51641         GLRO(dl_hwcap2).
51642         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51643         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51644         explicitly the unknown a_type display mechanism is used.
51645         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51646         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51647         struct member.
51648         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51649         to macro prototype for AT_HWCAP2 support.
51650         * sysdeps/i386/dl-procinfo.h: Likewise.
51651         * sysdeps/s390/dl-procinfo.h: Likewise.
51652         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51653         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51654         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51655         return -1 for unknown a_type display fallback.
51656         * sysdeps/sparc/dl-procinfo.h: Likewise.
51657         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51658         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51660 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51662         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51663         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51665 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51667         [BZ #12492]
51668         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51669         mprotect making __stack_prot writable.
51671 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51672             Joseph Myers  <joseph@codesourcery.com>
51674         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51675         as being properly aligned.
51677 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51679         * dlfcn/modstatic5.c: New file.
51680         * dlfcn/tststatic5.c: New file.
51681         * dlfcn/Makefile (tests): Add tststatic5.
51682         (tests-static): Likewise.
51683         (modules-names): Add modstatic5.
51684         (tststatic5-ENV): New variable.
51685         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51687         [BZ #15022]
51688         * elf/dl-support.c (_dl_main_map): New variable.
51689         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51690         (_dl_nns, _dl_load_adds): Set to 1.
51691         (_dl_initial_searchlist): Refer to _dl_main_map.
51692         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51693         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51694         call to _dl_get_origin.
51695         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51696         around call_map.
51697         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51698         * dlfcn/modstatic3.c: New file.
51699         * dlfcn/tststatic3.c: New file.
51700         * dlfcn/tststatic4.c: New file.
51701         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51702         (tests-static): Likewise.
51703         (modules-names): Add modstatic3.
51704         (tststatic3-ENV, tststatic4-ENV): New variables.
51705         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51706         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51708 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51710         * configure.in (CC): Require GCC version 4.4 or later.
51711         * configure: Regenerated.
51712         * manual/install.texi (Tools for Compilation): Update GCC version
51713         requirement.
51714         * INSTALL: Regenerated.
51716 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51718         [BZ #15674]
51719         * string/test-memcmp.c (check2): New.
51720         (main): Call check2.
51722         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51724 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51726         [BZ #15022]
51727         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51728         over to...
51729         (dl_open_worker) [!SHARED]: ... here.
51731 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51733         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51735 2013-06-25  Richard Henderson  <rth@redhat.com>
51737         * locale/programs/locarchive.c: Include <libc-internal.h>
51739 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51741         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51742         trailing whitespace removed.
51744 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51746         [BZ #10283]
51747         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51748         * locale/programs/locarchive.c: Include libc-mmap.h.
51749         (prepare_address_space): Take two new outputs (the mmap base and len).
51750         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51751         values.
51752         (create_archive): Declare new mmap base and len values for
51753         prepare_address_space, and store the result in ah.
51754         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51755         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51756         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51757         Declare new mmap base and len values for
51758         prepare_address_space, and store the result in new_ah.
51759         (open_archive): Declare new mmap base and len values for
51760         prepare_address_space, and store the result in ah.
51761         (close_archive): If ah->mmap_base is not NULL, use that and
51762         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51763         * sysdeps/generic/libc-mmap.h: New file.
51765 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51767         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51768         (ALIGN_UP): Likewise.
51769         (PTR_ALIGN_DOWN): Likewise.
51770         (PTR_ALIGN_UP): Likewise.
51772 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51774         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51775         entry mapped to PPC_PLATFORM_POWER8.
51776         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51777         POWER8.
51778         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51779         (_dl_string_platform): Add case for exporting platform position for
51780         POWER8.
51781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51782         search path to sysdeps/powerpc/powerpc32/power8 directory.
51783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51784         search path to sysdeps/powerpc/powerpc64/power8 directory.
51785         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51786         power7 directories.
51787         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51788         power7 directories.
51790 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51792         * INSTALL: Regenerate.
51794         * nscd/connections.c (nscd_init): Fix comment.
51796 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51798         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51800         [BZ #15667]
51801         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51802         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51804 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51806         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51807         DL_DST_REQ_STATIC.
51808         (DL_DST_REQ_STATIC): Remove macro.
51810 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51812         [BZ #7006]
51813         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51814         with a shift of 0 bits.
51816 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51818         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51819         $(tststatic-ENV).
51821 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51823         [BZ #15655]
51824         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51826 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51828         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51829         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51830         accepts -fno-tree-loop-distribute-patterns.
51831         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51832         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51833         recursive call.
51834         * string/memset.c (memset): Likewise.
51835         * string/test-memmove.c (simple_memmove): Disable loop transformation
51836         to library calls.
51837         * string/test-memset.c (simple_memset): Likewise.
51838         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51839         * benchtests/bench-memset.c (simple_memset): Likewise.
51840         * configure: Regenerated.
51842 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51844         * math/test-misc.c (main): Ignore fesetround failure when failures
51845         of subsequent rounding tests would be ignored.
51847         [BZ #15654]
51848         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51849         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51850         * math/fegetenv.c (__fegetenv): Return 0.
51851         * math/fegetexcept.c (fegetexcept): Return 0.
51852         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51853         FE_TONEAREST.
51854         * math/feholdexcpt.c (feholdexcept): Return 0.
51855         * math/fesetenv.c (__fesetenv): Return 0.
51856         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51857         argument FE_TONEAREST.
51858         * math/feupdateenv.c (__feupdateenv): Return 0.
51859         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51861 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51863         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51864         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51865         ($(objpfx)rtld-%.os rules): Use them.
51867 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51869         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51870         fields.
51872 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51874         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51875         length of target pattern, then descending length of dependency pattern.
51876         * configure.in (AWK): Require gawk 3.1.2 or newer.
51877         * manual/install.texi (Tools for Compilation): Say that we do.
51878         * configure: Regenerated.
51880         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51881         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51882         * scripts/sysd-rules.awk: ... this new script.
51883         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51884         than a glob-style pattern.
51886 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51888         * math/test-misc.c (main): Do not treat incorrectly rounded
51889         conversions as failure unless ROUNDING_TESTS passes.
51891 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51893         [BZ #15631]
51894         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51895         restore exception state around main square root computation, then
51896         check for inexactness explicitly.
51898         * math/libm-test.inc (fma_test_data): Add another test.
51900 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51902         * manual/threads.texi (Non-POSIX Extensions): New document
51903         node.  Document pthread_getattr_default_np and
51904         pthread_setattr_default_np.
51906         * Versions.def (libpthread): Add GLIBC_2.18.
51907         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51909         Likewise.
51910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51911         Likewise.
51912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51913         Likewise.
51914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51915         Likewise.
51916         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51917         Likewise.
51918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51919         Likewise.
51920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51921         Likewise.
51922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51923         Likewise.
51924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51925         Likewise.
51927 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51930         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51932 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51933             H.J. Lu  <hjl.tools@gmail.com>
51935         [BZ #15627]
51936         * sysdeps/x86_64/rtld-memset.c: Remove file.
51937         * sysdeps/x86_64/rtld-memset.S: New file.
51939 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51941         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51942         (test_in_one_mode): Take arguments for whether the rounding mode
51943         is supported for each floating-point type.
51944         (do_test): Pass new arguments to test_in_one_mode using
51945         ROUNDING_TESTS.
51947 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51949         * posix/tst-waitid.c (do_test): Distinguish different instances of
51950         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51951         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51952         before entering the kernel for waitpid.
51954 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51956         * NEWS: Fix note on clock function precision.  Text by Roland
51957         McGrath.
51959 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51961         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51962         it into place only when and if the sanity check passes.
51964 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51966         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51967         output for whether conversion result is exact.  Take argument
51968         indicating whether type is IBM long double.
51969         (round_for_all): Change need_exact field to ibm_ld.
51970         * stdlib/tst-strtod-round.c (struct exactness): New type.
51971         (struct test): Change bool ld_ok field to struct exactness exact.
51972         (TEST): Update all definitions for change to field.
51973         (tests): Regenerate array contents.
51974         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51975         field value.  Check for IBM long double here.
51976         (do_test): Update calls to test_in_one_mode.
51978 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51980         [BZ #12515]
51981         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51982         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51984 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51986         [BZ #15605]
51987         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51988         generated by the compiler on loop optimizations.
51989         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51990         general definitions.
51992 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51994         * math/bug-nextafter.c: Include <math-tests.h>.
51995         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51996         the relevant type.
51997         * math/bug-nexttoward.c: Include <math-tests.h>.
51998         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51999         the relevant type.
52000         * math/test-misc.c: Include <math-tests.h>.
52001         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52002         the relevant type.
52004 2013-06-12  Andreas Jaeger  <aj@suse.de>
52006         * po/ia.po: Update Interlingua translation from translation
52007         project.
52009 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52011         * include/fenv.h: Include stdbool.h.
52012         (struct rm_ctx): New structure.
52013         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52014         Define macro.
52015         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52016         (SET_RESTORE_ROUNDF): Likewise.
52017         (SET_RESTORE_ROUNDL): Likewise.
52018         (SET_RESTORE_ROUND_NOEX): Likewise.
52019         (SET_RESTORE_ROUND_NOEXF): Likewise.
52020         (SET_RESTORE_ROUND_NOEXL): Likewise.
52021         (SET_RESTORE_ROUND_53BIT): Likewise.
52022         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52023         (libc_feresetround_noexf_ctx): Likewise.
52024         (libc_feresetround_noexl_ctx): Likewise.
52025         (libc_feholdsetround_53bit_ctx): Likewise.
52026         (libc_feresetround_53bit_ctx): Likewise.
52027         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52028         (libc_feholdexcept_setround_sse_ctx): New function.
52029         (libc_fesetenv_sse_ctx): Likewise.
52030         (libc_feupdateenv_sse_ctx): Likewise.
52031         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52032         (libc_feholdexcept_setround_387_ctx): Likewise.
52033         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52034         (libc_feholdsetround_387_prec_ctx): Likewise.
52035         (libc_feholdsetround_387_ctx): Likewise.
52036         (libc_feholdsetround_387_53bit_ctx): Likewise.
52037         (libc_feholdsetround_sse_ctx): Likewise.
52038         (libc_feresetround_sse_ctx): Likewise.
52039         (libc_feresetround_387_ctx): Likewise.
52040         (libc_feupdateenv_387_ctx): Likewise.
52041         (libc_feholdexcept_setroundf_ctx): Define macro.
52042         (libc_fesetenvf_ctx): Likewise.
52043         (libc_feupdateenvf_ctx): Likewise.
52044         (libc_feholdsetroundf_ctx): Likewise.
52045         (libc_feresetroundf_ctx): Likewise.
52046         (libc_feholdexcept_setround_ctx): Likewise.
52047         (libc_fesetenv_ctx): Likewise.
52048         (libc_feupdateenv_ctx): Likewise.
52049         (libc_feholdsetround_ctx): Likewise.
52050         (libc_feresetround_ctx): Likewise.
52051         (libc_feholdexcept_setroundl_ctx): Likewise.
52052         (libc_feupdateenvl_ctx): Likewise.
52053         (libc_feholdsetroundl_ctx): Likewise.
52054         (libc_feresetroundl_ctx): Likewise.
52055         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52056         (libc_feresetround_53bit_ctx): Likewise.
52058 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52060         * locale/iso-639.def: Convert to UTF-8.
52062 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52064         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52065         (EXCEPTION_TESTS_double): Likewise.
52066         (EXCEPTION_TESTS_long_double): Likewise.
52067         (EXCEPTION_TESTS): Likewise.
52068         * math/libm-test.inc (test_exceptions): Only test exceptions if
52069         EXCEPTION_TESTS (FLOAT).
52071 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52073         * benchtests/Makefile (string-bench): Add strcpy_chk and
52074         stpcpy_chk.
52075         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52076         * benchtests/bench-stpcpy_chk.c: New file.
52077         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52078         * benchtests/bench-strcpy_chk.c: New file.
52079         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52080         code.
52081         (do_test): Likewise.
52083 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52085         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52086         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52087         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52088         with tabs where appropriate.
52089         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52090         dl-procinfo.h.
52091         [PPC_PLATFORM_PPC440]: Likewise.
52092         [PPC_PLATFORM_PPC464]: Likewise.
52093         [PPC_PLATFORM_PPC476]: Likewise.
52094         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52095         ppc464, and ppc476 platform strings merging from ports/
52096         dl-procinfo.h.
52098 2013-06-11  Andreas Schwab  <schwab@suse.de>
52100         [BZ #14991]
52101         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52102         (from_ucs4_idx): Regenerate.
52103         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52104         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52105         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52106         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52107         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52108         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52109         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52110         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52111         from FROM_LOOP and TO_LOOP specific macros.
52112         (BODY): Handle combining characters.
52113         * iconvdata/BIG5HKSCS.irreversible: Update.
52114         * iconvdata/BIG5HKSCS.precomposed: New file.
52115         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52116         characters.
52117         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52119 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52121         * include/sys/time.h: Fix indentation and add copyright header.
52123         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52124         (do_test): Likewise.
52125         * string/test-memchr.c (do_one_test): Likewise.
52126         (do_test): Likewise.
52127         * string/test-memcmp.c (do_one_test): Likewise.
52128         (do_test): Likewise.
52129         * string/test-memcpy.c (do_one_test): Likewise.
52130         (do_test): Likewise.
52131         * string/test-memmem.c (do_one_test): Likewise.
52132         (do_test): Likewise.
52133         (do_random_tests): Likewise.
52134         * string/test-memmove.c (do_one_test): Likewise.
52135         (do_test): Likewise.
52136         * string/test-memset.c (do_one_test): Likewise.
52137         (do_test): Likewise.
52138         * string/test-rawmemchr.c (do_one_test): Likewise.
52139         (do_test): Likewise.
52140         * string/test-strcasecmp.c (do_one_test): Likewise.
52141         (do_test): Likewise.
52142         * string/test-strcasestr.c (do_one_test): Likewise.
52143         (do_test): Likewise.
52144         * string/test-strcat.c (do_one_test): Likewise.
52145         (do_test): Likewise.
52146         * string/test-strchr.c (do_one_test): Likewise.
52147         (do_test): Likewise.
52148         * string/test-strcmp.c (do_one_test): Likewise.
52149         (do_test): Likewise.
52150         * string/test-strcpy.c (do_one_test): Likewise.
52151         (do_test): Likewise.
52152         * string/test-string.h: Likewise.
52153         (test_init): Likewise.
52154         * string/test-strlen.c (do_one_test): Likewise.
52155         (do_test): Likewise.
52156         * string/test-strncasecmp.c (do_one_test): Likewise.
52157         (do_test): Likewise.
52158         * string/test-strncat.c (do_one_test): Likewise.
52159         (do_test): Likewise.
52160         * string/test-strncmp.c (do_one_test): Likewise.
52161         (do_test_limit): Likewise.
52162         (do_test): Likewise.
52163         * string/test-strncpy.c (do_one_test): Likewise.
52164         (do_test): Likewise.
52165         * string/test-strnlen.c (do_one_test): Likewise.
52166         (do_test): Likewise.
52167         * string/test-strpbrk.c (do_one_test): Likewise.
52168         (do_test): Likewise.
52169         * string/test-strrchr.c (do_one_test): Likewise.
52170         (do_test): Likewise.
52171         * string/test-strspn.c (do_one_test): Likewise.
52172         (do_test): Likewise.
52173         * string/test-strstr.c (do_one_test): Likewise.
52174         (do_test): Likewise.
52176         * benchtests/Makefile (string-bench): Add string benchmarks.
52177         * benchtests/bench-bcopy-ifunc.c: New file.
52178         * benchtests/bench-bcopy.c: New file.
52179         * benchtests/bench-bzero-ifunc.c: New file.
52180         * benchtests/bench-bzero.c: New file.
52181         * benchtests/bench-memccpy-ifunc.c: New file.
52182         * benchtests/bench-memccpy.c: New file.
52183         * benchtests/bench-memchr-ifunc.c: New file.
52184         * benchtests/bench-memchr.c: New file.
52185         * benchtests/bench-memcmp-ifunc.c: New file.
52186         * benchtests/bench-memcmp.c: New file.
52187         * benchtests/bench-memmem-ifunc.c: New file.
52188         * benchtests/bench-memmem.c: New file.
52189         * benchtests/bench-memmove-ifunc.c: New file.
52190         * benchtests/bench-memmove.c: New file.
52191         * benchtests/bench-mempcpy-ifunc.c: New file.
52192         * benchtests/bench-mempcpy.c: New file.
52193         * benchtests/bench-memset-ifunc.c: New file.
52194         * benchtests/bench-memset.c: New file.
52195         * benchtests/bench-rawmemchr-ifunc.c: New file.
52196         * benchtests/bench-rawmemchr.c: New file.
52197         * benchtests/bench-stpcpy-ifunc.c: New file.
52198         * benchtests/bench-stpcpy.c: New file.
52199         * benchtests/bench-stpncpy-ifunc.c: New file.
52200         * benchtests/bench-stpncpy.c: New file.
52201         * benchtests/bench-strcasecmp-ifunc.c: New file.
52202         * benchtests/bench-strcasecmp.c: New file.
52203         * benchtests/bench-strcasestr-ifunc.c: New file.
52204         * benchtests/bench-strcasestr.c: New file.
52205         * benchtests/bench-strcat-ifunc.c: New file.
52206         * benchtests/bench-strcat.c: New file.
52207         * benchtests/bench-strchr-ifunc.c: New file.
52208         * benchtests/bench-strchr.c: New file.
52209         * benchtests/bench-strchrnul-ifunc.c: New file.
52210         * benchtests/bench-strchrnul.c: New file.
52211         * benchtests/bench-strcmp-ifunc.c: New file.
52212         * benchtests/bench-strcmp.c: New file.
52213         * benchtests/bench-strcpy-ifunc.c: New file.
52214         * benchtests/bench-strcpy.c: New file.
52215         * benchtests/bench-strcspn-ifunc.c: New file.
52216         * benchtests/bench-strcspn.c: New file.
52217         * benchtests/bench-strlen-ifunc.c: New file.
52218         * benchtests/bench-strlen.c: New file.
52219         * benchtests/bench-strncasecmp-ifunc.c: New file.
52220         * benchtests/bench-strncasecmp.c: New file.
52221         * benchtests/bench-strncat-ifunc.c: New file.
52222         * benchtests/bench-strncat.c: New file.
52223         * benchtests/bench-strncmp-ifunc.c: New file.
52224         * benchtests/bench-strncmp.c: New file.
52225         * benchtests/bench-strncpy-ifunc.c: New file.
52226         * benchtests/bench-strncpy.c: New file.
52227         * benchtests/bench-strnlen-ifunc.c: New file.
52228         * benchtests/bench-strnlen.c: New file.
52229         * benchtests/bench-strpbrk-ifunc.c: New file.
52230         * benchtests/bench-strpbrk.c: New file.
52231         * benchtests/bench-strrchr-ifunc.c: New file.
52232         * benchtests/bench-strrchr.c: New file.
52233         * benchtests/bench-strspn-ifunc.c: New file.
52234         * benchtests/bench-strspn.c: New file.
52235         * benchtests/bench-strstr-ifunc.c: New file.
52236         * benchtests/bench-strstr.c: New file.
52238         * benchtests/Makefile: Disable parallel execution of targets.
52239         (string-bench): Add memcpy.
52240         (benchset): New variable to store a list of benchmark sets.
52241         (bench-func): Renamed from bench.
52242         (bench-set): New target.
52243         (bench): Depend on bench-func and bench-set.
52244         * benchtests/README: Add section on benchmark sets.
52245         * benchtests/bench-memcpy-ifunc.c: New file.
52246         * benchtests/bench-memcpy.c: New file.
52247         * benchtests/bench-string.h: New file.
52249 2013-06-11  Andreas Schwab  <schwab@suse.de>
52251         [BZ #15577]
52252         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52253         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52254         values in the triple.
52255         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52256         terminator in the group key.
52258 2013-06-11  Andreas Jaeger  <aj@suse.de>
52260         * po/zh_TW.po: Update Chinese (traditional) translation from
52261         translation project.
52263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52265         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52266         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52267         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52268         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52269         (clock_getcpuclockid): Likewise.
52270         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52271         Add weak_alias and libc_hidden_def.
52272         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52273         * rt/clock_gettime.c (clock_gettime): Rename to
52274         __clock_gettime.  Add weak_alias and libc_hidden_def.
52275         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52276         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52277         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52278         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52279         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52280         Likewise.
52281         * rt/clock_settime.c (clock_settime): Rename to
52282         __clock_settime.  Add weak_alias and libc_hidden_def.
52283         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52285 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52287         * mach/err_boot.sub: Remove trailing whitespace.
52288         * mach/err_ipc.sub: Likewise.
52289         * mach/err_mach.sub: Likewise.
52291         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52292         (ROUNDING_TESTS_double): Likewise.
52293         (ROUNDING_TESTS_long_double): Likewise.
52294         (ROUNDING_TESTS): Likewise.
52295         * math/libm-test.inc: Include <math-tests.h>.
52296         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52297         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52298         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52299         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52301 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52303         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52304         of assigning.
52306 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52308         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52309         otherwise empty TRANS lines.
52310         * sysdeps/gnu/errlist.c: Regenerated.
52312         * catgets/gencat.c (error_print): Use (void) in function
52313         definition.
52314         * crypt/crypt_util.c (__init_des): Likewise.
52315         * crypt/speeds.c (Stop): Likewise.
52316         (main): Likewise.
52317         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52318         * inet/ruserpass.c (token): Likewise.
52319         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52320         * intl/localealias.c (extend_alias_table): Likewise.
52321         * intl/plural-exp.c (init_germanic_plural): Likewise.
52322         * libio/fcloseall.c (__fcloseall): Likewise.
52323         * libio/genops.c (_IO_flush_all): Likewise.
52324         (_IO_flush_all_linebuffered): Likewise.
52325         (_IO_cleanup): Likewise.
52326         (_IO_iter_begin): Likewise.
52327         (_IO_iter_end): Likewise.
52328         (_IO_list_lock): Likewise.
52329         (_IO_list_unlock): Likewise.
52330         (_IO_list_resetlock): Likewise.
52331         * libio/getchar.c (getchar): Likewise.
52332         * libio/getchar_u.c (getchar_unlocked): Likewise.
52333         * libio/getwchar.c (getwchar): Likewise.
52334         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52335         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52336         * login/getpt.c (__getpt): Likewise.
52337         * login/tst-utmp.c (main): Likewise.
52338         * malloc/hooks.c (__malloc_check_init): Likewise.
52339         * malloc/malloc.c (__malloc_stats): Likewise.
52340         * malloc/mtrace.c (tr_break): Likewise.
52341         (mtrace): Likewise.
52342         (muntrace): Likewise.
52343         * misc/fstab.c (endfsent): Likewise.
52344         * misc/getclktck.c (__getclktck): Likewise.
52345         * misc/getdtsz.c (__getdtablesize): Likewise.
52346         * misc/gethostid.c (gethostid): Likewise.
52347         * misc/getpagesize.c (__getpagesize): Likewise.
52348         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52349         (__get_nprocs): Likewise.
52350         (__get_phys_pages): Likewise.
52351         (__get_avphys_pages): Likewise.
52352         * misc/getttyent.c (getttyent): Likewise.
52353         (setttyent): Likewise.
52354         (endttyent): Likewise.
52355         * misc/getusershell.c (getusershell): Likewise.
52356         (endusershell): Likewise.
52357         (setusershell): Likewise.
52358         (initshells): Likewise.
52359         * misc/hsearch.c (__hdestroy): Likewise.
52360         * misc/sync.c (sync): Likewise.
52361         * misc/syslog.c (closelog_internal): Likewise.
52362         (closelog): Likewise.
52363         * misc/ttyslot.c (ttyslot): Likewise.
52364         * misc/vhangup.c (vhangup): Likewise.
52365         * posix/fork.c (__fork): Likewise.
52366         * posix/getegid.c (__getegid): Likewise.
52367         * posix/geteuid.c (__geteuid): Likewise.
52368         * posix/getgid.c (__getgid): Likewise.
52369         * posix/getpid.c (__getpid): Likewise.
52370         * posix/getppid.c (__getppid): Likewise.
52371         * posix/getuid.c (__getuid): Likewise.
52372         * posix/pause.c (pause): Likewise.
52373         * posix/setpgrp.c (setpgrp): Likewise.
52374         * posix/setsid.c (__setsid): Likewise.
52375         * posix/test-vfork.c (noop): Likewise.
52376         * resolv/gethnamaddr.c (_endhtent): Likewise.
52377         (_gethtent): Likewise.
52378         (ht_endhostent): Likewise.
52379         (gethostent): Likewise.
52380         (dns_service): Likewise.
52381         * stdlib/drand48.c (drand48): Likewise.
52382         * stdlib/lrand48.c (lrand48): Likewise.
52383         * stdlib/mrand48.c (mrand48): Likewise.
52384         * stdlib/rand.c (rand): Likewise.
52385         * stdlib/random.c (__random): Likewise.
52386         * stdlib/setenv.c (clearenv): Likewise.
52387         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52388         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52389         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52390         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52391         (__get_nprocs): Likewise.
52392         (__get_phys_pages): Likewise.
52393         (__get_avphys_pages): Likewise.
52394         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52395         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52396         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52397         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52398         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52399         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52400         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52401         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52402         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52403         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52404         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52405         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52406         * sysdeps/posix/clock.c (clock): Likewise.
52407         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52408         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52409         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52410         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52411         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52412         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52413         (__get_nprocs_conf): Likewise.
52414         (__get_phys_pages): Likewise.
52415         (__get_avphys_pages): Likewise.
52416         * time/clock.c (clock): Likewise.
52417         * time/tzset.c (__tzname_max): Likewise.
52419 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52421         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52422         (__bswap_32): Do not use "register".
52423         * crypt/crypt.c (_ufc_doit_r): Likewise.
52424         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52425         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52426         * gmon/gmon.c (__monstartup): Likewise.
52427         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52428         * hurd/hurdmalloc.c (more_memory): Likewise.
52429         (malloc): Likewise.
52430         (free): Likewise.
52431         (realloc): Likewise.
52432         (malloc_fork_prepare): Likewise.
52433         (malloc_fork_parent): Likewise.
52434         (malloc_fork_child): Likewise.
52435         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52436         (_svcauth_des): Likewise.
52437         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52438         * inet/inet_net.c (inet_network): Likewise.
52439         * inet/inet_netof.c (inet_netof): Likewise.
52440         * inet/rcmd.c (__validuser2_sa): Likewise.
52441         * io/fts.c (fts_open): Likewise.
52442         (fts_load): Likewise.
52443         (fts_close): Likewise.
52444         (fts_read): Likewise.
52445         (fts_children): Likewise.
52446         (fts_build): Likewise.
52447         (fts_stat): Likewise.
52448         (fts_sort): Likewise.
52449         (fts_alloc): Likewise.
52450         (fts_lfree): Likewise.
52451         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52452         (_IO_file_xsgetn): Likewise.
52453         (_IO_file_xsgetn_mmap): Likewise.
52454         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52455         (_IO_cookie_write): Likewise.
52456         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52457         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52458         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52459         * malloc/obstack.c (_obstack_begin): Likewise.
52460         (_obstack_begin_1): Likewise.
52461         (_obstack_newchunk): Likewise.
52462         (_obstack_allocated_p): Likewise.
52463         (obstack_free): Likewise.
52464         (_obstack_memory_used): Likewise.
52465         * misc/getttyent.c (getttynam): Likewise.
52466         (getttyent): Likewise.
52467         (skip): Likewise.
52468         (value): Likewise.
52469         * misc/getusershell.c (initshells): Likewise.
52470         * misc/syslog.c (__vsyslog_chk): Likewise.
52471         * misc/ttyslot.c (ttyslot): Likewise.
52472         * nis/nis_hash.c (__nis_hash): Likewise.
52473         * posix/fnmatch_loop.c (FCT): Likewise.
52474         * posix/getconf.c (print_all): Likewise.
52475         (main): Likewise.
52476         * posix/getopt.c (exchange): Likewise.
52477         * posix/glob.c (globfree): Likewise.
52478         (prefix_array): Likewise.
52479         (__glob_pattern_type): Likewise.
52480         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52481         (NS_GET32): Likewise.
52482         (NS_PUT16): Likewise.
52483         (NS_PUT32): Likewise.
52484         * resolv/gethnamaddr.c (getanswer): Likewise.
52485         (gethostbyname2): Likewise.
52486         (gethostbyaddr): Likewise.
52487         (_gethtent): Likewise.
52488         (_gethtbyname2): Likewise.
52489         (_gethtbyaddr): Likewise.
52490         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52491         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52492         * resolv/res_init.c (__res_vinit): Likewise.
52493         (net_mask): Likewise.
52494         * resolv/res_mkquery.c (outchar): Likewise.
52495         (PRINT): Likewise.
52496         * stdio-common/printf_fp.c (outchar): Likewise.
52497         (PRINT): Likewise.
52498         * stdio-common/printf_fphex.c (outchar): Likewise.
52499         (PRINT): Likewise.
52500         * stdio-common/printf_size.c (outchar): Likewise.
52501         (PRINT): Likewise.
52502         * stdio-common/test_rdwr.c (main): Likewise.
52503         * stdio-common/tfformat.c (matches): Likewise.
52504         * stdio-common/vfprintf.c (outchar): Likewise.
52505         (printf_unknown): Likewise.
52506         (buffered_vfprintf): Likewise.
52507         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52508         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52509         (ReadFile): Likewise.
52510         * stdlib/qsort.c (SWAP): Likewise.
52511         (_quicksort): Likewise.
52512         * stdlib/setenv.c (__add_to_environ): Likewise.
52513         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52514         * stdlib/strtol_l.c (__strtol_l): Likewise.
52515         * stdlib/tst-strtod.c (main): Likewise.
52516         * stdlib/tst-strtol.c (main): Likewise.
52517         * stdlib/tst-strtoll.c (main): Likewise.
52518         * string/bits/string2.h (__strcmp_cc): Likewise.
52519         (__strcmp_cg): Likewise.
52520         (__strcspn_c1): Likewise.
52521         (__strcspn_c2): Likewise.
52522         (__strcspn_c3): Likewise.
52523         (__strspn_c1): Likewise.
52524         (__strspn_c2): Likewise.
52525         (__strspn_c3): Likewise.
52526         (__strsep_1c): Likewise.
52527         (__strsep_2c): Likewise.
52528         (__strsep_3c): Likewise.
52529         * string/memccpy.c (__memccpy): Likewise.
52530         * string/stpcpy.c (__stpcpy): Likewise.
52531         * string/strcmp.c (strcmp): Likewise.
52532         * string/strrchr.c (strrchr): Likewise.
52533         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52534         Likewise.
52535         * sysdeps/mach/hurd/getcwd.c
52536         (_hurd_canonicalize_directory_name_internal): Likewise.
52537         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52538         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52539         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52540         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52541         Likewise, in both definitions.
52542         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52543         definitions.
52544         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52545         64] (__bswap_64): Likewise.
52546         * time/test_time.c (main): Likewise.
52547         * time/tzfile.c (__tzfile_read): Likewise.
52548         (__tzfile_compute): Likewise.
52549         * time/tzset.c (__tzset_parse_tz): Likewise.
52550         (tzset_internal): Likewise.
52551         (compute_change): Likewise.
52552         * wcsmbs/wcscat.c (__wcscat): Likewise.
52553         * wcsmbs/wcschr.c (wcschr): Likewise.
52554         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52555         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52556         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52557         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52558         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52559         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52560         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52561         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52562         * wcsmbs/wmemset.c (wmemset): Likewise.
52564 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52566         * scripts/config.guess: Update to version 2013-05-16.
52567         * scripts/config.sub: Update to version 2013-04-24.
52568         * scripts/install-sh: Update to version 2011-11-20.07.
52569         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52570         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52572 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52574         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52575         * elf/sln.c: Likewise.
52576         * hurd/hurd/ioctl.h: Likewise.
52577         * hurd/hurdmalloc.c: Likewise.
52578         * hurd/xattr.c: Likewise.
52579         * include/shlib-compat.h: Likewise.
52580         * inet/ruserpass.c: Likewise.
52581         * libio/iofgets_u.c: Likewise.
52582         * libio/iofgetws_u.c: Likewise.
52583         * locale/programs/ld-identification.c: Likewise.
52584         * locale/programs/ld-time.c: Likewise.
52585         * mach/msg-destroy.c: Likewise.
52586         * nss/nss_files/files-netgrp.c: Likewise.
52587         * resolv/res_data.c: Likewise.
52588         * soft-fp/op-1.h: Likewise.
52589         * soft-fp/op-2.h: Likewise.
52590         * soft-fp/op-4.h: Likewise.
52591         * soft-fp/op-common.h: Likewise.
52592         * stdio-common/printf_fphex.c: Likewise.
52593         * stdlib/strtod_l.c: Likewise.
52594         * sunrpc/rpc/clnt.h: Likewise.
52595         * sysdeps/generic/framestate.c: Likewise.
52596         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52597         * sysdeps/i386/bsd-setjmp.S: Likewise.
52598         * sysdeps/i386/__longjmp.S: Likewise.
52599         * sysdeps/i386/setjmp.S: Likewise.
52600         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52601         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52602         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52603         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52605         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52618         * sysdeps/ieee754/support.c: Likewise.
52619         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52620         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52621         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52622         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52623         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52624         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52625         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52626         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52627         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52628         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52629         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52630         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52631         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52632         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52633         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52634         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52635         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52638 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52640         * posix/transbug.c: Remove executable mode.
52642 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52644         * crypt/speeds.c: Remove trailing whitespace.
52645         * dlfcn/default.c: Likewise.
52646         * elf/ifuncdep2.c: Likewise.
52647         * elf/ifuncmain1.c: Likewise.
52648         * elf/ifuncmain1vis.c: Likewise.
52649         * elf/testobj.h: Likewise.
52650         * elf/tst-stackguard1.c: Likewise.
52651         * gmon/sys/gmon.h: Likewise.
52652         * hurd/hurdmsg.c: Likewise.
52653         * hurd/new-fd.c: Likewise.
52654         * hurd/ports-get.c: Likewise.
52655         * iconvdata/ibm1008_420.c: Likewise.
52656         * inet/tst-getni1.c: Likewise.
52657         * inet/tst-getni2.c: Likewise.
52658         * libio/ioungetc.c: Likewise.
52659         * libio/wfiledoalloc.c: Likewise.
52660         * manual/libm-err-tab.pl: Likewise.
52661         * math/w_dremf.c: Likewise.
52662         * misc/ftruncate.c: Likewise.
52663         * posix/bug-glob2.c: Likewise.
52664         * posix/tst-pcre.c: Likewise.
52665         * posix/wait4.c: Likewise.
52666         * resolv/README: Likewise.
52667         * resolv/res_debug.h: Likewise.
52668         * resolv/tst-inet_ntop.c: Likewise.
52669         * setjmp/bug269-setjmp.c: Likewise.
52670         * soft-fp/extended.h: Likewise.
52671         * soft-fp/op-1.h: Likewise.
52672         * soft-fp/op-2.h: Likewise.
52673         * soft-fp/op-4.h: Likewise.
52674         * soft-fp/op-8.h: Likewise.
52675         * soft-fp/testit.c: Likewise.
52676         * stdio-common/bug16.c: Likewise.
52677         * stdlib/random.c: Likewise.
52678         * sunrpc/rpcsvc/rquota.x: Likewise.
52679         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52680         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52681         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52682         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52683         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52684         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52685         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52686         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52687         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52688         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52689         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52690         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52691         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52692         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52693         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52694         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52695         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52696         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52697         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52698         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52699         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52700         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52701         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52704         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52706         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52707         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52708         * sysdeps/ieee754/s_lib_version.c: Likewise.
52709         * sysdeps/mach/hurd/check_fds.c: Likewise.
52710         * sysdeps/mach/hurd/getsockname.c: Likewise.
52711         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52712         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52713         * sysdeps/powerpc/bits/link.h: Likewise.
52714         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52715         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52716         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52717         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52718         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52719         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52720         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52721         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52722         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52723         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52724         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52725         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52726         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52727         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52728         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52729         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52730         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52731         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52732         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52733         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52734         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52735         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52736         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52737         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52738         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52739         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52740         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52741         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52742         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52743         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52744         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52745         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52746         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52747         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52748         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52749         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52750         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52751         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52752         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52753         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52754         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52755         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52756         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52757         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52758         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52759         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52760         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52761         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52762         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52763         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52765         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52766         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52767         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52768         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52769         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52770         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52771         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52772         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52773         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52774         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52775         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52776         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52777         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52778         * sysdeps/powerpc/sysdep.h: Likewise.
52779         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52780         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52781         * sysdeps/sh/dl-trampoline.S: Likewise.
52782         * sysdeps/sh/memset.S: Likewise.
52783         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52784         * sysdeps/sh/strlen.S: Likewise.
52785         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52786         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52787         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52788         * sysdeps/sparc/sparc32/rem.S: Likewise.
52789         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52790         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52791         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52792         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52793         * sysdeps/sparc/sparc32/urem.S: Likewise.
52794         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52795         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52796         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52797         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52798         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52799         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52800         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52801         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52802         * sysdeps/unix/bsd/times.c: Likewise.
52803         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52804         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52808         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52809         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52810         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52811         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52812         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52813         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52814         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52815         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52816         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52817         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52818         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52819         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52820         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52821         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52822         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52823         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52824         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52825         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52826         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52827         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52828         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52829         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52830         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52831         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52832         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52833         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52834         * sysdeps/x86_64/strcspn.S: Likewise.
52836 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52838         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52839         generated file.  Regenerate properly from gen-translit.pl.
52840         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52841         locale/C-translit.h.
52843 2013-06-05  Andreas Schwab  <schwab@suse.de>
52845         [BZ #15100]
52846         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52847         week as 6 instead of -1.
52848         * time/tst-strptime.c (day_tests): Add test case.
52850 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52852         * sysdeps/generic/math_private.h
52853         (libc_feholdexcept_setround_53bit): Replace with
52854         libc_feholdsetround_53bit.
52855         (libc_feupdateenv_53bit): Replace with
52856         libc_feresetround_53bit.
52857         (SET_RESTORE_ROUND_53BIT): Adjust.
52859 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52861         * string/test-strchrnul.c: Add copyright header.
52863         * posix/tst-getaddrinfo4.c: Increase test timeout.
52865 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52867         [BZ #15536]
52868         * math/libm-test.inc (MAX_EXP): Remove
52869         (MIN_EXP): Define.
52870         (ulp): Use MIN_EXP - MANT_DIG.
52871         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52873 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52875         * po/be.po: Revert last change.
52876         * po/zh_CN.po: Likewise.
52877         * po/header.pot: Likewise.
52879 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52881         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52882         link-libc-deps to empty as target-specific variable.
52883         * Makerules (link-libc-args): New variable.
52884         (libc-for-link): Likewise.
52885         (link-libc-deps): Likewise.
52886         (lib%.so): Depend on $(link-libc-deps).  Link with
52887         $(link-libc-args).
52888         (build-module): Link with $(link-libc-args).
52889         (build-module-asneeded): Likewise.
52890         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52891         list of objects.
52892         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52893         target-specific variable.
52894         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52895         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52896         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52897         libc.
52898         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52899         libc and ld.so.
52900         ($(objpfx)libpcprofile.so): Likewise.
52901         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52902         libc_nonshared.a.
52903         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52904         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52905         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52906         $(link-libc-deps).
52907         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52908         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52909         * login/Makefile ($(objpfx)libutil.so): Likewise.
52910         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52911         * math/Makefile ($(objpfx)libm.so): Likewise.
52912         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52913         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52914         variable instead of depending directly on libc.
52915         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52916         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52917         $(link-libc-deps).
52918         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52919         libc.
52920         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52921         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52922         ($(objpfx)libanl.so): Likewise.
52923         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52924         ld.so.
52925         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52926         $(link-libc-deps).
52927         * sysdeps/i386/fpu/Makefile: Remove file.
52928         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52929         ($(objpfx)libm.so): Remove dependency on ld.so.
52931 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52933         [BZ # 15553]
52934         * nis/yp_xdr.c (XDRMAXNAME): Define.
52935         (XDRMAXRECORD): Define.
52936         (xdr_domainname): Use XDRMAXNAME.
52937         (xdr_mapname): Likewise.
52938         (xdr_peername): Likewise.
52939         (xdr_keydat): Use XDRMAXRECORD.
52940         (xdr_valdat): Likewise.
52942 2013-05-30  Jeff Law  <law@redhat.com>
52944         [BZ #14256]
52945         * manual/errno.texi (ESTALE): Update to account for more than
52946         just NFS file systems.
52947         * sysdeps/gnu/errlist.c: Regenerated.
52949 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52951         [BZ #15465]
52952         * elf/Makefile (tests): Add tst-null-argv.
52953         (modules-names):  Add tst-null-argv-lib.
52954         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52955         (tst-null-argv-ENV): Set environment for tst-null-argv.
52956         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52957         (RTLD_PROGNAME): New macro.
52958         * elf/tst-null-argv.c: New test case.
52959         * elf/tst-null-argv-lib.c: Library for test case.
52960         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52961         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52962         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52963         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52964         * elf/dl-init.c (call_init): Likewise.
52965         (_dl_init): Likewise.
52966         * elf/dl-load.c (print_search_path): Likewise.
52967         (_dl_map_object): Likewise.
52968         * elf/dl-lookup.c (do_lookup_x): Likewise.
52969         (add_dependency): Likewise.
52970         (_dl_lookup_symbol_x): Likewise.
52971         (_dl_debug_bindings): Likewise.
52972         * elf/dl-open.c (_dl_show_scope): Likewise.
52973         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52974         * elf/dl-version.c (match_symbol): Likewise.
52975         (_dl_check_map_versions): Likewise.
52976         * elf/rtld.c (dl_main): Likewise.
52977         (print_unresolved): Use RTLD_PROGNAME.
52978         (print_missing_version): Likewise.
52979         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52980         (elf_machine_rela): Likewise.
52981         * sysdeps/powerpc/powerpc32/dl-machine.c
52982         (__process_machine_rela): Likewise.
52983         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52984         Likewise.
52985         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52986         Likewise.
52987         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52988         Likewise.
52989         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52990         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52991         Likewise.
52992         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52993         Likewise.
52994         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52996 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52998         * po/be.po: Add descriptive title.
52999         * po/zh_CN.po: Likewise.
53000         * po/header.pot: Likewise.
53002 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53004         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53005         error message.
53006         (enlarge_archive): Likewise.
53008 2013-05-28  Ben North  <ben@redfrontdoor.org>
53010         * manual/arith.texi (frexp): It is the magnitude of the return
53011         value which lies in [0.5, 1), not the return value itself.
53013 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53017 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53019         * stdio-common/bug26.c (main): Correct fscanf template.
53021         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53022         declare _dl_skip_args.
53024         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53025         Don't declare.
53027         * manual/platform.texi: Add missing @end deftypefun.
53029 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53031         [BZ #15529]
53032         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53033         bit of mantissa of 2^16382.
53034         * math/libm-test.inc (hypot_test_data): Add more tests.
53036         * math/libm-test.inc: Add drem and pow10 to list of tested
53037         functions.
53038         (pow10_test): New function.
53039         (drem_test): Likewise.
53040         (drem_test_tonearest): Likewise.
53041         (drem_test_towardzero): Likewise.
53042         (drem_test_downward): Likewise.
53043         (drem_test_upward): Likewise.
53044         (main): Call the new functions.
53046         * math/libm-test.inc (finite_test_data): Remove.
53047         (finite_test): Run tests from isfinite_test_data.
53048         (gamma_test_data): Remove.
53049         (gamma_test): Run tests from lgamma_test_data.
53050         * sysdeps/i386/fpu/libm-test-ulps: Update.
53051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53053 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53055         * manual/platform.texi: Add PowerPC PPR function set documentation.
53056         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53057         implementation.
53059 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53061         * math/libm-test.inc (MAX_EXP): Define.
53062         (ULPDIFF): Define.
53063         (ulp): New function.
53064         (check_float_internal): Use ULPDIFF.
53065         (cpow_test): Disable failing test.
53066         (check_ulp): Test ulp() implemetnation.
53067         (main): Call check_ulp before starting tests.
53069 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53071         * math/gen-libm-test.pl (generate_testfile): Do not handle
53072         START_DATA and END_DATA.
53073         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53074         END_DATA.
53075         (acos_tonearest_test_data): Likewise.
53076         (acos_towardzero_test_data): Likewise.
53077         (acos_downward_test_data): Likewise.
53078         (acos_upward_test_data): Likewise.
53079         (acosh_test_data): Likewise.
53080         (asin_test_data): Likewise.
53081         (asin_tonearest_test_data): Likewise.
53082         (asin_towardzero_test_data): Likewise.
53083         (asin_downward_test_data): Likewise.
53084         (asin_upward_test_data): Likewise.
53085         (asinh_test_data): Likewise.
53086         (atan_test_data): Likewise.
53087         (atanh_test_data): Likewise.
53088         (atan2_test_data): Likewise.
53089         (cabs_test_data): Likewise.
53090         (cacos_test_data): Likewise.
53091         (cacosh_test_data): Likewise.
53092         (carg_test_data): Likewise.
53093         (casin_test_data): Likewise.
53094         (casinh_test_data): Likewise.
53095         (catan_test_data): Likewise.
53096         (catanh_test_data): Likewise.
53097         (cbrt_test_data): Likewise.
53098         (ccos_test_data): Likewise.
53099         (ccosh_test_data): Likewise.
53100         (ceil_test_data): Likewise.
53101         (cexp_test_data): Likewise.
53102         (cimag_test_data): Likewise.
53103         (clog_test_data): Likewise.
53104         (clog10_test_data): Likewise.
53105         (conj_test_data): Likewise.
53106         (copysign_test_data): Likewise.
53107         (cos_test_data): Likewise.
53108         (cos_tonearest_test_data): Likewise.
53109         (cos_towardzero_test_data): Likewise.
53110         (cos_downward_test_data): Likewise.
53111         (cos_upward_test_data): Likewise.
53112         (cosh_test_data): Likewise.
53113         (cosh_tonearest_test_data): Likewise.
53114         (cosh_towardzero_test_data): Likewise.
53115         (cosh_downward_test_data): Likewise.
53116         (cosh_upward_test_data): Likewise.
53117         (cpow_test_data): Likewise.
53118         (cproj_test_data): Likewise.
53119         (creal_test_data): Likewise.
53120         (csin_test_data): Likewise.
53121         (csinh_test_data): Likewise.
53122         (csqrt_test_data): Likewise.
53123         (ctan_test_data): Likewise.
53124         (ctan_tonearest_test_data): Likewise.
53125         (ctan_towardzero_test_data): Likewise.
53126         (ctan_downward_test_data): Likewise.
53127         (ctan_upward_test_data): Likewise.
53128         (ctanh_test_data): Likewise.
53129         (ctanh_tonearest_test_data): Likewise.
53130         (ctanh_towardzero_test_data): Likewise.
53131         (ctanh_downward_test_data): Likewise.
53132         (ctanh_upward_test_data): Likewise.
53133         (erf_test_data): Likewise.
53134         (erfc_test_data): Likewise.
53135         (exp_test_data): Likewise.
53136         (exp_tonearest_test_data): Likewise.
53137         (exp_towardzero_test_data): Likewise.
53138         (exp_downward_test_data): Likewise.
53139         (exp_upward_test_data): Likewise.
53140         (exp10_test_data): Likewise.
53141         (exp2_test_data): Likewise.
53142         (expm1_test_data): Likewise.
53143         (fabs_test_data): Likewise.
53144         (fdim_test_data): Likewise.
53145         (finite_test_data): Likewise.
53146         (floor_test_data): Likewise.
53147         (fma_test_data): Likewise.
53148         (fma_towardzero_test_data): Likewise.
53149         (fma_downward_test_data): Likewise.
53150         (fma_upward_test_data): Likewise.
53151         (fmax_test_data): Likewise.
53152         (fmin_test_data): Likewise.
53153         (fmod_test_data): Likewise.
53154         (fpclassify_test_data): Likewise.
53155         (frexp_test_data): Likewise.
53156         (gamma_test_data): Likewise.
53157         (hypot_test_data): Likewise.
53158         (ilogb_test_data): Likewise.
53159         (isfinite_test_data): Likewise.
53160         (isgreater_test_data): Likewise.
53161         (isgreaterequal_test_data): Likewise.
53162         (isinf_test_data): Likewise.
53163         (isless_test_data): Likewise.
53164         (islessequal_test_data): Likewise.
53165         (islessgreater_test_data): Likewise.
53166         (isnan_test_data): Likewise.
53167         (isnormal_test_data): Likewise.
53168         (issignaling_test_data): Likewise.
53169         (isunordered_test_data): Likewise.
53170         (j0_test_data): Likewise.
53171         (j1_test_data): Likewise.
53172         (jn_test_data): Likewise.
53173         (ldexp_test_data): Likewise.
53174         (lgamma_test_data): Likewise.
53175         (lrint_test_data): Likewise.
53176         (lrint_tonearest_test_data): Likewise.
53177         (lrint_towardzero_test_data): Likewise.
53178         (lrint_downward_test_data): Likewise.
53179         (lrint_upward_test_data): Likewise.
53180         (llrint_test_data): Likewise.
53181         (llrint_tonearest_test_data): Likewise.
53182         (llrint_towardzero_test_data): Likewise.
53183         (llrint_downward_test_data): Likewise.
53184         (llrint_upward_test_data): Likewise.
53185         (log_test_data): Likewise.
53186         (log10_test_data): Likewise.
53187         (log1p_test_data): Likewise.
53188         (log2_test_data): Likewise.
53189         (logb_test_data): Likewise.
53190         (logb_downward_test_data): Likewise.
53191         (lround_test_data): Likewise.
53192         (llround_test_data): Likewise.
53193         (modf_test_data): Likewise.
53194         (nearbyint_test_data): Likewise.
53195         (nextafter_test_data): Likewise.
53196         (nexttoward_test_data): Likewise.
53197         (pow_test_data): Likewise.
53198         (pow_tonearest_test_data): Likewise.
53199         (pow_towardzero_test_data): Likewise.
53200         (pow_downward_test_data): Likewise.
53201         (pow_upward_test_data): Likewise.
53202         (remainder_test_data): Likewise.
53203         (remainder_tonearest_test_data): Likewise.
53204         (remainder_towardzero_test_data): Likewise.
53205         (remainder_downward_test_data): Likewise.
53206         (remainder_upward_test_data): Likewise.
53207         (remquo_test_data): Likewise.
53208         (rint_test_data): Likewise.
53209         (rint_tonearest_test_data): Likewise.
53210         (rint_towardzero_test_data): Likewise.
53211         (rint_downward_test_data): Likewise.
53212         (rint_upward_test_data): Likewise.
53213         (round_test_data): Likewise.
53214         (scalb_test_data): Likewise.
53215         (scalbn_test_data): Likewise.
53216         (scalbln_test_data): Likewise.
53217         (signbit_test_data): Likewise.
53218         (sin_test_data): Likewise.
53219         (sin_tonearest_test_data): Likewise.
53220         (sin_towardzero_test_data): Likewise.
53221         (sin_downward_test_data): Likewise.
53222         (sin_upward_test_data): Likewise.
53223         (sincos_test_data): Likewise.
53224         (sinh_test_data): Likewise.
53225         (sinh_tonearest_test_data): Likewise.
53226         (sinh_towardzero_test_data): Likewise.
53227         (sinh_downward_test_data): Likewise.
53228         (sinh_upward_test_data): Likewise.
53229         (sqrt_test_data): Likewise.
53230         (tan_test_data): Likewise.
53231         (tan_tonearest_test_data): Likewise.
53232         (tan_towardzero_test_data): Likewise.
53233         (tan_downward_test_data): Likewise.
53234         (tan_upward_test_data): Likewise.
53235         (tanh_test_data): Likewise.
53236         (tgamma_test_data): Likewise.
53237         (trunc_test_data): Likewise.
53238         (y0_test_data): Likewise.
53239         (y1_test_data): Likewise.
53240         (yn_test_data): Likewise.
53241         (significand_test_data): Likewise.
53243         * math/gen-libm-test.pl (@functions): Remove variable.
53244         (generate_testfile): Don't handle START and END lines.
53245         * math/libm-test.inc (START): New macro.
53246         (END): Likewise.
53247         (END_COMPLEX): Likewise.
53248         (acos_test): Use END macro without arguments.
53249         (acos_test_tonearest): Likewise.
53250         (acos_test_towardzero): Likewise.
53251         (acos_test_downward): Likewise.
53252         (acos_test_upward): Likewise.
53253         (acosh_test): Likewise.
53254         (asin_test): Likewise.
53255         (asin_test_tonearest): Likewise.
53256         (asin_test_towardzero): Likewise.
53257         (asin_test_downward): Likewise.
53258         (asin_test_upward): Likewise.
53259         (asinh_test): Likewise.
53260         (atan_test): Likewise.
53261         (atanh_test): Likewise.
53262         (atan2_test): Likewise.
53263         (cabs_test): Likewise.
53264         (cacos_test): Use END_COMPLEX macro without arguments.
53265         (cacosh_test): Likewise.
53266         (carg_test): Use END macro without arguments.
53267         (casin_test): Use END_COMPLEX macro without arguments.
53268         (casinh_test): Likewise.
53269         (catan_test): Likewise.
53270         (catanh_test): Likewise.
53271         (cbrt_test): Use END macro without arguments.
53272         (ccos_test): Use END_COMPLEX macro without arguments.
53273         (ccosh_test): Likewise.
53274         (ceil_test): Use END macro without arguments.
53275         (cexp_test): Use END_COMPLEX macro without arguments.
53276         (cimag_test): Use END macro without arguments.
53277         (clog_test): Use END_COMPLEX macro without arguments.
53278         (clog10_test): Likewise.
53279         (conj_test): Likewise.
53280         (copysign_test): Use END macro without arguments.
53281         (cos_test): Likewise.
53282         (cos_test_tonearest): Likewise.
53283         (cos_test_towardzero): Likewise.
53284         (cos_test_downward): Likewise.
53285         (cos_test_upward): Likewise.
53286         (cosh_test): Likewise.
53287         (cosh_test_tonearest): Likewise.
53288         (cosh_test_towardzero): Likewise.
53289         (cosh_test_downward): Likewise.
53290         (cosh_test_upward): Likewise.
53291         (cpow_test): Use END_COMPLEX macro without arguments.
53292         (cproj_test): Likewise.
53293         (creal_test): Use END macro without arguments.
53294         (csin_test): Use END_COMPLEX macro without arguments.
53295         (csinh_test): Likewise.
53296         (csqrt_test): Likewise.
53297         (ctan_test): Likewise.
53298         (ctan_test_tonearest): Likewise.
53299         (ctan_test_towardzero): Likewise.
53300         (ctan_test_downward): Likewise.
53301         (ctan_test_upward): Likewise.
53302         (ctanh_test): Likewise.
53303         (ctanh_test_tonearest): Likewise.
53304         (ctanh_test_towardzero): Likewise.
53305         (ctanh_test_downward): Likewise.
53306         (ctanh_test_upward): Likewise.
53307         (erf_test): Use END macro without arguments.
53308         (erfc_test): Likewise.
53309         (exp_test): Likewise.
53310         (exp_test_tonearest): Likewise.
53311         (exp_test_towardzero): Likewise.
53312         (exp_test_downward): Likewise.
53313         (exp_test_upward): Likewise.
53314         (exp10_test): Likewise.
53315         (exp2_test): Likewise.
53316         (expm1_test): Likewise.
53317         (fabs_test): Likewise.
53318         (fdim_test): Likewise.
53319         (finite_test): Likewise.
53320         (floor_test): Likewise.
53321         (fma_test): Likewise.
53322         (fma_test_towardzero): Likewise.
53323         (fma_test_downward): Likewise.
53324         (fma_test_upward): Likewise.
53325         (fmax_test): Likewise.
53326         (fmin_test): Likewise.
53327         (fmod_test): Likewise.
53328         (fpclassify_test): Likewise.
53329         (frexp_test): Likewise.
53330         (gamma_test): Likewise.
53331         (hypot_test): Likewise.
53332         (ilogb_test): Likewise.
53333         (isfinite_test): Likewise.
53334         (isgreater_test): Likewise.
53335         (isgreaterequal_test): Likewise.
53336         (isinf_test): Likewise.
53337         (isless_test): Likewise.
53338         (islessequal_test): Likewise.
53339         (islessgreater_test): Likewise.
53340         (isnan_test): Likewise.
53341         (isnormal_test): Likewise.
53342         (issignaling_test): Likewise.
53343         (isunordered_test): Likewise.
53344         (j0_test): Likewise.
53345         (j1_test): Likewise.
53346         (jn_test): Likewise.
53347         (ldexp_test): Likewise.
53348         (lgamma_test): Likewise.
53349         (lrint_test): Likewise.
53350         (lrint_test_tonearest): Likewise.
53351         (lrint_test_towardzero): Likewise.
53352         (lrint_test_downward): Likewise.
53353         (lrint_test_upward): Likewise.
53354         (llrint_test): Likewise.
53355         (llrint_test_tonearest): Likewise.
53356         (llrint_test_towardzero): Likewise.
53357         (llrint_test_downward): Likewise.
53358         (llrint_test_upward): Likewise.
53359         (log_test): Likewise.
53360         (log10_test): Likewise.
53361         (log1p_test): Likewise.
53362         (log2_test): Likewise.
53363         (logb_test): Likewise.
53364         (logb_test_downward): Likewise.
53365         (lround_test): Likewise.
53366         (llround_test): Likewise.
53367         (modf_test): Likewise.
53368         (nearbyint_test): Likewise.
53369         (nextafter_test): Likewise.
53370         (nexttoward_test): Likewise.
53371         (pow_test): Likewise.
53372         (pow_test_tonearest): Likewise.
53373         (pow_test_towardzero): Likewise.
53374         (pow_test_downward): Likewise.
53375         (pow_test_upward): Likewise.
53376         (remainder_test): Likewise.
53377         (remainder_test_tonearest): Likewise.
53378         (remainder_test_towardzero): Likewise.
53379         (remainder_test_downward): Likewise.
53380         (remainder_test_upward): Likewise.
53381         (remquo_test): Likewise.
53382         (rint_test): Likewise.
53383         (rint_test_tonearest): Likewise.
53384         (rint_test_towardzero): Likewise.
53385         (rint_test_downward): Likewise.
53386         (rint_test_upward): Likewise.
53387         (round_test): Likewise.
53388         (scalb_test): Likewise.
53389         (scalbn_test): Likewise.
53390         (scalbln_test): Likewise.
53391         (signbit_test): Likewise.
53392         (sin_test): Likewise.
53393         (sin_test_tonearest): Likewise.
53394         (sin_test_towardzero): Likewise.
53395         (sin_test_downward): Likewise.
53396         (sin_test_upward): Likewise.
53397         (sincos_test): Likewise.
53398         (sinh_test): Likewise.
53399         (sinh_test_tonearest): Likewise.
53400         (sinh_test_towardzero): Likewise.
53401         (sinh_test_downward): Likewise.
53402         (sinh_test_upward): Likewise.
53403         (sqrt_test): Likewise.
53404         (tan_test): Likewise.
53405         (tan_test_tonearest): Likewise.
53406         (tan_test_towardzero): Likewise.
53407         (tan_test_downward): Likewise.
53408         (tan_test_upward): Likewise.
53409         (tanh_test): Likewise.
53410         (tgamma_test): Likewise.
53411         (trunc_test): Likewise.
53412         (y0_test): Likewise.
53413         (y1_test): Likewise.
53414         (yn_test): Likewise.
53415         (significand_test): Likewise.
53417 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53419         [BZ #15381]
53420         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53422 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53424         [BZ #14894]
53425         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53426         __ppc_mdoio and __ppc_mdoom.
53427         * manual/platform.texi: Document new functions __ppc_yield,
53428         __ppc_mdoio and __ppc_mdoom.
53430 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53432         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53433         (main): Mention "tls" pseudo-hwcap is legacy.
53434         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53436 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53438         * math/gen-libm-test.pl (parse_args): Output only string of
53439         arguments as text for test name, not full call or descriptions of
53440         tests for extra outputs.
53441         (generate_testfile): Do not pass function name to parse_args.
53442         Generate this_func variable from START.
53443         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53444         field to arg_str.
53445         (struct test_ff_f_data): Likewise.
53446         (test_ff_f_data_nexttoward): Likewise.
53447         (struct test_fi_f_data): Likewise.
53448         (struct test_fl_f_data): Likewise.
53449         (struct test_if_f_data): Likewise.
53450         (struct test_fff_f_data): Likewise.
53451         (struct test_c_f_data): Likewise.
53452         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53453         (struct test_fF_f1_data): Likewise.
53454         (struct test_ffI_f1_data): Likewise.
53455         (struct test_c_c_data): Rename test_name field to arg_str.
53456         (struct test_cc_c_data): Likewise.
53457         (struct test_f_i_data): Likewise.
53458         (struct test_ff_i_data): Likewise.
53459         (struct test_f_l_data): Likewise.
53460         (struct test_f_L_data): Likewise.
53461         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53462         and extra2_name.
53463         (COMMON_TEST_SETUP): New macro.
53464         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53465         (COMMON_TEST_CLEANUP): Likewise.
53466         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53467         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53468         macros.
53469         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53470         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53471         macros.
53472         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53473         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53474         cleanup macros.
53475         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53476         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53477         macros.
53478         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53479         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53480         macros.
53481         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53482         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53483         cleanup macros.
53484         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53485         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53486         cleanup macros.
53487         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53488         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53489         cleanup macros.
53490         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53491         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53492         macros.
53493         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53494         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53495         macros.
53496         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53497         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53498         macros.
53499         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53500         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53501         cleanup macros.
53502         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53503         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53504         cleanup macros.
53505         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53506         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53507         macros.
53508         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53509         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53510         cleanup macros.
53511         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53512         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53513         macros.
53514         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53515         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53516         macros.
53517         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53518         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53519         cleanup macros.
53520         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53522 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53524         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53525         to _sifields.sigfault.
53526         (si_addr_lsb): Define new macro.
53527         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53528         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53529         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53531 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53533         [BZ #15441]
53534         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53535         returns -1.
53536         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53537         null return -1.
53538         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53539         loading the domain.
53541 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53543         * math/gen-libm-test.pl (parse_args): Do not include expected
53544         result in test name.
53545         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53546         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53547         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53548         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53549         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53552 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53554         * benchtests/Makefile: Sort function entries.
53556         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53557         tanh, asinh, acosh, atanh.
53558         * benchtests/acos-inputs: New file.
53559         * benchtests/acosh-inputs: New file.
53560         * benchtests/asin-inputs: New file.
53561         * benchtests/asinh-inputs: New file.
53562         * benchtests/atanh-inputs: New file.
53563         * benchtests/cosh-inputs: New file.
53564         * benchtests/log-inputs: New file.
53565         * benchtests/sinh-inputs: New file.
53566         * benchtests/tanh-inputs: New file.
53568 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53570         [BZ #15339]
53571         * posix/tst-getaddrinfo4.c: New test.
53572         * posix/Makefile (tests): Add it.
53574 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53576         [BZ #15339]
53577         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53578         when no services were used.
53579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53580         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53582 2013-05-21  Andreas Schwab  <schwab@suse.de>
53584         [BZ #15014]
53585         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53586         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53587         successful.
53588         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53589         redundant variable declarations and reallocation of buffer when
53590         parsing as IPv6 address.  Always set NSS status when called from
53591         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53592         buffer too small.  Correct computation of needed size.
53593         * nss/Makefile (tests): Add test-digits-dots.
53594         * nss/test-digits-dots.c: New test.
53596 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53598         * benchtests/Makefile: Remove instructions for adding
53599         benchmark tests.
53600         * benchtests/README: New file to explain how to execute and
53601         enhance the benchmark tests.
53603 2013-05-21  Andreas Schwab  <schwab@suse.de>
53605         [BZ #15493]
53606         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53607         * setjmp/tst-sigsetjmp.c: New test.
53609 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53611         * sysdeps/x86_64/memset.S (memset): New implementation.
53612         (__bzero): Likewise.
53613         (__memset_tail): New function.
53615 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53617         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53618         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53619         __memcpy_sse2_unaligned ifunc selection.
53620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53621         Add memcpy-sse2-unaligned.S.
53622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53623         Add: __memcpy_sse2_unaligned.
53625 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53627         [BZ #15490]
53628         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53629         math_force_eval before restoring floating-point envrionment.
53630         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53631         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53632         Likewise.
53633         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53634         <math_private.h>.
53635         (__nearbyintl): Use math_force_eval before restoring
53636         floating-point environment.
53637         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53639         * math/gen-libm-test.pl (special_functions): Remove.
53640         (parse_args): Don't handle TEST_extra.  Handle functions with no
53641         return value.
53642         * math/libm-test.inc (struct test_sincos_data): Replace with
53643         struct test_fFF_11_data.
53644         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53645         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53646         (sincos_test_data): Change element type to struct
53647         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53648         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53649         RUN_TEST_LOOP_sincos.
53650         * math/README.libm-test: Don't mention special handling of
53651         individual functions.
53652         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53653         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53654         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53656         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53659         * math/gen-libm-test.pl (get_variable): Remove function.
53660         (parse_args): Don't show pointer parameters to call in test
53661         names.  Use "extra output N" in test names for extra outputs
53662         rather than naming variables.
53664 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53666         [BZ #15488]
53667         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53668         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53669         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53670         double tests.
53671         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53672         disable.
53673         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53674         check_long_double.
53676         * math/gen-libm-test.pl (@tests): Remove variable.
53677         ($count): Likewise.
53678         (new_test): Remove function.
53679         (show_exceptions): New function.
53680         (special_functions): Use show_exceptions instead of new_test.
53681         (parse_args): Likewise.
53682         (generate_testfile): Pass only function name in generated call to
53683         print_max_error or print_complex_max_error.
53684         (get_ulps): Do not handle complex tests specially.
53685         (output_test): Rename to ...
53686         (get_all_ulps_for_test): ... this.  Return a string rather than
53687         printing to a file.  Require ulps to be present.
53688         (output_ulps): Generate arrays rather than #defines.
53689         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53690         (struct ulp_data): New type.
53691         (BUILD_COMPLEX_ULP): Remove macro.
53692         (compare_ulp_data): New function.
53693         (find_ulps): Likewise.
53694         (find_test_ulps): Likewise.
53695         (find_function_ulps): Likewise.
53696         (find_complex_function_ulps): Likewise.
53697         (print_max_error): Determine allowed ulps using
53698         find_function_ulps.
53699         (print_complex_max_error): Determine allowed ulps using
53700         find_complex_function_ulps.
53701         (check_float_internal): Determine max ulps using find_test_ulps.
53702         (check_float): Do not take max_ulp parameter.  Update call to
53703         check_float_internal.
53704         (check_complex): Likewise.
53705         (check_int): Do not take max_ulp parameter.
53706         (check_long): Likewise.
53707         (check_bool): Likewise.
53708         (check_longlong): Likewise.
53709         (struct test_f_f_data): Remove max_ulp field.
53710         (struct test_ff_f_data): Likewise.
53711         (struct test_ff_f_data_nexttoward): Likewise.
53712         (struct test_fi_f_data): Likewise.
53713         (struct test_fl_f_data): Likewise.
53714         (struct test_if_f_data): Likewise.
53715         (struct test_fff_f_data): Likewise.
53716         (struct test_c_f_data): Likewise.
53717         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53718         (struct test_fF_f1_data): Likewise.
53719         (struct test_ffI_f1_data): Likewise.
53720         (struct test_c_c_data): Remove max_ulp field.
53721         (struct test_cc_c_data): Likewise.
53722         (struct test_f_i_data): Likewise.
53723         (struct test_ff_i_data): Likewise.
53724         (struct test_f_l_data): Likewise.
53725         (struct test_f_L_data): Likewise.
53726         (struct test_sincos_data): Likewise.
53727         (RUN_TEST_f_f): Do not handle ulps.
53728         (RUN_TEST_LOOP_f_f): Likewise.
53729         (RUN_TEST_2_f): Likewise.
53730         (RUN_TEST_LOOP_2_f): Likewise.
53731         (RUN_TEST_fff_f): Likewise.
53732         (RUN_TEST_LOOP_fff_f): Likewise.
53733         (RUN_TEST_c_f): Likewise.
53734         (RUN_TEST_LOOP_c_f): Likewise.
53735         (RUN_TEST_f_f1): Likewise.
53736         (RUN_TEST_LOOP_f_f1): Likewise.
53737         (RUN_TEST_fF_f1): Likewise.
53738         (RUN_TEST_LOOP_fF_f1): Likewise.
53739         (RUN_TEST_fI_f1): Likewise.
53740         (RUN_TEST_LOOP_fI_f1): Likewise.
53741         (RUN_TEST_ffI_f1): Likewise.
53742         (RUN_TEST_LOOP_ffI_f1): Likewise.
53743         (RUN_TEST_c_c): Likewise.
53744         (RUN_TEST_LOOP_c_c): Likewise.
53745         (RUN_TEST_cc_c): Likewise.
53746         (RUN_TEST_LOOP_cc_c): Likewise.
53747         (RUN_TEST_f_i): Likewise.
53748         (RUN_TEST_LOOP_f_i): Likewise.
53749         (RUN_TEST_f_i_tg): Likewise.
53750         (RUN_TEST_LOOP_f_i_tg): Likewise.
53751         (RUN_TEST_ff_i_tg): Likewise.
53752         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53753         (RUN_TEST_f_b): Likewise.
53754         (RUN_TEST_LOOP_f_b): Likewise.
53755         (RUN_TEST_f_b_tg): Likewise.
53756         (RUN_TEST_LOOP_f_b_tg): Likewise.
53757         (RUN_TEST_f_l): Likewise.
53758         (RUN_TEST_LOOP_f_l): Likewise.
53759         (RUN_TEST_f_L): Likewise.
53760         (RUN_TEST_LOOP_f_L): Likewise.
53761         (RUN_TEST_sincos): Likewise.
53762         (RUN_TEST_LOOP_sincos): Likewise.
53764 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53766         [BZ #15480]
53767         [BZ #15485]
53768         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53769         main case of finite arguments, set rounding mode to FE_TONEAREST
53770         and discard exceptions.
53771         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53772         exceptions.
53773         (remainder_tonearest_test_data): New variable.
53774         (remainder_test_tonearest): New function.
53775         (remainder_towardzero_test_data): New variable.
53776         (remainder_test_towardzero): New function.
53777         (remainder_downward_test_data): New variable.
53778         (remainder_test_downward): New function.
53779         (remainder_upward_test_data): New variable.
53780         (remainder_test_upward): New function.
53781         (main): Call the new test functions.
53783         * math/libm-test.inc (struct test_f_f1_data): Remove field
53784         extra_init.
53785         (struct test_fF_f1_data): Likewise.
53786         (struct test_ffI_f1_data): Likewise.
53787         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53788         based on value of EXTRA_EXPECTED.
53789         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53790         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53791         EXTRA_VAR based on value of EXTRA_EXPECTED.
53792         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53793         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53794         EXTRA_VAR based on value of EXTRA_EXPECTED.
53795         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53796         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53797         EXTRA_VAR based on value of EXTRA_EXPECTED.
53798         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53799         * math/gen-libm-test.pl (parse_args): Don't output initializers
53800         for extra output values.
53802         * math/libm-test.inc (check_int): Expect result to be exactly
53803         equal to expected value and do not handle ulps.
53804         (check_long): Likewise.
53805         (check_longlong): Likewise.
53807         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53808         exceptions.
53809         (cimag_test_data): Likewise.
53810         (conj_test_data): Likewise.
53811         (copysign_test_data): Likewise.
53812         (cproj_test_data): Likewise.
53813         (creal_test_data): Likewise.
53814         (fabs_test_data): Likewise.
53815         (fdim_test_data): Likewise.
53816         (finite_test_data): Likewise.
53817         (floor_test_data): Likewise.
53818         (fmax_test_data): Likewise.
53819         (fmin_test_data): Likewise.
53820         (fmod_test_data): Likewise.
53821         (fpclassify_test_data): Likewise.
53822         (frexp_test_data): Likewise.
53823         (ilogb_test_data): Likewise.
53824         (isfinite_test_data): Likewise.
53825         (isgreater_test_data): Likewise.
53826         (isgreaterequal_test_data): Likewise.
53827         (isinf_test_data): Likewise.
53828         (isless_test_data): Likewise.
53829         (islessequal_test_data): Likewise.
53830         (islessgreater_test_data): Likewise.
53831         (isnan_test_data): Likewise.
53832         (isnormal_test_data): Likewise.
53833         (issignaling_test_data): Likewise.
53834         (isunordered_test_data): Likewise.
53835         (ldexp_test_data): Likewise.
53836         (lrint_test_data): Likewise.
53837         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53838         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53839         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53840         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53841         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53842         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53843         test input.
53844         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53845         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53846         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53847         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53848         that test input.
53849         (lrint_downward_test_data): Test for "inexact" exceptions.
53850         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53851         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53852         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53853         test input.
53854         (lrint_upward_test_data): Test for "inexact" exceptions.
53855         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53856         test input.
53857         (llrint_test_data): Test for "inexact" exceptions.
53858         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53859         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53860         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53861         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53862         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53863         (llrint_downward_test_data): Test for "inexact" exceptions.
53864         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53865         (llrint_upward_test_data): Test for "inexact" exceptions.
53866         (logb_test_data): Likewise.
53867         (logb_downward_test_data): Likewise.
53868         (nextafter_test_data): Likewise.
53869         (nexttoward_test_data): Likewise.
53870         (remainder_test_data): Likewise.
53871         (remquo_test_data): Likewise.
53872         (scalbn_test_data): Likewise.
53873         (scalbln_test_data): Likewise.
53874         (signbit_test_data): Likewise.
53875         (sqrt_test_data): Likewise.
53876         (significand_test_data): Likewise.
53878 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53880         [BZ #15424]
53881         * benchtests/bench-modf.c (struct args): Mark arg0 as
53882         volatile.
53883         * scripts/bench.pl: Mark members of struct args as volatile.
53885 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53887         [BZ # 15497]
53888         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53889         negative infinity on POWER6 or lower.
53890         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53892 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53894         [BZ #15442]
53895         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53896         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53897         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53898         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53899         (_FP_SETQNAN): New macro.
53900         (_FP_SETQNAN_SEMIRAW): Likewise.
53901         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53902         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53903         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53904         (FP_EXTEND): Use _FP_FRAC_SNANP.
53905         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53906         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53907         into account.
53908         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53909         New macro.
53910         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53911         Likewise.
53913 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53915         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53916         with DIVIDE_BY_ZERO_EXCEPTION.
53917         (gamma_test_data): Likewise.
53918         (lgamma_test_data): Likewise.
53919         (log_test_data): Likewise.
53920         (log10_test_data): Likewise.
53921         (log2_test_data): Likewise.
53922         (tgamma_test_data): Likewise.
53924         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53925         (acos_test_tonearest): Likewise.
53926         (acos_test_towardzero): Likewise.
53927         (acos_test_downward): Likewise.
53928         (acos_test_upward): Likewise.
53929         (acosh_test): Likewise.
53930         (asin_test): Likewise.
53931         (asin_test_tonearest): Likewise.
53932         (asin_test_towardzero): Likewise.
53933         (asin_test_downward): Likewise.
53934         (asin_test_upward): Likewise.
53935         (asinh_test): Likewise.
53936         (atan_test): Likewise.
53937         (atanh_test): Likewise.
53938         (atan2_test): Likewise.
53939         (cabs_test): Likewise.
53940         (cacos_test): Likewise.
53941         (cacosh_test): Likewise.
53942         (casin_test): Likewise.
53943         (casinh_test): Likewise.
53944         (catan_test): Likewise.
53945         (catanh_test): Likewise.
53946         (cbrt_test): Likewise.
53947         (ccos_test): Likewise.
53948         (ccosh_test): Likewise.
53949         (cexp_test): Likewise.
53950         (clog_test): Likewise.
53951         (clog10_test): Likewise.
53952         (cos_test): Likewise.
53953         (cos_test_tonearest): Likewise.
53954         (cos_test_towardzero): Likewise.
53955         (cos_test_downward): Likewise.
53956         (cos_test_upward): Likewise.
53957         (cosh_test): Likewise.
53958         (cosh_test_tonearest): Likewise.
53959         (cosh_test_towardzero): Likewise.
53960         (cosh_test_downward): Likewise.
53961         (cosh_test_upward): Likewise.
53962         (cpow_test): Likewise.
53963         (csin_test): Likewise.
53964         (csinh_test): Likewise.
53965         (csqrt_test): Likewise.
53966         (ctan_test): Likewise.
53967         (ctan_test_tonearest): Likewise.
53968         (ctan_test_towardzero): Likewise.
53969         (ctan_test_downward): Likewise.
53970         (ctan_test_upward): Likewise.
53971         (ctanh_test): Likewise.
53972         (ctanh_test_tonearest): Likewise.
53973         (ctanh_test_towardzero): Likewise.
53974         (ctanh_test_downward): Likewise.
53975         (ctanh_test_upward): Likewise.
53976         (erf_test): Likewise.
53977         (erfc_test): Likewise.
53978         (exp_test): Likewise.
53979         (exp_test_tonearest): Likewise.
53980         (exp_test_towardzero): Likewise.
53981         (exp_test_downward): Likewise.
53982         (exp_test_upward): Likewise.
53983         (exp10_test): Likewise.
53984         (exp2_test): Likewise.
53985         (expm1_test): Likewise.
53986         (fmod_test): Likewise.
53987         (gamma_test): Likewise.
53988         (hypot_test): Likewise.
53989         (j0_test): Likewise.
53990         (j1_test): Likewise.
53991         (jn_test): Likewise.
53992         (lgamma_test): Likewise.
53993         (log_test): Likewise.
53994         (log10_test): Likewise.
53995         (log1p_test): Likewise.
53996         (log2_test): Likewise.
53997         (logb_test_downward): Likewise.
53998         (pow_test): Likewise.
53999         (pow_test_tonearest): Likewise.
54000         (pow_test_towardzero): Likewise.
54001         (pow_test_downward): Likewise.
54002         (pow_test_upward): Likewise.
54003         (remainder_test): Likewise.
54004         (remquo_test): Likewise.
54005         (sin_test): Likewise.
54006         (sin_test_tonearest): Likewise.
54007         (sin_test_towardzero): Likewise.
54008         (sin_test_downward): Likewise.
54009         (sin_test_upward): Likewise.
54010         (sincos_test): Likewise.
54011         (sinh_test): Likewise.
54012         (sinh_test_tonearest): Likewise.
54013         (sinh_test_towardzero): Likewise.
54014         (sinh_test_downward): Likewise.
54015         (sinh_test_upward): Likewise.
54016         (sqrt_test): Likewise.
54017         (tan_test): Likewise.
54018         (tan_test_tonearest): Likewise.
54019         (tan_test_towardzero): Likewise.
54020         (tan_test_downward): Likewise.
54021         (tan_test_upward): Likewise.
54022         (tanh_test): Likewise.
54023         (tgamma_test): Likewise.
54024         (y0_test): Likewise.
54025         (y1_test): Likewise.
54026         (yn_test): Likewise.
54028         * math/gen-libm-test.pl (adjust_arg): Remove function.
54029         (special_function): Remove argument $in_func.  Only handle
54030         generating output for tables of tests, not inside functions.
54031         (parse_args): Likewise.
54032         (generate_testfile): Remove variable $in_func.  Update call to
54033         parse_args.
54034         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54035         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54036         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54037         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54038         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54039         (MAX_VALUE_INIT): Rename macro to max_value.
54040         (MIN_VALUE_INIT): Rename macro to min_value.
54041         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54042         (plus_zero): Remove variable.
54043         (minus_zero): Likewise.
54044         (plus_infty): Likewise.
54045         (minus_infty): Likewise.
54046         (qnan_value): Likewise.
54047         (max_value): Likewise.
54048         (min_value): Likewise.
54049         (min_subnorm_value): Likewise.
54051 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54053         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54054         uint64_t or uint32_t usage.
54055         * crypt/sha256-block.c: Likewise.
54056         * crypt/sha256-crypt.c: Likewise.
54057         * crypt/sha256.c: Likewise.
54058         * crypt/sha512-block.c: Likewise.
54059         * crypt/sha512-crypt.c: Likewise.
54060         * crypt/sha512.c: Likewise.
54061         * debug/backtrace-tst.c: Likewise.
54062         * debug/pcprofiledump.c: Likewise.
54063         * elf/cache.c: Likewise.
54064         * elf/dl-cache.c: Likewise.
54065         * elf/dl-misc.c: Likewise.
54066         * elf/dl-profile.c: Likewise.
54067         * elf/dl-support.c: Likewise.
54068         * elf/ldconfig.c: Likewise.
54069         * elf/sprof.c: Likewise.
54070         * iconv/dummy-repertoire.c: Likewise.
54071         * iconv/iconv_charmap.c: Likewise.
54072         * iconv/skeleton.c: Likewise.
54073         * iconvdata/8bit-generic.c: Likewise.
54074         * iconvdata/cp737.h: Likewise.
54075         * iconvdata/cp775.h: Likewise.
54076         * iconvdata/ibm1008.h: Likewise.
54077         * iconvdata/ibm1025.h: Likewise.
54078         * iconvdata/ibm1046.h: Likewise.
54079         * iconvdata/ibm1097.h: Likewise.
54080         * iconvdata/ibm1112.h: Likewise.
54081         * iconvdata/ibm1122.h: Likewise.
54082         * iconvdata/ibm1123.h: Likewise.
54083         * iconvdata/ibm1124.h: Likewise.
54084         * iconvdata/ibm1129.h: Likewise.
54085         * iconvdata/ibm1130.h: Likewise.
54086         * iconvdata/ibm1132.h: Likewise.
54087         * iconvdata/ibm1133.h: Likewise.
54088         * iconvdata/ibm1137.h: Likewise.
54089         * iconvdata/ibm1140.h: Likewise.
54090         * iconvdata/ibm1141.h: Likewise.
54091         * iconvdata/ibm1142.h: Likewise.
54092         * iconvdata/ibm1143.h: Likewise.
54093         * iconvdata/ibm1144.h: Likewise.
54094         * iconvdata/ibm1145.h: Likewise.
54095         * iconvdata/ibm1146.h: Likewise.
54096         * iconvdata/ibm1147.h: Likewise.
54097         * iconvdata/ibm1148.h: Likewise.
54098         * iconvdata/ibm1149.h: Likewise.
54099         * iconvdata/ibm1153.h: Likewise.
54100         * iconvdata/ibm1154.h: Likewise.
54101         * iconvdata/ibm1155.h: Likewise.
54102         * iconvdata/ibm1156.h: Likewise.
54103         * iconvdata/ibm1157.h: Likewise.
54104         * iconvdata/ibm1158.h: Likewise.
54105         * iconvdata/ibm1160.h: Likewise.
54106         * iconvdata/ibm1161.h: Likewise.
54107         * iconvdata/ibm1162.h: Likewise.
54108         * iconvdata/ibm1163.h: Likewise.
54109         * iconvdata/ibm1164.h: Likewise.
54110         * iconvdata/ibm1166.h: Likewise.
54111         * iconvdata/ibm1167.h: Likewise.
54112         * iconvdata/ibm12712.h: Likewise.
54113         * iconvdata/ibm1390.h: Likewise.
54114         * iconvdata/ibm1399.h: Likewise.
54115         * iconvdata/ibm16804.h: Likewise.
54116         * iconvdata/ibm4517.h: Likewise.
54117         * iconvdata/ibm4899.h: Likewise.
54118         * iconvdata/ibm4909.h: Likewise.
54119         * iconvdata/ibm4971.h: Likewise.
54120         * iconvdata/ibm5347.h: Likewise.
54121         * iconvdata/ibm803.h: Likewise.
54122         * iconvdata/ibm856.h: Likewise.
54123         * iconvdata/ibm901.h: Likewise.
54124         * iconvdata/ibm902.h: Likewise.
54125         * iconvdata/ibm9030.h: Likewise.
54126         * iconvdata/ibm9066.h: Likewise.
54127         * iconvdata/ibm921.h: Likewise.
54128         * iconvdata/ibm922.h: Likewise.
54129         * iconvdata/ibm9448.h: Likewise.
54130         * iconvdata/isiri-3342.h: Likewise.
54131         * iconvdata/jis0201.h: Likewise.
54132         * include/link.h: Likewise.
54133         * include/netdb.h: Likewise.
54134         * inet/check_native.c: Likewise.
54135         * inet/check_pf.c: Likewise.
54136         * inet/getipv4sourcefilter.c: Likewise.
54137         * inet/getnameinfo.c: Likewise.
54138         * inet/getsourcefilter.c: Likewise.
54139         * inet/htonl.c: Likewise.
54140         * inet/setipv4sourcefilter.c: Likewise.
54141         * inet/setsourcefilter.c: Likewise.
54142         * inet/test-inet6_opt.c: Likewise.
54143         * inet/tst-network.c: Likewise.
54144         * locale/C-collate.c: Likewise.
54145         * locale/C-ctype.c: Likewise.
54146         * locale/C-time.c: Likewise.
54147         * locale/C-translit.h: Likewise.
54148         * locale/loadarchive.c: Likewise.
54149         * locale/programs/3level.h: Likewise.
54150         * locale/programs/charmap.c: Likewise.
54151         * locale/programs/charmap.h: Likewise.
54152         * locale/programs/ld-address.c: Likewise.
54153         * locale/programs/ld-collate.c: Likewise.
54154         * locale/programs/ld-ctype.c: Likewise.
54155         * locale/programs/ld-identification.c: Likewise.
54156         * locale/programs/ld-measurement.c: Likewise.
54157         * locale/programs/ld-messages.c: Likewise.
54158         * locale/programs/ld-monetary.c: Likewise.
54159         * locale/programs/ld-name.c: Likewise.
54160         * locale/programs/ld-numeric.c: Likewise.
54161         * locale/programs/ld-paper.c: Likewise.
54162         * locale/programs/ld-telephone.c: Likewise.
54163         * locale/programs/ld-time.c: Likewise.
54164         * locale/programs/linereader.c: Likewise.
54165         * locale/programs/locale.c: Likewise.
54166         * locale/programs/locarchive.c: Likewise.
54167         * locale/programs/locfile.h: Likewise.
54168         * locale/programs/repertoire.c: Likewise.
54169         * locale/programs/simple-hash.c: Likewise.
54170         * locale/programs/simple-hash.h: Likewise.
54171         * malloc/memusage.c: Likewise.
54172         * malloc/memusagestat.c: Likewise.
54173         * nis/nis_defaults.c: Likewise.
54174         * nis/nis_hash.c: Likewise.
54175         * nis/nis_print.c: Likewise.
54176         * nis/nis_xdr.c: Likewise.
54177         * nscd/connections.c: Likewise.
54178         * nscd/hstcache.c: Likewise.
54179         * nscd/nscd_gethst_r.c: Likewise.
54180         * nscd/nscd_getserv_r.c: Likewise.
54181         * nscd/nscd_helper.c: Likewise.
54182         * nscd/servicescache.c: Likewise.
54183         * nss/makedb.c: Likewise.
54184         * nss/nss_db/db-XXX.c: Likewise.
54185         * nss/nss_db/db-initgroups.c: Likewise.
54186         * nss/nss_db/db-netgrp.c: Likewise.
54187         * nss/nss_files/files-network.c: Likewise.
54188         * nss/nss_files/files-parse.c: Likewise.
54189         * posix/bug-regex5.c: Likewise.
54190         * posix/fnmatch_loop.c: Likewise.
54191         * posix/regcomp.c: Likewise.
54192         * posix/regexec.c: Likewise.
54193         * posix/tst-rfc3484-2.c: Likewise.
54194         * posix/tst-rfc3484-3.c: Likewise.
54195         * posix/tst-rfc3484.c: Likewise.
54196         * resolv/nss_dns/dns-canon.c: Likewise.
54197         * resolv/nss_dns/dns-network.c: Likewise.
54198         * resolv/res_init.c: Likewise.
54199         * resolv/res_mkquery.c: Likewise.
54200         * resolv/tst-aton.c: Likewise.
54201         * stdlib/cxa_atexit.c: Likewise.
54202         * stdlib/cxa_finalize.c: Likewise.
54203         * stdlib/gen-fpioconst.c: Likewise.
54204         * stdlib/strtol_l.c: Likewise.
54205         * string/tst-endian.c: Likewise.
54206         * sunrpc/auth_des.c: Likewise.
54207         * sunrpc/clnt_udp.c: Likewise.
54208         * sunrpc/rtime.c: Likewise.
54209         * sunrpc/svcauth_des.c: Likewise.
54210         * sunrpc/xdr.c: Likewise.
54211         * sunrpc/xdr_intXX_t.c: Likewise.
54212         * sunrpc/xdr_rec.c: Likewise.
54213         * sysdeps/generic/ldconfig.h: Likewise.
54214         * sysdeps/generic/ldsodefs.h: Likewise.
54215         * sysdeps/generic/memusage.h: Likewise.
54216         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54217         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54218         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54220         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54221         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54222         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54223         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54224         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54226         * sysdeps/posix/getaddrinfo.c: Likewise.
54227         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54228         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54229         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54230         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54231         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54232         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54233         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54234         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54235         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54236         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54237         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54238         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54239         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54240         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54241         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54242         * sysdeps/x86_64/dl-tls.h: Likewise.
54243         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54244         * time/alt_digit.c: Likewise.
54245         * time/era.c: Likewise.
54246         * wcsmbs/tst-c16c32-1.c: Likewise.
54248 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54250         * math/libm-test.inc (struct test_sincos_data): New type.
54251         (RUN_TEST_LOOP_sincos): New macro.
54252         (sincos_test_data): New variable.
54253         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54255 2013-05-16  Richard Henderson  <rth@redhat.com>
54257         * math/atest-exp2.c (LIMB64): New macro.
54258         (CONSTSZ): New macro.
54259         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54260         (hexdig): Move ...
54261         (print_mpn_fp): ... to function scope.
54262         (read_mpn_hex): Remove.
54263         (get_log2): Remove.
54264         (exp2_mpn): Use mp_log2.
54265         (main): Use mp_exp1.
54267 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54269         * math/libm-test.inc: Remove comment about not testing "inexact"
54270         exceptions.
54271         (INEXACT_EXCEPTION): New macro.
54272         (NO_INEXACT_EXCEPTION): Likewise.
54273         (INVALID_EXCEPTION_OK): Update value.
54274         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54275         (OVERFLOW_EXCEPTION_OK): Likewise.
54276         (UNDERFLOW_EXCEPTION_OK): Likewise.
54277         (IGNORE_ZERO_INF_SIGN): Likewise.
54278         (ERRNO_UNCHANGED): Likewise.
54279         (ERRNO_EDOM): Likewise.
54280         (ERRNO_ERANGE): Likewise.
54281         (test_exceptions): Handle testing "inexact" exceptions.
54282         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54283         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54284         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54285         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54286         INEXACT_EXCEPTION.
54287         (rint_towardzero_test_data): Likewise.
54288         (rint_downward_test_data): Likewise.
54289         (rint_upward_test_data): Likewise.
54291         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54292         with OVERFLOW_EXCEPTION.
54293         (exp10_test_data): Likewise.
54294         (exp2_test_data): Likewise.
54295         (expm1_test_data): Likewise.
54296         (lgamma_test_data): Likewise.
54297         (pow_test_data): Likewise.
54298         (tgamma_test_data): Likewise.
54299         (yn_test_data): Remove duplicate test of overflow.
54301         * math/libm-test.inc (struct test_cc_c_data): New type.
54302         (RUN_TEST_LOOP_cc_c): New macro.
54303         (cpow_test_data): New variable.
54304         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54306         * math/libm-test.inc (struct test_f_L_data): New type.
54307         (RUN_TEST_LOOP_f_L): New macro.
54308         (llrint_test_data): New variable.
54309         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54310         (llrint_tonearest_test_data): New variable.
54311         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54312         (llrint_towardzero_test_data): New variable.
54313         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54314         (llrint_downward_test_data): New variable.
54315         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54316         (llrint_upward_test_data): New variable.
54317         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54318         (llround_test_data): New variable.
54319         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54321 2013-05-13  Peter Collingbourne  <pcc@google.com>
54323         * math/atest-exp2.c (get_log2): Remove const attribute.
54325 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54327         * math/libm-test.inc (struct test_f_l_data): New type.
54328         (RUN_TEST_LOOP_f_l): New macro.
54329         (lrint_test_data): New variable.
54330         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54331         (lrint_tonearest_test_data): New variable.
54332         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54333         (lrint_towardzero_test_data): New variable.
54334         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54335         (lrint_downward_test_data): New variable.
54336         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54337         (lrint_upward_test_data): New variable.
54338         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54339         (lround_test_data): New variable.
54340         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54342 2013-05-15  Peter Collingbourne  <pcc@google.com>
54344         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54345         (EXTRACT_WORDS64) Use where appropriate.
54346         (INSERT_WORDS64) Likewise.
54348         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54349         constraints with x constraints.
54350         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54352         * malloc/obstack.c (_obstack_compat): Add initializer.
54354 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54356         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54357         si_trapno and add si_addr_lsb to _sifields.sigfault.
54358         (si_trapno): Remove macro.
54359         (si_addr_lsb): Define new macro.
54360         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54362 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54364         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54365         instead of TEST_f_l.
54366         (llrint_test_tonearest): Likewise.
54367         (llrint_test_towardzero): Likewise.
54368         (llrint_test_downward): Likewise.
54369         (llrint_test_upward): Likewise.
54370         (llround_test): Likewise.
54372         * math/libm-test.inc (struct test_f_i_data): Add comment.
54373         (RUN_TEST_LOOP_f_b): New macro.
54374         (RUN_TEST_LOOP_f_b_tg): Likewise.
54375         (finite_test_data): New variable.
54376         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54377         (isfinite_test_data): New variable.
54378         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54379         (isinf_test_data): New variable.
54380         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54381         (isnan_test_data): New variable.
54382         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54383         (isnormal_test_data): New variable.
54384         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54385         (issignaling_test_data): New variable.
54386         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54387         (signbit_test_data): New variable.
54388         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54390         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54391         with INVALID_EXCEPTION.
54392         (acosh_test_data): Likewise.
54393         (asin_test_data): Likewise.
54394         (atanh_test_data): Likewise.
54395         (fmod_test_data): Likewise.
54396         (log_test_data): Likewise.
54397         (log10_test_data): Likewise.
54398         (log2_test_data): Likewise.
54399         (pow_test_data): Likewise.
54400         (sqrt_test_data): Likewise.
54401         (y0_test_data): Likewise.
54402         (y1_test_data): Likewise.
54403         (yn_test_data): Likewise.
54405         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54406         function contents.
54408         * math/libm-test.inc (struct test_ff_i_data): New type.
54409         (RUN_TEST_LOOP_ff_i_tg): New macro.
54410         (isgreater_test_data): New variable.
54411         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54412         (isgreaterequal_test_data): New variable.
54413         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54414         (isless_test_data): New variable.
54415         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54416         (islessequal_test_data): New variable.
54417         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54418         (islessgreater_test_data): New variable.
54419         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54420         (isunordered_test_data): New variable.
54421         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54423 2013-05-14  David S. Miller  <davem@davemloft.net>
54425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54427 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54429         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54431         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54432         extra_test to int.
54433         (struct test_f_i_data): Change type of max_ulp to int.
54435         * math/libm-test.inc (test_ffI_f1_data): New type.
54436         (RUN_TEST_LOOP_ffI_f1): New macro.
54437         (remquo_test_data): New variable.
54438         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54440         * setjmp/tst-setjmp-fp.c: New file.
54441         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54442         (link-libm): New variable.
54443         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54445         * math/libm-test.inc (struct test_f_i_data): New type.
54446         (RUN_TEST_LOOP_f_i): New macro.
54447         (RUN_TEST_LOOP_f_i_tg): Likewise.
54448         (fpclassify_test_data): New variable.
54449         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54450         (ilogb_test_data): New variable.
54451         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54453         * math/libm-test.inc (scalbln_test): Correct function name in END
54454         call.
54456         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54457         (RUN_TEST_LOOP_fI_f1): New macro.
54458         (frexp_test_data): New variable.
54459         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54461         * math/libm-test.inc (struct test_fF_f1_data): New type.
54462         (RUN_TEST_LOOP_fF_f1): New macro.
54463         (modf_test_data): New variable.
54464         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54466         * math/libm-test.inc (struct test_f_f1_data): New type.
54467         (RUN_TEST_LOOP_f_f1): New macro.
54468         (gamma_test_data): New variable.
54469         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54470         (lgamma_test_data): New variable.
54471         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54473 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54475         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54476         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54477         (main): Comment "tls" pseudo-hwcap.
54479 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54481         * math/libm-test.inc (struct test_fl_f_data): New type.
54482         (RUN_TEST_LOOP_fl_f): New variable.
54483         (scalbln_test_data): New variable.
54484         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54486         * math/libm-test.inc (struct test_fi_f_data): New type.
54487         (RUN_TEST_LOOP_fi_f): New macro.
54488         (ldexp_test_data): New variable.
54489         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54490         (scalbn_test_data): New variable.
54491         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54493         * math/libm-test.inc (struct test_c_f_data): New type.
54494         (RUN_TEST_LOOP_c_f): New macro.
54495         (cabs_test_data): New variable.
54496         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54497         (carg_test_data): New variable.
54498         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54499         (cimag_test_data): New variable.
54500         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54501         (creal_test_data): New variable.
54502         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54504         * math/libm-test.inc (struct test_if_f_data): New type.
54505         (RUN_TEST_LOOP_if_f): New macro.
54506         (jn_test_data): New variable.
54507         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54508         (yn_test_data): New variable.
54509         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54511         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54513 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54515         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54516         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54518 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54520         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54521         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54522         (bench-deps): Add bench-timing.h.
54523         * benchtests-bench-skeleton.c: Include bench-timing.h.
54524         (main): Use TIMING_* macros instead of clock_gettime.
54525         * benchtests/bench-timing.h: New file.
54527         [BZ #14582]
54528         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54529         Renamed from _LIB_VERSION.
54530         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54532 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54534         * math/libm-test.inc (struct test_fff_f_data): New type.
54535         (RUN_TEST_LOOP_fff_f): New macro.
54536         (fma_test_data): New variable.
54537         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54538         (fma_towardzero_test_data): New variable.
54539         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54540         (fma_downward_test_data): New variable.
54541         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54542         (fma_upward_test_data): New variable.
54543         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54545         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54546         (struct test_c_c_data): New type.
54547         (RUN_TEST_LOOP_c_c): New macro.
54548         (cacos_test_data): New variable.
54549         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54550         (cacosh_test_data): New variable.
54551         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54552         (casin_test_data): New variable.
54553         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54554         (casinh_test_data): New variable.
54555         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54556         (catan_test_data): New variable.
54557         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54558         (catanh_test_data): New variable.
54559         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54560         (ccos_test_data): New variable.
54561         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54562         (ccosh_test_data): New variable.
54563         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54564         (cexp_test_data): New variable.
54565         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54566         (clog_test_data): New variable.
54567         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54568         (clog10_test_data): New variable.
54569         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54570         (conj_test_data): New variable.
54571         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54572         (cproj_test_data): New variable.
54573         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54574         (csin_test_data): New variable.
54575         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54576         (csinh_test_data): New variable.
54577         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54578         (csqrt_test_data): New variable.
54579         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54580         (ctan_test_data): New variable.
54581         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54582         (ctan_tonearest_test_data): New variable.
54583         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54584         (ctan_towardzero_test_data): New variable.
54585         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54586         (ctan_downward_test_data): New variable.
54587         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54588         (ctan_upward_test_data): New variable.
54589         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54590         (ctanh_test_data): New variable.
54591         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54592         (ctanh_tonearest_test_data): New variable.
54593         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54594         (ctanh_towardzero_test_data): New variable.
54595         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54596         (ctanh_downward_test_data): New variable.
54597         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54598         (ctanh_upward_test_data): New variable.
54599         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54600         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54601         of BUILD_COMPLEX.
54603         * math/libm-test.inc (struct test_ff_f_data): New type.
54604         (struct test_ff_f_data_nexttoward): Likewise.
54605         (RUN_TEST_LOOP_2_f): New macro.
54606         (RUN_TEST_LOOP_ff_f): Likewise.
54607         (atan2_test_data): New variable.
54608         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54609         (copysign_test_data): New variable.
54610         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54611         (fdim_test_data): New variable.
54612         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54613         (fmax_test_data): New variable.
54614         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54615         (fmin_test_data): New variable.
54616         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54617         (fmod_test_data): New variable.
54618         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54619         (hypot_test_data): New variable.
54620         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54621         (nextafter_test_data): New variable.
54622         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54623         (nexttoward_test_data): New variable.
54624         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54625         (pow_test_data): New variable.
54626         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54627         (pow_tonearest_test_data): New variable.
54628         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54629         (pow_towardzero_test_data): New variable.
54630         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54631         (pow_downward_test_data): New variable.
54632         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54633         (pow_upward_test_data): New variable.
54634         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54635         (remainder_test_data): New variable.
54636         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54637         (scalb_test_data): New variable.
54638         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54639         * sysdeps/i386/fpu/libm-test-ulps: Update.
54641 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54643         * math/libm-test.inc (fma_test): Use max_value instead of local
54644         variable fltmax.
54645         (nextafter_test): Likewise.
54647         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54648         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54649         (acos_downward_test_data): New variable.
54650         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54651         (acos_upward_test_data): New variable.
54652         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54653         (acosh_test_data): New variable.
54654         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54655         (asin_test_data): New variable.
54656         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54657         (asin_tonearest_test_data): New variable.
54658         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54659         (asin_towardzero_test_data): New variable.
54660         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54661         (asin_downward_test_data): New variable.
54662         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54663         (asin_upward_test_data): New variable.
54664         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54665         (asinh_test_data): New variable.
54666         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54667         (atan_test_data): New variable.
54668         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54669         (atanh_test_data): New variable.
54670         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54671         (cbrt_test_data): New variable.
54672         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54673         (ceil_test_data): New variable.
54674         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54675         (cos_test_data): New variable.
54676         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54677         (cos_tonearest_test_data): New variable.
54678         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54679         (cos_towardzero_test_data): New variable.
54680         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54681         (cos_downward_test_data): New variable.
54682         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54683         (cos_upward_test_data): New variable.
54684         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54685         (cosh_test_data): New variable.
54686         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54687         (cosh_tonearest_test_data): New variable.
54688         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54689         (cosh_towardzero_test_data): New variable.
54690         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54691         (cosh_downward_test_data): New variable.
54692         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54693         (cosh_upward_test_data): New variable.
54694         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54695         (erf_test_data): New variable.
54696         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54697         (erfc_test_data): New variable.
54698         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54699         (exp_test_data): New variable.
54700         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54701         (exp_tonearest_test_data): New variable.
54702         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54703         (exp_towardzero_test_data): New variable.
54704         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54705         (exp_downward_test_data): New variable.
54706         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54707         (exp_upward_test_data): New variable.
54708         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54709         (exp10_test_data): New variable.
54710         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54711         (exp2_test_data): New variable.
54712         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54713         (expm1_test_data): New variable.
54714         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54715         (fabs_test_data): New variable.
54716         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54717         (floor_test_data): New variable.
54718         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54719         (j0_test_data): New variable.
54720         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54721         (j1_test_data): New variable.
54722         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54723         (log_test_data): New variable.
54724         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54725         (log10_test_data): New variable.
54726         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54727         (log1p_test_data): New variable.
54728         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54729         (log2_test_data): New variable.
54730         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54731         (logb_test_data): New variable.
54732         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54733         (logb_downward_test_data): New variable.
54734         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54735         (nearbyint_test_data): New variable.
54736         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54737         (rint_test_data): New variable.
54738         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54739         (rint_tonearest_test_data): New variable.
54740         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54741         (rint_towardzero_test_data): New variable.
54742         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54743         (rint_downward_test_data): New variable.
54744         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54745         (rint_upward_test_data): New variable.
54746         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54747         (round_test_data): New variable.
54748         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54749         (sin_test_data): New variable.
54750         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54751         (sin_tonearest_test_data): New variable.
54752         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54753         (sin_towardzero_test_data): New variable.
54754         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54755         (sin_downward_test_data): New variable.
54756         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54757         (sin_upward_test_data): New variable.
54758         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54759         (sinh_test_data): New variable.
54760         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54761         (sinh_tonearest_test_data): New variable.
54762         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54763         (sinh_towardzero_test_data): New variable.
54764         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54765         (sinh_downward_test_data): New variable.
54766         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54767         (sinh_upward_test_data): New variable.
54768         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54769         (sqrt_test_data): New variable.
54770         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54771         (tan_test_data): New variable.
54772         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54773         (tan_tonearest_test_data): New variable.
54774         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54775         (tan_towardzero_test_data): New variable.
54776         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54777         (tan_downward_test_data): New variable.
54778         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54779         (tan_upward_test_data): New variable.
54780         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54781         (tanh_test_data): New variable.
54782         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54783         (tgamma_test_data): New variable.
54784         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54785         (trunc_test_data): New variable.
54786         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54787         (y0_test_data): New variable.
54788         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54789         (y1_test_data): New variable.
54790         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54791         (significand_test_data): New variable.
54792         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54794 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54796         [BZ #12387]
54797         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54799 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54801         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54803 2013-05-10  Andreas Jaeger  <aj@suse.de>
54805         [BZ #15448]
54806         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54807         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54809 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54811         * math/gen-libm-test.pl (adjust_arg): New function.
54812         (special_functions): Handle generating output in both functions
54813         and arrays.
54814         (parse_args): Likewise.
54815         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54816         $in_func argument to parse_args.
54817         * math/libm-test.inc (struct test_f_f_data): New type.
54818         (IF_ROUND_INIT_): New macro.
54819         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54820         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54821         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54822         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54823         (ROUND_RESTORE_): Likewise.
54824         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54825         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54826         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54827         (ROUND_RESTORE_FE_UPWARD): Likewise.
54828         (RUN_TEST_LOOP_f_f): New macro.
54829         (acos_test_data): New variable.
54830         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54831         (acos_tonearest_test_data): New variable.
54832         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54834 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54836         * benchtests/bench-skeleton.c (startup): Fix coding style.
54838 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54840         [BZ #6809]
54841         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54842         negative infinity argument.
54843         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54844         negative infinity argument.
54845         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54846         negative infinity argument.
54847         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54848         domain errors.
54850 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54852         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54853         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54854         * iconv/iconv_prog.c (main): Likewise.
54855         * locale/programs/charmap-dir.c (charmap_readdir)
54856         (fopen_uncompressed): Likewise.
54857         * locale/programs/locfile.c (siblings_uncached)
54858         (write_locale_data): Use lstat64 instead of lstat.
54859         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54860         stat.
54862 2013-05-10  Andreas Jaeger  <aj@suse.de>
54864         [BZ #15395]
54865         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54866         localization.
54867         Include <locale.h>.
54869 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54871         * elf/dl-close.c (_dl_close_worker): Add comments.
54873 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54875         [BZ #15359]
54876         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54877         high part of pi/2.
54878         (__ieee754_rem_pio2l): Update comments.
54880         [BZ #15429]
54881         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54882         high part of pi/2.
54883         (__ieee754_rem_pio2l): Update comments.
54885         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54886         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54888         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54889         M_PI_4l.
54891         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54892         (M_PI_34_LOG10El): Likewise.
54893         (M_PI2_LOG10El): Likewise.
54894         (M_PI4_LOG10El): Likewise.
54895         (M_PI_LOG10El): Likewise.
54897 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54901 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54903         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54904         (MINUS_ZERO_INIT): Likewise.
54905         (PLUS_INFTY_INIT): Likewise.
54906         (MINUS_INFTY_INIT): Likewise.
54907         (QNAN_VALUE_INIT): Likewise.
54908         (MAX_VALUE_INIT): Likewise.
54909         (MIN_VALUE_INIT): Likewise.
54910         (MIN_SUBNORM_VALUE_INIT): Likewise.
54911         (plus_zero): Initialize with PLUS_ZERO_INIT.
54912         (minus_zero): Initialize with MINUS_ZERO_INIT.
54913         (plus_infty): Initialize with PLUS_INFTY_INIT.
54914         (minus_infty): Initialize with MINUS_INFTY_INIT.
54915         (qnan_value): Initialize with QNAN_VALUE_INIT.
54916         (max_value): Initialize with MAX_VALUE_INIT.
54917         (min_value): Initialize with MIN_VALUE_INIT.
54918         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54920         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54921         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54922         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54923         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54925         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54926         (RUN_TEST_2_f): Likewise.
54927         (RUN_TEST_ff_f): Likewise.
54928         (RUN_TEST_fi_f): Likewise.
54929         (RUN_TEST_fl_f): Likewise.
54930         (RUN_TEST_fff_f): Likewise.
54931         (RUN_TEST_c_f): Likewise.
54932         (RUN_TEST_f_f1): Likewise.
54933         (RUN_TEST_fF_f1): Likewise.
54934         (RUN_TEST_fI_f1): Likewise.
54935         (RUN_TEST_ffI_f1): Likewise.
54936         (RUN_TEST_c_c): Likewise.
54937         (RUN_TEST_cc_c): Likewise.
54938         (RUN_TEST_f_i): Likewise.
54939         (RUN_TEST_f_i_tg): Likewise.
54940         (RUN_TEST_ff_i_tg): Likewise.
54941         (RUN_TEST_f_b): Likewise.
54942         (RUN_TEST_f_b_tg): Likewise.
54943         (RUN_TEST_f_l): Likewise.
54944         (RUN_TEST_f_L): Likewise.
54945         (RUN_TEST_sincos): Likewise.
54946         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54947         whether to show exceptions.  Do not include ");\n" in return
54948         value.
54949         (special_functions): Output call to RUN_TEST_sincos instead of
54950         check_float calls.  Update calls to new_test.
54951         (parse_args): Output call to single RUN_TEST_* macro instead of
54952         check_* calls and other assignments.  Update calls to new_test.
54954         [BZ #2546]
54955         [BZ #2560]
54956         [BZ #5159]
54957         [BZ #15426]
54958         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54959         input to result for tgamma overflow.
54960         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54961         (gamma_coeff): New variable.
54962         (NCOEFF): New macro.
54963         (gamma_positive): New function.
54964         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54965         underflow here.  Use gamma_positive instead of exp (lgamma) for
54966         other arguments.
54967         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54968         (gamma_coeff): New variable.
54969         (NCOEFF): New macro.
54970         (gammaf_positive): New function.
54971         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54972         underflow here.  Use gamma_positive instead of exp (lgamma) for
54973         other arguments.
54974         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54975         (gamma_coeff): New variable.
54976         (NCOEFF): New macro.
54977         (gammal_positive): New function.
54978         (__ieee754_gammal_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-128ibm/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, overflow and
54986         underflow here.  Handle NaN the same as positive infinity.  Remove
54987         check x < 0xffffffff for negative integers.  Use gamma_positive
54988         instead of exp (lgamma) for other arguments.
54989         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54990         (gamma_coeff): New variable.
54991         (NCOEFF): New macro.
54992         (gammal_positive): New function.
54993         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54994         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54995         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54998         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54999         * sysdeps/generic/math_private.h (__gamma_productf): New
55000         prototype.
55001         (__gamma_product): Likewise.
55002         (__gamma_productl): Likewise.
55003         * math/Makefile (libm-calls): Add gamma_product.
55004         * math/libm-test.inc (tgamma_test): Add more tests.
55005         * sysdeps/i386/fpu/libm-test-ulps: Update.
55006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55008 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55010         * benchtests/bench-skeleton.c (main): Preheat CPU.
55012 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55014         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55016 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55018         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55019         and _dl_skip_args_internal.
55021 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55023         * manual/message.texi (Message Translation): Talk about users.
55024         Message to key mapping impacts design.
55026 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55028         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55030         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55032         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55033         * sysdeps/wordsize-64/glob64.c: ... here.
55035         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55036         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55037         New macros.
55039         * debug/getlogin_r_chk.c: Moved to ...
55040         * login/getlogin_r_chk.c: ... here.
55041         * debug/Makefile (routines): Move getlogin_r_chk to ...
55042         * login/Makefile (routines): ... here.
55043         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55044         * login/Versions (libc: GLIBC_2.4): ... here.
55046         * io/poll.c (__poll): Renamed from poll.
55047         Add libc_hidden_def.
55048         (poll): Define as weak alias.
55050         * debug/ptsname_r_chk.c: Moved to ...
55051         * login/ptsname_r_chk.c: ... here.
55052         * debug/Makefile (routines): Move ptsname_r_chk to ...
55053         * login/Makefile (routines): ... here.
55054         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55055         * login/Versions (libc: GLIBC_2.4): ... here.
55057         * posix/getlogin.c: Moved to ...
55058         * login/getlogin.c: ... here.
55059         * posix/getlogin_r.c: Moved to ...
55060         * login/getlogin_r.c: ... here.
55061         * posix/getlogin_r.c: Moved to ...
55062         * login/getlogin_r.c: ... here.
55063         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55064         * login/Makefile (routines): ... here.
55065         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55066         * login/Versions (libc: GLIBC_2.0): ... here.
55068         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55069         (setrlimit): Define as weak alias.
55071         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55072         Call __ names for open, ftruncate, and close.
55073         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55074         (truncate): Define as weak alias.
55076 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55078         * math/gen-libm-test.pl (parse_args): Initialize x before each
55079         test of frexp, modf and remquo.
55081         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55082         test signgam value.
55084 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55086         [BZ #15418]
55087         [BZ #15419]
55088         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55089         internal tests.
55090         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55092 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55094         * elf/dl-writev.h: New file.
55095         * elf/dl-misc.c: Include it.
55096         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55097         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55099 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55101         * math/libm-test.inc (noXFails): Remove variable.
55102         (noXPasses): Likewise.
55103         (BUILD_COMPLEX_INT): Remove macro.
55104         (print_screen): Remove xfail argument.
55105         (print_screen_max_error): Likewise.
55106         (update_stats): Likewise.
55107         (print_max_error): Likewise.  Update calls to other affected
55108         functions.
55109         (print_complex_max_error): Likewise.
55110         (test_single_exception): Update calls to print_screen.
55111         (test_single_errno): Likewise.
55112         (check_float_internal): Remove xfail argument.  Update calls to
55113         other affected functions.
55114         (check_float): Likewise.
55115         (check_complex): Likewise.
55116         (check_int): Likewise.
55117         (check_long): Likewise.
55118         (check_bool): Likewise.
55119         (check_longlong): Likewise.
55120         (main): Don't print noXFails and noXPasses.
55121         * math/gen-libm-test.pl (top level): Don't mention expected
55122         failure handling in comment.
55123         (new_test): Don't handle expected failures.
55124         (parse_args): Don't mention expected failure handling in comment.
55125         (generate_testfile): Don't handle expected failures.
55126         (parse_ulps): Likewise.
55127         (print_ulps_file): Likewise.
55128         (get_failure): Remove function.
55129         (output_test): Don't handle expected failures.
55130         * make/README.libm-test: Don't mention expected failure handling.
55132         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55133         (minus_zero): Likewise.
55134         (plus_infty): Likewise.
55135         (minus_infty): Likewise.
55136         (qnan_value): Likewise.
55137         (max_value): Likewise.
55138         (min_value): Likewise.
55139         (min_subnorm_value): Likewise.
55140         (initialize): Do not initialize those variables dynamically.
55142 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55144         * io/open.c (__open_2): Moved to ...
55145         * io/open_2.c: ... this new file.
55146         * io/open64.c (__open64_2): Moved to ...
55147         * io/open64_2.c: ... this new file.
55148         * io/openat.c (__openat_2): Moved to ...
55149         * io/openat_2.c: ... this new file.
55150         * io/openat64.c (__openat64_2): Moved to ...
55151         * io/openat64_2.c: ... this new file.
55152         * io/Makefile (routines): Add them.
55153         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55154         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55155         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55156         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55157         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55158         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55159         (__openat64): Add hidden_ver.
55160         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55161         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55163         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55164         Separately conditionalize setting of GLRO(dl_sysinfo) so
55165         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55166         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55168 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55170         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55171         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55172         definition.
55173         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55174         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55175         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55176         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55177         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55179 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55181         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55182         test signgam value.
55184         * math/libm-test.inc (hypot_test): Do not use
55185         IGNORE_ZERO_INF_SIGN.
55187 2013-05-03  Andreas Jaeger  <aj@suse.de>
55189         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55190         Linux 3.9.
55191         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55192         (PF_MAX): Adjust for VSOCK change.
55194 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55198 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55200         [BZ #15264]
55201         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55202         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55203         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55205 2013-05-02  David S. Miller  <davem@davemloft.net>
55207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55209 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55211         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55213 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55215         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55217 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55219         [BZ #14952]
55220         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55221         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55222         Use __attribute__ ((__gnu_inline__)).
55223         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55224         Don't use __attribute__ ((__gnu_inline__)).
55226 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55228         [BZ #15423]
55229         * math/s_catan.c (__catan): Handle small real or imaginary part of
55230         input specially to avoid spurious underflow.
55231         * math/s_catanf.c (__catanf): Likewise.
55232         * math/s_catanh.c (__catanh): Likewise.
55233         * math/s_catanhf.c (__catanhf): Likewise.
55234         * math/s_catanhl.c (__catanhl): Likewise.
55235         * math/s_catanl.c (__catanl): Likewise.
55236         * math/libm-test.inc (catan_test): Add more tests.
55237         (catanh_test): Likewise.
55238         * sysdeps/i386/fpu/libm-test-ulps: Update.
55239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55241 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55245 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55247         [BZ #15416]
55248         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55249         accurately for denominator in atan2.
55250         * math/s_catanf.c (__catanf): Likewise.
55251         * math/s_catanh.c (__catanh): Likewise.
55252         * math/s_catanhf.c (__catanhf): Likewise.
55253         * math/s_catanhl.c (__catanhl): Likewise.
55254         * math/s_catanl.c (__catanl): Likewise.
55255         * math/libm-test.inc (catan_test): Add more tests.
55256         (catanh_test): Likewise.
55257         * sysdeps/i386/fpu/libm-test-ulps: Update.
55258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55260 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55262         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55264         * benchtests/Makefile (bench): Remove slow benchmarks.
55265         * benchtests/atan-inputs: Add slow benchmark inputs.
55266         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55267         (BENCH_FUNC): Accept variant offset.
55268         (VARIANT): Define.
55269         * benchtests/bench-skeleton.c (main): Run benchmark for each
55270         variant.
55271         * benchtests/cos-inputs: Add slow benchmark inputs.
55272         * benchtests/exp-inputs: Likewise.
55273         * benchtests/pow-inputs: Likewise.
55274         * benchtests/sin-inputs: Likewise.
55275         * benchtests/slowatan-inputs: Remove.
55276         * benchtests/slowatan.c: Remove.
55277         * benchtests/slowcos-inputs: Remove.
55278         * benchtests/slowcos.c: Remove.
55279         * benchtests/slowexp-inputs: Remove.
55280         * benchtests/slowexp.c: Remove.
55281         * benchtests/slowpow-inputs: Remove.
55282         * benchtests/slowpow.c: Remove.
55283         * benchtests/slowsin-inputs: Remove.
55284         * benchtests/slowsin.c: Remove.
55285         * benchtests/slowtan-inputs: Remove.
55286         * benchtests/slowtan.c: Remove.
55287         * benchtests/tan-inputs: Add slow benchmark inputs.
55288         * scripts/bench.pl: Parse comments and directives.
55290         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55291         in CPPFLAGS.
55292         ($(objpfx)bench-%.c): Remove *-ITER.
55293         * benchtests/bench-modf.c: Remove definition of ITER.
55294         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55295         (main): Loop for DURATION seconds instead of fixed number of
55296         iterations.
55297         * scripts/bench.pl: Don't expect iterations in parameters.
55299 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55301         * io/fchdir.c (__fchdir): Renamed from fchdir.
55302         (fchdir): Define as weak alias.
55304 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55306         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55307         (ERRNO_EDOM): Likewise.
55308         (ERRNO_ERANGE): Likewise.
55309         (noErrnoTests): New variable.
55310         (init_max_error): Set errno to 0.
55311         (test_single_errno): New function.
55312         (test_errno): Likewise.
55313         (check_float_internal): Call test_errno.  Set errno to 0.
55314         (check_complex): Refer to errno tests in comment.
55315         (check_int): Call test_errno.  Set errno to 0.
55316         (check_long): Likewise.
55317         (check_bool): Likewise.
55318         (check_longlong): Likewise.
55319         (cos_test): Use ERRNO_* flags for errno tests instead of
55320         check_int.
55321         (expm1_test): Likewise.
55322         (fmod_test): Likewise.
55323         (ilogb_test): Likewise.
55324         (lgamma_test): Likewise.
55325         (pow_test): Likewise.
55326         (remainder_test): Likewise.
55327         (sin_test): Likewise.
55328         (tan_test): Likewise.
55329         (yn_test): Likewise.
55330         (initialize): Set errno to 0.
55331         (main): Print number of errno tests.
55332         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55334 2013-04-29  Andreas Jaeger  <aj@suse.de>
55336         [BZ #15084]
55337         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55338         and RES_USEVC.
55340         [BZ #15085]
55341         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55342         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55343         unimplemented.
55345         [BZ #15380]
55346         * stdlib/random.c (__initstate): Return NULL if
55347         __initstate fails.
55349         [BZ #15086]
55350         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55351         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55352         RES_SNGLKUPREOP.
55354 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55358 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55360         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55361         of individual tests.
55362         (casin_test): Likewise.
55363         (casinh_test): Likewise.
55365 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55367         [BZ #15409]
55368         * math/s_catan.c (__catan): Handle arguments with large real or
55369         imaginary part separately without squaring.
55370         * math/s_catanf.c (__catanf): Likewise.
55371         * math/s_catanh.c (__catanh): Likewise.
55372         * math/s_catanhf.c (__catanhf): Likewise.
55373         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55374         and redefine.
55375         (__catanhl): Handle arguments with large real or imaginary part
55376         separately without squaring.
55377         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55378         and redefine.
55379         (__catanl): Handle arguments with large real or imaginary part
55380         separately without squaring.
55381         * math/libm-test.inc (catan_test): Add more tests.
55382         (catanh_test): Likewise.
55383         * sysdeps/i386/fpu/libm-test-ulps: Update.
55384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55386 2013-04-27  Andreas Jaeger  <aj@suse.de>
55388         [BZ #15007]
55389         * stdlib/stdlib.h: Update guards for qecvt.
55390         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55391         <stdlib.h>.
55393 2013-04-27  Allan McRae  <allan@archlinux.org>
55395         * sysdeps/i386/fpu/libm-test-ulps: Update.
55397 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55399         [BZ #15406]
55400         * math/s_catan.c: Include <float.h>.
55401         (__catan): Ensure underflow exception occurs for underflowed
55402         result.
55403         * math/s_catanf.c: Include <float.h>.
55404         (__catanf): Ensure underflow exception occurs for underflowed
55405         result.
55406         * math/s_catanh.c: Include <float.h>.
55407         (__catanh): Ensure underflow exception occurs for underflowed
55408         result.
55409         * math/s_catanhf.c: Include <float.h>.
55410         (__catanhf): Ensure underflow exception occurs for underflowed
55411         result.
55412         * math/s_catanhl.c: Include <float.h>.
55413         (__catanhl): Ensure underflow exception occurs for underflowed
55414         result.
55415         * math/s_catanl.c: Include <float.h>.
55416         (__catanl): Ensure underflow exception occurs for underflowed
55417         result.
55418         * math/libm-test.inc (catan_test): Add more tests.
55419         (catanh_test): Likewise.
55421         [BZ #15405]
55422         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55423         underflowed result.
55424         * math/s_ccoshf.c (__ccoshf): Likewise.
55425         * math/s_ccoshl.c (__ccoshl): Likewise.
55426         * math/s_csin.c (__csin): Likewise.
55427         * math/s_csinf.c (__csinf): Likewise.
55428         * math/s_csinh.c (__csinh): Likewise.
55429         * math/s_csinhf.c (__csinhf): Likewise.
55430         * math/s_csinhl.c (__csinhl): Likewise.
55431         * math/s_csinl.c (__csinl): Likewise.
55432         * math/libm-test.inc (ccos_test): Add more tests.
55433         (ccosh_test): Likewise.
55434         (csin_test): Likewise.
55435         (csinh_test): Likewise.
55437 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55439         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55440         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55441         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55442         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55443         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55444         powerpc/power5+/fpu folders.
55445         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55448 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55452 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55454         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55455         additions to variable.
55456         [$(config-machine) = x86_64] (modules-names): Likewise.
55457         ($(objpfx)tst-audit3): Remove dependency.
55458         ($(objpfx)tst-audit3.out): Likewise.
55459         ($(objpfx)tst-audit4): Likewise.
55460         ($(objpfx)tst-audit4.out): Likewise.
55461         ($(objpfx)tst-audit5): Likewise.
55462         ($(objpfx)tst-audit5.out): Likewise.
55463         ($(objpfx)tst-audit6): Likewise.
55464         ($(objpfx)tst-audit6.out): Likewise.
55465         ($(objpfx)tst-audit7): Likewise.
55466         ($(objpfx)tst-audit7.out): Likewise.
55467         (tst-audit3-ENV): Remove variable.
55468         (tst-audit4-ENV): Likewise.
55469         (tst-audit5-ENV): Likewise.
55470         (tst-audit6-ENV): Likewise.
55471         (tst-audit7-ENV): Likewise.
55472         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55473         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55474         addition to variable.
55475         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55476         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55477         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55478         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55479         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55480         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55481         tst-audit3, tst-audit4 and tst-audit5.
55482         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55483         tst-audit6 and tst-audit7.
55484         [$(subdir) = elf] (modules-names): Add audit modules for those
55485         tests.
55486         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55487         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55488         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55489         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55490         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55491         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55492         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55493         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55494         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55495         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55496         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55497         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55498         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55499         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55500         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55501         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55502         Likewise.
55503         [$(subdir) = elf && $(config-cflags-avx) = yes]
55504         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55505         [$(subdir) = elf && $(config-cflags-avx) = yes]
55506         (CFLAGS-tst-auditmod4a.c): Likewise.
55507         [$(subdir) = elf && $(config-cflags-avx) = yes]
55508         (CFLAGS-tst-auditmod4b.c): Likewise.
55509         [$(subdir) = elf && $(config-cflags-avx) = yes]
55510         (CFLAGS-tst-auditmod6b.c): Likewise.
55511         [$(subdir) = elf && $(config-cflags-avx) = yes]
55512         (CFLAGS-tst-auditmod6c.c): Likewise.
55513         [$(subdir) = elf && $(config-cflags-avx) = yes]
55514         (CFLAGS-tst-auditmod7b.c): Likewise.
55515         * elf/tst-audit3.c: Move to ...
55516         * sysdeps/x86_64/tst-audit3.c: ... here.
55517         * elf/tst-audit4.c: Move to ...
55518         * sysdeps/x86_64/tst-audit4.c: ... here.
55519         * elf/tst-audit5.c: Move to ...
55520         * sysdeps/x86_64/tst-audit5.c: ... here.
55521         * elf/tst-audit6.c: Move to ...
55522         * sysdeps/x86_64/tst-audit6.c: ... here.
55523         * elf/tst-audit7.c: Move to ...
55524         * sysdeps/x86_64/tst-audit7.c: ... here.
55525         * elf/tst-auditmod3a.c: Move to ...
55526         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55527         * elf/tst-auditmod3b.c: Move to ...
55528         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55529         * elf/tst-auditmod4a.c: Move to ...
55530         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55531         * elf/tst-auditmod4b.c: Move to ...
55532         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55533         * elf/tst-auditmod5a.c: Move to ...
55534         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55535         * elf/tst-auditmod5b.c: Move to ...
55536         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55537         * elf/tst-auditmod6a.c: Move to ...
55538         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55539         * elf/tst-auditmod6b.c: Move to ...
55540         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55541         * elf/tst-auditmod6c.c: Move to ...
55542         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55543         * elf/tst-auditmod7a.c: Move to ...
55544         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55545         * elf/tst-auditmod7b.c: Move to ...
55546         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55548 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55550         [BZ #15366]
55551         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55552         define unconditionally.
55553         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55554         define unconditionally.
55555         (INT8_C, INT16_C, etc.): Likewise.
55557 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55559         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55560         __ehdr_start with hidden visibility.
55562         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55564 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55566         * math/libm-test.inc (cos_test): Use accurate hex constants.
55567         (sincost_test): Likewise.
55569 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55571         * math/libm-test.inc (catan_test): Add more tests.
55572         (catanh_test): Likewise.
55574         * math/s_catanf.c (__catanf): Use suffixed floating-point
55575         constants.
55576         * math/s_catanhf.c (__catanhf): Likewise.
55577         * math/s_catanhl.c (__catanhl): Likewise.
55578         * math/s_catanl.c (__catanl): Likewise.
55580         [BZ #15394]
55581         * math/s_catan.c (__catan): Calculate imaginary part of result
55582         with log1p not log unless computing log of number close to 0.
55583         * math/s_catanf.c (__catanf): Likewise.
55584         * math/s_catanl.c (__catanl): Likewise.
55585         * math/s_catanh.c (__catanh): Calculate real part of result with
55586         log1p not log unless computing log of number close to 0.
55587         * math/s_catanhf.c (__catanhf): Likewise.
55588         * math/s_catanhl.c (__catanhl): Likewise.
55589         * math/libm-test.inc (catan_test): Add more tests.
55590         (catanh_test): Likewise.
55591         * sysdeps/i386/fpu/libm-test-ulps: Update.
55592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55594 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55596         * benchtests/Makefile: Mention files in which fast and slow
55597         paths of math functions are implemented.
55599 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55601         * sysdeps/posix/timespec_get.c: New file.
55603 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55605         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55606         POWER.
55607         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55608         for POWER.
55609         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55610         powerpc/power5/fpu folders.
55611         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55612         * benchtests/Makefile: Add modf testcase.
55613         * benchtests/bench-modf.c: New file: Benchmark test for mo
55615 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55617         [BZ #14888]
55618         * time/Makefile (tests): Add tst-strptime-whitespace.
55619         * time/strptime_l.c (get_number): Use ISSPACE.
55620         (__strptime_internal): Likewise.
55621         * time/tst-strptime-whitespace.c: New test case.
55623 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55625         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55626         member.
55627         (_nss_files_init): Set it here.
55629 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55631         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55632         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55633         unsigned.
55635 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55637         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55639 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55641         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55642         size just once.
55644 2013-04-21  David S. Miller  <davem@davemloft.net>
55646         * po/ru.po: Update Russion translation from translation project.
55648 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55650         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55651         and setfsgid.
55653 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55655         * configure.in: Remove i386 configure warning. Remove i386 case.
55656         * configure: Regenerate.
55657         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55658         Add example to error message.
55659         * sysdeps/i386/configure: Regenerate.
55661 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55663         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55664         slowtan.
55665         * benchtests/cos-inputs: New file.
55666         * benchtests/slowcos-inputs: New file.
55667         * benchtests/slowcos.c: New file.
55668         * benchtests/slowtan-inputs: New file.
55669         * benchtests/slowtan.c: New file.
55670         * benchtests/tan-inputs: New file.
55672 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55674         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55675         considered kosher.
55677 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55679         * benchtests/Makefile: Include cppflags-iterator.mk to add
55680         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55682         * Makefile.in (bench-clean): New target.
55683         * benchtests/Makefile (bench-clean): Likewise.
55685 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55687         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55689 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55691         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55693 2013-04-15  Andreas Schwab  <schwab@suse.de>
55695         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55696         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55697         * nscd/pwdcache.c (cache_addpw): Likewise.
55698         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55699         more than recsize.
55701 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55703         * benchtests/Makefile (bench): Write all output to
55704         bench-out.tmp together.
55706 2013-04-15  Andreas Schwab  <schwab@suse.de>
55708         * nscd/nscd.c (main): Don't fork again after closing files.
55710 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55712         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55714         * benchtests/Rules (bench-deps): Collect dependencies into a
55715         single variable.  Add Makefile to dependencies.
55716         ($(objpfx)bench-%.c): Depend on bench-deps.
55718 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55719             Xavier Roche  <roche+kml2@exalead.com>
55721         [BZ #15361]
55722         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55723         just that it's a file descriptor.
55724         * manual/llio.texi (Synchronizing AIO Operations): Update description
55725         for EBADF error from aio_fsync.
55727 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55729         * Rules (bench): Move target definition...
55730         * benchtests/Makefile: ... here.
55732 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55734         * math/libm-test.inc (cos_test): Fix PI/2 test.
55735         (sincos_test): Likewise.
55736         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55737         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55739 2013-04-11  Andreas Schwab  <schwab@suse.de>
55741         [BZ #13988]
55742         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55743         accept exponent character only when digits were seen.
55744         * stdio-common/Makefile (tests): Add bug26.
55745         * stdio-common/bug26.c: New file.
55747         [BZ #14293]
55748         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55749         non-freeable.
55751 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55753         * Makeconfig (rtld-prefix): Define built linker prefix.
55754         * Rules (run-bench): Use it.
55755         * math/Makefile (run-regen-ulps): Likewise.
55757         * Rules (bench): Remove eval.
55759 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55760             Roland McGrath  <roland@hack.frob.com>
55761             Ondrej Bilka  <neleai@seznam.cz>
55763         [BZ #15346]
55764         * time/getdate.c: Include ctype.h and alloca.h.
55765         (__getdate_r): Trim leading and trailing spaces of input.
55766         * time/tst-getdate.c (tests): Add tests with leading and
55767         trailing spaces.
55769 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55771         [BZ #14280]
55772         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55773         when computing value.
55775 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55777         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55778         Use testrun.sh to run libm tests.
55780         [BZ #15309]
55781         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55783 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55785         [BZ #15264]
55786         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55788 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55790         * Makefile.in (regen-ulps): New target.
55791         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55792         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55793         [ifneq (no,$(PERL)] (regen-ulps): New target.
55794         [ifeq (no,$(PERL)] (regen-ulps): New target.
55795         * math/libm-test.inc (ulps_file_name): Define.
55796         (output_dir): New variable.
55797         (options): Add "output-dir" option.
55798         (parse_opt): Handle 'o' case.
55799         (main): If output_dir is non-NULL use it as a prefix
55800         otherwise use "".
55801         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55803 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55805         [BZ #10060, #10062]
55806         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55807         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55808         fail configure if __sync_val_compare_and_swap is not inlined.
55809         * sysdeps/i386/configure: Regenerate.
55810         * configure.in: Build for i686 when configured for i386.
55811         * configure: Regenerate.
55812         * README: Remove i386 reference.
55814 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55816         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55817         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55819 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55821         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55822         (lmsnanval): New variables.
55823         (F): Add conversion tests.
55824         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55825         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55827         * stdio-common/tstdiomisc.c (F): Properly collect individual
55828         tests' results.
55830         [BZ #14686, #15336]
55831         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55832         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55833         Instead, use input NaN values or generate a qNaN by arithmetic
55834         operation.  Also fix bugs to comply with the standard.
55835         * math/libm-test.inc (remainder_test): Add more tests.
55837         [BZ #15335, #15342]
55838         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55840         input NaN values or generate a qNaN by arithmetic operation.
55842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55843         unreachable code.
55845         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55846         definitions.
55848 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55850         [BZ #14478]
55851         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55852         underflowed result.
55853         * math/s_cexpf.c (__cexpf): Likewise.
55854         * math/s_cexpl.c (__cexpl): Likewise.
55855         * math/libm-test.inc (cexp_test): Add more tests.
55857 2013-04-03  Andreas Schwab  <schwab@suse.de>
55859         [BZ #15330]
55860         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55861         order arrays from heap if bigger than alloca cutoff.
55863 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55865         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55866         (SNAN_TESTS_double): Refer to GCC PR56831.
55867         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55868         GCC PR56828.
55870 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55872         * Rules (bench): Move bench.out after the run is complete.
55874         * Rules (bench): Echo currently running benchmark.
55876         * benchtests/Makefile (bench): Add atan and slowatan.
55877         * benchtests/atan-inputs: New file.
55878         * benchtests/slowatan-inputs: New file.
55879         * benchtests/slowatan.c: New file.
55881         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55883         its value.
55885         [BZ #15305]
55886         * sysdeps/unix/sysv/linux/kernel-features.h
55887         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55888         __ASSUME_XFS_RESTRICTED_CHOWN.
55889         * sysdeps/unix/sysv/linux/pathconf.c
55890         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55891         Save and restore errno.
55893 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55895         [BZ #15327]
55896         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55897         arguments using __kernel_casinh.
55898         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55899         arguments using __kernel_casinhf.
55900         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55901         arguments using __kernel_casinhl.
55902         * math/libm-test.inc (cacosh_test): Add more tests.
55903         * sysdeps/i386/fpu/libm-test-ulps: Update.
55904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55906 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55908         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55911         * bench/Makefile (bench): Add sin and slowsin.
55912         * benchtests/sin-inputs: New file.
55913         * benchtests/slowsin-inputs: New file.
55914         * benchtests/slowsin.c: New file.
55916         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55917         (bench): Add slowexp and slowpow.
55918         (exp-ITER): Increase iterations.
55919         (pow-ITER): Likewise.
55920         * benchtests/exp-inputs: Change input.
55921         * benchtests/pow-inputs: Likewise.
55922         * benchtests/slowexp-inputs: New file.
55923         * benchtests/slowexp.c: New file.
55924         * benchtests/slowpow-inputs: New file.
55925         * benchtests/slowpow.c: New file.
55927 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55929         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55930         instructions.
55931         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55932         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55933         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55934         * benchtests/Makefile: Add rint benchtest.
55935         * benchtests/rint-inputs: Input for rint benchtest.
55937 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55939         * Versions.def (libm): Add GLIBC_2.18.
55940         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55941         hidden libm prototypes.
55942         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55943         * math/Makefile (libm-calls): Add s_issignaling.
55944         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55945         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55946         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55947         declaration.
55948         * math/math.h [__USE_GNU] (issignaling): New macro.
55949         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55950         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55951         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55952         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55953         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55954         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55955         * manual/arith.texi (issignaling): New section.
55956         * manual/libm-err-tab.pl (@all_functions): Update comment.
55957         * math/gen-libm-test.pl (parse_args): Apply special handling for
55958         issignaling.
55959         * math/libm-test.inc (print_float, issignaling_test): New
55960         functions.
55961         (check_float_internal): Add issignaling checks.
55962         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55963         default definition.
55964         * sysdeps/powerpc/math-tests.h: New file.
55965         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55966         tests.
55967         * math/test-snan.c (TEST_FUNC): Likewise.
55969 2013-03-30  David S. Miller  <davem@davemloft.net>
55971         * po/de.po: Update from translation team.
55973 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55975         [BZ #10357]
55976         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55977         imaginary part less than 1.0 and real part less than 0.5
55978         specially.
55979         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55980         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55981         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55982         (cacos_test): Add more tests.
55983         (casin_test): Likewise.
55984         (casinh_test): Likewise.
55985         * sysdeps/i386/fpu/libm-test-ulps: Update.
55986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55988 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55990         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55991         ONE with its value.
55993         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55994         (__pow_mp): Replace ONE and MONE with their values.
55995         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55996         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55997         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55998         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55999         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56000         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56002         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56004         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56005         (__pow_mp): Replace ZERO and MZERO with their values.
56006         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56007         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56008         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56009         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56010         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56011         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56012         (__sqr): Likewise.
56014         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56016         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56018 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56020         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56021         Declare with __attribute__ ((weak)).
56022         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56023         Call __call_tls_dtors only if it's not NULL.
56025 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56027         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56028         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56029         magic __ehdr_start linker symbol if it's defined.
56030         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56031         them up here if it was already done.
56033         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56034         (_dl_aux_init): Use const in cast when setting it.
56035         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56036         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56037         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56039         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56040         Declare them here.
56041         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56042         * csu/libc-tls.c: Nor here.
56043         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56045         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56046         (__libc_message): Never call vsyslog.
56048 2013-03-28  Alan Modra  <amodra@gmail.com>
56050         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56051         Define as empty.
56052         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56053         Likewise.
56055 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56057         [BZ #15214]
56058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56059         underflow.
56060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56062 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56064         [BZ #15304]
56065         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56066         Don't add gid passed as argument.
56068         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56070 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56072         [BZ #15307]
56073         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56074         imaginary part between 1.0 and 1.5 and real part less than 0.5
56075         specially.
56076         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56077         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56078         * math/libm-test.inc (cacos_test): Add more tests.
56079         (casin_test): Likewise.
56080         (casinh_test): Likewise.
56081         * sysdeps/i386/fpu/libm-test-ulps: Update.
56082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56084 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56086         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56087         constants.
56088         (norm): Likewise.
56089         (denorm): Likewise.
56090         (__dbl_mp): Likewise.
56091         (add_magnitudes): Likewise.
56092         (sub_magnitudes): Likewise.
56093         (__add): Likewise.
56094         (__sub): Likewise.
56095         (__mul): Likewise.
56096         (__sqr): Likewise.
56097         (__inv): Likewise.
56098         (__dvd): Likewise.
56100         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56101         commented code.
56102         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56103         (__dubcos): Likewise.
56104         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56105         (__ieee754_acos): Likewise.
56106         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56107         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56108         (__exp1): Likewise.
56109         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56110         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56111         (log1): Likewise.
56112         (my_log2): Likewise.
56113         (checkint): Likewise.
56114         * sysdeps/ieee754/dbl-64/e_remainder.c
56115         (__ieee754_remainder): Likewise.
56116         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56118         (bsloww): Likewise.
56119         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56121         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56122         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56123         MANTISSA_STORE_T to store computations on mantissa.  Use
56124         macros for rounding and division.
56125         (denorm): Likewise.
56126         (__dbl_mp): Likewise.
56127         (add_magnitudes): Likewise.
56128         (sub_magnitudes): Likewise.
56129         (__mul): Likewise.
56130         (__sqr): Likewise.
56131         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56132         powers of two in terms of TWOPOW macro.
56133         (mp_no): Make type of mantissa as MANTISSA_T.
56134         [!RADIXI]: Define RADIXI.
56135         [!TWO52]: Define TWO52.
56136         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56138 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56140         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56141         llroundl symbol when building for PPC32.
56143 2013-03-24  Mark H Weaver  <mhw@netris.org>
56145         * manual/arith.texi (Normalization Functions): Fix prototypes for
56146         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56148 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56150         [BZ #13889]
56151         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56152         high value to check if expl overflow.
56153         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56154         to check for underflow and overflow.
56155         * math/libm-test.inc: Add exp test.
56157 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56159         [BZ #11120]
56160         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56161         with NOT_IN_libc.
56163 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56165         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56166         symbol.
56168 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56170         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56171         wrap blocks consisting of several statements.
56173         * sysdeps/generic/math-tests.h: New file.
56174         * sysdeps/i386/fpu/math-tests.h: Likewise.
56175         * math/test-snan.c: Include it.
56176         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56178 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56180         [BZ #15285]
56181         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56182         (__ieee754_j0l): Do not improve calculations using cos of twice
56183         input for inputs above LDBL_MAX / 2.0L.
56184         (__ieee754_y0l): Likewise.
56185         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56186         (__ieee754_j1l): Do not improve calculations using cos of twice
56187         input for inputs above LDBL_MAX / 2.0L.
56188         (__ieee754_y1l): Likewise.
56189         * math/libm-test.inc (j0_test): Add another test.
56190         (j1_test): Likewise.
56191         (y0_test): Likewise.
56192         (y1_test): Likewise.
56193         * sysdeps/i386/fpu/libm-test-ulps: Update.
56195 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56197         * Rules ($(objpfx)bench-%.c): Include code from a C source
56198         file.
56200 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56202         [BZ #15287]
56203         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56204         imaginary part 1.0 and real part less than 0.5 specially.
56205         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56206         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56207         * math/libm-test.inc (cacos_test): Add more tests.
56208         (casin_test): Likewise.
56209         (casinh_test): Likewise.
56210         * sysdeps/i386/fpu/libm-test-ulps: Update.
56211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56213 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56215         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56216         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56218 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56220         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56221         * config.make.in (config-cflags-sse4): Remove variable.
56222         (config-cflags-avx): Likewise.
56223         (config-cflags-sse2avx): Likewise.
56224         (config-cflags-novzeroupper): Likewise.
56225         (config-asflags-i686): Likewise.
56226         (have-mfma4): Likewise.
56227         (have-as-vis3): Likewise.
56228         (MIG): Likewise.
56229         * configure.in (MIG): Do not AC_SUBST.
56230         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56231         (libc_cv_cc_sse4): Do not AC_SUBST.
56232         (libc_cv_cc_avx): Likewise.
56233         (libc_cv_cc_sse2avx): Likewise.
56234         (libc_cv_cc_novzeroupper): Likewise.
56235         (libc_cv_cc_fma4): Likewise.
56236         (libc_cv_as_i686): Likewise.
56237         (libc_cv_sparc_as_vis3): Likewise.
56238         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56239         LIBC_CONFIG_VAR.
56240         (config-asflags-i686): Likewise.
56241         (config-cflags-avx): Likewise.
56242         (config-cflags-sse2avx): Likewise.
56243         (have-mfma4): Likewise.
56244         (config-cflags-novzeroupper): Likewise.
56245         * sysdeps/mach/configure.in (MIG): Likewise.
56246         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56247         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56248         LIBC_CONFIG_VAR.
56249         (config-cflags-avx): Likewise.
56250         (config-cflags-sse2avx): Likewise.
56251         (have-mfma4): Likewise.
56252         (config-cflags-novzeroupper): Likewise.
56253         * configure: Regenerated.
56254         * sysdeps/i386/configure: Likewise.
56255         * sysdeps/mach/configure: Likewise.
56256         * sysdeps/sparc/configure: Likewise.
56257         * sysdeps/x86_64/configure: Likewise.
56259 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56261         [BZ #14812]
56262         * locale/programs/localedef.c (options): Put N_ translation marker
56263         on argument names, not just descriptions.
56265 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56267         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56269 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56271         [BZ #14176]
56272         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56274 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56276         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56277         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56278         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56279         [!BEFORE_ABORT] (before_abort): New function.
56280         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56281         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56282         (writev_for_fatal): New function.
56283         (WRITEV_FOR_FATAL): New macro; call that.
56284         (backtrace_and_maps): New function.
56285         (BEFORE_ABORT): New macro; call that.
56286         (struct str_list): Type removed.
56287         (__libc_message, __libc_fatal): Functions removed.
56288         Include <sysdeps/posix/libc_fatal.c> instead.
56290 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56292         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56293         constants.
56294         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56295         double constants.
56297 2013-03-19  Andreas Schwab  <schwab@suse.de>
56299         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56300         * sysdeps/gnu/configure: Regenerate.
56302         * configure.in: Substitute libc_cv_rtlddir.
56303         * configure: Regenerate.
56304         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56305         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56306         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56307         * elf/Makefile (install-others, CFLAGS-interp.c)
56308         (ldso_install, common-ldd-rewrite): Likewise.
56309         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56310         $(inst_slibdir)/$(rtld-installed-name).
56311         * scripts/rellns-sh: Add -p option.
56312         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56313         for source.
56315 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56317         * manual/nptl.texi: Renamed to ...
56318         * manual/threads.texi: ... this.
56319         * manual/Makefile (chapters): Update.
56321 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56323         [BZ #14812]
56324         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56325         on argument names, not just descriptions.
56326         * malloc/memusagestat.c (options): Likewise.
56327         * nss/getent.c (options): Likewise.
56329 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56331         [BZ #14812]
56332         * iconv/iconv_prog.c (options): Put N_ translation marker
56333         on argument names, not just descriptions.
56334         * iconv/iconvconfig.c (options): Likewise.
56336 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56338         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56339         implementation which is faster on all x86_64 architectures.
56340         Tested on AMD, Intel Nehalem, SNB, IVB.
56341         * sysdeps/x86_64/strnlen.S: Likewise.
56343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56344         Remove all multiarch strlen and strnlen versions.
56345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56346         Remove strlen and strnlen related parts.
56348         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56349         Inline strlen part.
56350         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56352         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56353         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56354         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56355         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56356         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56357         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56359 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56361         * manual/memory.texi (Malloc Tunable Parameters):
56362         Sort parameters alphabetically. Add comments for missing entries.
56364 2013-03-17  David S. Miller  <davem@davemloft.net>
56366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56368 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56370         [BZ #15283]
56371         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56372         for arguments at most half maximum finite value.
56373         * math/libm-test.inc (j0_test): Add more tests.
56374         (j1_test): Likewise.
56375         (y0_test): Likewise.
56376         (y1_test): Likewise.
56377         * sysdeps/i386/fpu/libm-test-ulps: Update.
56378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56380         [BZ #14155]
56381         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56382         1 / x and functions P and Q for arguments above 0x1p256L.
56383         (__ieee754_y0l): Likewise.
56384         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56385         (__ieee754_y1l): Likewise.
56386         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56387         (j1_test): Likewise.
56388         (y0_test): Likewise.
56389         (y1_test): Likewise.
56391 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56393         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56394         variable.
56396 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56398         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56399         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56400         zero since it's initialized to EXEC_PAGESIZE.
56402         * sysdeps/unix/sysv/linux/ldsodefs.h
56403         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56404         * sysdeps/generic/ldsodefs.h: ... here.
56406 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56408         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56410         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56411         math/test-snan.c.
56412         * math/test-snan.c: Renamed from
56413         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56414         * math/Makefile (tests): Add test-snan.
56415         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56416         test-powerpc-snan.
56418         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56419         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56420         functions.
56421         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56422         __builtin_nan family of functions.
56423         * math/libm-test.inc (initialize): Initialize qnan_value with
56424         __builtin_nan family of functions.
56425         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56426         Remove variables.
56427         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56428         Remove functions.
56429         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56430         storage class.  Initialize qNaN_var and sNaN_var with
56431         __builtin_nan and __builtin_nans families of functions,
56432         respectively.
56434         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56435         (sqrt_test): Remove duplicate test with qNaN input.
56436         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56437         (round_test, signbit_test, significand_test): Note missing +/-Inf
56438         as well as qNaN tests.
56440         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56441         qNaN_var.  Fix a few strings, too.
56442         * math/libm-test.inc (nan_value): Rename to qnan_value.
56443         * math/gen-libm-test.pl (%beautify): Adjust to that.
56444         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56445         * math/test-misc.c (main): Likewise.
56446         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56447         to __qnan_bytes, and __qnan_union, respectively.
56448         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56449         Likewise.
56450         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56451         and lqnanval, respectively.
56452         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56453         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56454         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56455         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56457         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56458         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56459         doubles.
56461         * math/test-misc.c (main): Fix copy'n'pastos.
56462         * misc/tst-efgcvt.c (special): Likewise.
56464         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56465         Remove declarations.
56467 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56469         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56470         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56471         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56472         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56474 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56476         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56477         macro to return vdso values correctly in IFUNC implementations.
56478         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56479         Optimization by using IFUNC.
56481 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56482             Richard Henderson  <rth@redhat.com>
56483             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56485         * Makefile.in (bench): New target.
56486         * NEWS: Mention the benchmark framework.
56487         * Rules (bench): Likewise.
56488         (binaries-bench): Generate binaries for functions to
56489         benchmark.
56490         * benchtests/Makefile: New makefile for benchmark tests.
56491         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56492         programs.
56493         * benchtests/exp-inputs: New input file for EXP function.
56494         * benchtests/pow-inputs: New input file for POW function.
56495         * scripts/bench.pl: New script to generate source files for
56496         benchmark programs.
56498 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56500         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56501         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56502         computations on mantissa.  Use macros for rounding and
56503         division.
56504         (denorm): Likewise.
56505         (__dbl_mp): Likewise.
56506         (add_magnitudes): Likewise.
56507         (sub_magnitudes): Likewise.
56508         (__mul): Likewise.
56509         (__sqr): Likewise.
56510         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56511         powers of two in terms of TWOPOW macro.
56512         (mp_no): Make type of mantissa as MANTISSA_T.
56513         [!RADIXI]: Define RADIXI.
56514         [!TWO52]: Define TWO52.
56515         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56517         * manual/nptl.texi (cindex): Modify threads to pthreads.
56519 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56521         * sysdeps/x86_64/preconfigure: Regenerated.
56523 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56525         [BZ #14155]
56526         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56527         0x1p28 and above.
56528         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56529         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56530         0x1p28 and above.
56531         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56532         * math/libm-test.inc (j0_test): Do not allow one spurious
56533         underflow exception.
56534         (y1_test): Likewise.
56536 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56538         * manual/Makefile (chapters): Add nptl.
56539         * manual/debug.texi (Debugging Support): Add link to Threads
56540         chapter.
56541         * manual/nptl.texi: New file.
56543         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56545 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56547         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56548         for non-NULL pointer before the memory validity test. Pointed
56549         out by Holger Brunck <holger.brunck@keymile.com>.
56551 2013-03-13  Andreas Schwab  <schwab@suse.de>
56553         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56554         instead of .os.
56556 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56558         * timezone/zic.c: Update from tzcode 2013b.
56560 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56562         * manual/install.texi (Configuring and compiling):
56563         Mention i686 and i586.
56564         * INSTALL: Regenerate.
56566 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56568         * sysdeps/init_array/elf-init.c: New file.
56569         * csu/elf-init.c
56570         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56571         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56573         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56574         __gmon_start__ as global, but as static with a .preinit_array pointer.
56575         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56576         * sysdeps/init_array/crti.S: New file, empty except for comments.
56577         * sysdeps/init_array/crtn.S: Likewise.
56579 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56581         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56582         definining bcopy.
56583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56584         Remove Prefer_SSE_for_memop.
56585         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56586         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56587         HAS_PREFER_SSE_FOR_MEMOP.
56588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56589         memset-x86-64.
56590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56591         Remove bzero, memset ifunc support.
56592         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56593         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56594         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56595         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56597 2013-03-11  Andreas Schwab  <schwab@suse.de>
56599         [BZ #15234]
56600         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56601         by SHLIB_COMPAT.
56602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56603         (GLIBC_2.16): Remove pthread_atfork.
56605 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56607         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56608         (ptestcases.h): Likewise.
56610 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56612         * Makeconfig ($(common-objpfx)config.status): Depend on
56613         sysdeps/*/preconfigure{,.in} too.
56615 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56617         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56618         (__free_hook): Use void * instead of __malloc_ptr_t.
56619         (__malloc_hook): Likewise.
56620         (__realloc_hook): Likewise.
56621         (__memalign_hook): Likewise.
56622         (__after_morecore_hook): Likewise.
56623         * malloc/arena.c (save_malloc_hook): Likewise.
56624         (save_free_hook): Likewise.
56625         * malloc/hooks.c (malloc_hook_ini): Likewise.
56626         (realloc_hook_ini): Likewise.
56627         (memalign_hook_ini): Likewise.
56628         * malloc/malloc.c (malloc_hook_ini): Likewise.
56629         (realloc_hook_ini): Likewise.
56630         (memalign_hook_ini): Likewise.
56631         (__free_hook): Likewise.
56632         (__malloc_hook): Likewise.
56633         (__realloc_hook): Likewise.
56634         (__memalign_hook): Likewise.
56635         (__libc_malloc): Likewise.
56636         (__libc_free): Likewise.
56637         (__libc_realloc): Likewise.
56638         (__libc_memalign): Likewise.
56639         (__libc_valloc): Likewise.
56640         (__libc_pvalloc): Likewise.
56641         (__libc_calloc): Likewise.
56642         (__posix_memalign): Likewise.
56643         * malloc/morecore.c (__sbrk): Likewise.
56644         (__default_morecore): Likewise.
56646         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56648         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56649         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56650         __malloc_ptrdiff_t.
56652         * malloc/malloc.h (__malloc_size_t): Remove macro.
56653         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56654         __malloc_size_t.
56655         (old_memalign_hook): Likewise.
56656         (old_realloc_hook): Likewise.
56657         (struct hdr): Likewise.
56658         (flood): Likewise.
56659         (mallochook): Likewise.
56660         (memalignhook): Likewise.
56661         (reallochook): Likewise.
56662         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56663         (tr_old_realloc_hook): Likewise.
56664         (tr_old_memalign_hook): Likewise.
56665         (tr_mallochook): Likewise.
56666         (tr_reallochook): Likewise.
56667         (tr_memalignhook): Likewise.
56669 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56672         default_ldbl_pack and using as default implementation.
56673         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56674         implementation.
56675         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56676         redundant definition.
56677         (ldbl_insert_mantissa): Likewise.
56678         (ldbl_canonicalize): Likewise.
56679         (ldbl_nearbyint): Likewise.
56680         (ldbl_pack): Rename to ldbl_pack_ppc.
56681         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56682         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56683         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56685 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56688         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56689         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56690         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56692         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56693         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56694         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56696 2013-03-07  Andreas Jaeger  <aj@suse.de>
56698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56699         bits/mman-linux.h.
56701 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56703         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56704         Include mpa.h and declare __MPEXP.
56705         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56706         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56707         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56708         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56709         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56710         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56711         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56713         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56714         (__slowpow): Use long double EXPL and LOGL functions to
56715         compute POW.
56716         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56717         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56718         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56719         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56720         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56721         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56724         intermediate variable to calculate exponent.
56725         (__sqr): Likewise.
56726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56727         Likewise.
56728         (__sqr): Likewise.
56730         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56731         [!NO__SQR]: Define __sqr.
56732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56733         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56734         sysdeps/ieee754/dbl-64/mpa.c.
56735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56737         [BZ #12723]
56738         * posix/Makefile (tests): Add tst-pathconf.
56739         * posix/tst-pathconf.c: New test case.
56740         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56741         _PC_PIPE_BUF.
56742         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56744 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56746         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56748 2013-03-06  Andreas Jaeger  <aj@suse.de>
56750         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56751         definition via __MAP_ANONYMOUS.
56753         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56754         it's not part of Linux headers.
56756         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56757         (MAP_HUGE_MASK): Define.
56759         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56760         Define.
56761         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56762         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56763         Define.
56764         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56765         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56766         Define.
56767         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56768         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56769         Define.
56770         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56772         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56773         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56774         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56775         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56776         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56777         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56779         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56780         Handle f2fs.
56782         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56783         Handle f2fs and efivarfs.
56785         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56786         f2fs.
56788         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56789         (EFIVARFS_MAGIC): Add.
56790         (F2FS_LINK_MAX): Add.
56792 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56794         * stdio-common/vfprintf.c: Replace __builtin_expect with
56795         __glibc_unlikely.
56797 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56799         [BZ #13550]
56800         * sysdeps/generic/bp-sym.h: Remove file.
56801         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56802         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56803         <bp-sym.h> and <bp-asm.h>.
56804         (__longjmp): Don't use BP_SYM.
56805         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56806         and <bp-asm.h>.
56807         (memcpy): Don't use BP_SYM.
56808         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56809         <bp-sym.h> and <bp-asm.h>.
56810         (memcpy): Don't use BP_SYM.
56811         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56812         <bp-asm.h>.
56813         (memcpy): Don't use BP_SYM.
56814         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56815         <bp-asm.h>.
56816         (memset): Don't use BP_SYM.
56817         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56818         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56819         (__bzero): Don't use BP_SYM.
56820         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56821         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56822         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56823         <bp-sym.h> and <bp-asm.h>.
56824         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56825         pointers.
56826         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56827         <bp-sym.h> and <bp-asm.h>.
56828         (memcpy): Don't use BP_SYM.
56829         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56830         <bp-sym.h> and <bp-asm.h>.
56831         (memset): Don't use BP_SYM.
56832         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56833         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56834         (__bzero): Don't use BP_SYM.
56835         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56836         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56837         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56838         <bp-sym.h> and <bp-asm.h>.
56839         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56840         pointers.
56841         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56842         <bp-sym.h> and <bp-asm.h>.
56843         (memcpy): Don't use BP_SYM.
56844         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56845         <bp-sym.h> and <bp-asm.h>.
56846         (memset): Don't use BP_SYM.
56847         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56848         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56849         (__bzero): Don't use BP_SYM.
56850         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56851         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56853         <bp-sym.h> and <bp-asm.h>.
56854         (__memchr): Don't use BP_SYM.
56855         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56856         <bp-sym.h> and <bp-asm.h>.
56857         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56858         pointers.
56859         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56860         <bp-sym.h> and <bp-asm.h>.
56861         (memcpy): Don't use BP_SYM.
56862         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56863         <bp-sym.h> and <bp-asm.h>.
56864         (__mempcpy): Don't use BP_SYM.
56865         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56866         <bp-sym.h> and <bp-asm.h>.
56867         (__memrchr): Don't use BP_SYM.
56868         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56869         <bp-sym.h> and <bp-asm.h>.
56870         (memset): Don't use BP_SYM.
56871         (__bzero): Likewise.
56872         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56873         <bp-sym.h> and <bp-asm.h>.
56874         (__rawmemchr): Don't use BP_SYM.
56875         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56876         <bp-sym.h> and <bp-asm.h>.
56877         (__STRCMP): Don't use BP_SYM.
56878         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56879         <bp-sym.h> and <bp-asm.h>.
56880         (strchr): Don't use BP_SYM.
56881         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56882         <bp-sym.h> and <bp-asm.h>.
56883         (__strchrnul): Don't use BP_SYM.
56884         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56885         <bp-sym.h> and <bp-asm.h>.
56886         (strlen): Don't use BP_SYM.
56887         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56888         <bp-sym.h> and <bp-asm.h>.
56889         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56890         pointers.
56891         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56892         <bp-sym.h> and <bp-asm.h>.
56893         (__strnlen): Don't use BP_SYM.
56894         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56895         <bp-sym.h> and <bp-asm.h>.
56896         (__GI__setjmp): Don't use BP_SYM.
56897         (_setjmp): Likewise.
56898         (__sigsetjmp): Likewise.
56899         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56900         (L(start_addresses)): Don't use BP_SYM.
56901         (_start): Likewise.
56902         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56903         <bp-asm.h>.
56904         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56905         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56906         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56907         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56908         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56909         <bp-asm.h>.
56910         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56911         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56912         about bounded pointers.
56913         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56914         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56915         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56916         <bp-asm.h>.
56917         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56918         about bounded pointers.  Remove GKM FIXME comments.
56919         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56920         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56921         <bp-asm.h>.
56922         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56923         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56924         Remove GKM FIXME comments.
56925         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56926         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56927         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56928         <bp-asm.h>.
56929         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56930         about bounded pointers.  Remove GKM FIXME comment.
56931         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56932         and <bp-asm.h>.
56933         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56934         pointers.
56935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56936         <bp-sym.h> and <bp-asm.h>.
56937         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56939         <bp-sym.h> and <bp-asm.h>.
56940         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56941         comment.
56943 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56945         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56946         call free(NULL).
56948 2013-03-05  David S. Miller  <davem@davemloft.net>
56950         * po/es.po: Update from translation team.
56952 2013-03-05  Andreas Jaeger  <aj@suse.de>
56954         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56955         <bits/mman-linux.h>.
56956         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56957         is fine.
56958         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56959         <bits/mman-linux.h> to end of file.
56960         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56961         is fine.
56962         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56963         <bits/mman-linux.h> to end of file.
56964         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56965         is fine.
56966         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56967         <bits/mman-linux.h> to end of file.
56969         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56970         (MCL_CURRENT, MCL_FUTURE): Define here.
56972 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56974         [BZ #15232]
56975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56976         attribute_hidden.
56977         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56979 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56981         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56982         fourth parameter needed for rt_sigprocmask syscall.
56983         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56984         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56985         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56986         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56987         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56988         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56990 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56992         [BZ #13550]
56993         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56994         comment about bounded pointers.
56995         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56996         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56998 2013-03-04  Andreas Jaeger  <aj@suse.de>
57000         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57001         common definitions.
57003         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57004         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57005         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57007         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57010 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57012         [BZ #15055]
57013         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57014         __ieee754_sqrl instead of __sqrl.
57016 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57018         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57019         * sysdeps/powerpc/fpu_control.h: ... here.
57020         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57021         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57022         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57023         * sysdeps/powerpc/bits/mathinline.h: ... here.
57025 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57027         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57028         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57029         to just [NEED_DL_SYSINFO_DSO].
57030         * elf/dl-support.c: Likewise.
57031         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57032         * elf/rtld.c (dl_main): Likewise.
57033         * elf/setup-vdso.h (setup_vdso): Likewise.
57034         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57035         * sysdeps/unix/sysv/linux/dl-sysdep.c
57036         (_dl_discover_osversion): Likewise.
57038 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57040         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57041         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57043 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57045         * NEWS: Mention libm performance improvements and non-x86 PI
57046         futex support.
57048         * csu/libc-start.c (__pthread_initialize_minimal): Change
57049         function arguments.
57050         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57052 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57054         [BZ #13550]
57055         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57056         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57057         <bp-sym.h> and <bp-asm.h>.
57058         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57059         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57060         and <bp-asm.h>.
57061         (memcpy): Don't use BP_SYM.
57062         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57063         <bp-asm.h>.
57064         (__mpn_add_n): Don't use BP_SYM.
57065         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57066         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57067         and <bp-asm.h>.
57068         (__mpn_addmul_1): Don't use BP_SYM.
57069         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57070         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57071         <bp-sym.h>.
57072         (_setjmp): Don't use BP_SYM.
57073         (__novmx_setjmp): Likewise.
57074         (__GI__setjmp): Likewise.
57075         (__vmx_setjmp): Likewise.
57076         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57077         <bp-sym.h>.
57078         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57079         (__bzero): Don't use BP_SYM.
57080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57082         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57083         <bp-sym.h> and <bp-asm.h>.
57084         (memcpy): Don't use BP_SYM.
57085         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57086         <bp-sym.h> and <bp-asm.h>.
57087         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57088         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57089         <bp-sym.h> and <bp-asm.h>.
57090         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57091         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57092         <bp-asm.h>.
57093         (__mpn_lshift): Don't use BP_SYM.
57094         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57095         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57096         <bp-asm.h>.
57097         (memset): Don't use BP_SYM.
57098         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57099         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57100         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57101         <bp-asm.h>.
57102         (__mpn_mul_1): Don't use BP_SYM.
57103         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57105         <bp-sym.h> and <bp-asm.h>.
57106         (memcmp): Don't use BP_SYM.
57107         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57108         <bp-sym.h> and <bp-asm.h>.
57109         (memcpy): Don't use BP_SYM.
57110         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57111         <bp-sym.h> and <bp-asm.h>.
57112         (memset): Don't use BP_SYM.
57113         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57114         <bp-sym.h> and <bp-asm.h>.
57115         (strncmp): Don't use BP_SYM.
57116         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57117         <bp-sym.h> and <bp-asm.h>.
57118         (memcpy): Don't use BP_SYM.
57119         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57120         <bp-sym.h> and <bp-asm.h>.
57121         (memset): Don't use BP_SYM.
57122         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57123         <bp-sym.h> and <bp-asm.h>.
57124         (__memchr): Don't use BP_SYM.
57125         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57126         <bp-sym.h> and <bp-asm.h>.
57127         (memcmp): Don't use BP_SYM.
57128         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57129         <bp-sym.h> and <bp-asm.h>.
57130         (memcpy): Don't use BP_SYM.
57131         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57132         <bp-sym.h> and <bp-asm.h>.
57133         (__mempcpy): Don't use BP_SYM.
57134         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57135         <bp-sym.h> and <bp-asm.h>.
57136         (__memrchr): Don't use BP_SYM.
57137         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57138         <bp-sym.h> and <bp-asm.h>.
57139         (memset): Don't use BP_SYM.
57140         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57141         <bp-sym.h> and <bp-asm.h>.
57142         (__rawmemchr): Don't use BP_SYM.
57143         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57144         <bp-sym.h> and <bp-asm.h>.
57145         (__STRCMP): Don't use BP_SYM.
57146         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57147         <bp-sym.h> and <bp-asm.h>.
57148         (strchr): Don't use BP_SYM.
57149         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57150         <bp-sym.h> and <bp-asm.h>.
57151         (__strchrnul): Don't use BP_SYM.
57152         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57153         <bp-sym.h> and <bp-asm.h>.
57154         (strlen): Don't use BP_SYM.
57155         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57156         <bp-sym.h> and <bp-asm.h>.
57157         (strncmp): Don't use BP_SYM.
57158         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57159         <bp-sym.h> and <bp-asm.h>.
57160         (__strnlen): Don't use BP_SYM.
57161         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57162         <bp-asm.h>.
57163         (__mpn_rshift): Don't use BP_SYM.
57164         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57165         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57166         <bp-sym.h> and <bp-asm.h>.
57167         (__sigsetjmp): Don't use BP_SYM.
57168         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57169         (L(start_addresses)): Don't use BP_SYM.
57170         (_start): Likewise.
57171         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57172         <bp-asm.h>.
57173         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57174         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57175         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57176         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57177         <bp-asm.h>.
57178         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57179         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57180         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57181         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57182         <bp-asm.h>.
57183         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57184         comments.
57185         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57186         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57187         <bp-asm.h>.
57188         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57189         FIXME comments.
57190         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57191         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57192         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57193         <bp-asm.h>.
57194         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57195         comment.
57196         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57197         and <bp-asm.h>.
57198         (strncmp): Don't use BP_SYM,
57199         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57200         <bp-asm.h>.
57201         (__mpn_sub_n): Don't use BP_SYM.
57202         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57203         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57204         and <bp-asm.h>.
57205         (__mpn_submul_1): Don't use BP_SYM.
57206         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57208         <bp-sym.h> and <bp-asm.h>.
57209         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57211         <bp-sym.h> and <bp-asm.h>.
57212         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57213         comment.
57215 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57218         Use ZK to minimize writes to Z.
57219         (sub_magnitudes): Simplify code a bit.
57220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57221         Use ZK to minimize writes to Z.
57222         (sub_magnitudes): Simplify code a bit.
57224 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57226         * csu/gmon-start.c: Add special exception to license text.
57228 2013-02-27  Richard Henderson  <rth@redhat.com>
57230         * scripts/config.guess: Update from config.git.
57231         * scripts/config.sub: Likewise.
57233 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57235         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57237         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57239         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57241         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57243         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57245 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57247         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57248         [$(build-shared = yes].
57250 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57252         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57253         (__mul): Reduce iterations for calculating mantissa.
57255         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57256         MPTWO.
57257         (__mpranred): Likewise.
57259         [BZ #15160]
57260         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57261         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57263 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57265         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57266         Define __attribute__.
57268 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57270         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57271         unused.
57272         * posix/regex_internal.h (__attribute): Remove.
57273         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57274         (re_string_context_at): Likewise.
57275         (bitset_not): Use __attribute__ and mark function as possibly
57276         unused.
57277         (bitset_merge): Likewise.
57278         (bitset_mask): Likewise.
57279         (re_string_char_size_at): Likewise.
57280         (re_string_wchar_at): Likewise.
57281         (re_string_elem_size_at): Likewise.
57283 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57285         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57286         code.
57287         (cc32): Likewise.
57289         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57290         (__acr): Likewise.
57291         (__cpy): Likewise.
57292         (norm): Likewise.
57293         (denorm): Likewise.
57294         (__dbl_mp): Likewise.
57295         (add_magnitudes): Likewise.
57296         (sub_magnitudes): Likewise.
57297         (__mul): Likewise.
57298         (__inv): Likewise.
57300         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57301         style.
57303         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57304         style.
57306         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57307         code.
57309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57310         up changes with default code.
57311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57312         Likewise.
57314 2013-02-24  Allan McRae  <allan@archlinux.org>
57316         * manual/socket.texi (The Internet Namespace): Order menu items
57317         to match that in the file.
57319         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57320         node listing of the info page menu.
57322 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57324         [BZ #13550]
57325         * sysdeps/i386/bp-asm.h: Remove file.
57326         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57327         (PARMS): Do not use macros from bp-asm.h.
57328         (S1): Likewise.
57329         (S2): Likewise.
57330         (SIZE): Likewise.
57331         (__mpn_add_n): Do not use BP_SYM
57332         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57333         "bp-asm.h".
57334         (PARMS): Do not use macros from bp-asm.h.
57335         (S1): Likewise.
57336         (SIZE): Likewise.
57337         (__mpn_addmul_1): Do not use BP_SYM
57338         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57339         "bp-asm.h".
57340         (PARMS): Do not use macros from bp-asm.h.
57341         (SIGMSK): Likewise.
57342         (_setjmp): Likewise.  Do not use BP_SYM.
57343         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57344         "bp-asm.h".
57345         (PARMS): Do not use macros from bp-asm.h.
57346         (SIGMSK): Likewise.
57347         (setjmp): Likewise.  Do not use BP_SYM.
57348         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57349         "bp-asm.h".
57350         (PARMS): Do not use macros from bp-asm.h.
57351         (__frexp): Do not use BP_SYM.
57352         (frexp): Likewise.
57353         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57354         "bp-asm.h".
57355         (PARMS): Do not use macros from bp-asm.h.
57356         (__frexpf): Do not use BP_SYM.
57357         (frexpf): Likewise.
57358         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57359         "bp-asm.h".
57360         (PARMS): Do not use macros from bp-asm.h.
57361         (__frexpl): Do not use BP_SYM.
57362         (frexpl): Likewise.
57363         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57364         "bp-asm.h".
57365         (PARMS): Do not use macros from bp-asm.h.
57366         (__remquo): Do not use BP_SYM.
57367         (remquo): Likewise.
57368         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57369         "bp-asm.h".
57370         (PARMS): Do not use macros from bp-asm.h.
57371         (__remquof): Do not use BP_SYM.
57372         (remquof): Likewise.
57373         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57374         "bp-asm.h".
57375         (PARMS): Do not use macros from bp-asm.h.
57376         (__remquol): Do not use BP_SYM.
57377         (remquol): Likewise.
57378         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57379         "bp-asm.h".
57380         (PARMS): Do not use macros from bp-asm.h.
57381         (DEST): Likewise.
57382         (SRC): Likewise.
57383         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57384         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57385         "bp-asm.h".
57386         (PARMS): Do not use macros from bp-asm.h.
57387         (strlen): Do not use BP_SYM.
57388         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57389         "bp-asm.h".
57390         (PARMS): Do not use macros from bp-asm.h.
57391         (S1): Likewise.
57392         (S2): Likewise.
57393         (SIZE): Likewise.
57394         (__mpn_add_n): Do not use BP_SYM.
57395         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
57400         (__mpn_addmul_1): Do not use BP_SYM.
57401         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57402         weak_alias.
57403         (bzero): Likewise.
57404         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57405         "bp-asm.h".
57406         (PARMS): Do not use macros from bp-asm.h.
57407         (S): Likewise.
57408         (SIZE): Likewise.
57409         (__mpn_lshift): Do not use BP_SYM.
57410         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57411         "bp-asm.h".
57412         (PARMS): Do not use macros from bp-asm.h.
57413         (DEST): Likewise.
57414         (SRC): Likewise.
57415         (LEN): Likewise.
57416         (memcpy): Likewise.  Do not use BP_SYM.
57417         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57418         libc_hidden_def and weak_alias.
57419         (mempcpy): Do not use BP_SYM in weak_alias.
57420         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57421         "bp-asm.h".
57422         (PARMS): Do not use macros from bp-asm.h.
57423         (DEST): Likewise.
57424         (LEN): Likewise.
57425         [!BZERO_P] (CHR): Likewise.
57426         (memset): Likewise.  Do not use BP_SYM.
57427         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57428         "bp-asm.h".
57429         (PARMS): Do not use macros from bp-asm.h.
57430         (S1): Likewise.
57431         (SIZE): Likewise.
57432         (__mpn_mul_1): Do not use BP_SYM.
57433         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57434         "bp-asm.h".
57435         (PARMS): Do not use macros from bp-asm.h.
57436         (S): Likewise.
57437         (SIZE): Likewise.
57438         (__mpn_rshift): Do not use BP_SYM.
57439         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57440         "bp-asm.h".
57441         (PARMS): Do not use macros from bp-asm.h.
57442         (STR): Likewise.
57443         (CHR): Likewise.
57444         (strchr): Likewise.  Do not use BP_SYM.
57445         (index): Do not use BP_SYM in weak_alias.
57446         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57447         "bp-asm.h".
57448         (PARMS): Do not use macros from bp-asm.h.
57449         (DEST): Likewise.
57450         (SRC): Likewise.
57451         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57452         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57453         "bp-asm.h".
57454         (PARMS): Do not use macros from bp-asm.h.
57455         (strlen): Do not use BP_SYM.
57456         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57457         "bp-asm.h".
57458         (PARMS): Do not use macros from bp-asm.h.
57459         (S1): Likewise.
57460         (S2): Likewise.
57461         (SIZE): Likewise.
57462         (__mpn_sub_n): Do not use BP_SYM.
57463         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
57468         (__mpn_submul_1): Do not use BP_SYM.
57469         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57470         "bp-asm.h".
57471         (PARMS): Do not use macros from bp-asm.h.
57472         (S1): Likewise.
57473         (S2): Likewise.
57474         (SIZE): Likewise.
57475         (__mpn_add_n): Do not use BP_SYM.
57476         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57477         weak_alias.
57478         (bzero): Likewise.
57479         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57480         "bp-asm.h".
57481         (PARMS): Do not use macros from bp-asm.h.
57482         (BLK2): Likewise.
57483         (LEN): Likewise.
57484         (memcmp): Do not use BP_SYM.
57485         (bcmp): Do not use BP_SYM in weak_alias.
57486         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57487         "bp-asm.h".
57488         (PARMS): Do not use macros from bp-asm.h.
57489         (DEST): Likewise.
57490         (SRC): Likewise.
57491         (LEN): Likewise.
57492         (memcpy): Likewise.  Do not use BP_SYM.
57493         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
57500         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
57507         (mempcpy): Do not use BP_SYM in weak_alias.
57508         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57509         "bp-asm.h".
57510         (PARMS): Do not use macros from bp-asm.h.
57511         (DEST): Likewise.
57512         (LEN): Likewise.
57513         [!BZERO_P] (CHR): Likewise.
57514         (memset): Likewise.  Do not use BP_SYM.
57515         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57516         "bp-asm.h".
57517         (PARMS): Do not use macros from bp-asm.h.
57518         (STR2): Likewise.
57519         (strcmp): Do not use BP_SYM.
57520         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57521         "bp-asm.h".
57522         (PARMS): Do not use macros from bp-asm.h.
57523         (STR): Likewise.
57524         (DELIM): Likewise.
57525         [USE_AS_STRTOK_R] (SAVE): Likewise.
57526         (FUNCTION): Likewise.  Do not use BP_SYM.
57527         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57528         aliases.
57529         (strtok_r): Likewise.
57530         (__GI___strtok_r): Likewise.
57531         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57532         (PARMS): Do not use macros from bp-asm.h.
57533         (S): Likewise.
57534         (SIZE): Likewise.
57535         (__mpn_lshift): Do not use BP_SYM.
57536         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57537         (PARMS): Do not use macros from bp-asm.h.
57538         (STR): Likewise.
57539         (CHR): Likewise.
57540         (__memchr): Do not use BP_SYM.
57541         (memchr): Do not use BP_SYM in weak_alias.
57542         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57543         (PARMS): Do not use macros from bp-asm.h.
57544         (BLK2): Likewise.
57545         (LEN): Likewise.
57546         (memcmp): Do not use BP_SYM.
57547         (bcmp): Do not use BP_SYM in weak_alias.
57548         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57549         (PARMS): Do not use macros from bp-asm.h.
57550         (S1): Likewise.
57551         (SIZE): Likewise.
57552         (__mpn_mul_1): Do not use BP_SYM.
57553         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57554         "bp-asm.h".
57555         (PARMS): Do not use macros from bp-asm.h.
57556         (STR): Likewise.
57557         (CHR): Likewise.
57558         (__rawmemchr): Do not use BP_SYM.
57559         (rawmemchr): Do not use BP_SYM in weak_alias.
57560         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57561         (PARMS): Do not use macros from bp-asm.h.
57562         (S): Likewise.
57563         (SIZE): Likewise.
57564         (__mpn_rshift): Do not use BP_SYM.
57565         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57566         (PARMS): Do not use macros from bp-asm.h.
57567         (SIGMSK): Likewise.
57568         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57569         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57570         (_start): Do not use BP_SYM.
57571         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57572         (PARMS): Do not use macros from bp-asm.h.
57573         (DEST): Likewise.
57574         (SRC): Likewise.
57575         (__stpcpy): Likewise.  Do not use BP_SYM.
57576         (stpcpy): Do not use BP_SYM in weak_alias.
57577         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57578         "bp-asm.h".
57579         (PARMS): Do not use macros from bp-asm.h.
57580         (DEST): Likewise.
57581         (SRC): Likewise.
57582         (LEN): Likewise.
57583         (__stpncpy): Likewise.  Do not use BP_SYM.
57584         (stpncpy): Do not use BP_SYM in weak_alias.
57585         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57586         (PARMS): Do not use macros from bp-asm.h.
57587         (STR): Likewise.
57588         (CHR): Likewise.
57589         (strchr): Likewise.  Do not use BP_SYM.
57590         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57591         "bp-asm.h".
57592         (PARMS): Do not use macros from bp-asm.h.
57593         (STR): Likewise.
57594         (CHR): Likewise.
57595         (__strchrnul): Likewise.  Do not use BP_SYM.
57596         (strchrnul): Do not use BP_SYM in weak_alias.
57597         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57598         "bp-asm.h".
57599         (PARMS): Do not use macros from bp-asm.h.
57600         (STOP): Likewise.
57601         (strcspn): Do not use BP_SYM.
57602         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57603         "bp-asm.h".
57604         (PARMS): Do not use macros from bp-asm.h.
57605         (STR): Likewise.
57606         (STOP): Likewise.
57607         (strpbrk): Likewise.  Do not use BP_SYM.
57608         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57609         "bp-asm.h".
57610         (PARMS): Do not use macros from bp-asm.h.
57611         (STR): Likewise.
57612         (CHR): Likewise.
57613         (strrchr): Likewise.  Do not use BP_SYM.
57614         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57615         (PARMS): Do not use macros from bp-asm.h.
57616         (SKIP): Likewise.
57617         (strspn): Do not use BP_SYM.
57618         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57619         (PARMS): Do not use macros from bp-asm.h.
57620         (STR): Likewise.
57621         (DELIM): Likewise.
57622         (SAVE): Likewise.
57623         (FUNCTION): Likewise.  Do not use BP_SYM.
57624         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57625         aliases.
57626         (strtok_r): Likewise.
57627         (__GI___strtok_r): Likewise.
57628         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57629         (PARMS): Do not use macros from bp-asm.h.
57630         (S1): Likewise.
57631         (S2): Likewise.
57632         (SIZE): Likewise.
57633         (__mpn_sub_n): Do not use BP_SYM.
57634         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57635         "bp-asm.h".
57636         (PARMS): Do not use macros from bp-asm.h.
57637         (S1): Likewise.
57638         (SIZE): Likewise.
57639         (__mpn_submul_1): Do not use BP_SYM.
57640         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57641         <bp-sym.h>.
57642         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57643         and <bp-asm.h>.
57644         (PARMS): Do not use macros from bp-asm.h.
57645         (FLAGS): Likewise.
57646         (PTID): Likewise.
57647         (TLS): Likewise.
57648         (CTID): Likewise.
57649         (__clone): Do not use BP_SYM.
57650         (clone): Do not use BP_SYM in weak_alias.
57651         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57652         and <bp-asm.h>.
57653         (PARMS): Do not use macros from bp-asm.h.
57654         (LEN): Likewise.
57655         (__mmap64): Do not use BP_SYM.
57656         (mmap64): Do not use BP_SYM in weak_alias.
57657         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57658         <bp-sym.h> and <bp-asm.h>.
57659         (PARMS): Do not use macros from bp-asm.h.
57660         (__posix_fadvise64_l64): Do not use BP_SYM.
57661         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57662         (PARMS): Do not use macros from bp-asm.h.
57663         (NSOPS): Likewise.
57664         (semtimedop): Do not use BP_SYM.
57665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57666         and <bp-asm.h>.
57668 2013-02-21  Allan McRae  <allan@archlinux.org>
57670         * manual/message.texi (Charset conversion in gettext):
57671         Move @end statement to beginning of line.
57673 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57676         static.
57677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57678         Likewise.
57680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57681         (denorm): Likewise.
57682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57685 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57687         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57688         tail-call to the resolved function if pltexit isn't needed.
57690 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57693         or Y being zero as being unlikely.
57694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57695         Likewise.
57697 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57699         * manual/nss.texi (System Databases and Name Service Switch):
57700         Remove frobnicate @pxref.
57702 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57704         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57705         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57707 2013-02-20  Petr Machata  <pmachata@redhat.com>
57709         * elf/elf.h (R_ARM_TARGET1): New macro.
57710         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57711         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57712         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57713         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57714         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57715         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57716         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57717         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57718         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57719         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57720         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57721         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57722         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57723         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57724         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57725         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57726         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57727         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57728         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57729         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57730         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57731         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57732         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57733         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57734         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57735         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57736         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57737         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57738         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57739         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57740         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57741         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57742         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57743         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57744         (R_ARM_THM_GOT_BREL12): Likewise.
57745         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57746         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57747         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57748         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57749         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57750         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57751         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57752         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57753         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57755 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57757         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57758         __attribute_used__ to __attribute__ ((unused)).
57760 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57763         powerpc mpa.c.
57764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57765         comment formatting.
57766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57768 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57770         [BZ #13550]
57771         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57772         Remove macro.
57773         (ENTER): Remove both macro definitions.
57774         (LEAVE): Likewise.
57775         (CHECK_BOUNDS_LOW): Likewise.
57776         (CHECK_BOUNDS_HIGH): Likewise.
57777         (CHECK_BOUNDS_BOTH): Likewise.
57778         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57779         (RETURN_BOUNDED_POINTER): Likewise.
57780         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57781         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57782         (POP_ERRNO_LOCATION_RETURN): Likewise.
57783         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57784         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57785         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57786         macros.
57787         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57788         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57789         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57790         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57791         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57792         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57793         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57794         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57795         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57796         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57797         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57798         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57799         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57800         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57801         removed macros.
57802         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57803         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57804         macros.
57805         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57806         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57807         * sysdeps/i386/i586/memset.S (memset): Likewise.
57808         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57809         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57810         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57811         macros.
57812         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57813         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57814         Change uses of L(2) to L(out).
57815         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57816         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57817         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57818         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57819         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57820         removed macros.
57821         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57822         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57823         macros.
57824         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57825         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57826         (RETURN): Do not use macro LEAVE.
57827         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57828         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57829         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57830         * sysdeps/i386/i686/memset.S (memset): Likewise.
57831         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57832         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57833         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57834         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57835         Likewise.
57836         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57837         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57838         L(1_2) and L(1_3) into L(1).
57839         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57840         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57841         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57842         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57843         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57844         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57845         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57846         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57847         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57848         macros.
57849         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57850         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57851         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57852         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57853         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57854         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57855         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57856         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57857         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57858         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57859         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57860         * sysdeps/i386/strspn.S (strspn): Likewise.
57861         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57862         conditional code.
57863         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57864         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57865         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57866         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57867         L(1_3) into L(1_1).
57868         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57869         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57870         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57871         macros.
57872         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57874 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57876         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57877         macro.
57879 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57881         * math/atest-exp.c (exp_mpn): Remove ROUND.
57882         * math/atest-exp2.c (exp_mpn): Likewise.
57883         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57885         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57886         * stdlib/tst-tls-atexit-lib.c: Likewise.
57887         * stdlib/tst-tls-atexit.c: Likewise.
57889 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57891         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57892         and __attribute_alloc_size__.
57894 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57896         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57897         __attribute_alloc_size__.
57898         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57899         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57901 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57903         * include/programs/xmalloc.h: New file.
57904         * catgets/gencat.c: Include it.
57905         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57906         * elf/pldd.c: Likewise.
57907         * iconv/iconv_charmap.c: Likewise.
57908         * iconv/iconvconfig.c: Likewise.
57909         * iconv/strtab.c: Likewise.
57910         * locale/programs/locale.c: Likewise.
57911         * locale/programs/localedef.h: Likewise.
57912         * locale/programs/simple-hash.c: Likewise.
57913         * nscd/nscd.h: Likewise.
57914         * nss/makedb.c: Likewise.
57915         * sysdeps/generic/ldconfig.h: Likewise.
57917 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57919         * Versions.def: Add GLIBC_2.18.
57920         * include/link.h (struct link_map): New member l_tls_dtor_count.
57921         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57922         (__call_tls_dtors): Likewise.
57923         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57924         __cxa_thread_atexit_impl.
57925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57926         Likewise.
57927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57928         Likewise.
57929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57930         Likewise.
57931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57932         Likewise.
57933         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57935         Likewise.
57936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57937         Likewise.
57938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57940         Likewise.
57941         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57942         (tests): Add test case tst-tls-atexit.
57943         (modules-names): Add shared library for tst-tls-atexit.
57944         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57945         (GLIBC_PRIVATE): Add __call_tls_dtors.
57946         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57947         for libstdc++.
57948         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57949         * stdlib/tst-tls-atexit.c: New test case.
57950         * stdlib/tst-tls-atexit-lib.c: New test case.
57952         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57954         * elf/Versions (ld): Add _dl_find_dso_for_object.
57955         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57956         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57957         (dl_open_worker): Use _dl_find_dso_for_object.
57958         * elf/dl-sym.c (do_sym): Likewise.
57959         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57961 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57963         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57964         Syntactic changes only.
57965         (_dl_runtime_profile): Do a tail-call to the resolved function.
57967 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57969         [BZ #13550]
57970         * sysdeps/x86_64/bp-asm.h: Remove file.
57971         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57972         <bp-sym.h> and <bp-asm.h>.
57973         (__clone): Do not use BP_SYM.
57974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57975         <bp-sym.h> and <bp-asm.h>.
57976         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57977         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57978         "bp-asm.h".
57979         (_setjmp): Do not use BP_SYM.
57980         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57981         "bp-asm.h".
57982         (setjmp): Do not use BP_SYM.
57983         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57984         libc_hidden_def.
57985         (mempcpy): Do not use BP_SYM in weak_alias.
57986         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57987         "bp-asm.h".
57988         (strchr): Do not use BP_SYM.
57989         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57990         "bp-asm.h".
57991         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57992         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57993         (_start): Do not use BP_SYM.
57994         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57995         "bp-asm.h".
57996         (strcat): Do not use BP_SYM.
57997         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57998         "bp-asm.h".
57999         (STRCMP): Do not use BP_SYM.
58000         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58001         "bp-asm.h".
58002         (STRCPY): Do not use BP_SYM.
58003         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58004         "bp-asm.h".
58005         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58006         "bp-asm.h".
58007         (FUNCTION): Do not use BP_SYM.
58008         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58009         weak_alias.
58010         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58012 2013-02-17  Andreas Jaeger  <aj@suse.de>
58014         * time/Versions: Sort entries.
58015         * string/Versions: Likewise.
58016         * resolv/Versions: Likewise.
58017         * posix/Versions: Likewise.
58018         * iconv/Versions: Likewise.
58019         * elf/Versions: Likewise.
58020         * wcsmbs/Versions: Likewise.
58022 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58024         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58025         loop termination condition.
58027         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58028         variable to calculate EZ.
58029         (__sqr): Likewise.
58031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58032         the lower precision input.
58034 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58036         [BZ #13550]
58037         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58038         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58039         (run-via-rtld-prefix): Do not handle %-bp tests.
58040         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58041         (all-object-suffixes): Remove .ob.
58042         (bppfx): Remove variable.
58043         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58044         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58045         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58046         [$(build-bounded) = yes] (libtype.ob): Likewise.
58047         * Makerules (elide-routines.ob): Remove variable.
58048         (do-tests-clean): Do not handle *-bp.out.
58049         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58050         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58051         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58052         (tests): Do not include $(tests-bp.out).
58053         (xtests): Do not include $(xtests-bp.out).
58054         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58055         [$(build-bounded) = yes] ($(addprefix
58056         $(objpfx),$(binaries-bounded))): Remove rule.
58057         ($(objpfx)%-bp.out): Remove rule.
58058         * config.make.in (build-bounded): Remove variable.
58059         * crypt/Makefile [$(build-bounded) = yes]
58060         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58061         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58062         append to variable.
58063         [$(build-bounded) = yes] (install-lib): Likewise.
58064         [$(build-bounded) = yes] (generated): Likewise.
58065         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58066         Remove rule.
58067         * intl/Makefile [$(build-bounded) = yes]
58068         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58069         * math/Makefile [$(build-bounded) = yes]
58070         ($(tests:%=$(objpfx)%-bp): Likewise.
58071         * misc/Makefile [$(build-bounded) = yes]
58072         ($(objpfx)tst-tsearch-bp): Likewise.
58073         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58074         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58075         Remove dependency.
58076         * string/Makefile (o-objects.ob): Remove variable.
58077         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58078         (CFLAGS-.ob): Remove variable.
58079         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58080         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58081         both definitions of variable.
58082         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58083         (ASFLAGS-.ob): Remove variable.
58085 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58087         [BZ #13550]
58088         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58089         Remove __BOUNDED_POINTERS__ from condition.
58090         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58091         * string/bits/string2.h [!__NO_STRING_INLINES &&
58092         !__BOUNDED_POINTERS__]: Likewise.
58093         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58094         Likewise.
58095         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58096         Remove conditional code.
58097         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58098         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58099         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58100         condition.
58102         [BZ #13550]
58103         * csu/libc-start.c: Do not include <bp-sym.h>.
58104         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58105         * elf/dl-open.c: Do not include <bp-sym.h>.
58106         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58107         * math/fegetenv.c: Do not include <bp-sym.h>.
58108         (fegetenv): Do not use BP_SYM in versioned symbols.
58109         * nptl/sysdeps/pthread/bits/libc-lockP.h
58110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58111         <bp-sym.h>.
58112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58113         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58115         (__pthread_mutex_destroy): Likewise.
58116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58117         (__pthread_mutex_lock): Likewise.
58118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58119         (__pthread_mutex_trylock): Likewise.
58120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58121         (__pthread_mutex_unlock): Likewise.
58122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58123         (__pthread_mutexattr_init): Likewise.
58124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58125         (__pthread_mutexattr_destroy): Likewise.
58126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58127         (__pthread_mutexattr_settype): Likewise.
58128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58129         (__pthread_rwlock_init): Likewise.
58130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58131         (__pthread_rwlock_destroy): Likewise.
58132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58133         (__pthread_rwlock_rdlock): Likewise.
58134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58135         (__pthread_rwlock_tryrdlock): Likewise.
58136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58137         (__pthread_rwlock_wrlock): Likewise.
58138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58139         (__pthread_rwlock_trywrlock): Likewise.
58140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58141         (__pthread_rwlock_unlock): Likewise.
58142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58143         (__pthread_key_create): Likewise.
58144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58145         (__pthread_setspecific): Likewise.
58146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58147         (__pthread_getspecific): Likewise.
58148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58149         Likewise.
58150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58151         (_pthread_cleanup_push_defer): Likewise.
58152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58153         (_pthread_cleanup_pop_restore): Likewise.
58154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58155         (pthread_setcancelstate): Likewise.
58156         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58157         <bp-sym.h>.
58158         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58159         (memchr): Do not use BP_SYM in weak_alias.
58160         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58161         (fegetenv): Do not use BP_SYM in versioned symbols.
58162         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58163         (fesetenv): Do not use BP_SYM in versioned symbols.
58164         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58165         (feupdateenv): Do not use BP_SYM in versioned symbols.
58166         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58167         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58168         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58169         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58170         (open64): Do not use BP_SYM in weak_alias.
58171         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58172         (fegetenv): Do not use BP_SYM in versioned symbols.
58173         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58174         (fesetenv): Do not use BP_SYM in versioned symbols.
58175         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58176         (feupdateenv): Do not use BP_SYM in versioned symbols.
58177         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58178         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58179         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58180         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58181         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58182         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58183         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58184         <bp-sym.h>.
58185         (__libc_start_main): Do not use BP_SYM.
58187 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58190         redundant return line.
58191         (norm): Likewise.
58192         (denorm): Likewise.
58193         (dbl_mp): Likewise.
58194         (sub_magnitudes): Likewise.
58195         (__add): Likewise.
58196         (__sub): Likewise.
58197         (__mul): Likewise.
58198         (__inv): Likewise.
58199         (__dvd): Likewise.
58200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58201         (norm): Likewise.
58202         (denorm): Likewise.
58203         (dbl_mp): Likewise.
58204         (sub_magnitudes): Likewise.
58205         (__add): Likewise.
58206         (__sub): Likewise.
58207         (__mul): Likewise.
58208         (__inv): Likewise.
58209         (__dvd): Likewise.
58211         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58212         instead of __mul.
58213         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58214         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58215         (cc32): Likewise.
58217         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58218         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58219         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58220         of __mul for squares.
58221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58222         function
58223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58224         Likewise.
58225         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58226         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58228 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58230         [BZ #13550]
58231         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58232         code.
58233         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58234         prototype or function definition.  Rename ubp_* variables and
58235         parameters.  Remove argv definitions conditional on
58236         [__BOUNDED_POINTERS__].
58237         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58238         * elf/dl-runtime.c (_dl_fixup): Likewise.
58239         * include/set-hooks.h (RUN_HOOK): Likewise.
58240         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58241         definition.
58242         * string/strcpy.c (strcpy): Do not use __unbounded.
58243         * sysdeps/generic/frame.h (struct layout): Likewise.
58244         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58245         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58246         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58247         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58248         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58249         (__backtrace): Likewise.
58250         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58251         use __ptrvalue.
58252         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58253         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58254         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58255         Likewise.
58256         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58257         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58258         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58259         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58260         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58261         Do not use __unbounded.
58262         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58263         Rename __unboundedrlimits parameter to rlimits in prototype.
58264         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58265         Do not use __unbounded.
58266         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58267         not use __ptrvalue.
58268         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58269         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58270         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58271         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58272         __ptrvalue or __unbounded.
58273         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58274         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58275         use __unbounded.
58276         (__new_msgctl): Do not use __ptrvalue.
58277         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58278         __unbounded.
58279         (__libc_msgrcv): Do not use __ptrvalue.
58280         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58281         startup_info): Do not use __unbounded.
58282         (__libc_start_main): Likewise.  Rename ubp_* variables and
58283         parameters.  Remove argv definitions conditional on
58284         [__BOUNDED_POINTERS__].
58285         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58286         __ptrvalue.
58287         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58288         use __unbounded.
58289         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58290         or __ptrvalue.
58291         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58292         use __unbounded.
58293         (__new_shmctl): Do not use __ptrvalue.
58294         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58295         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58296         Likewise.
58297         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58298         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58299         (__libc_sigaction): Likewise.
58300         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58301         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58302         Likewise.
58303         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58305 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58307         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58309         * string/mempcpy.c: Implement by calling memcpy.
58311 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58315         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58316         evaluation.
58318         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58319         values in the mantissa.
58321         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58322         minimize writes to Z.
58323         (sub_magnitudes): Simplify code a bit.
58325 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58327         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58328         from the message.  The linker prefixes all warnings with that already.
58330 2013-02-12  Andreas Schwab  <schwab@suse.de>
58332         [BZ #15078]
58333         * posix/regexec.c (extend_buffers): Add parameter min_len.
58334         (check_matching): Pass minimum needed length.
58335         (clean_state_log_if_needed): Likewise.
58336         (get_subexp): Likewise.
58337         * posix/Makefile (tests): Add bug-regex34.
58338         (bug-regex34-ENV): Define.
58339         * posix/bug-regex34.c: New file.
58341         [BZ #11561]
58342         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58343         elements compare against the byte sequence of it, not its name.
58344         * posix/Makefile (tests): Add bug-regex35.
58345         (bug-regex35-ENV): Define.
58346         * posix/bug-regex35.c: New file.
58348 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58350         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58351         comment.
58352         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58353         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58354         (CHECK_EOL): Add undef.
58356 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58358         * bits/stdlib-bsearch.h: New file.
58359         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58360         * stdlib/stdlib.h: Likewise.
58362 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58364         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58365         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58366         declaration.
58367         * manual/search.texi (Array Search Function): Add missing const in
58368         lfind prototype.
58369         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58370         declaration to use rlim_t.
58371         (Basic Scheduling Functions): Remove erroneous const from
58372         sched_getparam prototype.  Remove erroneous * from
58373         sched_get_priority_max and sched_get_priority_min prototypes.
58374         (Resource Usage): Fix summary @comment on vtimes to refer to
58375         sys/vtimes.h rather than vtimes.h.
58376         Add missing *s in vtimes prototype.
58377         (Limits on Resources): Fix ulimit prototype to return long int.
58378         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58379         prototypes to use long int rather than double.
58380         (BSD Random): Fix initstate and setstate to use char *, not void *.
58381         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58382         prototype to make second argument 'struct aiocb64 *const[]'.
58383         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58384         (Status of AIO Operations): Remove erroneous const in aio_return and
58385         aio_return64 prototypes.
58386         (Synchronizing I/O): Fix sync prototype to return void.
58387         * manual/startup.texi (Suboptions): Remove an erroneous const in
58388         getsubopt prototype.
58389         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58390         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58391         use size_t rather than int.
58392         (Scanning All Users): Likewise for getpwent_r.
58393         (Setting Groups): Add missing const to setgroups prototype.
58394         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58395         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58396         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58397         'const void *' rather than 'const char *'.
58398         (Host Address Functions): Likewise for inet_ntop.
58399         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58400         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58401         ssize_t for return value.
58402         (Sending Data): Likewise for send, sendto, sendmsg.
58403         (Socket Option Functions): Add a missing const in setsockopt prototype.
58404         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58405         use wchar_t for the argument.
58406         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58407         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58408         take no arguments.
58409         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58410         double/float/long double for second argument.
58411         Fix return types of significand, significandf, significandl.
58412         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58413         argument in fchmod prototype.
58414         (File Owner): Use uid_t and gid_t in fchown prototype.
58415         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58416         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58417         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58418         use 'const struct dirent **' as argument types to CMP function pointer
58419         argument.
58420         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58421         (File Times): Fix summary magic @comment for struct utimbuf and utime
58422         to refer to utime.h, not time.h.
58423         * manual/string.texi (Argz Functions): Add missing const in
58424         argz_extract and argz_next prototypes.
58425         (Finding Tokens in a String): Likewise for basename.
58426         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58427         (Copying and Concatenation): Fix typo in wmemmove prototype.
58428         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58429         (Signal Stack): Remove erroneous const in sigstack prototype.
58430         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58431         prototype.
58432         (Simple Calendar Time): Likewise for stime.
58433         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58434         prototype.
58435         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58436         say sys/sysctl.h instead.
58437         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58438         and vsyslog prototypes.
58440 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58442         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58443         Remove.
58445 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58447         * misc/sys/mman.h: Fix typo in mremap comment.
58449 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58451         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58452         the '\0' terminator.
58454 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58456         [BZ #13550]
58457         * debug/segfault.c: Don't include <bp-checks.h>.
58458         * sysdeps/generic/bp-checks.h: Remove file.
58459         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58460         (__GETDENTS): Don't use CHECK_N.
58461         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58462         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58463         (__getgroups): Don't use CHECK_N.
58464         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58465         (setgroups): Don't use CHECK_N.
58466         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58467         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58468         (__libc_msgrcv): Don't use CHECK_N.
58469         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58470         (__libc_msgsnd): Don't use CHECK_N.
58471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58472         <bp-checks.h>.
58473         (__libc_pread): Don't use CHECK_N.
58474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58475         include <bp-checks.h>.
58476         (__libc_pread64): Don't use CHECK_N.
58477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58478         include <bp-checks.h>.
58479         (__libc_pwrite): Don't use CHECK_N.
58480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58481         include <bp-checks.h>.
58482         (__libc_pwrite64): Don't use CHECK_N.
58483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58484         <bp-checks.h>.
58485         (__libc_pread): Don't use CHECK_N.
58486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58487         include <bp-checks.h>.
58488         (__libc_pread64): Don't use CHECK_N.
58489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58490         include <bp-checks.h>.
58491         (__libc_pwrite): Don't use CHECK_N.
58492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58493         include <bp-checks.h>.
58494         (__libc_pwrite64): Don't use CHECK_N.
58495         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58496         (do_pread): Don't use CHECK_N.
58497         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58498         (do_pread64): Don't use CHECK_N.
58499         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58500         (do_pwrite): Don't use CHECK_N.
58501         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58502         (do_pwrite64): Don't use CHECK_N.
58503         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58504         (__libc_readv): Don't use CHECK_N.
58505         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58506         (semop): Don't use CHECK_N.
58507         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58508         <bp-checks.h>.
58509         (semtimedop): Don't use CHECK_N.
58510         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58511         (__libc_pread): Don't use CHECK_N.
58512         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58513         <bp-checks.h>.
58514         (__libc_pread64): Don't use CHECK_N.
58515         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58516         <bp-checks.h>.
58517         (__libc_pwrite): Don't use CHECK_N.
58518         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58519         <bp-checks.h>.
58520         (__libc_pwrite64): Don't use CHECK_N.
58521         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58522         <bp-checks.h>.
58523         (__libc_msgrcv): Don't use CHECK_N.
58524         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58525         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58526         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58527         (__libc_writev): Don't use CHECK_N.
58529 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58531         * string/strcpy.c: Removed unused variable.
58533         * Makeconfig (+sysdep-includes): Define with := rather than =.
58534         Use an existing include/ subdir of each sysdeps dir before it.
58536 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58538         * nscd/connection.c (register_traced_file): Comment function.
58539         [HAVE_INOTIFY] (union __inev): Define.
58540         [HAVE_INOTIFY] (inotify_check_files): New function.
58541         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58542         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58543         clear_db_cache.
58544         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58546 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58548         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58549         loaded if not already and that a failure is permanent.
58551 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58553         [BZ #15006]
58554         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58555         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58557 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58559         [BZ #13550]
58560         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58561         (CHECK_1_NULL_OK): Likewise.
58562         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58563         (__fxstat): Do not use CHECK_1.
58564         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58565         <bp-checks.h>.
58566         (___fxstat64): Do not use CHECK_1.
58567         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58568         <bp-checks.h>.
58569         (__fxstatat): Do not use CHECK_1.
58570         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58571         <bp-checks.h>.
58572         (__fxstatat64): Do not use CHECK_1.
58573         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58574         <bp-checks.h>.
58575         (__fxstat): Do not use CHECK_1.
58576         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58577         <bp-checks.h>.
58578         (__fxstatat): Do not use CHECK_1.
58579         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58580         <bp-checks.h>.
58581         (__getresgid): Do not use CHECK_1.
58582         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58583         <bp-checks.h>.
58584         (__getresuid): Do not use CHECK_1.
58585         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58586         <bp-checks.h>.
58587         (__lxstat): Do not use CHECK_1.
58588         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58589         <bp-checks.h>.
58590         (__old_msgctl): Do not use CHECK_1.
58591         (__new_msgctl): Likewise.
58592         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58593         <bp-checks.h>.
58594         (__new_setrlimit): Do not use CHECK_1.
58595         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58596         <bp-checks.h>.
58597         (__old_shmctl): Do not use CHECK_1.
58598         (__new_shmctl): Likewise.
58599         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58600         <bp-checks.h>.
58601         (__xstat): Do not use CHECK_1.
58602         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58603         (__lxstat): Do not use CHECK_1.
58604         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58605         <bp-checks.h>.
58606         (___lxstat64): Do not use CHECK_1.
58607         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58608         (__old_msgctl): Do not use CHECK_1.
58609         (__new_msgctl): Likewise.
58610         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58611         <bp-checks.h>.
58612         (__gettimeofday): Do not use CHECK_1.
58613         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58614         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58615         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58616         <bp-checks.h>.
58617         (__gettimeofday): Do not use CHECK_1.
58618         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58619         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58620         (__new_shmctl): Do not use CHECK_1.
58621         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58622         <bp-checks.h>.
58623         (do_sigtimedwait): Do not use CHECK_1.
58624         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58625         <bp-checks.h>.
58626         (do_sigwaitinfo): Do not use CHECK_1.
58627         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58628         <bp-checks.h>.
58629         (msgctl): Do not use CHECK_1.
58630         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58631         <bp-checks.h>.
58632         (shmctl): Do not use CHECK_1.
58633         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58634         (ustat): Do not use CHECK_1.
58635         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58636         <bp-checks.h>.
58637         (__fxstat): Do not use CHECK_1.
58638         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58639         <bp-checks.h>.
58640         (__fxstatat): Do not use CHECK_1.
58641         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58642         <bp-checks.h>.
58643         (__lxstat): Do not use CHECK_1.
58644         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58645         <bp-checks.h>.
58646         (__xstat): Do not use CHECK_1.
58647         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58648         (__xstat): Do not use CHECK_1.
58649         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58650         (___xstat64): Do not use CHECK_1.
58652         [BZ #13550]
58653         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58654         definitions.
58655         (CHECK_BOUNDS_HIGH): Likewise.
58656         * string/strcpy.c: Do not include <bp-checks.h>.
58657         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58659 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58661         * nscd/nscd-client.h (__nscd_drop_map_ref):
58662         Add __attribute__ ((unused)).
58663         * nis/nss-nisplus.h (niserr2nss): Likewise.
58665         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58666         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58668         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58669         Remove inline keyword.
58670         * include/rounding-mode.h (round_away): Likewise.
58671         * libio/wfileops.c (adjust_wide_data): Likewise.
58672         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58673         (__m128i_strloadu_tolower): Likewise.
58674         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58675         (__m128i_strloadu_tolower): Likewise.
58676         * time/mktime.c (ydhms_diff): Likewise.
58677         * locale/elem-hash.h (elem_hash): Likewise.
58678         * locale/setlocale.c (setdata): Likewise.
58679         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58680         (re_string_wchar_at): Likewise.
58681         (bitset_not, bitset_merge, bitset_mask): Likewise.
58682         [!(__GNUC__ > 3)] (inline): Remove macro.
58683         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58684         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58685         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58686         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58687         * string/memcmp.c (memcmp_bytes): Likewise.
58688         * locale/programs/locarchive.c (compute_hashval): Likewise.
58689         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58690         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58691         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58692         * nss/getent.c (print_rpc, print_protocols): Likewise.
58693         (print_passwd, print_group, print_aliases): Likewise.
58694         * nis/nss-nisplus.h (niserr2nss): Likewise.
58695         * nscd/connections.c (restart_p): Likewise.
58696         Change return type to bool.
58698 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58700         * Makeconfig (all-Depend-files): Add existing
58701         $(sorted-subdirs:=/Depend) files.
58702         (all-subdirs): Remove nss.
58703         * sysdeps/unix/inet/Subdirs: Add it here instead.
58704         * hesiod/Depend: New file.
58706         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58707         instead of calling alloca.
58709         * io/lseek.c (__lseek): Rename to __libc_lseek.
58710         Define __lseek as an alias.
58712         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58714 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58716         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58717         else clause and remove check for non-standard endianness.
58719 2013-02-04  David S. Miller  <davem@davemloft.net>
58721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58723 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58725         [BZ #13550]
58726         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58727         (__ubp_memchr): Remove prototype.
58728         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58729         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58730         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58731         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58732         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58733         Remove alias.
58734         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58735         (__ubp_memchr): Likewise.
58736         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58737         (__ubp_memchr): Likewise.
58738         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58739         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58740         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58741         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58742         CHECK_STRING.
58743         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58744         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58745         (__getcwd): Do not use CHECK_STRING.
58746         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58747         <bp-checks.h>.
58748         (__real_chown): Do not use CHECK_STRING.
58749         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58750         <bp-checks.h>.
58751         (fchownat): Do not use CHECK_STRING.
58752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58753         CHECK_STRING.
58754         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58755         <bp-checks.h>.
58756         (__lchown): Do not use CHECK_STRING.
58757         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58758         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58759         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58760         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58762         include <bp-checks.h>.
58763         (truncate64): Do not use CHECK_STRING.
58764         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58765         <bp-checks.h>.
58766         (__real_chown): Do not use CHECK_STRING.
58767         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58768         <bp-checks.h>.
58769         (__lchown): Do not use CHECK_STRING.
58770         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58771         <bp-checks.h>.
58772         (__chown): Do not use CHECK_STRING.
58773         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58774         <bp-checks.h>.
58775         (truncate64): Do not use CHECK_STRING.
58776         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58777         Likewise.
58778         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58779         (__xmknod): Do not use CHECK_STRING.
58780         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58781         <bp-checks.h>.
58782         (__xmknodat): Do not use CHECK_STRING.
58783         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58784         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58786 2013-02-04  Andreas Schwab  <schwab@suse.de>
58788         [BZ #14142]
58789         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58790         * include/netdb.h: Likewise for h_errno.
58791         * elf/tst-stackguard1.c: Include <tls.h>.
58793 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58795         * elf/link.h (struct link_map): Extend the l_addr comment.
58796         * include/link.h (struct link_map): Likewise.
58798 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58800         [BZ #13550]
58801         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58802         (BOUNDED_1): Remove macro.
58803         * debug/backtrace.c: Don't include <bp-checks.h>.
58804         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58805         (__backtrace): Likewise.
58806         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58807         <bp-checks.h>.
58808         (__backtrace): Don't use BOUNDED_1.
58809         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58810         <bp-checks.h>.
58811         (__backtrace): Don't use BOUNDED_1.
58812         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58813         (__backtrace): Don't use BOUNDED_1.
58814         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58815         (shmat): Don't use BOUNDED_N.
58817 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58819         [BZ #13550]
58820         * sysdeps/generic/bp-start.h: Remove file.
58821         * csu/libc-start.c: Don't include <bp-start.h>.
58822         (LIBC_START_MAIN): Set up __environ directly instead of using
58823         INIT_ARGV_and_ENVIRON.
58824         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58825         <bp-start.h>.
58827         [BZ #13550]
58828         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58829         definitions.
58830         (CHECK_FCNTL): Likewise.
58831         (CHECK_N_PAGES): Likewise.
58833         [BZ #13550]
58834         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58835         definitions.
58836         (CHECK_SIGSET_NULL_OK): Likewise.
58837         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58838         <bp-checks.h>.
58839         (sigpending): Don't use CHECK_SIGSET.
58840         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58841         <bp-checks.h>.
58842         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58843         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58844         <bp-checks.h>.
58845         (do_sigsuspend): Don't use CHECK_SIGSET.
58846         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58847         use CHECK_SIGSET.
58848         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58849         (do_sigwait): Don't use CHECK_SIGSET.
58850         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58851         use CHECK_SIGSET.
58852         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58853         include <bp-checks.h>.
58854         (sigpending): Don't use CHECK_SIGSET.
58855         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58856         include <bp-checks.h>.
58857         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58858         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58859         <bp-checks.h>.
58860         (sigpending): Don't use CHECK_SIGSET.
58861         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58862         <bp-checks.h>.
58863         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58865         [BZ #13550]
58866         * sysdeps/generic/bp-semctl.h: Remove file.
58867         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58868         <bp-checks.h> and <bp-semctl.h>.
58869         (__old_semctl): Don't use CHECK_SEMCTL.
58870         (__new_semctl): Likewise.
58871         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58872         and <bp-semctl.h>.
58873         (__old_semctl): Don't use CHECK_SEMCTL.
58874         (__new_semctl): Likewise.
58875         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58876         <bp-checks.h> and <bp-semctl.h>.
58877         (__old_semctl): Don't use CHECK_SEMCTL.
58878         (__new_semctl): Likewise.
58879         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58880         <bp-checks.h> and <bp-semctl.h>.
58881         (semctl): Don't use CHECK_SEMCTL.
58883         [BZ #13550]
58884         * Makerules (elide-bp-thunks): Remove variable.
58885         (elide-routines.oS): Don't use $(elide-bp-thunks).
58886         (elide-routines.os): Likewise.
58887         (elide-routines.o): Likewise.
58888         (elide-routines.op): Likewise.
58889         (elide-routines.og): Likewise.
58890         (objects): Don't use $(bp-thunks).
58891         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58892         include.
58893         (common-generated): Do not add s-proto-bp.d.
58894         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58895         (int): Likewise.
58896         (typ): Likewise.
58897         Do not generate makefile rules for bounded-pointer thunks.
58898         * sysdeps/generic/bp-thunks.h: Remove file.
58899         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58900         * sysdeps/unix/s-proto-bp.S: Likewise.
58902         [BZ #15062]
58903         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58904         parts of result separately when argument is not close to line from
58905         -i to i and one part of argument is small.
58906         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58907         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58908         * math/libm-test.inc (cacos_test): Add more tests.
58909         (casin_test): Likewise.
58910         (casinh_test): Likewise.
58911         * sysdeps/i386/fpu/libm-test-ulps: Update.
58912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58914 2013-01-31  David S. Miller  <davem@davemloft.net>
58916         * po/de.po: Update from translation team.
58918 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58920         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58922 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58924         * configure.in (_AC_PROG_CC_C89): New definition.
58925         * configure: Regenerate.
58927         * configure.in (AC_PROG_CPP): New definition.
58928         * configure: Regenerate.
58930 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58932         * debug/tst-backtrace.h: New file.
58933         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58934         (ret): Remove variable.
58935         (x): Likewise.
58936         (FAIL): Remove macro.
58937         (NO_INLINE): Likewise.
58938         (fn1): Use match function instead of strstr.
58939         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58940         (ret): Remove variable.
58941         (x): Likewise.
58942         (FAIL): Remove macro.
58943         (NO_INLINE): Likewise.
58944         (fn): Use match function instead of strstr.
58945         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58946         (ret): Remove variable.
58947         (x): Likewise.
58948         (FAIL): Remove macro.
58949         (NO_INLINE): Likewise.
58950         (handle_signal): Use match function instead of strstr.
58951         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58952         (ret): Remove variable.
58953         (x): Likewise.
58954         (FAIL): Remove macro.
58955         (NO_INLINE): Likewise.
58956         (handle_signal): Use match function instead of strstr.
58958 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58960         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58962 2013-01-23  David S. Miller  <davem@davemloft.net>
58964         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58965         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58966         argument of CAS if possible.
58967         * sysdeps/sparc/sparc64/bits/atomic.h
58968         (__arch_compare_and_exchange_val_32_acq): Likewise.
58969         (__arch_compare_and_exchange_val_64_acq): Likewise.
58971 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58973         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58974         * sysdeps/posix/ulimit.c: ... this.
58975         Include <limits.h>.
58976         * sysdeps/unix/bsd/ulimit.c: Remove file.
58978 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58980         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58981         (LDFLAGS-tst-array5): Likewise.
58983 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58985         [BZ #15036]
58986         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58987         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58988         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58989         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58991 2013-01-21  David S. Miller  <davem@davemloft.net>
58993         * sysdeps/sparc/backtrace.c: New file.
58994         * sysdeps/sparc/sparc32/backtrace.h: New file.
58995         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58996         * sysdeps/sparc/sparc64/backtrace.h: New file.
58997         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58998         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58999         -funwind-tables.
59001 2013-01-21  Andreas Schwab  <schwab@suse.de>
59003         [BZ #15020]
59004         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59005         closed its stdout.
59007 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59010         "mpa2.h".
59011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59013 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59014             Mark Mitchell  <mark@codesourcery.com>
59015             Tom de Vries  <tom@codesourcery.com>
59016             Paul Pluzhnikov  <ppluzhnikov@google.com>
59018         * debug/tst-backtrace2.c: New file.
59019         * debug/tst-backtrace3.c: Likewise.
59020         * debug/tst-backtrace4.c: Likewise.
59021         * debug/tst-backtrace5.c: Likewise.
59022         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59023         (CFLAGS-tst-backtrace3.c): Likewise.
59024         (CFLAGS-tst-backtrace4.c): Likewise.
59025         (CFLAGS-tst-backtrace5.c): Likewise.
59026         (LDFLAGS-tst-backtrace2): Likewise.
59027         (LDFLAGS-tst-backtrace3): Likewise.
59028         (LDFLAGS-tst-backtrace4): Likewise.
59029         (LDFLAGS-tst-backtrace5): Likewise.
59030         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59031         tst-backtrace4 and tst-backtrace5.
59033 2013-01-18  Anton Blanchard  <anton@samba.org>
59034             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59036         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59037         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59038         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59039         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59041         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59042         "+r" and remove output regs list as redundant.  Add explicit inline
59043         asm to specify register of return val to work around compiler codegen
59044         bug.  Remove (int) cast on return value.  Add return type parameter to
59045         use in macro so that this macro does not truncate return value for
59046         64-bit values.
59047         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59048         pass to INTERNAL_VSYSCALL_NCS.
59049         (INLINE_VSYSCALL): Add 'long int' as return type to
59050         INTERNAL_VSYSCALL_NCS macro invocation.
59051         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59052         INTERNAL_VSYSCALL_NCS macro invocation.
59053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59055 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59057         [BZ #14496]
59058         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59059         Fix application of SIMD FP exception mask.
59061         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59062         mp_no from a power of two.
59063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59064         __mpexp_twomm1.  Use __pow_mp.
59066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59067         multiplication.
59069 2013-01-17  David S. Miller  <davem@davemloft.net>
59071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59073 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59075         [BZ #15023]
59076         * include/complex.h: Condition contents on [!_COMPLEX_H].
59077         (__kernel_casinhf): New prototype.
59078         (__kernel_casinh): Likewise.
59079         (__kernel_casinhl): Likewise.
59080         * math/Makefile (libm_calls): Add k_casinh.
59081         * math/k_casinh.c: New file.
59082         * math/k_casinhf.c: Likewise.
59083         * math/k_casinhl.c: Likewise.
59084         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59085         finite nonzero arguments.
59086         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59087         finite nonzero arguments.
59088         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59089         finite nonzero arguments.
59090         * math/s_casinh.c: Do not include <float.h>.
59091         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59092         * math/s_casinhf.c: Do not include <float.h>.
59093         (__casinhf): Move code for finite nonzero arguments to
59094         k_casinhf.c.
59095         * math/s_casinhl.c: Do not include <float.h>.
59096         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59097         redefine.
59098         (__casinhl): Move code for finite nonzero arguments to
59099         k_casinhl.c.
59100         * math/libm-test.inc (cacos_test): Add more tests.
59101         * sysdeps/i386/fpu/libm-test-ulps: Update.
59102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59104 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59106         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59107         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59108         [!HAVE_MREMAP]: Remove [defined linux] case.
59109         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59111 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59113         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59115 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59117         * elf/elf.h (R_386_SIZE32): New relocation.
59118         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59119         R_386_SIZE32.
59120         (elf_machine_rela): Likewise.
59121         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59122         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59124 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59126         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59127         (FP_FAST_FMA): Do not define.
59128         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59129         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59130         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59131         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59132         !_SOFT_FLOAT]: Likewise.
59133         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59134         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59135         value.
59136         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59137         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59138         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59139         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59140         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59141         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59142         file.
59144 2013-01-16  Andreas Schwab  <schwab@suse.de>
59146         [BZ #14327]
59147         * include/stdlib.h (__mktemp): Add declaration.
59148         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59149         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59151 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59153         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59154         definitions.
59155         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59156         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59157         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59158         definitions here.
59159         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59160         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59161         definitions.
59162         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59163         and ONE.
59164         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59165         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59166         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59167         definitions.
59168         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59169         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59170         definitions.
59171         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59173         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59175 2013-01-15  David S. Miller  <davem@davemloft.net>
59177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59178         trunc{,f} to libm-sysdep_routes.
59179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59181         file.
59182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59184         file.
59185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59186         file.
59187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59189         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59190         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59191         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59192         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59193         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59194         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59197         nearbyint{,f} to libm-sysdep_routes.
59198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59200         New file.
59201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59202         file.
59203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59204         New file.
59205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59206         file.
59207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59209         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59210         file.
59211         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59212         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59213         file.
59214         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59215         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59218         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59219         libc_feholdexcept and libc_fesetenv.
59221 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59223         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59225 2013-01-14  David S. Miller  <davem@davemloft.net>
59227         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59228         (SPARC_ASM_VIS2_IFUNC): Likewise.
59229         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59231         use of 'siam' instruction.
59232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59233         Likewise.
59234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59235         Likewise.
59236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59237         Likewise.
59238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59239         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59243         file.
59244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59245         file.
59246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59247         file.
59248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59249         file.
59250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59255         new VIS2 routines.
59256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59259         Likewise.
59260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59261         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59265         routines to libm-sysdep_routines.
59266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59269         fdim/fdimf to libm-sysdep_routines.
59270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59271         file.
59272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59274         file.
59275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59278         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59279         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59280         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59281         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59283 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59285         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59286         to optimize copies.
59288         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59293         local variable MPTWO.
59294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59295         Likewise.
59297 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59299         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59300         GLOB_NOESCAPE.
59302 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59304         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59306 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59308         * manual/pattern.texi (glob_t): Document gl_flags.
59309         (glob64_t): Likewise.
59311 2013-01-11  David S. Miller  <davem@davemloft.net>
59313         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59314         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59315         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59316         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59317         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59318         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59319         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59320         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59321         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59322         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59323         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59324         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59325         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59327         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59328         sparc V9 rather than using V8 code.
59329         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59330         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59332         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59333         Move to...
59334         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59335         Here.
59337 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59339         [BZ #14941]
59340         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59341         not in the main loop.
59342         * configure: Regenerated.
59344 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59346         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59347         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59348         to just #else.
59349         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59350         [!__GLIBC_HAVE_LONG_LONG] case.
59351         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59352         condition to just #else.
59353         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59354         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59355         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59356         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59357         unconditional.
59358         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59359         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59360         #elif condition to just #else.
59361         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59362         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59363         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59364         #elif condition to just #else.
59366 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59368         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59369         (EF_MIPS_ARCH_64): Fix value.
59370         (EF_MIPS_ARCH_32R2): New.
59371         (EF_MIPS_ARCH_64R2): New.
59373 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59375         * Makeconfig (+link-pie-before-libc): New.
59376         (+link-pie-after-libc): Likewise.
59377         (+link-pie-tests): Likewise.
59378         (+link-pie): Rewritten.
59379         (link-before-libc): Remove $(config-LDFLAGS).
59380         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59381         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59382         (config-LDFLAGS): Renamed to ...
59383         (rtld-LDFLAGS): This.
59384         (rtld-tests-LDFLAGS): New macro.
59385         (link-libc-rpath-link): Likewise.
59386         (link-libc-tests-rpath-link): Likewise.
59387         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59388         (link-libc): Prepand $(link-libc-rpath-link).
59389         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59390         (test-program-prefix): New macro.
59391         (test-via-rtld-prefix): Likewise.
59392         (test-program-cmd): Likewise.
59393         (host-test-program-cmd): Likewise.
59394         * Makefile ($(common-objpfx)testrun.sh): Replace
59395         $(run-program-prefix) with $(test-program-prefix).
59396         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59397         $(rtld-LDFLAGS).
59398         ($(common-objpfx)shlib.lds): Likewise.
59399         (build-module-helper): Likewise.
59400         ($(common-objpfx)format.lds): Likewise.
59401         * Rules (binaries-pie-tests): New.
59402         (binaries-pie-notests): Likewise.
59403         (binaries-pie): Rewritten.
59404         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59405         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59406         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59407         (make-test-out): Replace $(host-built-program-cmd) with
59408         $(host-test-program-cmd).
59409         * config.make.in (build-hardcoded-path-in-tests): New variable.
59410         * configure.in (--enable-hardcoded-path-in-tests): New configure
59411         option.
59412         (hardcoded_path_in_tests): New AC_SUBST.
59413         * configure: Regenerated.
59414         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59415         $(built-program-cmd) with $(test-program-cmd).
59416         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59417         (test_program_cmd): This.
59418         * elf/Makefile ($(objpfx)order.out): Run test with
59419         $(test-program-prefix).
59420         ($(objpfx)order2.out): Likewise.
59421         ($(objpfx)tst-initorder.out): Likewise.
59422         ($(objpfx)tst-initorder2.out): Likewise.
59423         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59424         $(test-program-cmd).
59425         ($(objpfx)tst-array1-static.out): Likewise.
59426         ($(objpfx)tst-array2.out): Likewise.
59427         ($(objpfx)tst-array3.out): Likewise.
59428         ($(objpfx)tst-array4.out): Likewise.
59429         ($(objpfx)tst-array5.out): Likewise.
59430         ($(objpfx)tst-array5-static.out): Likewise.
59431         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59432         $(test-program-cmd).
59433         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59434         $(run-program-prefix) with $(test-program-prefix).
59435         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59436         (test_program_prefix): This.
59437         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59438         $(run-program-prefix) with $(test-program-prefix).
59439         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59440         (test_program_prefix): This.
59441         * iconvdata/tst-tables.sh: Likewise.
59442         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59443         $(run-program-prefix) with $(test-program-prefix).
59444         ($(objpfx)tst-translit.out): Likewise.
59445         ($(objpfx)tst-gettext2.out): Likewise.
59446         ($(objpfx)tst-gettext4.out): Likewise.
59447         ($(objpfx)tst-gettext6.out): Likewise.
59448         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59449         (test_program_prefix): This.
59450         * intl/tst-gettext2.sh: Likewise.
59451         * intl/tst-gettext4.sh  Likewise.
59452         * intl/tst-gettext6.sh: Likewise.
59453         * intl/tst-translit.sh: Likewise.
59454         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59455         with $(test-program-cmd).
59456         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59457         $(run-program-prefix) with $(test-program-prefix).
59458         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59459         (test_program_prefix): This.
59460         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59461         $(run-program-prefix) with $(test-program-prefix).
59462         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59463         (test_program_prefix): This.
59464         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59465         * posix/Makefile ($(objpfx)globtest.out): Replace
59466         $(run-via-rtld-prefix) and $(test-wrapper) with
59467         $(test-program-prefix) and $(test-via-rtld-prefix).
59468         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59469         $(test-program-prefix).
59470         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59471         $(host-test-program-cmd).
59472         (tst-spawn-ARGS): Likewise.
59473         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59474         $(test-program-prefix).
59475         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59476         (test_via_rtld_prefix): This.
59477         (test_wrapper): Renamed to ...
59478         (test_program_prefix): This.
59479         (run_program_prefix): Replaced by test_program_prefix.
59480         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59481         (test_program_prefix): This.
59482         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59483         with $(host-test-program-cmd).
59484         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59485         $(run-program-prefix) with $(test-program-prefix).
59486         ($(objpfx)tst-printf.out): Likewise.
59487         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59488         $(test-program-cmd).
59489         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59490         (test_program_prefix): This.
59491         * stdio-common/tst-unbputc.sh: Likewise.
59492         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59493         $(run-program-prefix) with $(test-program-prefix).
59494         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59495         (test_program_prefix): This.
59496         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59497         $(built-program-cmd) with $(test-program-cmd).
59499 2013-01-11  Andreas Jaeger  <aj@suse.de>
59501         [BZ #15003]
59502         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59503         value. Sync with Linux 3.7.
59505 2013-01-10  David S. Miller  <davem@davemloft.net>
59507         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59508         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59509         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59511 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59513         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59514         never set.
59515         * configure: Regenerated.
59517 2013-01-10  David S. Miller  <davem@davemloft.net>
59519         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59520         sparc V9 rather than using V8 code.
59521         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59522         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59524 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59526         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59527         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59528         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59529         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59530         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59531         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59532         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59533         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59534         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59535         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59536         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59537         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59538         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59539         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59540         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59541         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59542         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59543         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59544         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59545         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59546         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59547         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59548         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59549         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59550         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59551         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59552         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59554 2013-01-10  David S. Miller  <davem@davemloft.net>
59556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59558 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59560         * posix/Makefile (tests-static): New variable.
59561         (tests): Add $(tests-static).
59562         (tst-exec-static-ARGS): New variable.
59563         (tst-spawn-static-ARGS): Likewise.
59564         * posix/tst-exec-static.c: New file.
59565         * posix/tst-spawn-static.c: Likewise.
59566         * posix/tst-exec.c: Support run directly.
59567         * posix/tst-spawn.c: Likewise.
59569 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59571         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59572         long.
59573         * math/bits/mathcalls.h (llrint): Likewise.
59574         (llround): Likewise.
59575         * stdlib/stdlib.h (struct drand48_data): Likewise.
59576         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59577         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59578         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59579         Likewise.
59580         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59581         Likewise.
59582         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59583         (elf_greg_t): Likewise.
59584         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59585         (__jmp_buf): Likewise.
59586         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59587         definitions.
59588         (llrint): Likewise, for all definitions.
59589         (llrintl): Likewise.
59591         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59592         Remove [__GNUC__] condition.
59593         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59594         condition to just [__USE_ISOC99].
59595         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59597 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59599         [BZ #14200]
59600         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59601         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59602         defined.
59603         (_POSIX_V6_ILP32_OFF32): Likewise.
59604         (_XBS5_ILP32_OFF32): Likewise.
59605         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59606         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59608 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59610         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59613         doubles __mpexp_twomm1.  Adjust usage.
59614         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59615         Remove.
59617 2013-01-10  Andreas Schwab  <schwab@suse.de>
59619         [BZ #14964]
59620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59621         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59623 2013-01-09  David S. Miller  <davem@davemloft.net>
59625         [BZ #15003]
59626         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59627         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59628         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59629         (TCP_FASTOPEN): Define.
59630         (tcp_repair_opt): New structure.
59631         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59632         enum values.
59633         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59634         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59635         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59636         (tcp_cookie_transactions): New structure.
59638 2013-01-09  Anton Blanchard  <anton@samba.org>
59640         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59641         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59642         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59643         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59645 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59647         * include/features.h (__USE_ANSI): Remove.
59649 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59651         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59653         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59655 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59657         * sysdeps/s390/fpu/libm-test-ulps: Update.
59659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59661         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59662         (__acr): Likewise.
59663         (__cpy): Likewise.
59664         (norm): Likewise.
59665         (denorm): Likewise.
59666         (__mp_dbl): Likewise.
59667         (__dbl_mp): Likewise.
59668         (add_magnitudes): Likewise.
59669         (sub_magnitudes): Likewise.
59670         (__add): Likewise.
59671         (__sub): Likewise.
59672         (__mul): Likewise.
59673         (__inv): Likewise.
59674         (__dvd): Likewise.
59675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59676         (__acr): Likewise.
59677         (__cpy): Likewise.
59678         (norm): Likewise.
59679         (denorm): Likewise.
59680         (__mp_dbl): Likewise.
59681         (__dbl_mp): Likewise.
59682         (add_magnitudes): Likewise.
59683         (sub_magnitudes): Likewise.
59684         (__add): Likewise.
59685         (__sub): Likewise.
59686         (__mul): Likewise.
59687         (__inv): Likewise.
59688         (__dvd): Likewise.
59689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59690         (__acr): Likewise.
59691         (__cpy): Likewise.
59692         (norm): Likewise.
59693         (denorm): Likewise.
59694         (__mp_dbl): Likewise.
59695         (__dbl_mp): Likewise.
59696         (add_magnitudes): Likewise.
59697         (sub_magnitudes): Likewise.
59698         (__add): Likewise.
59699         (__sub): Likewise.
59700         (__mul): Likewise.
59701         (__inv): Likewise.
59702         (__dvd): Likewise.
59704 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59706         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59707         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59708         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59709         2 && __USE_EXTERN_INLINES]: Likewise.
59711 2013-01-08  Andreas Jaeger  <aj@suse.de>
59713         [BZ# 14985]
59714         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59715         Remove.
59716         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59717         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59719 2013-01-07  Anton Blanchard  <anton@samba.org>
59721         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59722         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59723         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59724         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59725         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59726         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59727         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59728         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59730         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59731         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59732         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59733         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59734         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59735         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59736         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59737         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59739         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59741         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59742         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59744         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59745         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59746         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59747         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59748         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59749         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59750         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59751         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59753         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59754         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59755         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59756         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59757         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59758         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59759         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59760         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59761         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59763         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59765 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59767         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59768         (__MALLOC_PMT): Likewise.
59769         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59770         [__GNUC__], only on [_LIBC].
59771         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59772         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59773         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59774         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59775         forward declaration.
59776         (realloc_hook_ini): Likewise.
59777         (memalign_hook_ini): Likewise.
59778         (__libc_memalign): Do not use __MALLOC_PMT in variable
59779         declaration.
59780         (__libc_valloc): Likewise.
59781         (__libc_pvalloc): Likewise.
59782         (__libc_calloc): Likewise.
59783         (__posix_memalign): Likewise.
59785         [BZ #14996]
59786         * math/s_casinh.c: Include <float.h>.
59787         (__casinh): Do not do computation with squaring and square root
59788         for large arguments.
59789         * math/s_casinhf.c: Include <float.h>.
59790         (__casinhf): Do not do computation with squaring and square root
59791         for large arguments.
59792         * math/s_casinhl.c: Include <float.h>.
59793         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59794         (__casinhl): Do not do computation with squaring and square root
59795         for large arguments.
59796         * math/libm-test.inc (casin_test): Add more tests.
59797         (casinh_test): Likewise.
59798         * sysdeps/i386/fpu/libm-test-ulps: Update.
59799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59801 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59803         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59804         (__x86_64_raw_data_cache_size): Likewise.
59805         (__x86_64_data_cache_size_half): Likewise.
59806         (__x86_64_raw_data_cache_size_half): Likewise.
59807         (__x86_64_shared_cache_size): Likewise.
59808         (__x86_64_raw_shared_cache_size): Likewise.
59809         (__x86_64_shared_cache_size_half): Likewise.
59810         (__x86_64_raw_shared_cache_size_half): Likewise.
59811         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59812         to ...
59813         (__x86_data_cache_size): This.
59814         (__x86_64_raw_data_cache_size): Renamed to ...
59815         (__x86_raw_data_cache_size): This.
59816         (__x86_64_data_cache_size_half): Renamed to ...
59817         (__x86_data_cache_size_half): This.
59818         (__x86_64_raw_data_cache_size_half): Renamed to ...
59819         (__x86_raw_data_cache_size_half): This.
59820         (__x86_64_shared_cache_size): Renamed to ...
59821         (__x86_shared_cache_size): This.
59822         (__x86_64_raw_shared_cache_size): Renamed to ...
59823         (__x86_raw_shared_cache_size): This.
59824         (__x86_64_shared_cache_size_half): Renamed to ...
59825         (__x86_shared_cache_size_half): This.
59826         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59827         (__x86_raw_shared_cache_size_half): This.
59828         * sysdeps/x86_64/memcpy.S: Updated.
59829         * sysdeps/x86_64/memset.S: Likewise.
59830         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59831         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59832         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59834 2013-01-04  David S. Miller  <davem@davemloft.net>
59836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59838 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59840         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59841         1 to avoid redefinition warning.
59842         (__USE_GNU): Don't define.
59843         (init_signaling_nan): Protoize.
59845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59847 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59849         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59851         (__cpymn): Likewise.
59852         (norm): Remove commented code.
59853         (denorm): Likewise.
59854         (__mp_dbl): Likewise.
59855         (__inv): Likewise.
59856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59857         (__cpymn): Likewise.
59858         (norm): Remove commented code.
59859         (denorm): Likewise.
59860         (__mp_dbl): Likewise.
59861         (__inv): Likewise.
59863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59864         mp_no value for 1.0 and 2.0.
59865         (norm): Use RADIXI instead of radixi.d.
59866         (denorm): Likewise.
59867         (__mul): Use 0.0 instead of zero.d.
59868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59869         mp_no value for 1.0 and 2.0.
59870         (norm): Use RADIXI instead of radixi.d.
59871         (denorm): Likewise.
59872         (__mul): Use 0.0 instead of zero.d.
59874 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59876         [BZ #14994]
59877         * math/s_casinh.c (__casinh): Reduce finite argument to first
59878         quadrant then set signs of results at the end.
59879         * math/s_casinhf.c (__casinhf): Likewise.
59880         * math/s_casinhl.c (__casinhl): Likewise.
59881         * math/libm-test.inc (casin_test): Add more tests.
59882         (casinh_test): Likewise.
59883         * sysdeps/i386/fpu/libm-test-ulps: Update.
59884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59886 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59888         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59890         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59892         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59893         declarations.
59894         (denorm): Likewise.
59895         (__mp_dbl): Likewise.
59896         (__inv): Likewise.
59898         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59899         and adjust the header comment.
59901         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59902         variable name from declaration.
59904 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59906         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59907         Initialize COMMON_CPUID_INDEX_7 element.
59908         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59909         (CPUID_RTM): Likewise.
59910         (HAS_RTM): Likewise.
59911         (COMMON_CPUID_INDEX_7): New enum.
59913 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59915         [BZ #14981]
59916         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59917         size is zero, record memory as freed.
59919 2013-01-03  Andreas Jaeger  <aj@suse.de>
59921         * po/ia.po: Add new Interlingua translation.
59923 2012-01-03  Allan McRae  <allan@archlinux.org>
59925         * locale/programs/localedef.c: Fix description of '--posix' flag.
59927 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59929         * NEWS: Update dates in second copyright notice.
59930         * README: Update copyright dates in example.
59931         * manual/libc.texinfo: Update copyright dates.
59932         * scripts/test-installation.pl: Update copyright date in --version
59933         output.
59935         * hurd/ctty-input.c: Fix copyright notice formatting.
59936         * hurd/ctty-output.c: Likewise.
59937         * hurd/dtable.c: Likewise.
59938         * hurd/hurd-raise.c: Likewise.
59939         * hurd/hurdprio.c: Likewise.
59940         * hurd/msgportdemux.c: Likewise.
59941         * misc/sys/file.h: Likewise.
59942         * misc/sys/ioctl.h: Likewise.
59943         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59944         * sysdeps/mach/hurd/chdir.c: Likewise.
59945         * sysdeps/mach/hurd/fchdir.c: Likewise.
59946         * sysdeps/mach/hurd/rename.c: Likewise.
59947         * sysdeps/mach/hurd/rmdir.c: Likewise.
59948         * sysdeps/mach/hurd/seekdir.c: Likewise.
59949         * sysdeps/mach/hurd/setsid.c: Likewise.
59950         * sysdeps/posix/wait3.c: Likewise.
59952         * All files with FSF copyright notices: Update copyright dates
59953         using scripts/update-copyrights.
59954         * intl/plural.c: Regenerated.
59955         * locale/programs/charmap-kw.h: Likewise.
59956         * locale/programs/locfile-kw.h: Likewise.
59958 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59960         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59961         four values.
59963         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59964         calculation loop and add branch prediction.
59966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59967         check access beyond bounds of m1np.
59969         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59970         MPTWO.
59971         (__inv): Remove local variable MPTWO to use the global
59972         constant.
59973         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59974         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59975         variable MPTWO.
59976         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59977         MP3HALFS static const.
59979 2013-01-01  David S. Miller  <davem@davemloft.net>
59981         * po/ca.po: Update from translation team.
59983 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59985         * scripts/update-copyrights: New file.
59986         * Makeconfig: Reformat copyright notice.
59987         * ctype/ctype.h: Likewise.
59988         * debug/swprintf_chk.c: Likewise.
59989         * elf/dl-cache.c: Likewise.
59990         * elf/dl-debug.c: Likewise.
59991         * elf/dl-object.c: Likewise.
59992         * grp/initgroups.c: Likewise.
59993         * hurd/Makefile: Likewise.
59994         * hurd/hurd/signal.h: Likewise.
59995         * hurd/hurdfault.c: Likewise.
59996         * hurd/hurdioctl.c: Likewise.
59997         * hurd/hurdlookup.c: Likewise.
59998         * hurd/intr-msg.c: Likewise.
59999         * iconv/gconv_open.c: Likewise.
60000         * libio/swprintf.c: Likewise.
60001         * locale/lc-ctype.c: Likewise.
60002         * locale/nl_langinfo.c: Likewise.
60003         * mach/Machrules: Likewise.
60004         * mach/Makefile: Likewise.
60005         * malloc/obstack.h: Likewise.
60006         * manual/Makefile: Likewise.
60007         * manual/tsort.awk: Likewise.
60008         * misc/bits/stab.def: Likewise.
60009         * nis/nis_print_group_entry.c: Likewise.
60010         * nis/nis_table.c: Likewise.
60011         * nis/nss_compat/compat-pwd.c: Likewise.
60012         * nis/nss_compat/compat-spwd.c: Likewise.
60013         * po/Makefile: Likewise.
60014         * posix/fnmatch.c: Likewise.
60015         * posix/regex.h: Likewise.
60016         * resolv/Makefile: Likewise.
60017         * resolv/nss_dns/dns-network.c: Likewise.
60018         * resolv/res_hconf.c: Likewise.
60019         * scripts/gen-sorted.awk: Likewise.
60020         * soft-fp/soft-fp.h: Likewise.
60021         * stdio-common/printf.h: Likewise.
60022         * stdlib/monetary.h: Likewise.
60023         * stdlib/random.c: Likewise.
60024         * stdlib/random_r.c: Likewise.
60025         * sysdeps/generic/Makefile: Likewise.
60026         * sysdeps/gnu/Makefile: Likewise.
60027         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60028         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60029         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60031         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60032         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60033         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60034         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60035         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60036         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60037         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60038         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60039         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60040         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60041         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60042         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60043         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60044         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60045         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60046         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60047         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60048         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60049         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60050         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60051         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60052         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60053         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60054         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60055         * sysdeps/mach/hurd/errnos.awk: Likewise.
60056         * sysdeps/mach/hurd/fork.c: Likewise.
60057         * sysdeps/mach/hurd/getcwd.c: Likewise.
60058         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60059         * sysdeps/mach/hurd/mmap.c: Likewise.
60060         * sysdeps/mach/hurd/utimes.c: Likewise.
60061         * sysdeps/mach/hurd/xmknod.c: Likewise.
60062         * sysdeps/posix/profil.c: Likewise.
60063         * sysdeps/posix/readdir_r.c: Likewise.
60064         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60065         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60066         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60067         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60069         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60070         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60071         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60073         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60074         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60075         * sysdeps/pthread/lio_listio.c: Likewise.
60076         * sysdeps/sparc/dl-procinfo.h: Likewise.
60077         * sysdeps/unix/i386/sysdep.S: Likewise.
60078         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60079         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60080         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60081         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60083         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60084         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60085         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60086         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60087         * sysdeps/wordsize-32/divdi3.c: Likewise.
60088         * time/sys/time.h: Likewise.
60089         * wcsmbs/Makefile: Likewise.
60091 2013-01-01  David S. Miller  <davem@davemloft.net>
60093         * po/fr.po: Update from translation team.
60095         * catgets/gencat.c: Update copyright year.
60096         * csu/version.c: Likewise.
60097         * debug/catchsegv.sh: Likewise.
60098         * debug/pcprofiledump.c: Likewise.
60099         * debug/xtrace.sh: Likewise.
60100         * elf/ldconfig.c: Likewise.
60101         * elf/ldd.bash.in: Likewise.
60102         * elf/pldd.c: Likewise.
60103         * elf/sotruss.ksh: Likewise.
60104         * elf/sprof.c: Likewise.
60105         * iconv/iconv_prog.c: Likewise.
60106         * iconv/iconvconfig.c: Likewise.
60107         * locale/programs/locale.c: Likewise.
60108         * locale/programs/localedef.c: Likewise.
60109         * login/programs/pt_chown.c: Likewise.
60110         * malloc/memusage.sh: Likewise.
60111         * malloc/memusagestat.c: Likewise.
60112         * malloc/mtrace.pl: Likewise.
60113         * nscd/nscd.c: Likewise.
60114         * nss/getent.c: Likewise.
60115         * nss/makedb.c: Likewise.
60116         * posix/getconf.c: Likewise.
60118 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60120         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60121         numbers.
60123 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60125         * math/bits/mathcalls.h (modf): Use __nonnull.
60127 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60129         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60130         (split): Use macro CN instead of the bare value.
60131         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60132         could be used.
60133         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60134         instead of the bare value.
60135         (power1): Likewise.
60137 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60139         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60140         __ATAN_TWOM.
60141         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60143         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60144         their values.
60145         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60146         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60147         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60148         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60150 2012-12-28  Andreas Jaeger  <aj@suse.de>
60152         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60153         values are from Linux 3.7.
60155         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60156         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60158 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60160         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60161         TRUE case.
60163         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60164         (norm): Likewise.
60165         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60166         variables with preprocessor constants.
60167         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60168         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60169         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60171 2012-12-27  Bruno Haible  <bruno@clisp.org>
60173         [BZ #14317]
60174         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60175         only if needed.
60177 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60180         and use variable directly.
60181         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60183         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60184         MPONE.
60185         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60186         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60187         variable MPONE.
60188         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60190         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60191         include directive.  Remove local variable MPONE.
60192         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60193         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60194         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60196 2012-12-25  David S. Miller  <davem@davemloft.net>
60198         * version.h (RELEASE): Set to "development".
60199         (VERSION): Set to "2.17.90".
60200         * NEWS: Add 2.18 section.
60202 2012-12-21  David S. Miller  <davem@davemloft.net>
60204         * po/hr.po: Update from translation team.
60206 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60208         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60210 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60212         * NEWS:  Mention new memcpy for MIPS.
60214 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60216         * manual/contrib.texi (Contributors): Spelling correction.
60218 2012-12-15  David S. Miller  <davem@davemloft.net>
60220         * po/ru.po: Update from translation team.
60222 2012-12-13  David S. Miller  <davem@davemloft.net>
60224         * NEWS: Mention IFUNC testsuite enhancements.
60226         * po/pl.po: Update from translation team.
60227         * po/bg.po: Likewise.
60229         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60230         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60232 2012-12-11  David S. Miller  <davem@davemloft.net>
60234         * po/sv.po: Update from translation team.
60236         * po/vi.po: Update from translation team.
60238         * po/cs.po: Update from translation team.
60240         * po/de.po: Update from translation team.
60241         * po/eo.po: Likewise.
60242         * po/nl.po: Likewise.
60244 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60246         [BZ #14246]
60247         * manual/argp.texi (Argp Helper Functions): Move node to follow
60248         Argp Parsing State.
60250         [BZ #14872]
60251         * manual/conf.texi (Limits on File System Capacity): Mention if
60252         terminating null is included in the max size.
60254 2012-12-10  Andreas Jaeger  <aj@suse.de>
60256         * po/cs.po: Update from translation team.
60258 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60260         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60261         void pointer and cast to uintptr_t.
60262         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60263         path.
60264         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60265         * sysdeps/s390/s390-64/memset.S: Likewise.
60267 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60269         [BZ #14833]
60270         * menual/message.texi (Message Translation): Fix typos.
60271         (Helper programs for gettext): Likewise.
60273 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60275         [BZ #14898]
60276         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60277         Change to -1.
60279 2012-12-07  David S. Miller  <davem@davemloft.net>
60281         * po/libc.pot: Update.
60283 2012-12-07  Richard Henderson  <rth@redhat.com>
60285         [BZ #10114]
60286         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60287         normal/normal case to before the switch.
60288         (_FP_DIV): Likewise.
60290 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60291             Mike Frysinger  <vapier@gentoo.org>
60293         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60294         check for __NR_fadvise64_64.
60296 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60298         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60299         0, not just to plain "0" as a statement.
60300         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60301         with cw.
60303 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60305         * NEWS: Use sourceware.org in Bugzilla URL.
60307 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60310         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60312         * stdio-common/tst-put-error.c (do_test): Add newline to the
60313         padded test to ensure flush.
60315 2012-12-05  Jeff Law  <law@redhat.com>
60317         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60319 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60321         * README: Don't refer to ports add-on as distributed separately.
60322         Mention AArch64 in list of systems supported in the ports add-on.
60324         * LICENSES: Add more non-FSF copyright and license notices.
60326         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60327         ((unused)).
60329         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60331         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60332         10000 as width of padded output.
60334 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60336         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60338         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60339         variable LX with __attribute__ ((unused)).
60340         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60341         Likewise.
60342         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60343         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60344         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60345         with __attribute__ ((unused)).
60347 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60349         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60351 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60353         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60354         (CFLAGS-nldbl-acos.c): New variable.
60355         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60356         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60357         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60358         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60359         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60360         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60361         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60362         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60363         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60364         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60365         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60366         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60367         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60368         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60369         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60370         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60371         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60372         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60373         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60374         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60375         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60376         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60377         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60378         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60379         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60380         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60381         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60382         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60383         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60384         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60385         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60386         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60387         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60388         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60389         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60390         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60391         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60392         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60393         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60394         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60395         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60396         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60397         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60398         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60399         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60400         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60401         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60402         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60403         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60404         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60405         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60406         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60407         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60408         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60409         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60410         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60411         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60412         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60413         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60414         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60415         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60416         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60417         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60418         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60419         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60420         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60421         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60422         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60423         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60424         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60425         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60426         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60427         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60428         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60429         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60430         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60431         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60432         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60433         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60434         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60435         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60436         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60437         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60438         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60439         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60440         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60441         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60442         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60443         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60444         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60445         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60446         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60447         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60448         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60449         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60450         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60451         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60454         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60456         [BZ #14914]
60457         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60458         whole low double instead of just low 47 bits when splitting values
60459         into two parts.
60461 2012-12-03  Allan McRae  <allan@archlinux.org>
60463         * manual/stdio.texi (Predefined Printf Handlers): Remove
60464         @hsep and @vsep usage.
60466 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60468         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60469         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60471 2012-12-03  Jeff Law  <law@redhat.com>
60473         * time/sys/time.h (settimeofday): Do not mark TV argument
60474         as __nonnull.
60476 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60478         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60479         when currently writing and seek to current position when not.
60480         * libio/Makefile (tests): Remove bug-fclose1.
60481         * libio/bug-fclose1.c: Delete.
60483 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60485         * manual/arith.texi (feenableexcept): Fix typo.
60486         (fedisableexcept): Likewise.
60488 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60490         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60491         second, differently-typed declaration, rather than a cast.
60493 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60495         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60496         * include/rpc/svc.h: ... here.
60498 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60500         [BZ #13013]
60501         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60502         depending n and resplen2 to catch cases where answer
60503         equals answerp2.
60505 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60507         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60508         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60510 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60512         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60514 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60516         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60518 2012-11-28  Jeff Law  <law@redhat.com>
60520         [BZ #13761]
60521         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60522         dataset_temporary.  Track alloca usage into alloca_used.
60523         If dataset is large allocate and release it via malloc/free.
60525 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60527         [BZ #14197]
60528         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60530 2012-11-28  David S. Miller  <davem@davemloft.net>
60532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60534 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60536         [BZ #14803]
60537         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60538         of pi/2 rounded to nearest to 64 bits.
60539         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60540         nearest to 64 bits.
60541         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60542         bits.
60544 2012-11-28  Jeff Law <law@redhat.com>
60545             Martin Osvald <mosvald@redhat.com>
60547         [BZ #14889]
60548         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60549         * sunrpc/svc.c: Include time.h.
60550         (__svc_accept_failed): New function.
60551         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60552         any reason other than EINTR, call __svc_accept_failed.
60553         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60554         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60556 2012-11-28  Andreas Schwab  <schwab@suse.de>
60558         * scripts/abilist.awk: Also handle indirect functions in .opd
60559         section.
60561 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60563         [BZ #13881]
60564         * sysdeps/x86/fpu/powl_helper.c: New file.
60565         * sysdeps/x86/fpu/Makefile: Likewise.
60566         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60567         (p3): New object.
60568         (__ieee754_powl): Use __powl_helper for finite arguments except
60569         integer exponents below 8.
60570         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60571         (p3): New object.
60572         (__ieee754_powl): Use __powl_helper for finite arguments except
60573         integer exponents below 8.
60574         * math/libm-test.inc (pow_test): Add more tests and enable some
60575         previously disabled tests.
60576         * sysdeps/i386/fpu/libm-test-ulps: Update.
60577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60579 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60580             Carlos O'Donell  <carlos_odonell@mentor.com>
60582         * nss/makedb.c (is_prime): Assert that input is odd and greater
60583         than 4.  Note that fact in a comment too.
60584         (next_prime): Add 4 to input.
60586 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60588         [BZ #11741]
60589         * libio/Makefile (tests): Add test case tst-fwrite-error.
60590         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60591         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60592         * libio/tst-fwrite-error.c: New test case.
60594 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60596         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60597         before casting to void *.
60598         * include/libc-internal.h (__pointer_type): New macro.
60599         (__integer_if_pointer_type_sub): Likewise.
60600         (__integer_if_pointer_type): Likewise.
60601         (cast_to_integer): Likewise.
60602         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60603         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60604         before casting to atomic64_t.
60605         (atomic_exchange_acq): Likewise.
60606         (__arch_exchange_and_add_body): Likewise.
60607         (__arch_add_body): Likewise.
60608         (atomic_add_negative): Likewise.
60609         (atomic_add_zero): Likewise.
60611 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60613         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60614         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60615         (add_fdes): Likewise.
60616         (linear_search_fdes): Likewise.
60617         (binary_search_unencoded_fdes): Likewise.
60619 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60621         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60623 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60625         * configure.in: Autodetect C++ header directories.
60626         * configure: Regenerated.
60628 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60630         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60632 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60636 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60638         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60639         LDBL_MANT_DIG == 106]: Disable some tests.
60640         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60641         Likewise.
60642         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60643         Likewise.
60645         [BZ #14871]
60646         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60647         input for small inputs.  Return +/- pi/2 for large inputs.
60648         * math/libm-test.inc (atan_test): Add more tests.
60650         * sysdeps/generic/unwind-dw2-fde-glibc.c
60651         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60652         __attribute__ ((unused)).
60654         [BZ #14645]
60655         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60656         x * y if x and y are nonzero and z is zero.
60658         [BZ #14811]
60659         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60660         nonzero exponents with absolute value below 0x1p-117 to +/-
60661         0x1p-117.
60663         [BZ #14869]
60664         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60665         up arguments below 2**-450, not just those below 2**-500.
60666         * math/libm-test.inc (hypot_test): Add another test.
60668         [BZ #14868]
60669         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60670         Return a+b for ratio over 2**120, not 2**60.
60671         * math/libm-test.inc (hypot_test): Add another test.
60673         * math/libm-test.inc (clog_test): Use
60674         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60675         (clog10_test): Likewise.
60677         [BZ #6778]
60678         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60680 2012-11-22  Andreas Schwab  <schwab@suse.de>
60682         * sysdeps/i386/fpu/libm-test-ulps: Update.
60684 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60686         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60687         printf output with newline.
60689 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60691         [BZ #14865]
60692         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60693         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60694         -z nodlopen, -z initfirst and -z execstack support.
60695         * configure: Regenerated.
60697         * elf/elf.h (DF_1_NODIRECT): New macro.
60698         (DF_1_IGNMULDEF): Likewise.
60699         (DF_1_NOKSYMS): Likewise.
60700         (DF_1_NOHDR): Likewise.
60701         (DF_1_EDITED): Likewise.
60702         (DF_1_NORELOC): Likewise.
60703         (DF_1_SYMINTPOSE): Likewise.
60704         (DF_1_GLOBAUDIT): Likewise.
60705         (DF_1_SINGLETON): Likewise.
60706         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60707         DT_1_SUPPORTED_MASK bits.
60708         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60710 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60712         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60714 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60716         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60717         macro.
60719         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60720         (sendmmsg): Move declarations...
60721         * socket/sys/socket.h: ... here.
60722         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60723         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60724         include it from...
60725         * socket/recvmmsg.c: ... this new file.
60726         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60727         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60728         definition of __sendmmsg hidden.
60729         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60730         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60731         Move ENOSYS stub into and include it from...
60732         * socket/sendmmsg.c: ... this new file.
60733         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60734         (sysdep_routines): Move recvmmsg and sendmmsg...
60735         * socket/Makefile (routines): ... here.
60736         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60737         (GLIBC_PRIVATE): Add __sendmmsg.
60738         * include/sys/socket.h (__sendmmsg): Add declarations.
60739         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60740         sendmmsg.
60742 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60744         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60745         variable I1 with __attribute__ ((unused)).
60746         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60748 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60750         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60751         DUMMY variables with __attribute__ ((unused)).
60753         * bits/byteswap.h: Include <bits/types.h>.
60754         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60756 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60758         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60759         string_t.  Do not manually set errno.
60760         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60761         length with __strnlen.  Make sure to both set errno and return it on
60762         failure.
60764 2012-11-19  David S. Miller  <davem@davemloft.net>
60766         With help from Joseph Myers.
60767         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60768         very large arguments properly.
60769         * math/libm-test.inc (atan_test): New tests.
60770         (atan2_test): New tests.
60771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60774 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60776         [BZ #14856]
60777         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60778         Define to 3.
60780         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60781         [POSIX] (EADDRNOTAVAIL): Likewise.
60782         [POSIX] (EAFNOSUPPORT): Likewise.
60783         [POSIX] (EALREADY): Likewise.
60784         [POSIX] (ECONNABORTED): Likewise.
60785         [POSIX] (ECONNREFUSED): Likewise.
60786         [POSIX] (ECONNRESET): Likewise.
60787         [POSIX] (EDESTADDRREQ): Likewise.
60788         [POSIX] (EDQUOT): Likewise.
60789         [POSIX] (EHOSTUNREACH): Likewise.
60790         [POSIX] (EIDRM): Likewise.
60791         [POSIX] (EISCONN): Likewise.
60792         [POSIX] (ELOOP): Likewise.
60793         [POSIX] (EMULTIHOP): Likewise.
60794         [POSIX] (ENETDOWN): Likewise.
60795         [POSIX] (ENETUNREACH): Likewise.
60796         [POSIX] (ENOBUFS): Likewise.
60797         [POSIX] (ENODATA): Likewise.
60798         [POSIX] (ENOLINK): Likewise.
60799         [POSIX] (ENOMSG): Likewise.
60800         [POSIX] (ENOPROTOOPT): Likewise.
60801         [POSIX] (ENOSR): Likewise.
60802         [POSIX] (ENOSTR): Likewise.
60803         [POSIX] (ENOTCONN): Likewise.
60804         [POSIX] (ENOTSOCK): Likewise.
60805         [POSIX] (EOPNOTSUPP): Likewise.
60806         [POSIX] (EOVERFLOW): Likewise.
60807         [POSIX] (EPROTO): Likewise.
60808         [POSIX] (EPROTONOSUPPORT): Likewise.
60809         [POSIX] (EPROTOTYPE): Likewise.
60810         [POSIX] (ESTALE): Likewise.
60811         [POSIX] (ETIME): Likewise.
60812         [POSIX] (ETXTBSY): Likewise.
60813         [POSIX] (EWOULDBLOCK): Likewise.
60814         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60815         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60816         [POSIX] (SEEK_CUR): Likewise.
60817         [POSIX] (SEEK_END): Likewise.
60818         [POSIX || UNIX98] (mode_t): Do not require.
60819         [POSIX] (off_t): Likewise.
60820         [POSIX] (pid_t): Likewise.
60821         [POSIX] (sys/stat.h): Do not allow header.
60822         [POSIX] (unistd.h): Likewise.
60823         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60824         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60825         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60826         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60827         require.
60828         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60829         sigevent): Specify elements.
60830         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60831         entry.
60832         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60833         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60835         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60836         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60837         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60838         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60839         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60840         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60841         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60842         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60843         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60844         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60845         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60846         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60847         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60848         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60849         Likewise.
60850         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60851         Likewise.
60852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60853         Likewise.
60854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60855         Likewise.
60856         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60857         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60858         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60859         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60860         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60861         Specify lower bound on value.
60862         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60863         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60864         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60865         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60866         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60867         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60868         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60869         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60870         value.
60871         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60872         as optional.
60873         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60874         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60875         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60876         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60877         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60878         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60879         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60880         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60881         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60882         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60883         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60884         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60885         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60886         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60887         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60888         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60889         entry.
60890         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60891         optional.
60892         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60893         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60894         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60895         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60896         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60897         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60898         Likewise.
60899         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60900         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60901         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60902         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60903         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60904         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60905         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60906         as optional.
60907         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60908         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60909         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60910         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60911         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60912         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60913         specify as optional.
60914         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60915         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60916         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60917         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60918         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60919         [XPG3] (NL_LANGMAX): Likewise.
60920         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60921         [POSIX || XPG3] (NL_NMAX): Likewise.
60922         [POSIX || XPG3] (NL_SETMAX): Likewise.
60923         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60924         [XPG3] (NZERO): Likewise.
60925         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60926         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60927         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60928         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60929         (REG_ERANGE): Expect.
60930         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60931         optional-constant.
60932         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60933         Use (void) in prototype.
60934         [POSIX] (*_t): Allow.
60935         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60936         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60937         (WRDE_BADVAL): Expect.
60939         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60940         expect.
60941         [XPG3 || XPG4] (O_RSYNC): Likewise.
60942         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60943         Likewise.
60944         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60945         [XPG3 || XPG4] (sigqueue): Likewise.
60946         [XPG3 || XPG4] (sigtimedwait): Likewise.
60947         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60948         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60949         [XPG3 || XPG4] (vsnprintf): Likewise.
60950         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60951         Likewise.
60952         [XPG3 || XPG4] (blksize_t): Likewise.
60953         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60954         Likewise.
60955         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60956         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60957         [XPG3 || XPG4] (struct itimerspec): Likewise.
60958         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60959         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60960         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60961         [XPG3 || XPG4] (clockid_t): Likewise.
60962         [XPG3 || XPG4] (timer_t): Likewise.
60963         [XPG3 || XPG4] (clock_getres): Likewise.
60964         [XPG3 || XPG4] (clock_gettime): Likewise.
60965         [XPG3 || XPG4] (clock_settime): Likewise.
60966         [XPG3 || XPG4] (nanosleep): Likewise.
60967         [XPG3 || XPG4] (timer_create): Likewise.
60968         [XPG3 || XPG4] (timer_delete): Likewise.
60969         [XPG3 || XPG4] (timer_gettime): Likewise.
60970         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60971         [XPG3 || XPG4] (timer_settime): Likewise.
60972         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60973         [XPG3 || XPG4] (getlogin_r): Likewise.
60974         [XPG3 || XPG4] (pread): Likewise.
60975         [XPG3 || XPG4] (pthread_atfork): Likewise.
60976         [XPG3 || XPG4] (pwrite): Likewise.
60978         [BZ #14835]
60979         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60980         <bits/siginfo.h>.
60982 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60984         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60985         finalizing MALLSTREAM.
60987         * sysdeps/mach/hurd/syncfs.c: New file.
60989 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60991         [BZ #14719]
60992         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60993         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60994         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60995         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60996         (_nss_dns_gethostbyname4_r): Likewise.
60997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60998         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61000 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61002         [BZ #13763]
61003         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61005 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61007         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61008         * elf/cache.c (print_entry): Print ",AArch64" for
61009         FLAG_AARCH64_LIB64
61011         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61012         * elf/cache.c (print_entry): Print ",hard-float" for
61013         FLAG_ARM_LIBHF.
61015 2012-11-18  David S. Miller  <davem@davemloft.net>
61017         With help from Joseph Myers.
61018         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61019         cutoff to 2**-13.
61020         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61021         cutoff to 2**-25.
61022         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61023         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61024         small.
61025         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61026         * math/libm-test.inc (y0_test): New tests.
61027         (y1_test): New tests.
61028         * sysdeps/i386/fpu/libm-test-ulps: Update.
61029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61032 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61034         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61035         64-bit targets.
61036         * configure: Regenerated.
61038 2012-11-17  David S. Miller  <davem@davemloft.net>
61040         [BZ #14811]
61041         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61042         nonzero exponents with absolute value below 0x1p-128 to +/-
61043         0x1p-128.
61045 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61047         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61049         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61051         * posix/getconf-speclist.c: New file.
61052         * posix/posix-envs.def: Likewise.
61053         * posix/confstr.c (START_ENV_GROUP): New macro.
61054         (END_ENV_GROUP): Likewise.
61055         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61056         (KNOWN_PRESENT_ENV_STRING): Likewise.
61057         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61058         (UNKNOWN_ENVIRONMENT): Likewise.
61059         (confstr): Include posix-envs.def instead of handling
61060         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61061         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61062         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61063         (END_ENV_GROUP): Likewise.
61064         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61065         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61066         (UNKNOWN_ENVIRONMENT): Likewise.
61067         (__sysconf): Include posix-envs.def instead of handling associated
61068         cases directly here.
61069         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61070         preprocessing getconf-speclist.c rather than running getconf or
61071         generating empty file.
61073 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61075         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61077 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61079         [BZ #14672]
61080         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61082 2012-11-16  David S. Miller  <davem@davemloft.net>
61084         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61085         smaller than LDBL_EPSILON/2.0L, just return xm1.
61087 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61089         * elf/tst-array1.c (init): Set constructor priority to 1000.
61090         (fini): Set destructor priority to 1000.
61091         * elf/tst-array2dep.c: Likewise.
61093 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61095         [BZ #11741]
61096         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61097         (_IO_new_file_xsputn): Also return EOF if none of the input
61098         data was written when overflow failed.
61099         * libio/iopadn.c (_IO_padn): Likewise.
61100         * libio/iowpadn.c (_IO_wpadn): Likewise.
61101         * stdio-common/tst-put-error.c: Add copyright notice.
61102         (do_test): Add case for printing padded string.
61103         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61104         _IO_padn returned error.
61105         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61106         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61107         return EOF.
61109 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61111         * libio/libioP.h: Add comment note that the references to C++
61112         bits are now obsolete.
61114 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61116         * math/libm-test.inc (check_complex): Use asprintf.
61118 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61120         * debug/pcprofiledump.c (print_version): Update copyright year.
61121         * malloc/memusagestat.c (print_version): Likewise.
61123 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61125         [BZ #14831]
61126         * elf/Makefile (tests): Add tst-audit8.
61127         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61128         ($(objpfx)tst-audit8.out): New target.
61129         (tst-audit8-ENV): New variable.
61130         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61131         audit if l_reloc_result is NULL.
61132         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61133         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61134         * elf/tst-audit8.c: New file.
61136 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61138         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61139         * misc/Makefile (CFLAGS-select.c): Define.
61140         * posix/Makefile (CFLAGS-pause.c): Define.
61142 2012-11-13  David S. Miller  <davem@davemloft.net>
61144         * crypt/Makefile: Move test targets after toplevel Rules
61145         inclusion.  Grab any necessary sysdep routines when linking.
61146         * crypt/md5.c (md5_process_block): Remove define, we will always
61147         name it __md5_process_block.
61148         (md5_finish_ctx): Update md5_process_block call.
61149         (md5_stream): Likewise.
61150         (md5_process_bytes): Likewise.
61151         (md5_process_block): Rename to __md5_process_block and move to ...
61152         * crypt/md5-block.c: ... here.
61153         * crypt/sha256.c (sha256_process_block): Move to ...
61154         * crypt/sha256-block.c: ... here.
61155         * crypt/sha512.c (sha512_process_block): Move to ...
61156         * crypt/sha512-block.c: ... here.
61157         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61158         path.
61159         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61160         * sysdeps/sparc/sparc64/multiarch/Makefile
61161         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61162         crypt subdir.
61163         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61164         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61165         multiarch changes.
61166         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61167         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61168         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61169         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61170         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61171         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61172         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61173         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61174         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61175         file.
61176         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61177         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61178         file.
61179         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61181 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61183         * timezone/tzselect.ksh: Update from tzcode git revision
61184         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61185         * timezone/zdump.c: Likewise.
61186         * timezone/zic.c: Likewise.
61187         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61188         in TZVERSION setting, not $(PKGVERSION).
61189         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61190         REPORT_BUGS_TO settings.
61192         [BZ #14838]
61193         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61194         macro.
61196 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61198         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61199         detection to immediately after _FP_ROUND().
61200         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61201         bits are 0.
61203 2012-11-11  David S. Miller  <davem@davemloft.net>
61205         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61206         inttypes.h
61207         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61208         __close rather than their public counterparts.
61210 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61212         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61213         file.
61214         [UNIX98] (sem_timedwait): Do not expect.
61215         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61216         [XPG4 || UNIX98] (sockatmark): Do not expect.
61217         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61218         (clock_getcpuclockid): Do not expect.
61219         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61220         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61221         Do not expect.
61222         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61223         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61224         [UNIX98] (vwscanf): Likewise.
61225         [UNIX98] (vswscanf): Likewise.
61227 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61229         * timezone/version.h: Remove file.
61230         * timezone/README: Do not refer to version.h.
61231         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61232         $(objpfx)version.h.
61233         ($(objpfx)zdump.o): Likewise.
61234         ($(objpfx)version.h): New target.
61236         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61237         2012i.
61238         * timezone/README: Don't mention modification to tzselect.ksh.
61239         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61240         work on unmodified tzselect.ksh.  Substitute version numbers in
61241         tzselect.ksh.
61243         * Makefile (format-me): Remove.
61244         (INSTALL): Adjust indentation.  Use commands directly instead of
61245         using $(format-me).
61247         * aclocal.m4 (ACX_PKGVERSION): New macro.
61248         (ACX_BUGURL): Likewise.
61249         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61250         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61251         (REPORT_BUGS_TO): Likewise.
61252         * configure: Regenerated.
61253         * config.h.in (PKGVERSION): New macro.
61254         (REPORT_BUGS_TO): Likewise.
61255         * config.make.in (PKGVERSION): New variable.
61256         (PKGVERSION_TEXI): Likewise.
61257         (REPORT_BUGS_TO): Likewise.
61258         (REPORT_BUGS_TEXI): Likewise.
61259         * Makefile (format-me): Use -I$(common-objpfx)manual.
61260         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61261         ($(common-objpfx)manual/%): New target.
61262         (manual/%): Remove target.
61263         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61264         (print_version): Use PKGVERSION.
61265         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61266         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61267         and REPORT_BUGS_TO.
61268         ($(objpfx)xtrace): Likewise.
61269         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61270         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61271         (print_version): Use PKGVERSION.
61272         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61273         (do_version): Use PKGVERSION.
61274         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61275         REPORT_BUGS_TO.
61276         (common-ldd-rewrite): Likewise.
61277         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61278         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61279         (print_version): Use PKGVERSION.
61280         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61281         * elf/pldd.c (argp_program_bug_address): Remove variable.
61282         (more_help): New function.
61283         (argp): Use more_help.
61284         (print_version): Use PKGVERSION.
61285         * elf/sln.c (main): Use PKGVERSION.
61286         (usage): Use REPORT_BUGS_TO.
61287         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61288         (top level): Use PKGVERSION.
61289         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61290         (print_version): Use PKGVERSION.
61291         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61292         (print_version): Use PKGVERSION.
61293         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61294         (print_version): Use PKGVERSION.
61295         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61296         (print_version): Use PKGVERSION.
61297         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61298         (print_version): Use PKGVERSION.
61299         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61300         (print_version): Use PKGVERSION.
61301         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61302         and BUGURL.
61303         ($(objpfx)memusage): Likewise.
61304         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61305         (do_version): Use PKGVERSION.
61306         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61307         (print_version): Use PKGVERSION.
61308         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61309         ($PKGVERSION): New variable.
61310         ($REPORT_BUGS_TO): Likewise.
61311         (usage): Use $REPORT_BUGS_TO.
61312         (top level): Use $PKGVERSION.
61313         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61314         ($(objpfx)pkgvers.texi): New rule.
61315         ($(objpfx)stamp-pkgvers): Likewise.
61316         * manual/install.texi: Include pkgvers.texi.
61317         (--with-pkgversion): Document new configure option.
61318         (--with-bugurl): Likewise.
61319         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61320         than necessarily for this particular distribution.  Use
61321         REPORT_BUGS_TO for where to report bugs.
61322         * INSTALL: Regenerated.
61323         * manual/libc.texinfo: Include pkgvers.texi.
61324         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61325         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61326         (print_version): Use PKGVERSION.
61327         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61328         (print_version): Use PKGVERSION.
61329         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61330         (print_version): Use PKGVERSION.
61331         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61332         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61333         macro.
61334         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61335         (print_version): Use PKGVERSION.
61336         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61337         (print_version): Use PKGVERSION.
61338         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61339         and PKGVERSION.
61341         * timezone/checktab.awk: Update from tzcode 2012i.
61342         * timezone/ialloc.c: Likewise.
61343         * timezone/private.h: Likewise.
61344         * timezone/scheck.c: Likewise.
61345         * timezone/tzfile.h: Likewise.
61346         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61347         (TZVERSION): Hardcode tzcode version number.
61348         * timezone/zdump.c: Update from tzcode 2012i.
61349         * timezone/zic.c: Likewise.
61350         * timezone/version.h: New file.
61351         * timezone/README: Describe version.h.  Update upstream location.
61353         [BZ #14824]
61354         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61355         (mktemp): Enable declaration.
61356         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61358         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61360         Likewise.
61361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61362         Likewise.
61363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61364         Likewise.
61365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61366         Likewise.
61367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61368         Likewise.
61369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61370         Likewise.
61372         [BZ #14821]
61373         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61374         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61375         for copies of such integer values.
61376         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61377         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61379 2012-11-09  Andreas Jaeger  <aj@suse.de>
61381         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61382         definitions and declarations that are provided by
61383         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61385 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61387         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61388         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61389         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61390         definition.
61392 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61394         * elf/elf.h: Update comment before AArch64 relocations.
61396 2012-11-07  David S. Miller  <davem@davemloft.net>
61398         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61399         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61400         (__start_context): Declare.
61401         (__makecontext_ret): Delete.
61402         (__makecontext): Hook up __start_context instead of
61403         __makecontext_ret.
61404         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61405         (sysdep_routines): Add __start_context when in stdlib.
61407 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61409         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61410         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61411         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61412         hardcoded "nm".
61413         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61414         (READELF): New variable.  Use it instead of hardcoded "readelf".
61416 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61418         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61419         * sysdeps/x86/Makefile: Here.
61420         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61421         * sysdeps/x86/tst-xmmymm.sh: This.
61423 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61425         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61426         expectations.
61427         [UNIX98] (pthread_barrier_t): Do not expect.
61428         [UNIX98] (pthread_barrierattr_t): Likewise.
61429         [UNIX98] (pthread_spinlock_t): Likewise.
61430         [UNIX98] (pthread_barrier_destroy): Likewise.
61431         [UNIX98] (pthread_barrier_init): Likewise.
61432         [UNIX98] (pthread_barrier_wait): Likewise.
61433         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61434         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61435         [UNIX98] (pthread_barrierattr_init): Likewise.
61436         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61437         [UNIX98] (pthread_getcpuclockid): Likewise.
61438         [UNIX98] (pthread_mutex_timedlock): Likewise.
61439         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61440         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61441         [UNIX98] (pthread_sigmask): Likewise.
61442         [UNIX98] (pthread_spin_destroy): Likewise.
61443         [UNIX98] (pthread_spin_init): Likewise.
61444         [UNIX98] (pthread_spin_lock): Likewise.
61445         [UNIX98] (pthread_spin_trylock): Likewise.
61446         [UNIX98] (pthread_spin_unlock): Likewise.
61447         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61448         Do not expect.
61449         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61450         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61451         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61452         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61453         [XPG3 || XPG4] (pthread_key_t): Likewise.
61454         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61455         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61456         [XPG3 || XPG4] (pthread_once_t): Likewise.
61457         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61458         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61459         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61460         [XPG3 || XPG4] (pthread_t): Likewise.
61462         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61463         not expect.
61464         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61466         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61467         Change function return type to int.
61469         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61470         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61471         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61472         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61473         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61474         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61475         [!POSIX] (posix_madvise): Likewise.
61476         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61477         && !UNIX98].
61478         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61479         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61480         (mode_t): Likewise.
61481         (posix_mem_offset): Likewise.
61482         (posix_typed_mem_get_info): Likewise.
61483         (posix_typed_mem_open): Likewise.
61485         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61486         Change condition to [XOPEN2K8].
61488         * conform/conformtest.pl: Preprocess allow-header data with -x c
61489         instead of from stdin.
61490         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61491         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61492         [C99-based standards] (cerfc): Likewise.
61493         [C99-based standards] (cexp2): Likewise.
61494         [C99-based standards] (cexpm1): Likewise.
61495         [C99-based standards] (clog10): Likewise.
61496         [C99-based standards] (clog1p): Likewise.
61497         [C99-based standards] (clog2): Likewise.
61498         [C99-based standards] (clgamma): Likewise.
61499         [C99-based standards] (ctgamma): Likewise.
61500         [C99-based standards] (cerff): Likewise.
61501         [C99-based standards] (cerfcf): Likewise.
61502         [C99-based standards] (cexp2f): Likewise.
61503         [C99-based standards] (cexpm1f): Likewise.
61504         [C99-based standards] (clog10f): Likewise.
61505         [C99-based standards] (clog1pf): Likewise.
61506         [C99-based standards] (clog2f): Likewise.
61507         [C99-based standards] (clgammaf): Likewise.
61508         [C99-based standards] (ctgammaf): Likewise.
61509         [C99-based standards] (cerfl): Likewise.
61510         [C99-based standards] (cerfcl): Likewise.
61511         [C99-based standards] (cexp2l): Likewise.
61512         [C99-based standards] (cexpm1l): Likewise.
61513         [C99-based standards] (clog10l): Likewise.
61514         [C99-based standards] (clog1pl): Likewise.
61515         [C99-based standards] (clog2l): Likewise.
61516         [C99-based standards] (clgammal): Likewise.
61517         [C99-based standards] (ctgammal): Likewise.
61518         * conform/data/inttypes.h-data [C99-based standards]: Include
61519         stdint.h-data.  Remove all expectations for stdint.h contents.
61520         [C99-based standards] (PRI*): Do not allow.
61521         [C99-based standards] (SCN*): Likewise.
61522         [C99-based standards] (*_t): Likewise.
61523         [C99-based-standards] (PRId8): Expect macro.
61524         [C99-based-standards] (PRIi8): Likewise.
61525         [C99-based-standards] (PRIo8): Likewise.
61526         [C99-based-standards] (PRIu8): Likewise.
61527         [C99-based-standards] (PRIx8): Likewise.
61528         [C99-based-standards] (PRIX8): Likewise.
61529         [C99-based-standards] (SCNd8): Likewise.
61530         [C99-based-standards] (SCNi8): Likewise.
61531         [C99-based-standards] (SCNo8): Likewise.
61532         [C99-based-standards] (SCNu8): Likewise.
61533         [C99-based-standards] (SCNx8): Likewise.
61534         [C99-based-standards] (PRIdLEAST8): Likewise.
61535         [C99-based-standards] (PRIiLEAST8): Likewise.
61536         [C99-based-standards] (PRIoLEAST8): Likewise.
61537         [C99-based-standards] (PRIuLEAST8): Likewise.
61538         [C99-based-standards] (PRIxLEAST8): Likewise.
61539         [C99-based-standards] (PRIXLEAST8): Likewise.
61540         [C99-based-standards] (SCNdLEAST8): Likewise.
61541         [C99-based-standards] (SCNiLEAST8): Likewise.
61542         [C99-based-standards] (SCNoLEAST8): Likewise.
61543         [C99-based-standards] (SCNuLEAST8): Likewise.
61544         [C99-based-standards] (SCNxLEAST8): Likewise.
61545         [C99-based-standards] (PRIdFAST8): Likewise.
61546         [C99-based-standards] (PRIiFAST8): Likewise.
61547         [C99-based-standards] (PRIoFAST8): Likewise.
61548         [C99-based-standards] (PRIuFAST8): Likewise.
61549         [C99-based-standards] (PRIxFAST8): Likewise.
61550         [C99-based-standards] (PRIXFAST8): Likewise.
61551         [C99-based-standards] (SCNdFAST8): Likewise.
61552         [C99-based-standards] (SCNiFAST8): Likewise.
61553         [C99-based-standards] (SCNoFAST8): Likewise.
61554         [C99-based-standards] (SCNuFAST8): Likewise.
61555         [C99-based-standards] (SCNxFAST8): Likewise.
61556         [C99-based-standards] (PRId16): Likewise.
61557         [C99-based-standards] (PRIi16): Likewise.
61558         [C99-based-standards] (PRIo16): Likewise.
61559         [C99-based-standards] (PRIu16): Likewise.
61560         [C99-based-standards] (PRIx16): Likewise.
61561         [C99-based-standards] (PRIX16): Likewise.
61562         [C99-based-standards] (SCNd16): Likewise.
61563         [C99-based-standards] (SCNi16): Likewise.
61564         [C99-based-standards] (SCNo16): Likewise.
61565         [C99-based-standards] (SCNu16): Likewise.
61566         [C99-based-standards] (SCNx16): Likewise.
61567         [C99-based-standards] (PRIdLEAST16): Likewise.
61568         [C99-based-standards] (PRIiLEAST16): Likewise.
61569         [C99-based-standards] (PRIoLEAST16): Likewise.
61570         [C99-based-standards] (PRIuLEAST16): Likewise.
61571         [C99-based-standards] (PRIxLEAST16): Likewise.
61572         [C99-based-standards] (PRIXLEAST16): Likewise.
61573         [C99-based-standards] (SCNdLEAST16): Likewise.
61574         [C99-based-standards] (SCNiLEAST16): Likewise.
61575         [C99-based-standards] (SCNoLEAST16): Likewise.
61576         [C99-based-standards] (SCNuLEAST16): Likewise.
61577         [C99-based-standards] (SCNxLEAST16): Likewise.
61578         [C99-based-standards] (PRIdFAST16): Likewise.
61579         [C99-based-standards] (PRIiFAST16): Likewise.
61580         [C99-based-standards] (PRIoFAST16): Likewise.
61581         [C99-based-standards] (PRIuFAST16): Likewise.
61582         [C99-based-standards] (PRIxFAST16): Likewise.
61583         [C99-based-standards] (PRIXFAST16): Likewise.
61584         [C99-based-standards] (SCNdFAST16): Likewise.
61585         [C99-based-standards] (SCNiFAST16): Likewise.
61586         [C99-based-standards] (SCNoFAST16): Likewise.
61587         [C99-based-standards] (SCNuFAST16): Likewise.
61588         [C99-based-standards] (SCNxFAST16): Likewise.
61589         [C99-based-standards] (PRId32): Likewise.
61590         [C99-based-standards] (PRIi32): Likewise.
61591         [C99-based-standards] (PRIo32): Likewise.
61592         [C99-based-standards] (PRIu32): Likewise.
61593         [C99-based-standards] (PRIx32): Likewise.
61594         [C99-based-standards] (PRIX32): Likewise.
61595         [C99-based-standards] (SCNd32): Likewise.
61596         [C99-based-standards] (SCNi32): Likewise.
61597         [C99-based-standards] (SCNo32): Likewise.
61598         [C99-based-standards] (SCNu32): Likewise.
61599         [C99-based-standards] (SCNx32): Likewise.
61600         [C99-based-standards] (PRIdLEAST32): Likewise.
61601         [C99-based-standards] (PRIiLEAST32): Likewise.
61602         [C99-based-standards] (PRIoLEAST32): Likewise.
61603         [C99-based-standards] (PRIuLEAST32): Likewise.
61604         [C99-based-standards] (PRIxLEAST32): Likewise.
61605         [C99-based-standards] (PRIXLEAST32): Likewise.
61606         [C99-based-standards] (SCNdLEAST32): Likewise.
61607         [C99-based-standards] (SCNiLEAST32): Likewise.
61608         [C99-based-standards] (SCNoLEAST32): Likewise.
61609         [C99-based-standards] (SCNuLEAST32): Likewise.
61610         [C99-based-standards] (SCNxLEAST32): Likewise.
61611         [C99-based-standards] (PRIdFAST32): Likewise.
61612         [C99-based-standards] (PRIiFAST32): Likewise.
61613         [C99-based-standards] (PRIoFAST32): Likewise.
61614         [C99-based-standards] (PRIuFAST32): Likewise.
61615         [C99-based-standards] (PRIxFAST32): Likewise.
61616         [C99-based-standards] (PRIXFAST32): Likewise.
61617         [C99-based-standards] (SCNdFAST32): Likewise.
61618         [C99-based-standards] (SCNiFAST32): Likewise.
61619         [C99-based-standards] (SCNoFAST32): Likewise.
61620         [C99-based-standards] (SCNuFAST32): Likewise.
61621         [C99-based-standards] (SCNxFAST32): Likewise.
61622         [C99-based-standards] (PRId64): Likewise.
61623         [C99-based-standards] (PRIi64): Likewise.
61624         [C99-based-standards] (PRIo64): Likewise.
61625         [C99-based-standards] (PRIu64): Likewise.
61626         [C99-based-standards] (PRIx64): Likewise.
61627         [C99-based-standards] (PRIX64): Likewise.
61628         [C99-based-standards] (SCNd64): Likewise.
61629         [C99-based-standards] (SCNi64): Likewise.
61630         [C99-based-standards] (SCNo64): Likewise.
61631         [C99-based-standards] (SCNu64): Likewise.
61632         [C99-based-standards] (SCNx64): Likewise.
61633         [C99-based-standards] (PRIdLEAST64): Likewise.
61634         [C99-based-standards] (PRIiLEAST64): Likewise.
61635         [C99-based-standards] (PRIoLEAST64): Likewise.
61636         [C99-based-standards] (PRIuLEAST64): Likewise.
61637         [C99-based-standards] (PRIxLEAST64): Likewise.
61638         [C99-based-standards] (PRIXLEAST64): Likewise.
61639         [C99-based-standards] (SCNdLEAST64): Likewise.
61640         [C99-based-standards] (SCNiLEAST64): Likewise.
61641         [C99-based-standards] (SCNoLEAST64): Likewise.
61642         [C99-based-standards] (SCNuLEAST64): Likewise.
61643         [C99-based-standards] (SCNxLEAST64): Likewise.
61644         [C99-based-standards] (PRIdFAST64): Likewise.
61645         [C99-based-standards] (PRIiFAST64): Likewise.
61646         [C99-based-standards] (PRIoFAST64): Likewise.
61647         [C99-based-standards] (PRIuFAST64): Likewise.
61648         [C99-based-standards] (PRIxFAST64): Likewise.
61649         [C99-based-standards] (PRIXFAST64): Likewise.
61650         [C99-based-standards] (SCNdFAST64): Likewise.
61651         [C99-based-standards] (SCNiFAST64): Likewise.
61652         [C99-based-standards] (SCNoFAST64): Likewise.
61653         [C99-based-standards] (SCNuFAST64): Likewise.
61654         [C99-based-standards] (SCNxFAST64): Likewise.
61655         [C99-based-standards] (PRIdMAX): Likewise.
61656         [C99-based-standards] (PRIiMAX): Likewise.
61657         [C99-based-standards] (PRIoMAX): Likewise.
61658         [C99-based-standards] (PRIuMAX): Likewise.
61659         [C99-based-standards] (PRIxMAX): Likewise.
61660         [C99-based-standards] (PRIXMAX): Likewise.
61661         [C99-based-standards] (SCNdMAX): Likewise.
61662         [C99-based-standards] (SCNiMAX): Likewise.
61663         [C99-based-standards] (SCNoMAX): Likewise.
61664         [C99-based-standards] (SCNuMAX): Likewise.
61665         [C99-based-standards] (SCNxMAX): Likewise.
61666         [C99-based-standards] (PRIdPTR): Likewise.
61667         [C99-based-standards] (PRIiPTR): Likewise.
61668         [C99-based-standards] (PRIoPTR): Likewise.
61669         [C99-based-standards] (PRIuPTR): Likewise.
61670         [C99-based-standards] (PRIxPTR): Likewise.
61671         [C99-based-standards] (PRIXPTR): Likewise.
61672         [C99-based-standards] (SCNdPTR): Likewise.
61673         [C99-based-standards] (SCNiPTR): Likewise.
61674         [C99-based-standards] (SCNoPTR): Likewise.
61675         [C99-based-standards] (SCNuPTR): Likewise.
61676         [C99-based-standards] (SCNxPTR): Likewise.
61677         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61678         allow.
61679         * conform/data/stdint.h-data: Update comments to clarify
61680         requirements.
61681         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61682         type.
61683         [C99-based standards] (INT8_MAX): Likewise.
61684         [C99-based standards] (INT16_MIN): Likewise.
61685         [C99-based standards] (INT16_MAX): Likewise.
61686         [C99-based standards] (INT32_MIN): Likewise.
61687         [C99-based standards] (INT32_MAX): Likewise.
61688         [C99-based standards] (INT64_MIN): Likewise.
61689         [C99-based standards] (INT64_MAX): Likewise.
61690         [C99-based standards] (UINT8_MAX): Likewise.
61691         [C99-based standards] (UINT16_MAX): Likewise.
61692         [C99-based standards] (UINT32_MAX): Likewise.
61693         [C99-based standards] (UINT64_MAX): Likewise.
61694         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61695         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61696         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61697         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61698         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61699         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61700         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61701         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61702         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61703         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61704         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61705         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61706         [C99-based standards] (INT_FAST8_MIN): Likewise.
61707         [C99-based standards] (INT_FAST8_MAX): Likewise.
61708         [C99-based standards] (INT_FAST16_MIN): Likewise.
61709         [C99-based standards] (INT_FAST16_MAX): Likewise.
61710         [C99-based standards] (INT_FAST32_MIN): Likewise.
61711         [C99-based standards] (INT_FAST32_MAX): Likewise.
61712         [C99-based standards] (INT_FAST64_MIN): Likewise.
61713         [C99-based standards] (INT_FAST64_MAX): Likewise.
61714         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61715         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61716         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61717         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61718         [C99-based standards] (INTPTR_MIN): Likewise.
61719         [C99-based standards] (INTPTR_MAX): Likewise.
61720         [C99-based standards] (UINTPTR_MAX): Likewise.
61721         [C99-based standards] (INTMAX_MIN): Likewise.
61722         [C99-based standards] (INTMAX_MAX): Likewise.
61723         [C99-based standards] (UINTMAX_MAX): Likewise.
61724         [C99-based standards] (PTRDIFF_MIN): Likewise.
61725         [C99-based standards] (PTRDIFF_MAX): Likewise.
61726         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61727         [C99-based standards] (SIZE_MAX): Likewise.
61728         [C99-based standards] (WCHAR_MAX): Likewise.
61729         [C99-based standards] (WINT_MAX): Likewise.
61730         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61731         constraint on value.
61732         [C99-based standards] (WCHAR_MIN): Likewise.
61733         [C99-based standards] (WINT_MIN): Likewise.
61734         [C99-based standards] (*_t): Allow.
61735         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61736         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61737         Include math.h-data and complex.h-data.  Remove all expectations
61738         of math.h and complex.h contents.
61739         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61740         at end of line.
61741         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61742         (struct tm): Expect tag.
61743         [C99-based-standards] (wcstof): Expect function.
61744         [C99-based-standards] (wcstold): Likewise.
61745         [C99-based-standards] (wcstoll): Likewise.
61746         [C99-based-standards] (wcstoull): Likewise.
61747         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61748         macro-int-constant.  Specify type.
61749         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61750         constraint on value.
61751         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61752         Specify type.
61753         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61754         Specify value.
61755         [ISO C standards]: Do not allow headers.
61756         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61757         wcs[abcdefghijklmnopqrstuvwxyz]*.
61758         [ISO C standards] (*_t): Do not allow.
61759         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61760         Expect function.
61761         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61762         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61763         Specify type.
61764         [ISO C standards]: Do not allow headers.
61765         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61766         is[abcdefghijklmnopqrstuvwxyz]*.
61767         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61768         to[abcdefghijklmnopqrstuvwxyz]*.
61769         [ISO C standards] (*_t): Do not allow.
61770         * conform/data/stdalign.h-data: New file.
61771         * conform/data/stdbool.h-data: Likewise.
61772         * conform/data/stdnoreturn.h-data: Likewise.
61774 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61776         [BZ #14815]
61777         * manual/filesys.texi (Directory Entries): Typo fix.
61778         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61780 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61782         * elf/elf.h (EM_AARCH64): New macro.
61783         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61784         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61785         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61786         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61787         (R_AARCH64_TLSDESC): Likewise.
61788         (NT_ARM_TLS): Likewise.
61789         (NT_ARM_HW_BREAK): Likewise.
61790         (NT_ARM_HW_WATCH): Likewise.
61792 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61794         [BZ #14811]
61795         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61796         (__ieee754_powl): Saturate nonzero exponents with absolute value
61797         below 0x1p-79 to +/- 0x1p-79.
61798         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61799         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61800         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61801         nonzero exponents with absolute value below 0x1p-32 to +/-
61802         0x1p-32.
61803         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61804         (__ieee754_powl): Saturate nonzero exponents with absolute value
61805         below 0x1p-79 to +/- 0x1p-79.
61806         * math/libm-test.inc (pow_test): Add more tests.
61808 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61810         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61811         _dl_s390_cap_flags with kernel. Increase string length.
61812         (_dl_s390_platforms): Add z196 and zEC12.
61814 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61816         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61817         Change XOPEN21K to XOPEN2K.
61819 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61821         * string/memmove.c: Use memcpy when possible.
61823 2012-11-06  Andreas Jaeger  <aj@suse.de>
61825         * po/eo.po: Update from translation team.
61827 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61829         [BZ #14793]
61830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61831         exponent and small x and y exponents, scale x or y up.  Increase
61832         by 2 the exponent used in scaling up.
61833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61835         * math/libm-test.inc (fma_test): Add more tests.
61836         (fma_test_towardzero): Likewise.
61837         (fma_test_downward): Likewise.
61838         (fma_test_upward): Likewise.
61840 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61842         [BZ #14805]
61843         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61844         fenv_t *.
61846         [BZ #14801]
61847         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61848         namespace for names of struct fields.
61849         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61850         fenv_t fields.
61851         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61852         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61854 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61856         [BZ #3665]
61857         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61859 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61861         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61862         PTR_DEMANGLE.
61864         [BZ #5246]
61865         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61866         PTR_DEMANGLE.
61868 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61870         [BZ #14797]
61871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61872         definitely overflow as x * y not x * y + z.
61873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61875         * math/libm-test.inc (fma_test): Add more tests.
61876         (fma_test_towardzero): Likewise.
61877         (fma_test_downward): Likewise.
61878         (fma_test_upward): Likewise.
61880 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61882         [BZ #157]
61884         * include/stub-tag.h: Remove file.
61885         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61886         '#include' of it.
61887         * manual/maint.texi (Porting): Don't reference it.
61888         * Makerules ($(objpfx)stubs): Likewise.
61889         * dirent/closedir.c: Don't include <stub-tag.h>.
61890         * dirent/dirfd.c: Likewise.
61891         * dirent/fdopendir.c: Likewise.
61892         * dirent/getdents.c: Likewise.
61893         * dirent/getdents64.c: Likewise.
61894         * dirent/opendir.c: Likewise.
61895         * dirent/readdir.c: Likewise.
61896         * dirent/readdir64.c: Likewise.
61897         * dirent/readdir64_r.c: Likewise.
61898         * dirent/readdir_r.c: Likewise.
61899         * dirent/rewinddir.c: Likewise.
61900         * dirent/seekdir.c: Likewise.
61901         * dirent/telldir.c: Likewise.
61902         * gmon/profil.c: Likewise.
61903         * grp/setgroups.c: Likewise.
61904         * inet/if_index.c: Likewise.
61905         * io/access.c: Likewise.
61906         * io/chdir.c: Likewise.
61907         * io/chmod.c: Likewise.
61908         * io/chown.c: Likewise.
61909         * io/close.c: Likewise.
61910         * io/dup.c: Likewise.
61911         * io/dup2.c: Likewise.
61912         * io/dup3.c: Likewise.
61913         * io/euidaccess.c: Likewise.
61914         * io/faccessat.c: Likewise.
61915         * io/fchdir.c: Likewise.
61916         * io/fchmod.c: Likewise.
61917         * io/fchmodat.c: Likewise.
61918         * io/fchown.c: Likewise.
61919         * io/fchownat.c: Likewise.
61920         * io/fcntl.c: Likewise.
61921         * io/flock.c: Likewise.
61922         * io/fstatfs.c: Likewise.
61923         * io/fstatfs64.c: Likewise.
61924         * io/fstatvfs.c: Likewise.
61925         * io/fstatvfs64.c: Likewise.
61926         * io/futimens.c: Likewise.
61927         * io/fxstat.c: Likewise.
61928         * io/fxstat64.c: Likewise.
61929         * io/fxstatat.c: Likewise.
61930         * io/fxstatat64.c: Likewise.
61931         * io/getcwd.c: Likewise.
61932         * io/isatty.c: Likewise.
61933         * io/lchmod.c: Likewise.
61934         * io/lchown.c: Likewise.
61935         * io/link.c: Likewise.
61936         * io/linkat.c: Likewise.
61937         * io/lseek.c: Likewise.
61938         * io/lseek64.c: Likewise.
61939         * io/lxstat64.c: Likewise.
61940         * io/mkdir.c: Likewise.
61941         * io/mkdirat.c: Likewise.
61942         * io/mkfifo.c: Likewise.
61943         * io/mkfifoat.c: Likewise.
61944         * io/open.c: Likewise.
61945         * io/open64.c: Likewise.
61946         * io/openat.c: Likewise.
61947         * io/openat64.c: Likewise.
61948         * io/pipe.c: Likewise.
61949         * io/pipe2.c: Likewise.
61950         * io/poll.c: Likewise.
61951         * io/posix_fadvise.c: Likewise.
61952         * io/posix_fadvise64.c: Likewise.
61953         * io/posix_fallocate.c: Likewise.
61954         * io/posix_fallocate64.c: Likewise.
61955         * io/read.c: Likewise.
61956         * io/readlink.c: Likewise.
61957         * io/readlinkat.c: Likewise.
61958         * io/rmdir.c: Likewise.
61959         * io/sendfile.c: Likewise.
61960         * io/sendfile64.c: Likewise.
61961         * io/statfs.c: Likewise.
61962         * io/statfs64.c: Likewise.
61963         * io/statvfs.c: Likewise.
61964         * io/statvfs64.c: Likewise.
61965         * io/symlink.c: Likewise.
61966         * io/symlinkat.c: Likewise.
61967         * io/ttyname.c: Likewise.
61968         * io/ttyname_r.c: Likewise.
61969         * io/umask.c: Likewise.
61970         * io/unlink.c: Likewise.
61971         * io/unlinkat.c: Likewise.
61972         * io/utime.c: Likewise.
61973         * io/utimensat.c: Likewise.
61974         * io/write.c: Likewise.
61975         * io/xmknod.c: Likewise.
61976         * io/xmknodat.c: Likewise.
61977         * io/xstat.c: Likewise.
61978         * io/xstat64.c: Likewise.
61979         * login/getpt.c: Likewise.
61980         * login/grantpt.c: Likewise.
61981         * login/unlockpt.c: Likewise.
61982         * math/e_acoshl.c: Likewise.
61983         * math/e_acosl.c: Likewise.
61984         * math/e_asinl.c: Likewise.
61985         * math/e_atan2l.c: Likewise.
61986         * math/e_atanhl.c: Likewise.
61987         * math/e_coshl.c: Likewise.
61988         * math/e_expl.c: Likewise.
61989         * math/e_fmodl.c: Likewise.
61990         * math/e_gammal_r.c: Likewise.
61991         * math/e_hypotl.c: Likewise.
61992         * math/e_j0l.c: Likewise.
61993         * math/e_j1l.c: Likewise.
61994         * math/e_jnl.c: Likewise.
61995         * math/e_lgammal_r.c: Likewise.
61996         * math/e_log10l.c: Likewise.
61997         * math/e_log2l.c: Likewise.
61998         * math/e_logl.c: Likewise.
61999         * math/e_powl.c: Likewise.
62000         * math/e_rem_pio2l.c: Likewise.
62001         * math/e_sinhl.c: Likewise.
62002         * math/e_sqrtl.c: Likewise.
62003         * math/fclrexcpt.c: Likewise.
62004         * math/fedisblxcpt.c: Likewise.
62005         * math/feenablxcpt.c: Likewise.
62006         * math/fegetenv.c: Likewise.
62007         * math/fegetexcept.c: Likewise.
62008         * math/fegetround.c: Likewise.
62009         * math/feholdexcpt.c: Likewise.
62010         * math/fesetenv.c: Likewise.
62011         * math/fesetround.c: Likewise.
62012         * math/feupdateenv.c: Likewise.
62013         * math/fgetexcptflg.c: Likewise.
62014         * math/fraiseexcpt.c: Likewise.
62015         * math/fsetexcptflg.c: Likewise.
62016         * math/ftestexcept.c: Likewise.
62017         * math/k_cosl.c: Likewise.
62018         * math/k_rem_pio2l.c: Likewise.
62019         * math/k_sinl.c: Likewise.
62020         * math/k_tanl.c: Likewise.
62021         * math/s_asinhl.c: Likewise.
62022         * math/s_atanl.c: Likewise.
62023         * math/s_cbrtl.c: Likewise.
62024         * math/s_erfl.c: Likewise.
62025         * math/s_expm1l.c: Likewise.
62026         * math/s_log1pl.c: Likewise.
62027         * math/s_tanhl.c: Likewise.
62028         * misc/acct.c: Likewise.
62029         * misc/brk.c: Likewise.
62030         * misc/chflags.c: Likewise.
62031         * misc/chroot.c: Likewise.
62032         * misc/fchflags.c: Likewise.
62033         * misc/fgetxattr.c: Likewise.
62034         * misc/flistxattr.c: Likewise.
62035         * misc/fremovexattr.c: Likewise.
62036         * misc/fsetxattr.c: Likewise.
62037         * misc/fsync.c: Likewise.
62038         * misc/ftruncate.c: Likewise.
62039         * misc/futimes.c: Likewise.
62040         * misc/futimesat.c: Likewise.
62041         * misc/getdomain.c: Likewise.
62042         * misc/getdtsz.c: Likewise.
62043         * misc/gethostid.c: Likewise.
62044         * misc/gethostname.c: Likewise.
62045         * misc/getloadavg.c: Likewise.
62046         * misc/getpagesize.c: Likewise.
62047         * misc/getsysstats.c: Likewise.
62048         * misc/getxattr.c: Likewise.
62049         * misc/gtty.c: Likewise.
62050         * misc/ioctl.c: Likewise.
62051         * misc/lgetxattr.c: Likewise.
62052         * misc/listxattr.c: Likewise.
62053         * misc/llistxattr.c: Likewise.
62054         * misc/lremovexattr.c: Likewise.
62055         * misc/lsetxattr.c: Likewise.
62056         * misc/lutimes.c: Likewise.
62057         * misc/madvise.c: Likewise.
62058         * misc/mincore.c: Likewise.
62059         * misc/mlock.c: Likewise.
62060         * misc/mlockall.c: Likewise.
62061         * misc/mmap.c: Likewise.
62062         * misc/mprotect.c: Likewise.
62063         * misc/msync.c: Likewise.
62064         * misc/munlock.c: Likewise.
62065         * misc/munlockall.c: Likewise.
62066         * misc/munmap.c: Likewise.
62067         * misc/preadv.c: Likewise.
62068         * misc/preadv64.c: Likewise.
62069         * misc/ptrace.c: Likewise.
62070         * misc/pwritev.c: Likewise.
62071         * misc/pwritev64.c: Likewise.
62072         * misc/readv.c: Likewise.
62073         * misc/reboot.c: Likewise.
62074         * misc/remap_file_pages.c: Likewise.
62075         * misc/removexattr.c: Likewise.
62076         * misc/revoke.c: Likewise.
62077         * misc/select.c: Likewise.
62078         * misc/setdomain.c: Likewise.
62079         * misc/setegid.c: Likewise.
62080         * misc/seteuid.c: Likewise.
62081         * misc/sethostid.c: Likewise.
62082         * misc/sethostname.c: Likewise.
62083         * misc/setregid.c: Likewise.
62084         * misc/setreuid.c: Likewise.
62085         * misc/setxattr.c: Likewise.
62086         * misc/sstk.c: Likewise.
62087         * misc/stty.c: Likewise.
62088         * misc/swapoff.c: Likewise.
62089         * misc/swapon.c: Likewise.
62090         * misc/sync.c: Likewise.
62091         * misc/syncfs.c: Likewise.
62092         * misc/syscall.c: Likewise.
62093         * misc/truncate.c: Likewise.
62094         * misc/ualarm.c: Likewise.
62095         * misc/usleep.c: Likewise.
62096         * misc/ustat.c: Likewise.
62097         * misc/utimes.c: Likewise.
62098         * misc/vhangup.c: Likewise.
62099         * misc/writev.c: Likewise.
62100         * posix/_exit.c: Likewise.
62101         * posix/alarm.c: Likewise.
62102         * posix/execve.c: Likewise.
62103         * posix/fexecve.c: Likewise.
62104         * posix/fork.c: Likewise.
62105         * posix/fpathconf.c: Likewise.
62106         * posix/getaddrinfo.c: Likewise.
62107         * posix/getegid.c: Likewise.
62108         * posix/geteuid.c: Likewise.
62109         * posix/getgid.c: Likewise.
62110         * posix/getgroups.c: Likewise.
62111         * posix/getlogin.c: Likewise.
62112         * posix/getlogin_r.c: Likewise.
62113         * posix/getpgid.c: Likewise.
62114         * posix/getpid.c: Likewise.
62115         * posix/getppid.c: Likewise.
62116         * posix/getresgid.c: Likewise.
62117         * posix/getresuid.c: Likewise.
62118         * posix/getsid.c: Likewise.
62119         * posix/getuid.c: Likewise.
62120         * posix/glob64.c: Likewise.
62121         * posix/nanosleep.c: Likewise.
62122         * posix/pathconf.c: Likewise.
62123         * posix/pause.c: Likewise.
62124         * posix/posix_madvise.c: Likewise.
62125         * posix/pread.c: Likewise.
62126         * posix/pread64.c: Likewise.
62127         * posix/pwrite.c: Likewise.
62128         * posix/pwrite64.c: Likewise.
62129         * posix/sched_getaffinity.c: Likewise.
62130         * posix/sched_getp.c: Likewise.
62131         * posix/sched_gets.c: Likewise.
62132         * posix/sched_primax.c: Likewise.
62133         * posix/sched_primin.c: Likewise.
62134         * posix/sched_rr_gi.c: Likewise.
62135         * posix/sched_setaffinity.c: Likewise.
62136         * posix/sched_setp.c: Likewise.
62137         * posix/sched_sets.c: Likewise.
62138         * posix/sched_yield.c: Likewise.
62139         * posix/setgid.c: Likewise.
62140         * posix/setlogin.c: Likewise.
62141         * posix/setpgid.c: Likewise.
62142         * posix/setresgid.c: Likewise.
62143         * posix/setresuid.c: Likewise.
62144         * posix/setsid.c: Likewise.
62145         * posix/setuid.c: Likewise.
62146         * posix/sleep.c: Likewise.
62147         * posix/spawni.c: Likewise.
62148         * posix/sysconf.c: Likewise.
62149         * posix/times.c: Likewise.
62150         * posix/wait.c: Likewise.
62151         * posix/wait3.c: Likewise.
62152         * posix/wait4.c: Likewise.
62153         * posix/waitpid.c: Likewise.
62154         * resolv/gai_sigqueue.c: Likewise.
62155         * resource/getpriority.c: Likewise.
62156         * resource/getrlimit.c: Likewise.
62157         * resource/getrusage.c: Likewise.
62158         * resource/nice.c: Likewise.
62159         * resource/setpriority.c: Likewise.
62160         * resource/setrlimit.c: Likewise.
62161         * resource/ulimit.c: Likewise.
62162         * rt/aio_cancel.c: Likewise.
62163         * rt/aio_fsync.c: Likewise.
62164         * rt/aio_read.c: Likewise.
62165         * rt/aio_sigqueue.c: Likewise.
62166         * rt/aio_suspend.c: Likewise.
62167         * rt/aio_write.c: Likewise.
62168         * rt/clock_getres.c: Likewise.
62169         * rt/clock_gettime.c: Likewise.
62170         * rt/clock_nanosleep.c: Likewise.
62171         * rt/clock_settime.c: Likewise.
62172         * rt/lio_listio.c: Likewise.
62173         * rt/mq_close.c: Likewise.
62174         * rt/mq_getattr.c: Likewise.
62175         * rt/mq_notify.c: Likewise.
62176         * rt/mq_open.c: Likewise.
62177         * rt/mq_receive.c: Likewise.
62178         * rt/mq_send.c: Likewise.
62179         * rt/mq_setattr.c: Likewise.
62180         * rt/mq_timedreceive.c: Likewise.
62181         * rt/mq_timedsend.c: Likewise.
62182         * rt/mq_unlink.c: Likewise.
62183         * rt/shm_open.c: Likewise.
62184         * rt/shm_unlink.c: Likewise.
62185         * rt/timer_create.c: Likewise.
62186         * rt/timer_delete.c: Likewise.
62187         * rt/timer_getoverr.c: Likewise.
62188         * rt/timer_gettime.c: Likewise.
62189         * rt/timer_settime.c: Likewise.
62190         * setjmp/__longjmp.c: Likewise.
62191         * setjmp/setjmp.c: Likewise.
62192         * signal/kill.c: Likewise.
62193         * signal/killpg.c: Likewise.
62194         * signal/raise.c: Likewise.
62195         * signal/sigaction.c: Likewise.
62196         * signal/sigaltstack.c: Likewise.
62197         * signal/sigblock.c: Likewise.
62198         * signal/sigignore.c: Likewise.
62199         * signal/sigintr.c: Likewise.
62200         * signal/signal.c: Likewise.
62201         * signal/sigpause.c: Likewise.
62202         * signal/sigpending.c: Likewise.
62203         * signal/sigqueue.c: Likewise.
62204         * signal/sigreturn.c: Likewise.
62205         * signal/sigset.c: Likewise.
62206         * signal/sigsetmask.c: Likewise.
62207         * signal/sigstack.c: Likewise.
62208         * signal/sigsuspend.c: Likewise.
62209         * signal/sigtimedwait.c: Likewise.
62210         * signal/sigvec.c: Likewise.
62211         * signal/sigwait.c: Likewise.
62212         * signal/sigwaitinfo.c: Likewise.
62213         * signal/sysv_signal.c: Likewise.
62214         * socket/accept.c: Likewise.
62215         * socket/accept4.c: Likewise.
62216         * socket/bind.c: Likewise.
62217         * socket/connect.c: Likewise.
62218         * socket/getpeername.c: Likewise.
62219         * socket/getsockname.c: Likewise.
62220         * socket/getsockopt.c: Likewise.
62221         * socket/isfdtype.c: Likewise.
62222         * socket/listen.c: Likewise.
62223         * socket/recv.c: Likewise.
62224         * socket/recvfrom.c: Likewise.
62225         * socket/recvmsg.c: Likewise.
62226         * socket/send.c: Likewise.
62227         * socket/sendmsg.c: Likewise.
62228         * socket/sendto.c: Likewise.
62229         * socket/setsockopt.c: Likewise.
62230         * socket/shutdown.c: Likewise.
62231         * socket/sockatmark.c: Likewise.
62232         * socket/socket.c: Likewise.
62233         * socket/socketpair.c: Likewise.
62234         * stdio-common/ctermid.c: Likewise.
62235         * stdio-common/cuserid.c: Likewise.
62236         * stdio-common/remove.c: Likewise.
62237         * stdio-common/rename.c: Likewise.
62238         * stdio-common/renameat.c: Likewise.
62239         * stdio-common/tempname.c: Likewise.
62240         * stdlib/getcontext.c: Likewise.
62241         * stdlib/makecontext.c: Likewise.
62242         * stdlib/setcontext.c: Likewise.
62243         * stdlib/swapcontext.c: Likewise.
62244         * stdlib/system.c: Likewise.
62245         * streams/fattach.c: Likewise.
62246         * streams/fdetach.c: Likewise.
62247         * streams/getmsg.c: Likewise.
62248         * streams/getpmsg.c: Likewise.
62249         * streams/putmsg.c: Likewise.
62250         * streams/putpmsg.c: Likewise.
62251         * sysdeps/unix/bsd/getpt.c: Likewise.
62252         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62253         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62254         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62256         Likewise.
62257         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62258         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62259         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62260         * sysvipc/msgctl.c: Likewise.
62261         * sysvipc/msgget.c: Likewise.
62262         * sysvipc/msgrcv.c: Likewise.
62263         * sysvipc/msgsnd.c: Likewise.
62264         * sysvipc/semctl.c: Likewise.
62265         * sysvipc/semget.c: Likewise.
62266         * sysvipc/semop.c: Likewise.
62267         * sysvipc/semtimedop.c: Likewise.
62268         * sysvipc/shmat.c: Likewise.
62269         * sysvipc/shmctl.c: Likewise.
62270         * sysvipc/shmdt.c: Likewise.
62271         * sysvipc/shmget.c: Likewise.
62272         * termios/tcdrain.c: Likewise.
62273         * termios/tcflow.c: Likewise.
62274         * termios/tcflush.c: Likewise.
62275         * termios/tcgetattr.c: Likewise.
62276         * termios/tcgetpgrp.c: Likewise.
62277         * termios/tcsendbrk.c: Likewise.
62278         * termios/tcsetattr.c: Likewise.
62279         * termios/tcsetpgrp.c: Likewise.
62280         * time/adjtime.c: Likewise.
62281         * time/clock.c: Likewise.
62282         * time/getitimer.c: Likewise.
62283         * time/gettimeofday.c: Likewise.
62284         * time/setitimer.c: Likewise.
62285         * time/settimeofday.c: Likewise.
62286         * time/stime.c: Likewise.
62287         * time/time.c: Likewise.
62289 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62291         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62292         /usr/old/bin.
62294         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62295         instead of spaces.
62296         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62298 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62300         [BZ #14796]
62301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62302         FE_TONEAREST before applying Dekker multiplication and Knuth
62303         addition.  Clear inexact exceptions and check for exact zero
62304         results afterwards.
62305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62306         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62308         * math/libm-test.inc (fma_test): Add more tests.
62309         (fma_test_towardzero): Likewise.
62310         (fma_test_downward): Likewise.
62311         (fma_test_upward): Likewise.
62312         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62313         function.
62314         (libc_fesetround): New macro.
62315         (libc_fesetroundf): Likewise.
62316         (libc_fesetroundl): Likewise.
62317         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62318         function.
62319         (libc_fesetround_387): Likewise.
62320         (libc_fesetroundf): New macro.
62321         (libc_fesetround): Likewise.
62322         (libc_fesetroundl): Likewise.
62323         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62324         function.
62325         (libc_fesetroundf): New macro.
62326         (libc_fesetround): Likewise.
62327         (libc_fesetroundl): Likewise.
62328         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62329         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62330         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62331         libm_hidden_ver.
62332         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62333         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62334         libm_hidden_def.
62335         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62336         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62337         libm_hidden_ver.
62338         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62339         libm_hidden_def.
62341         [BZ #3439]
62342         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62343         integer constant usable in #if and use that to give value to enum
62344         constant.
62345         (FE_DIVBYZERO): Likewise.
62346         (FE_UNDERFLOW): Likewise.
62347         (FE_OVERFLOW): Likewise.
62348         (FE_INVALID): Likewise.
62349         (FE_INVALID_SNAN): Likewise.
62350         (FE_INVALID_ISI): Likewise.
62351         (FE_INVALID_IDI): Likewise.
62352         (FE_INVALID_ZDZ): Likewise.
62353         (FE_INVALID_IMZ): Likewise.
62354         (FE_INVALID_COMPARE): Likewise.
62355         (FE_INVALID_SOFTWARE): Likewise.
62356         (FE_INVALID_SQRT): Likewise.
62357         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62358         (FE_TONEAREST): Likewise.
62359         (FE_TOWARDZERO): Likewise.
62360         (FE_UPWARD): Likewise.
62361         (FE_DOWNWARD): Likewise.
62362         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62363         (FE_DIVBYZERO): Likewise.
62364         (FE_OVERFLOW): Likewise.
62365         (FE_UNDERFLOW): Likewise.
62366         (FE_INEXACT): Likewise.
62367         (FE_TONEAREST): Likewise.
62368         (FE_DOWNWARD): Likewise.
62369         (FE_UPWARD): Likewise.
62370         (FE_TOWARDZERO): Likewise.
62371         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62372         (FE_UNDERFLOW): Likewise.
62373         (FE_OVERFLOW): Likewise.
62374         (FE_DIVBYZERO): Likewise.
62375         (FE_INVALID): Likewise.
62376         (FE_TONEAREST): Likewise.
62377         (FE_TOWARDZERO): Likewise.
62378         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62379         (FE_OVERFLOW): Likewise.
62380         (FE_UNDERFLOW): Likewise.
62381         (FE_DIVBYZERO): Likewise.
62382         (FE_INEXACT): Likewise.
62383         (FE_TONEAREST): Likewise.
62384         (FE_TOWARDZERO): Likewise.
62385         (FE_UPWARD): Likewise.
62386         (FE_DOWNWARD): Likewise.
62387         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62388         (FE_DIVBYZERO): Likewise.
62389         (FE_OVERFLOW): Likewise.
62390         (FE_UNDERFLOW): Likewise.
62391         (FE_INEXACT): Likewise.
62392         (FE_TONEAREST): Likewise.
62393         (FE_DOWNWARD): Likewise.
62394         (FE_UPWARD): Likewise.
62395         (FE_TOWARDZERO): Likewise.
62397 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62399         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62401 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62403         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62404         commands.  Quote $PWD.
62405         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62406         -x" by "export".
62407         (remove_newlines): Remove.
62409 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62411         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62412         * stdlib/stdlib.h (atof): Moved to ...
62413         * include/bits/stdlib-float.h: Here.  New file.
62414         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62415         * stdlib/bits/stdlib-float.h: New file.
62416         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62417         -mno-sse -mno-mmx.
62418         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62419         <xmmintrin.h>.
62421 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62423         * conform/conformtest.pl (@headers): Add fenv.h.
62424         * conform/data/fenv.h-data: New file.
62425         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62426         include of <math/fenv.h>.
62428         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62429         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62430         && !UNIX98].  Enables tests for XOPEN2K8.
62431         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62432         POSIX2008]: Likewise.
62434         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62435         (struct rusage): Do not expect type or its members.
62437         [BZ #3439]
62438         * math/math.h (FP_NAN): Define macro to integer constant usable in
62439         #if and use that to give value to enum constant.
62440         (FP_INFINITE): Likewise.
62441         (FP_ZERO): Likewise.
62442         (FP_SUBNORMAL): Likewise.
62443         (FP_NORMAL): Likewise.
62445 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62447         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62448         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62449         arguments.
62451 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62453         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62454         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62455         autoconf-time if not.
62456         * configure.in: Remove AC_PREREQ.
62458 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62460         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62461         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62462         of the internal implementation.
62464 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62466         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62467         except include of <misc/sys/syslog.h>.
62469 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62472         function returns with a NULL context exit with zero.
62474 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62476         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62478 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62480         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62481         (run_program_cmd): This.
62482         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62483         (tst_langinfo): New variable.  Use it.
62485 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62487         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62488         floating point opcodes.
62490 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62492         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62493         variable.
62495         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62497         * sysdeps/mach/hurd/powerpc: Remove directory.
62498         * sysdeps/mach/powerpc: Likewise.
62500 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62502         * scripts/check-local-headers.sh: Ignore c++ headers.
62504 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62506         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62507         __libc_cleanup_region_start argument.
62509 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62511         [BZ #14784]
62512         [BZ #14785]
62513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62514         x * y using scaling, not as x * y + z.
62515         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62516         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62517         * math/libm-test.inc (fma_test): Add more tests.
62518         (fma_test_towardzero): Likewise.
62519         (fma_test_downward): Likewise.
62520         (fma_test_upward): Likewise.
62522 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62524         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62526 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62528         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62529         New variable.
62531 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62533         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62535 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62538         Fix sort order.
62539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62540         Likewise.
62542 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62545         Fix the order of the list for glibc 2.17.
62546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62547         Likewise.
62549 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62553 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62555         [BZ #14610]
62556         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62557         for low part of x being zero before using __atanl (y).
62558         * math/libm-test.inc (atan2_test): Add another test.
62560         * manual/install.texi (Configuring and compiling): Document
62561         general use of test-wrapper and test-wrapper-env.
62562         * INSTALL: Regenerated.
62564         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62565         (__fma): Do not extract and scale down low bits on after-rounding
62566         systems when result rounded to normal precision would have normal
62567         exponent.
62568         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62569         (__fmal): Do not extract and scale down low bits on after-rounding
62570         systems when result rounded to normal precision would have normal
62571         exponent.
62572         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62573         (__fmal): Do not extract and scale down low bits on after-rounding
62574         systems when result rounded to normal precision would have normal
62575         exponent.
62576         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62577         macro.
62578         (fma_test): Add more tests.
62579         (fma_test_towardzero): Likewise.
62580         (fma_test_downward): Likewise.
62581         (fma_test_upward): Likewise.
62583 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62585         * sysdeps/i386/tininess.h: Renamed to ...
62586         * sysdeps/x86/tininess.h: This.
62587         * sysdeps/x86_64/tininess.h: Removed.
62589 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62591         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62592         input.  Use $(build-program-cmd).
62593         ($(objpfx)tst-array1-static.out): Likewise.
62594         ($(objpfx)tst-array2.out): Likewise.
62595         ($(objpfx)tst-array3.out): Likewise.
62596         ($(objpfx)tst-array4.out): Likewise.
62597         ($(objpfx)tst-array5.out): Likewise.
62598         ($(objpfx)tst-array5-static.out): Likewise.
62600 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62602         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62603         if defined.
62605         * nss/nsswitch.h (nss_interface_function): Provide new
62606         macro for use with NSS functions.
62607         * grp/initgroups.c: Use new macro.
62608         * nss/getXXbyYY.c: Likewise.
62609         * nss/getXXbyYY_r.c: Likewise.
62610         * nss/getXXent.c: Likewise.
62611         * nss/getXXent_r.c: Likewise.
62612         * sysdeps/posix/getaddrinfo.c: Likewise.
62614 2012-10-30  Andreas Jaeger  <aj@suse.de>
62616         * po/ru.po: Update Russion translation from translation project.
62618 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62620         [BZ #14152]
62621         [BZ #14783]
62622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62623         result and shift together with sticky bit instead of replicating
62624         round-to-nearest rounding.
62625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62627         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62628         missing underflow exceptions.
62629         (fma_test_towardzero): Add more tests.
62630         (fma_test_downward): Likewise.
62631         (fma_test_upward): Likewise.
62633         [BZ #14047]
62634         * sysdeps/generic/tininess.h: New file.
62635         * sysdeps/i386/tininess.h: Likewise.
62636         * sysdeps/sh/tininess.h: Likewise.
62637         * sysdeps/x86_64/tininess.h: Likewise.
62638         * stdlib/tst-strtod-underflow.c: Likewise.
62639         * stdlib/tst-tininess.c: Likewise.
62640         * stdlib/strtod_l.c: Include <tininess.h>.
62641         (round_and_return): Do not set errno for exact underflow cases.
62642         Force an underflow exception when setting errno for underflow.
62643         Determine underflow based on rounding to normal precision if
62644         TININESS_AFTER_ROUNDING.
62645         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62646         ERANGE for exact underflow cases.
62647         * stdlib/Makefile (tests): Add tst-tininess and
62648         tst-strtod-underflow.
62649         ($(objpfx)tst-tininess): Use $(link-libm).
62650         ($(objpfx)tst-strtod-underflow): Likewise.
62652 2012-10-30  Andreas Jaeger  <aj@suse.de>
62654         [BZ#14767]
62655         * elf/Makefile (tests): Remove conditional for have-initfini-array
62656         since this is now always required and the variable does not exist
62657         anymore.
62658         (tests-static): Likewise.
62659         (modules-names): Likewise.
62661         * po/eo.po: Add Esperanto translation from translation project.
62663         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62664         merged with constructor/destructor.
62665         (init_array): Likewise.
62666         * elf/tst-array2dep.c (fini_array): Likewise.
62667         (init_array): Likewise.
62669 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62671         * manual/message.texi: Delete @cartouche tags.
62673 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62675         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62676         EOPNOTSUPP.
62677         * sysdeps/mach/hurd/fsync.c: Likewise.
62679         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62680         [_POSIX_REALTIME_SIGNALS]: Change condition to
62681         [_POSIX_REALTIME_SIGNALS > 0].
62683 2012-10-27  Andreas Jaeger  <aj@suse.de>
62685         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62686         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62687         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62688         [__WORDSIZE != 64]: Likewise.
62690 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62692         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62693         *  iconvdata/tst-tables.sh: Likewise.
62695 2012-10-25  David S. Miller  <davem@davemloft.net>
62697         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62698         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62699         of strtoull.
62701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62702         ifunc-impl-list.c
62703         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62704         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62705         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62706         file.
62708 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62710         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62711         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62712         __getdirentries.
62714 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62715             Jim Blandy  <jimb@codesourcery.com>
62717         * scripts/cross-test-ssh.sh: New file.
62718         * manual/install.texi (Configuring and compiling): Document use of
62719         cross-test-ssh.sh.
62720         * INSTALL: Regenerated.
62722 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62724         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62725         EOPNOTSUPP.
62727 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62729         * Makeconfig (run-program-prefix): Fix comment.
62731 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62732             Jim Blandy  <jimb@codesourcery.com>
62734         * Makeconfig (test-wrapper): New variable,
62735         (test-wrapper-env): Likewise.
62736         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62737         (run-built-tests): Define to yes.
62738         (run-program-prefix): Use $(test-wrapper).
62739         (built-program-cmd): Likewise.
62740         * Rules (make-test-out): Use $(test-wrapper-env) and
62741         $(host-built-program-cmd).
62742         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62743         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62744         tst-pathopt.sh.
62745         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62746         $(test-wrapper-env) to tst-rtld-load-self.sh.
62747         ($(objpfx)order2.out): Use $(test-wrapper).
62748         ($(objpfx)tst-initorder.out): Likewise.
62749         ($(objpfx)tst-initorder2.out): Likewise.
62750         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62751         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62752         (test_wrapper_env): New variable.  Use it to run ld.so.
62753         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62754         Use it to run ld.so.
62755         (test_wrapper_env): Likewise.
62756         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62757         $(test-wrapper) to run-iconv-test.sh.
62758         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62759         (ICONV): Use $test_wrapper.
62760         * posix/Makefile ($(objpfx)globtest.out): Pass
62761         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62762         globtest.sh, not $(run-program-prefix).
62763         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62764         (test_wrapper): Likewise.
62765         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62766         set together with run_via_rtld_prefix.
62767         (run_program_prefix): Define in terms of test_wrapper and
62768         run_via_rtld_prefix.
62770 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62772         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62773         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62774         Targets removed.
62776         [BZ #14743]
62777         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62778         Declare __clock_getres, __clock_gettime, __clock_settime,
62779         __clock_nanosleep, and __clock_getcpuclockid.
62780         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62781         Remove librt_hidden_def (clock_gettime).
62782         * sysdeps/unix/clock_gettime.c: Likewise.
62783         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62784         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62785         * rt/clock_getres.c: Define __clock_getres as an alias.
62786         * sysdeps/posix/clock_getres.c: Likewise.
62787         * rt/clock_settime.c: Define __clock_settime as an alias.
62788         * sysdeps/unix/clock_settime.c: Likewise.
62789         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62790         * sysdeps/unix/clock_nanosleep.c: Likewise.
62791         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62792         * rt/clock-compat.c: New file.
62793         * rt/Makefile (librt-routines): Add clock-compat and move
62794         $(clock-routines) to ...
62795         (routines): ... here, new variable.
62796         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62797         Don't add get_clockfreq here.
62798         * rt/Versions (libc: GLIBC_2.17): New version set.
62799         Add clock_* symbols here.
62800         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62801         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62802         (GLIBC_2.17): Add clock_* symbols.
62803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62805         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62807         Likewise.
62808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62809         Likewise.
62810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62814         * NEWS: Mention the move.
62816         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62817         Use __open, __read, __close rather than their public counterparts.
62818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62819         (__get_clockfreq_via_cpuinfo): Likewise.
62820         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62821         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62823         * config.h.in (HAVE_IFUNC): New #undef.
62824         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62825         was successful.
62826         * configure: Regenerated.
62828 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62830         * configure.in: Move READELF check to start of file.
62831         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62832         libc_cv_asm_gnu_indirect_function in the process.
62833         * configure: Regenerated.
62835 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62837         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62838         send the output to /dev/null.
62839         (libc_cv_cc_with_libunwind): Likewise.
62840         (libc_cv_as_noexecstack): Likewise.
62841         * configure: Regenerate.
62843 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62845         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62847         * posix/globtest.sh (TMPDIR): Do not set.
62848         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62849         (testout): Likewise.
62851 2012-10-24  Andreas Jaeger  <aj@suse.de>
62853         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62854         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62855         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62856         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62857         posix_fadvise64, posix_fallocate64.
62859         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62860         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62861         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62862         Likewise.
62863         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62864         Likewise.
62865         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62868         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62869         <bits/fcntl-linux.h>.
62870         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62873         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62874         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62875         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62876         [__WORDSIZE != 64]: Likewise.
62878 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62880         * Makeconfig (run-built-tests): New variable.
62881         * Rules [$(cross-compiling) = yes]: Change condition to
62882         [$(run-built-tests) = no].
62883         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62884         to [$(run-built-tests) = yes].
62885         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62886         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62887         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62888         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62889         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62890         * io/Makefile [$(cross-compiling) = no]: Likewise.
62891         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62892         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62893         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62894         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62895         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62896         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62897         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62898         * string/Makefile [$(cross-compiling) = no]: Likewise.
62900         * posix/Makefile ($(objpfx)globtest.out): Pass
62901         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62902         $(rtld-installed-name).
62903         * posix/globtest.sh (elf_objpfx): Remove variable.
62904         (rtld_installed_name): Likewise.
62905         (library_path): Likewise.
62906         (run_program_prefix): New variable.  Use for running globtest
62907         binary.
62909 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62910             Joseph Myers  <joseph@codesourcery.com>
62912         * Makeconfig (host-built-program-cmd): New variable.
62913         * elf/Makefile (tst-stackguard1-ARGS): Use
62914         $(host-built-program-cmd).
62915         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62916         (tst-spawn-ARGS): Likewise.
62917         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62919 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62920             Jim Blandy  <jimb@codesourcery.com>
62922         * Makeconfig (run-via-rtld-prefix): New variable.
62923         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62924         (built-program-cmd): Likewise.
62926 2012-10-22  Andreas Jaeger  <aj@suse.de>
62928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62929         __O_RSYNC if it exists, otherwise to O_SYNC.
62931 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62932             Joseph Myers  <joseph@codesourcery.com>
62934         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62935         /dev/null.
62936         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62937         from /dev/null
62938         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62939         /dev/null.
62941 2012-10-22  Andreas Jaeger  <aj@suse.de>
62943         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62944         Define always.
62945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62948         bits/fcntl-linux.h.
62950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62951         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62954         to __O_LARGEFILE.
62955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62956         to __O_LARGEFILE.
62958 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62959             Joseph Myers  <joseph@codesourcery.com>
62961         * config.make.in (NM): New variable.
62963 2012-10-21  Andreas Jaeger  <aj@suse.de>
62965         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62966         definitions and declarations that are provided by
62967         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62969 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62971         [BZ #14683]
62972         * elf/Makefile (tests-static): Add tst-leaks1-static.
62973         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62974         ($(objpfx)tst-leaks1-static): New rule.
62975         ($(objpfx)tst-leaks1-static-mem): Likewise.
62976         (tst-leaks1-static-ENV): New macro.
62977         * elf/dl-open.c (dl_open_worker): Check the main application
62978         only if SHARED is defined.
62979         * elf/tst-leaks1-static.c: New file.
62981 2012-10-20  Andreas Jaeger  <aj@suse.de>
62983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62984         generic values for Linux.
62985         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62986         and declarations that are provided by <bits/fcntl-linux.h> and
62987         include <bits/fcntl-linux.h>.
62988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62989         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62991 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62993         * io/fcntl.h: Move include of <bits/types.h> to the top and
62994         include it unconditionally.
62996 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62998         * wcsmbs/Makefile (tests-ifunc): New variable.
62999         (tests): Add $(tests-ifunc).
63000         * wcsmbs/test-wcschr-ifunc.c: New file.
63001         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63002         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63003         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63004         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63005         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63007         * string/Makefile (tests-ifunc): New variable.
63008         (tests): Add $(tests-ifunc).
63009         * string/test-memccpy.c (TEST_NAME): New macro.
63010         * string/test-memchr.c (TEST_NAME): Likewise.
63011         * string/test-memcmp.c (TEST_NAME): Likewise.
63012         * string/test-memcpy.c (TEST_NAME): Likewise.
63013         * string/test-memmem.c (TEST_NAME): Likewise.
63014         * string/test-memmove.c (TEST_NAME): Likewise.
63015         * string/test-memset.c (TEST_NAME): Likewise.
63016         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63017         * string/test-stpcpy.c (TEST_NAME): Likewise.
63018         * string/test-stpncpy.c (TEST_NAME): Likewise.
63019         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63020         * string/test-strcasestr.c (TEST_NAME): Likewise.
63021         * string/test-strcat.c (TEST_NAME): Likewise.
63022         * string/test-strchr.c (TEST_NAME): Likewise.
63023         * string/test-strcmp.c(TEST_NAME): Likewise.
63024         * string/test-strcpy.c (TEST_NAME): Likewise.
63025         * string/test-strcspn.c (TEST_NAME): Likewise.
63026         * string/test-strlen.c (TEST_NAME): Likewise.
63027         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63028         * string/test-strncmp.c (TEST_NAME): Likewise.
63029         * string/test-strncpy.c (TEST_NAME): Likewise.
63030         * string/test-strnlen.c (TEST_NAME): Likewise.
63031         * string/test-strpbrk.c (TEST_NAME): Likewise.
63032         * string/test-strrchr.c (TEST_NAME): Likewise.
63033         * string/test-strspn.c (TEST_NAME): Likewise.
63034         * string/test-strstr.c (TEST_NAME): Likewise.
63035         * string/test-bcopy-ifunc.c: New file.
63036         * string/test-bzero-ifunc.c: Likewise.
63037         * string/test-memccpy-ifunc.c: Likewise.
63038         * string/test-memchr-ifunc.c: Likewise.
63039         * string/test-memcmp-ifunc.c: Likewise.
63040         * string/test-memcpy-ifunc.c: Likewise.
63041         * string/test-memmem-ifunc.c: Likewise.
63042         * string/test-memmove-ifunc.c: Likewise.
63043         * string/test-mempcpy-ifunc.c: Likewise.
63044         * string/test-memset-ifunc.c: Likewise.
63045         * string/test-rawmemchr-ifunc.c: Likewise.
63046         * string/test-stpcpy-ifunc.c: Likewise.
63047         * string/test-stpncpy-ifunc.c: Likewise.
63048         * string/test-strcasecmp-ifunc.c: Likewise.
63049         * string/test-strcasestr-ifunc.c: Likewise.
63050         * string/test-strcat-ifunc.c: Likewise.
63051         * string/test-strchr-ifunc.c: Likewise.
63052         * string/test-strchrnul-ifunc.c: Likewise.
63053         * string/test-strcmp-ifunc.c: Likewise.
63054         * string/test-strcpy-ifunc.c: Likewise.
63055         * string/test-strcspn-ifunc.c: Likewise.
63056         * string/test-strlen-ifunc.c: Likewise.
63057         * string/test-strncasecmp-ifunc.c: Likewise.
63058         * string/test-strncat-ifunc.c: Likewise.
63059         * string/test-strncmp-ifunc.c: Likewise.
63060         * string/test-strncpy-ifunc.c: Likewise.
63061         * string/test-strnlen-ifunc.c: Likewise.
63062         * string/test-strpbrk-ifunc.c: Likewise.
63063         * string/test-strrchr-ifunc.c: Likewise.
63064         * string/test-strspn-ifunc.c: Likewise.
63065         * string/test-strstr-ifunc.c: Likewise.
63067         * debug/Makefile (tests-ifunc): New variable.
63068         (tests): Add $(tests-ifunc).
63069         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63070         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63071         * debug/test-stpcpy_chk-ifunc.c: New file.
63072         * debug/test-strcpy_chk-ifunc.c: Likewise.
63074 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63076         [BZ #13601]
63077         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63078         header is not read in.
63080 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63082         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63083         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63084         directly.  Pass built executable to script as
63085         $(built-program-cmd).
63086         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63087         $testprogram without using LD_LIBRARY_PATH and $ldso.
63089         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63090         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63091         $(rtld-installed-name).
63092         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63093         (rtld_installed_name): Likewise.
63094         (library_path): Likewise.
63095         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63096         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63097         $(run-program-prefix) to tst-tables.sh.
63098         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63099         it to run tst-table-from and tst-table-to.
63100         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63101         Pass it to tst-table.sh.
63102         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63103         $(run-program-prefix) to tst-gettext.sh.
63104         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63105         tst-translit.sh.
63106         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63107         tst-gettext2.sh.
63108         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63109         to run tst-gettext.
63110         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63111         to run tst-gettext2.
63112         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63113         to run tst-translit.
63114         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63115         $(run-program-prefix) to tst-mtrace.sh.
63116         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63117         to run tst-mtrace.
63118         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63119         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63120         $(rtld-installed-name).
63121         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63122         (rtld_installed_name): Likewise.
63123         (run_program_prefix): New variable.  Use it to run wordexp-test.
63125         * Makeconfig (ARCH): Remove all definitions.
63126         (machine): Likewise.
63127         [ARCH]: Remove conditional code.
63128         [!objdir]: Give error.
63129         [!objdir] (objpfx): Remove.
63130         [!objdir] (common-objpfx): Likewise.
63131         [!objdir] (common-objdir): Likewise.
63132         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63133         AC_CONFIG_FILES call.
63134         * configure: Regenerated.
63136         [BZ #13888]
63137         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63138         or TMPDIR.
63139         (testout): Likewise.
63141         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63142         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63143         $(rtld-installed-name).
63144         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63145         (rtld_installed_name): Likwise.
63146         (runit): Remove function.
63147         (run_getconf): New variable,  Use it for running getconf binary.
63149 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63151         [BZ #14716]
63152         * string/test-memmem.c (check_result): New function.
63153         (do_one_test): Use it.
63154         (check1): New function.
63155         (test_main): Use it.
63157 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63159         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63161 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63163         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63164         (_G_LSEEK64): Likewise.
63165         (_G_MMAP64): Likewise.
63166         (_G_FSTAT64): Likewise.
63167         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63168         (_G_LSEEK64): Likewise.
63169         (_G_MMAP64): Likewise.
63170         (_G_FSTAT64): Likewise.
63171         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63172         unconditional.  Call __mmap64 directly.
63173         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63174         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63175         __lseek64 directly.
63176         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63177         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63178         __mmap64 directly.
63179         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63180         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63181         __lseek64 directly.
63182         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63183         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63184         __lseek64 directly.
63185         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63186         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63187         __lseek64 directly.
63188         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63189         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63190         __fxstat64 directly.
63191         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63192         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63193         unconditional.
63194         (freopen64) [!_G_OPEN64]: Remove conditional code.
63195         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63196         unconditional.
63197         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63198         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63199         unconditional.
63200         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63201         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63202         unconditional.
63203         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63204         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63205         unconditional.
63206         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63207         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63208         unconditional.
63209         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63210         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63211         unconditional.
63212         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63213         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63214         unconditional.
63215         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63217 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63219         [BZ #12140]
63220         * manual/memory.texi (Malloc Tunable Parameters): Add note
63221         about free list pointers overwriting some perturb bytes.
63222         Wording suggested by Roland McGrath.
63224 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63226         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63227         (lgamma_test): Likewise.
63228         (tgamma_test): Likewise.
63230 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63232         [BZ #14700]
63233         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63234         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63236 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63238         * NEWS: Mention BZ #14716.
63239         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63240         when removing AVAILABLE1_USES_J macro.
63242 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63244         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63245         (__bswap_64): __uint64_t for unsigned 64-bit int.
63247 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63249         * include/string.h (memmem): Declare libc hidden alias.
63250         * string/memmem.c (memmem): Define libc hidden alias.
63251         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63252         __read, __close instead of open, read, close.
63254 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63257         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63258         global and hidden.
63259         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63260         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63261         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63262         Likewise.
63263         (__rawmemchr_sse2): Likewise.
63264         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63265         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63266         (__strchr_sse2): Likewise.
63267         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63268         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63269         (__strcasecmp_sse2): Likewise.
63270         (__strncasecmp_sse2): Likewise.
63271         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63272         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63273         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63274         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63275         (__strrchr_sse2): Likewise.
63276         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63277         ifunc-impl-list.c.
63278         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63279         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63280         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63281         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63282         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63283         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63284         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63285         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63286         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63287         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63288         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63289         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63290         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63291         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63292         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63293         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63294         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63295         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63296         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63297         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63298         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63299         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63300         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63301         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63302         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63303         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63304         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63305         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63306         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63307         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63309         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63310         global and hidden.
63311         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63312         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63313         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63314         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63315         Likewise.
63316         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63317         Likewise.
63318         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63319         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63320         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63321         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63322         ifunc-impl-list.c.
63323         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63324         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63325         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63326         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63327         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63328         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63329         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63330         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63331         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63332         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63333         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63334         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63335         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63336         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63337         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63338         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63339         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63340         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63341         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63342         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63343         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63344         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63345         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63346         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63347         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63348         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63349         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63350         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63351         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63352         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63353         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63354         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63355         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63356         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63357         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63358         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63359         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63360         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63361         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63362         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63363         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63365         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63366         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63367         * include/ifunc-impl-list.h: New file.
63368         * misc/ifunc-impl-list.c: Likewise.
63369         * misc/Makefile (routines): Add ifunc-impl-list.
63370         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63371         * string/test-string.h: Include <ifunc-impl-list.h>.
63372         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63373         TEST_NAME]: New variables.
63374         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63375         are defined.
63376         (test_init): Call __libc_ifunc_impl_list to initialize
63377         func_list if TEST_IFUNC and TEST_NAME are defined.
63379         * string/Makefile (strop-tests): Add bcopy and bzero.
63380         * string/test-bcopy.c: New file.
63381         * string/test-bzero.c: Likewise.
63382         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63383         defined.
63384         * string/test-memset.c: Support bzero test if TEST_BZERO is
63385         defined.
63386         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63387         __libc_memmove.
63388         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63389         __libc_memset.
63390         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63391         of memset.
63393 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63395         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63396         * configure: Regenerated.
63398         * Makeconfig (+link-static-before-libc): Don't include
63399         $(link-static-libc).
63401         * libio/libio.h (_IO_pos_t): Remove.
63403 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63405         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63406         McGrath.
63408 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63410         * crypt/crypt-entry.c: Include fips-private.h.
63411         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63412         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63413         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63414         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63416 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63418         * crypt/crypt-private.h: Include stdbool.h.
63419         (_ufc_setup_salt_r): Return bool.
63420         * crypt/crypt-entry.c: Include errno.h.
63421         (__crypt_r): Return NULL with EINVAL for bad salt.
63422         * crypt/crypt_util.c (bad_for_salt): New.
63423         (_ufc_setup_salt_r): Check that salt is long enough and within
63424         the specified alphabet.
63425         * crypt/badsalttest.c: New file.
63426         * crypt/Makefile (tests): Add it.
63427         ($(objpfx)badsalttest): New.
63429 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63431         * NEWS: Add entry for BZ #14602.
63433 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63435         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63436         type-generic.
63437         * math/libm-test.inc: Update comment listing what functions and
63438         macros are tested.
63439         (isgreater_test): New function.
63440         (isgreaterequal_test): Likewise.
63441         (isless_test): Likewise.
63442         (islessequal_test): Likewise.
63443         (islessgreater_test): Likewise.
63444         (isunordered_test): Likewise.
63445         (main): Call the new functions.
63447 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63449         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63450         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63451         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63452         * sysdeps/i386/configure: Regenerated.
63453         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63454         * sysdeps/mach/configure: Regenerated.
63455         * sysdeps/mach/hurd/configure: Regenerated.
63456         * sysdeps/powerpc/configure: Regenerated.
63457         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63458         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63459         * sysdeps/s390/s390-32/configure: Regenerated.
63460         * sysdeps/s390/s390-64/configure: Regenerated.
63461         * sysdeps/sh/configure: Regenerated.
63462         * sysdeps/sparc/configure: Regenerated.
63463         * sysdeps/unix/sysv/linux/configure: Regenerated.
63464         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63465         * sysdeps/x86_64/configure: Regenerated.
63467         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63468         defined.  Don't check if MAP is NULL.
63470 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63472         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63473         (_G_stat64): Likewise.
63474         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63475         (_G_stat64): Likewise.
63476         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63477         instead of struct _G_stat64.
63478         * libio/fileops.c (mmap_remap_check): Likewise.
63479         (decide_maybe_mmap): Likewise.
63480         (_IO_new_file_seekoff): Likewise.
63481         (_IO_file_stat): Likewise.
63482         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63483         _G_off64_t.
63484         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63485         instead of struct _G_stat64.
63486         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63488 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63490         [BZ #14602]
63491         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63492         Replace with ...
63493         (CHECK_EOL): New macro.
63494         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63495         CHECK_EOL.
63496         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63497         Replace with CHECK_EOL.
63498         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63499         Replace with CHECK_EOL.
63501 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63503         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63504         type-generic.
63505         * math/libm-test.inc: Update comment listing what functions and
63506         macros are tested.
63507         (finite_test): New function.
63508         (isinf_test): Likewise.
63509         (isnan_test): Likewise.
63510         (fpclassify_test): Test subnormal input.
63511         (isfinite_test): Likewise.
63512         (isnormal_test): Likewise.
63513         (main): Call the new functions.
63515 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63517         [BZ #14660]
63518         * Makerules (%.dynsym): Force C locale when running
63519         $(OBJDUMP) --dynamic-syms.
63521 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63523         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63524         <stdint.h>.
63526 2012-10-06  David S. Miller  <davem@davemloft.net>
63528         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63529         upper 32-bits of the length value in %o2 since we use branch-on-register
63530         tests which consider the entire 64-bit register.
63532 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63534         * string/test-strstr.c (check2): Add a test for page boundary.
63536 2012-10-05  David S. Miller  <davem@davemloft.net>
63538         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63539         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63540         file.
63541         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63542         sysdep_routines.
63543         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63544         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63545         and bzero when HWCAP_SPARC_CRYPTO is present.
63547 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63549         [BZ #14602]
63550         * string/test-strstr.c (check2): New function.
63551         (test_main): Call check2.
63553         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63554         and bug-strchr1.
63555         * string/bug-strcasestr1.c (do_test): Moved to ...
63556         * string/test-strcasestr.c (check1): Here.  New function.
63557         (do_one_test): Break out result checking code into ...
63558         (check_result): This.  New function.
63559         (do_one_test): Call check_result.
63560         (test_main): Call check1.
63561         * string/bug-strchr1.c (do_test): Moved to ...
63562         * string/test-strchr.c (check1): Here.  New function.
63563         (do_one_test): Break out result checking code into ...
63564         (check_result): This.  New function.
63565         (do_one_test): Call check_result.
63566         (test_main): Call check1.
63567         * string/bug-strstr1.c (main): Moved to ...
63568         * string/test-strstr.c (check1): Here.  New function.
63569         (do_one_test): Break out result checking code into ...
63570         (check_result): This.  New function.
63571         (do_one_test): Call check_result.
63572         (test_main): Call check1.
63573         * string/bug-strcasestr1.c: Removed.
63574         * string/bug-strchr1.c: Likewise.
63575         * string/bug-strstr1.c: Likewise.
63577         * elf/Makefile (dl-routines): Add hwcaps.
63578         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63579         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63580         (_dl_important_hwcaps): Moved to ...
63581         * elf/dl-hwcaps.c: Here.  New file.
63582         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63584         [BZ #14557]
63585         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63586         if IS_IN_rtld isn't defined.
63588         * elf/dl-support.c (_dl_sysinfo_map): New.
63589         Include "get-dynamic-info.h" and "setup-vdso.h".
63590         (_dl_non_dynamic_init): Call setup_vdso.
63591         * elf/dynamic-link.h: Don't include <assert.h>.
63592         (elf_get_dynamic_info): Moved to ...
63593         * elf/get-dynamic-info.h: Here.  New file.
63594         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63595         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63596         * elf/setup-vdso.h: Here.  New file.
63597         * elf/rtld.c: Include "setup-vdso.h".
63598         (dl_main): Call setup_vdso.
63600 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63602         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63603         creal in comment listing functions tested.  List finite, isinf,
63604         isnan, isless, islessequal, isgreater, isgreaterequal,
63605         islessgreater, isunordered, lgamma_r and pow10 as functions and
63606         macros not tested.  Mention which functions not tested are aliases
63607         for other functions.  Fix typo.  Note that signs of NaNs are not
63608         tested.
63610         * scripts/config.guess: Update from config.git.
63611         * scripts/config.sub: Likewise.
63613 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63615         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63616         * misc/madvise.c (madvise): Renamed to __madvise.
63617         Make madvise a weak alias.
63618         * include/sys/mman.h: Declare __madvise.
63619         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63620         * sysdeps/unix/syscalls.list
63621         (madvise): Make __madvise the strong name, and madvise a weak alias.
63622         * sysdeps/unix/sysv/linux/syscalls.list
63623         (madvise, mmap): Remove redundant entries.
63624         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63625         * malloc/malloc.c (mtrim): Likewise.
63626         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63628 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63630         * sysdeps/mach/hurd/dl-cache.c: File removed.
63631         * config.h.in (USE_LDCONFIG): New #undef.
63632         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63633         * configure: Regenerated.
63634         * elf/Makefile (dl-routines): Add dl-cache only under
63635         [$(use-ldconfig) = yes].
63636         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63637         cache on [USE_LDCONFIG].
63638         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63639         [USE_LDCONFIG].
63640         * elf/rtld.c (dl_main): Likewise.
63642 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63644         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63645         _SC_LEVEL4_CACHE_LINESIZE.
63647 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63649         * sysdeps/unix/bsd/confstr.h: File removed.
63651 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63653         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63654         sys/sdt-config.h.
63656 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63658         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63659         Make 'mapoff' field ElfW(Off) rather than off_t.
63661 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63663         * nscd/Makefile: Remove nscd-cflags and all its users.
63664         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63665         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63667         [BZ #10631]
63668         * malloc.c (malloc_printerr): Clarify error message.
63670 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63672         [BZ #14648]
63673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63674         Set bit_FMA_Usable if FMA is supported.
63675         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63676         macro.
63677         (bit_FMA4_Usable): Updated.
63678         (index_FMA_Usable): New macro.
63679         (CPUID_FMA): Likewise.
63680         (HAS_FMA): Defined with bit_FMA_Usable.
63682 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63684         * bits/types.h (__swblk_t): Type removed.
63685         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63686         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63688         (__SWBLK_T_TYPE): Likewise.
63689         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63690         (__SWBLK_T_TYPE): Likewise.
63691         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63692         (__SWBLK_T_TYPE): Likewise.
63693         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63694         (__SWBLK_T_TYPE): Likewise.
63696 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63697             Honza Horak <hhorak@redhat.com>
63699         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63700         (xdr_mapname): Use YPMAXMAP as maxsize.
63701         (xdr_peername): Use YPMAXPEER as maxsize.
63702         (xdr_keydat): Use YPAXRECORD as maxsize.
63703         (xdr_valdat): Use YPMAXRECORD as maxsize.
63705 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63707         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63709         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63710         * csu/init-first.c: ... here.
63711         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63712         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63713         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63714         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63715         * sysdeps/i386/init-first.c: File removed.
63716         * sysdeps/sh/init-first.c: File removed.
63718 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63720         [BZ #14645]
63721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63722         if x * y might underflow to zero and z is zero.
63723         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63725         * math/libm-test.inc (min_subnorm_value): New variable.
63726         (fma_test): Add more tests.
63727         (fma_test_towardzero): Likewise.
63728         (fma_test_downward): Likewise.
63729         (fma_test_upward): Likewise.
63730         (initialize): Set min_subnorm_value.
63732 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63734         [BZ #14638]
63735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63736         0 + 0.
63737         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63738         mode for addition resulting in exact zero.
63739         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63741         exact 0 + 0.
63742         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63744         * math/libm-test.inc (fma_test): Add more tests.
63745         (fma_test_towardzero): New function.
63746         (fma_test_downward): Likewise.
63747         (fma_test_upward): Likewise.
63748         (main): Call the new functions.
63750 2012-09-28  David S. Miller  <davem@davemloft.net>
63752         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63754 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63756         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63757         instead of SIGALRM.
63759         * sysdeps/gnu/_G_config.h: Moved to ...
63760         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63761         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63762         * sysdeps/generic/_G_config.h: ... here.
63764         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63766         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63768         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63769         Conditionalize target on [libnss_test1.so-version].
63771         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63773         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63774         (elfobjdir): Move out of conditionals.
63776         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63777         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63778         (__nss_lookup_function): Conditionalize label remove_from_tree on
63779         [!DO_STATIC_NSS || SHARED], matching its only use.
63781 2012-09-28  David S. Miller  <davem@davemloft.net>
63783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63784         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63785         file.
63786         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63787         sysdep_routines.
63788         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63789         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63790         when HWCAP_SPARC_CRYPTO is present.
63792 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63794         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63796 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63798         [BZ #6530]
63799         * stdio-common/vfprintf.c (process_string_arg): Revert
63800         2000-07-22 change.
63802 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63804         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63805         for testcase.
63806         * stdio-common/tst-sprintf.c: Include <locale.h>
63807         (main): Test sprintf's handling of incomplete multibyte
63808         characters.
63810 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63812         * elf/dl-runtime.c (VERSYMIDX): Removed.
63813         * elf/dl-version.c (VERSYMIDX): Likewise.
63814         * elf/do-rel.h (VERSYMIDX): Likewise.
63815         (VALIDX): Likewise.
63816         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63817         * elf/rtld.c (VALIDX): Likewise.
63818         (ADDRIDX): Likewise.
63819         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63820         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63821         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63822         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63823         (VALIDX): Likewise.
63824         (ADDRIDX): Likewise.
63826 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63828         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63830 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63832         [BZ #11438]
63833         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63834         to global scope.
63835         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63836         addresses are in the same scope as 192.0.2/24.
63837         * posix/gai.conf: Document new scope table defaults.
63839 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63841         [BZ #5298]
63842         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63843         for ftell.  Compute offsets from write pointers instead.
63844         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63846 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63848         [BZ #14543]
63849         * libio/Makefile (tests): New test case tst-fseek.
63850         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63851         combination works in wide mode.
63852         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63853         state when the external buffer state changes.
63855 2012-09-27  David S. Miller  <davem@davemloft.net>
63857         [BZ #14376]
63858         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63859         pass reloc->r_addend in as the 'high' argument to
63860         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63864 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63866         * rt/tst-aio2.c: Include <pthread.h>.
63867         * rt/tst-aio3.c: Likewise.
63869 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63871         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63873 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63875         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63876         contents on [SHARED].
63878 2012-09-26  Marek Polacek  <polacek@redhat.com>
63880         [BZ #14530]
63881         [BZ #13741]
63882         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63883         for C++ and GCC <4.3 as well as for non GCC compilers.
63885 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63889 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63891         * Makefile.in (all, install): Declare with .PHONY.
63892         Reported by Michael Hope <michael.hope@linaro.org>.
63894 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63896         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63897         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63898         system header.
63899         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63900         Likewise.
63901         (sydep_routines): Add the new and the internal functions.
63902         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63903         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63905         (GLIBC_2.17): Add the new function.
63906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63907         (GLIBC_2.17): Likewise.
63908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63909         (GLIBC_2.17): Likewise.
63910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63911         (GLIBC_2.17): Likewise.
63912         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63914 2012-09-25  Alan Modra  <amodra@gmail.com>
63916         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63917         Add release barrier before setting once_control to say
63918         initialisation is done.  Add hints on lwarx.  Use macro in
63919         place of isync.
63920         (clear_once_control): Add release barrier.
63922 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63924         [BZ #13629]
63925         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63926         specially.
63927         * math/s_clog10.c (__clog10): Likewise.
63928         * math/s_clog10f.c (__clog10f): Likewise.
63929         * math/s_clog10l.c (__clog10l): Likewise.
63930         * math/s_clogf.c (__clogf): Likewise.
63931         * math/s_clogl.c (__clogl): Likewise.
63932         * math/Makefile (libm-calls): Add x2y2m1.
63933         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63934         (__x2y2m1): Likewise.
63935         (__x2y2m1l): Likewise.
63936         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63937         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63938         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63939         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63940         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63941         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63942         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63943         * sysdeps/i386/fpu/libm-test-ulps: Update.
63944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63946         [BZ #14621]
63947         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63948         int as type of variable DEPTH.
63949         (glob): Use size_t instead of int as type of variables NEWCOUNT
63950         and OLD_PATHC.
63952 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63954         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63955         Add s_sincosf-sse2.
63956         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63957         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63958         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63959         macros for using routine as __sincosf_ia32.
63960         Use macro for function declaration and weak_alias.
63961         * sysdeps/i386/fpu/libm-test-ulps: Update.
63963         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63966         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63967         subnormal argument.
63968         * math/s_cexpf.c (__cexpf): Likewise.
63969         * math/s_csinf.c (__csinf): Likewise.
63970         * math/s_csinhf.c (__csinhf): Likewise.
63971         * math/s_ctanf.c (__ctanf): Likewise.
63972         * math/s_ctanhf.c (__ctanhf): Likewise.
63973         * math/s_ccosh.c (__ccoshf): Likewise.
63974         * math/s_cexp.c (__cexpl): Likewise.
63975         * math/s_csin.c (__csin): Likewise.
63976         * math/s_csinh.c (__csinh): Likewise.
63977         * math/s_ctan.c (__ctan): Likewise.
63978         * math/s_ctanh.c (ctanh): Likewise.
63979         * math/s_ccoshl.c (__ccoshl): Likewise.
63980         * math/s_cexpl.c (__cexpl): Likewise.
63981         * math/s_csinl.c (__csinl): Likewise.
63982         * math/s_csinhl.c (__csinhl): Likewise.
63983         * math/s_ctanl.c (__ctanl): Likewise.
63984         * math/s_ctanhl.c (__ctanhl): Likewise.
63986 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63988         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63989         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63990         (_IO_off_t): Define to __off_t, not _G_off_t.
63991         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63992         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63993         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63994         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63995         type of __dummy and __dummy2 fields.
63996         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63997         (_G_ssize_t): Likewise.
63998         (_G_off_t): Likewise.
63999         (_G_pid_t): Likewise.
64000         (_G_uid_t): Likewise.
64001         (_G_wchar_t): Likewise.
64002         (_G_wint_t): Likewise.
64003         * sysdeps/gnu/_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/mach/hurd/_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.
64018 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64020         * malloc/arena.c: Include malloc-sysdep.h.
64021         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64022         is sufficient to shrink the heap or an unmap is needed.
64023         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64024         new function check_may_shrink_heap.
64025         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64026         new function check_may_shrink_heap.
64028 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64030         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64031         comments.
64033 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64035         * catgets/test-gencat.sh: Add "set -e".
64036         * elf/tst-pathopt.sh: Likewise.
64037         * grp/tst_fgetgrent.sh: Likewise.
64038         * iconvdata/run-iconv-test.sh: Likewise.
64039         * intl/tst-gettext.sh: Likewise.
64040         * intl/tst-gettext2.sh: Likewise.
64041         * intl/tst-gettext4.sh: Likewise.
64042         * intl/tst-gettext6.sh: Likewise.
64043         * intl/tst-translit.sh: Likewise.
64044         * io/ftwtest-sh: Likewise.
64045         * libio/test-freopen.sh: Likewise.
64046         * malloc/tst-mtrace.sh: Likewise.
64047         * posix/globtest.sh: Likewise.
64048         * posix/tst-getconf.sh: Likewise.
64049         * posix/wordexp-tst.sh: Likewise.
64050         * stdio-common/tst-printf.sh: Likewise.
64051         * stdio-common/tst-unbputc.sh: Likewise.
64052         * stdlib/tst-fmtmsg.sh: Likewise.
64053         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64054         * catgets/Makefile: Do not specify -e option when running
64055         testsuite shell scripts.
64056         * elf/Makefile: Likewise.
64057         * grp/Makefile: Likewise.
64058         * iconvdata/Makefile: Likewise.
64059         * intl/Makefile: Likewise.
64060         * io/Makefile: Likewise.
64061         * libio/Makefile: Likewise.
64062         * malloc/Makefile: Likewise.
64063         * posix/Makefile: Likewise.
64064         * stdio-common/Makefile: Likewise.
64065         * stdlib/Makefile: Likewise.
64066         * sysdeps/x86_64/Makefile: Likewise.
64068         * io/ftwtest-sh: Add copyright header.
64069         * posix/globtest.sh: Likewise.
64070         * posix/tst-getconf.sh: Likewise.
64071         * posix/wordexp-tst.sh: Likewise.
64072         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64074 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64076         [BZ #13679]
64077         * Makeconfig (+link): Defined as $(+link-static) if
64078         $(build-shared) isn't yes.
64079         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64080         isn't yes.
64081         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64083         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64085         [BZ #14562]
64086         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64087         new chunk size with MALLOC_ALIGN_MASK.
64089 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64091         [BZ #5044]
64092         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64093         <rounding-mode.h>.
64094         (__printf_fphex): Determine rounding using get_rounding_mode and
64095         round_away.
64096         * stdio-common/tst-printf-round.c (struct hex_test): New
64097         structure.
64098         (hex_tests): New variable.
64099         (test_hex_in_one_mode): New function.
64100         (do_test): Also run tests for hex float output.
64102 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64104         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64105         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64106         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64107         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64108         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64109         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64110         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64111         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64113 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64115         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64116         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64117         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64118         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64120 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64122         [BZ #14579]
64123         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64124         mode only.
64125         * elf/tst-rtld-load-self.sh: New test.
64126         * elf/Makefile: Run it.
64128 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64130         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64131         (tst-writev-ENV): Remove.
64132         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64134 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64136         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64138 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64140         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64141         unconditional.
64142         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64143         Likewise.
64144         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64145         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64146         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64147         Likewise.
64149 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64151         [BZ #14587]
64152         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64153         * config.make.in (have-cpp-asm-debuginfo): Removed.
64154         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64155         * configure: Regenerated.
64157 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64159         [BZ #5044]
64160         * stdio-common/printf_fp.c: Include <stdbool.h> and
64161         <rounding-mode.h>.
64162         (___printf_fp): Determine rounding using get_rounding_mode and
64163         round_away.
64164         * stdio-common/tst-printf-round.c: New file.
64165         * stdio-common/Makefile (tests): Add tst-printf-round.
64166         (link-libm): New variable.
64167         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64169 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64171         [BZ #14576]
64172         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64173         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64174         Likewise.
64175         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64176         Likewise.
64178 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64180         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64181         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64182         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64183         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64185 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64187         [BZ #14518]
64188         * include/rounding-mode.h: New file.
64189         * sysdeps/generic/get-rounding-mode.h: Likewise.
64190         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64191         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64192         (MAX_VALUE): New macro.
64193         (MIN_VALUE): Likewise.
64194         (overflow_value): New function.
64195         (underflow_value): Likewise.
64196         (round_and_return): Use overflow_value and underflow_value to
64197         determine return values in overflow and underflow cases.  Use
64198         round_away to determine rounding depending on rounding mode.
64199         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64200         determine return values in overflow and underflow cases.
64201         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64202         (struct test_results): New structure.
64203         (struct test): Use struct test_results to store expected results
64204         for all rounding modes.
64205         (TEST): Include expected results for all rounding modes.
64206         (test_in_one_mode): New function.
64207         (do_test): Use test_in_one_mode to compute and check results.
64208         Check results for all rounding modes.
64209         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64210         $(link-libm).
64212 2012-12-09  Allan McRae  <allan@archlinux.org>
64214         * sysdeps/i386/fpu/libm-test-ulps: Update
64216 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64218         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64219         (_G_int32_t): Likewise.
64220         (_G_uint16_t): Likewise.
64221         (_G_uint32_t): Likewise.
64222         (_G_HAVE_BOOL): Likewise.
64223         (_G_HAVE_ATEXIT): Likewise.
64224         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64225         (_G_HAVE_IO_FILE_OPEN): Likewise.
64226         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64227         (_G_int32_t): Likewise.
64228         (_G_uint16_t): Likewise.
64229         (_G_uint32_t): Likewise.
64230         (_G_HAVE_BOOL): Likewise.
64231         (_G_HAVE_ATEXIT): Likewise.
64232         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64233         (_G_HAVE_IO_FILE_OPEN): Likewise.
64234         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64235         (_G_int32_t): Likewise.
64236         (_G_uint16_t): Likewise.
64237         (_G_uint32_t): Likewise.
64238         (_G_HAVE_BOOL): Likewise.
64239         (_G_HAVE_ATEXIT): Likewise.
64240         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64241         (_G_HAVE_IO_FILE_OPEN): Likewise.
64243 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64245         * csu/libc-tls.c: Update copyright years.
64247 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64249         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64250         [!_G_USING_THUNKS]: Remove conditional code.
64251         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64252         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64254         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64255         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64256         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64257         (_G_VTABLE_LABEL_PREFIX): Likewise.
64258         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64259         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64260         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64261         (_G_VTABLE_LABEL_PREFIX): Likewise.
64262         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64263         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64265         (_G_VTABLE_LABEL_PREFIX): Likewise.
64266         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64268 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64270         * libio/Makefile: Include ../Makeconfig before tests.
64271         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64272         only if $(build-shared) is yes.
64274         * iconv/gconv_db.c: Update copyright years.
64276 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64278         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64279         unwind info if defined PIC. Fix special cases description.
64280         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64282         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64283         DP_HI_MASK entry.
64284         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64286 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64288         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64290         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64291         is NULL.
64293         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64294         (LDLIBS-tst-chk4): This.
64295         (LDFLAGS-tst-chk5): Renamed to ...
64296         (LDLIBS-tst-chk5): This.
64297         (LDFLAGS-tst-chk6): Renamed to ...
64298         (LDLIBS-tst-chk6): This.
64299         (LDFLAGS-tst-lfschk4): Renamed to ...
64300         (LDLIBS-tst-lfschk4): This.
64301         (LDFLAGS-tst-lfschk5): Renamed to ...
64302         (LDLIBS-tst-lfschk5): This.
64303         (LDFLAGS-tst-lfschk6): Renamed to ...
64304         (LDLIBS-tst-lfschk6): This.
64306         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64307         on $(common-objpfx)soversions.mk.
64309 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64311         [BZ #10014]
64312         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64313         example host name.
64315 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64317         * malloc/arena.c (arena_get_retry): New function that gets
64318         another arena for the caller to try its request on.
64319         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64320         current arena cannot fulfill the request.
64321         (__libc_memalign): Likewise.
64322         (__libc_memalign): Likewise.
64323         (__libc_pvalloc): Likewise.
64324         (__libc_calloc): Likewise.
64326 2012-09-05  John Tobey  <john.tobey@gmail.com>
64328         [BZ #13542]
64329         * manual/arith.texi (Operations on Complex): Fix description
64330         of carg branch cut.
64332 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64334         [BZ #10014]
64335         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64336         host name.
64338         [BZ #10038]
64339         * manual/memory.texi (Memory): Make order of menu items match
64340         order of sections.
64342 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64344         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64345         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64346         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64348 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64350         * csu/libc-tls.c (static_dtv): Renamed to ...
64351         (_dl_static_dtv): This.  Make it global.
64352         (_dl_initial_dtv): Removed.
64353         (__libc_setup_tls): Updated.
64354         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64355         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64356         DL_INITIAL_DTV.
64358 2012-09-06  Petr Machata  <pmachata@redhat.com>
64360         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64361         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64362         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64363         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64365 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64367         [BZ #14545]
64368         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64369         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64370         freeing dtv[-1].
64372 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64374         [BZ #14544]
64375         * Makeconfig (link-static-before-libc): Replace $(+prector)
64376         with $(+prectorT).
64377         (link-static-after-libc): Replace $(+postctor) with
64378         $(+postctorT).
64379         (link-bounded): Replace $(+prector)/$(+postctor) with
64380         $(+prectorT)/$(+postctorT).
64381         (+prectorT): New macro.
64382         (+postctorT): Likewise.
64384 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64386         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64387         (round_str): Handle values above the maximum for IBM long double
64388         as inexact.
64389         * stdlib/tst-strtod-round.c (tests): Regenerated.
64391 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64393         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64394         assembler flag.
64395         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64396         zarch_nohighgprs around the zarch optimized routines.
64397         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64398         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64399         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64400         for zarch.
64402 2012-09-05  David S. Miller  <davem@davemloft.net>
64404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64406         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64407         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64408         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64409         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64410         entries.
64412 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64414         * malloc/arena.c: Fold copyright years.
64415         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64417 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64419         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64423         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64427         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64428         change internal state upon failure.
64430 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64432         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64433         * malloc/memusage.c (mmap): Likewise.
64434         (mmap64, mremap): Likewise.  Adjust name in comment.
64436 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64438         * libio/fileops.c: Fix typos in comments.
64439         * libio/oldfileops.c: Likewise.
64440         * libio/wfileops.c: Likewise.
64442 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64444         [BZ #1349]
64445         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64446         (tst-malloc-usable-ENV): Set environment for test case.
64447         * malloc/hooks.c (malloc_check_get_size): New function to get
64448         requested size.
64449         * malloc/malloc.c (musable): Use malloc_check_get_size.
64450         * malloc/tst-malloc-usable.c: New test case.
64452 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64454         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64456 2012-09-05  Allan McRae  <allan@archlinux.org>
64458         [BZ #13966]
64459         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64460         determine header location.
64461         * configure: Regenerated.
64463 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64465         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64466         float format.
64467         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64468         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64469         format.
64470         (test): Regenerate.
64472 2012-09-04  David S. Miller  <davem@davemloft.net>
64474         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64475         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64476         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64478 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64480         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64481         failures.
64483         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64485 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64487         [BZ #9914]
64488         * libio/iogetdelim.c: Include <limits.h>.
64489         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64490         + len + 1 would overflow.
64492 2012-09-03  Andreas Jaeger  <aj@suse.de>
64494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64495         * sysdeps/i386/fpu/libm-test-ulps: Update.
64497 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64499         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64500         Add s_sinf-sse2, s_conf-sse2.
64502         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64503         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64504         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64505         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64507         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64508         for using routine as __sinf_ia32.
64509         Use macro for function declaration and weak_alias.
64510         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64511         for using routine as __cosf_ia32.
64512         Use macro for function declaration and weak_alias.
64514         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64515         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64517         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64518         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64521         * math/libm-test.inc (cos_test): Add more test cases.
64522         (sin_test): Likewise.
64523         (sincos_test): Likewise.
64525 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64527         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64528         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64529         hidden.
64530         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64532 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64534         [BZ #14538]
64535         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64536         first element of the GOT.
64537         (elf_machine_load_address): Return the difference between
64538         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64540 2012-09-01  Allan McRae  <allan@archlinux.org>
64542         [BZ #13412]
64543         * configure.in (AWK): Require gawk version 3.0 or later.
64544         * configure: Regenerated.
64546 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64548         * sysdeps/unix/sysv/linux/kernel-features.h
64549         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64550         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64551         [__NR_clock_getres]: Make code unconditional.
64552         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64553         (clock_getcpuclockid): Remove code left unreachable by removal of
64554         conditionals.
64555         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64556         code unconditional.
64557         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64558         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64559         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64560         Make code unconditional.
64561         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64562         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64563         * sysdeps/unix/sysv/linux/clock_settime.c
64564         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64565         conditional code.
64566         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64567         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64569 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64571         [BZ #14476]
64572         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64573         scripts/test-installation.pl.
64575         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64576         and $ld_so_version if it is set.
64578 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64580         [BZ #14516]
64581         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64582         failure if reading from procfs failed.
64583         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64585 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64587         * sysdeps/unix/sysv/linux/kernel-features.h
64588         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64589         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64590         Remove conditional code.
64591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64592         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64593         Remove conditional code.
64594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64595         * sysdeps/unix/sysv/linux/i386/fxstat.c
64596         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64598         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64599         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64600         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64601         * sysdeps/unix/sysv/linux/i386/lxstat.c
64602         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64604         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64605         Remove conditional code.
64606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64607         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64608         Remove conditional code.
64609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64610         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64611         <kernel-features.h>.
64612         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64613         Remove.
64614         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64615         Remove conditional code.
64616         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64617         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64618         Remove conditional.
64620 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64622         [BZ #5400]
64623         * NEWS: Add fixed bug number.
64625 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64627         [BZ #14519]
64628         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64629         underflowing exponent in case of negative sign.
64630         * stdlib/tst-strtod-round-data: Add more tests.
64631         * stdlib/tst-strtod-round.c (tests): Regenerated.
64633         [BZ #3479]
64634         * stdlib/strtod_l.c (NDIG): Remove.
64635         (HEXNDIG): Likewise.
64636         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64637         smallest representable value.
64638         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64639         lie within an exact representation of 1/2 ulp of the result.
64640         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64641         unconditionally.
64642         (TENS_P9_IDX): Define unconditionally.
64643         (TENS_P9_SIZE): Likewise.
64644         (TENS_P10_IDX): Likewise.
64645         (TENS_P10_SIZE): Likewise.
64646         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64647         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64648         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64649         entries for 10^2^13 and 10^2^14.
64650         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64651         (TENS_P13_IDX): Define.
64652         (TENS_P13_SIZE): Likewise.
64653         (TENS_P14_IDX): Likewise.
64654         (TENS_P14_SIZE): Likewise.
64655         (_fpioconst_pow10): Change array size to
64656         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64657         unconditional.
64658         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64659         1024]: Add entries for 10^2^13 and 10^2^14.
64660         [LAST_POW10 > _LAST_POW10]: Remove #error.
64661         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64662         (_fpioconst_pow10): Change array size to
64663         FPIOCONST_POW10_ARRAY_SIZE.
64664         * stdlib/gen-fpioconst.c: New file.
64665         * stdlib/gen-tst-strtod-round.c: Likewise.
64666         * stdlib/tst-strtod-round-data: Likewise.
64667         * stdlib/tst-strtod-round.c: Likewise.
64668         * stdlib/Makefile (tests): Add tst-strtod-round.
64670         [BZ #14459]
64671         * stdlib/strtod_l.c: Include <stdint.h>.
64672         (NDEBUG): Do not define.
64673         (round_and_return): Change EXPONENT parameter to type intmax_t.
64674         Rearrange calculations to avoid internal overflow possibilities.
64675         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64676         Rearrange calculations to avoid internal overflow possibilities.
64677         Assert that number fits inside MPNSIZE limbs.
64678         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64679         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64680         calculations and add assertions to avoid internal overflow
64681         possibilities.  Add casts to avoid signed/unsigned operations.
64682         * stdlib/tst-strtod-overflow.c: New file.
64683         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64685 2012-08-25  Marek Polacek  <polacek@redhat.com>
64687         * time/time.h: Fix some typos in comments.
64689 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64691         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64692         * posix/tst-rfc3484-2.c: Likewise.
64693         * posix/tst-rfc3484-3.c: Likewise.
64695 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64697         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64698         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64700 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64702         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64703         #include of fxstatat64.c.
64705 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64707         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64708         * shadow/getspent_r.c: Likewise.
64709         * shadow/getspnam.c: Likewise.
64710         * shadow/getspnam_r.c: Likewise.
64711         * gshadow/getsgent.c: Likewise.
64712         * gshadow/getsgent_r.c: Likewise.
64713         * gshadow/getsgnam.c: Likewise.
64714         * gshadow/getsgnam_r.c: Likewise.
64715         * inet/getnetbyad.c: Likewise.
64716         * inet/getnetbyad_r.c: Likewise.
64717         * inet/getnetbynm.c: Likewise.
64718         * inet/getnetbynm_r.c: Likewise.
64719         * inet/getnetent.c: Likewise.
64720         * inet/getnetent_r.c: Likewise.
64721         * inet/getproto.c: Likewise.
64722         * inet/getproto_r.c: Likewise.
64723         * inet/getprtent.c: Likewise.
64724         * inet/getprtent_r.c: Likewise.
64725         * inet/getprtname.c: Likewise.
64726         * inet/getprtname_r.c: Likewise.
64727         * inet/getrpcbyname.c: Likewise.
64728         * inet/getrpcbyname_r.c: Likewise.
64729         * inet/getrpcbynumber.c: Likewise.
64730         * inet/getrpcbynumber_r.c: Likewise.
64731         * inet/getrpcent.c: Likewise.
64732         * inet/getrpcent_r.c: Likewise.
64733         * inet/getaliasent.c: Likewise.
64734         * inet/getaliasent_r.c: Likewise.
64735         * inet/getaliasname.c: Likewise.
64736         * inet/getaliasname_r.c: Likewise.
64737         * nscd/getgrgid_r.c: Likewise.
64738         * nscd/getgrnam_r.c: Likewise.
64739         * nscd/gethstbyad_r.c: Likewise.
64740         * nscd/gethstbynm3_r.c: Likewise.
64741         * nscd/getpwnam_r.c: Likewise.
64742         * nscd/getpwuid_r.c: Likewise.
64743         * nscd/getsrvbynm_r.c: Likewise.
64744         * nscd/getsrvbypt_r.c: Likewise.
64745         * nscd/gai.c: Likewise.
64747         * configure.in (build_nscd): New substituted variable, set
64748         by --disable-build-nscd and defaults to $use_nscd.
64749         * configure: Regenerated.
64750         * config.make.in (build-nscd): New substituted variable.
64751         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64752         Change conditional to require [$(build-nscd) = yes] as well.
64753         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64755         [BZ# 13696]
64756         * configure.in (use_nscd): New substituted variable, set by
64757         --disable-nscd.  If enabled, define USE_NSCD.
64758         * configure: Regenerated.
64759         * config.h.in: Add USE_NSCD.
64760         * config.make.in (use-nscd): New substituted variable.
64761         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64762         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64763         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64764         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64765         (CFLAGS-getgrnam_r.c): Likewise.
64766         (CFLAGS-initgroups.c): Likewise.
64767         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64768         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64769         Variables removed.
64770         * inet/getnetgrent_r.c
64771         (nscd_setnetgrent): New function, broken out of ...
64772         (setnetgrent): ... here.  Call it.
64773         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64774         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64775         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64776         * nscd/Makefile (routines, aux): Move definitions after include of
64777         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64778         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64779         Conditionalize on [USE_NSCD].
64780         (is_nscd, nscd_init_cb): Likewise.
64781         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64782         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64783         * nss/nss_db/db-init.c: Likewise.
64784         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64785         [USE_NSCD].
64786         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64787         (make_request): Use it.
64788         (cache_valid_p): New function.
64789         (__check_pf): Use it.
64790         * NEWS: Add item for --disable-nscd.
64792 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64794         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64795         to support sed >= 4.2.1-20-ga9bf076.
64796         * configure: Regenerated.
64798 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64800         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64801         Conditionalize whole body on [IREL].
64803 2012-08-22  Jeff Law <law@redhat.com>
64805         [BZ #14505]
64806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64807         if the family is PF_UNSPEC.
64809 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64811         * Makerules (lib-version): Rename from V.
64812         (install-lib-nosubdir): Change V to lib-version.
64814 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64816         [BZ #14252]
64817         * powerpc32/power6/wcschr.c: New file.
64818         * powerpc32/power6/wcscpy.c: New file.
64819         * powerpc32/power6/wcsrchr.c: New file.
64820         * powerpc64/power6/wcschr.c: New file.
64821         * powerpc64/power6/wcscpy.c: New file.
64822         * powerpc64/power6/wcsrchr.c: New file.
64824 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64826         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64827         (two_way_short_needle): Use it.
64828         * string/strstr.c (AVAILABLE1_USES_J): Define.
64829         * string/strcasestr.c: Likewise.
64831         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64832         array references.
64833         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64835         [BZ #11607]
64836         * NEWS: Add an entry.
64837         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64838         define their defaults.
64839         (two_way_short_needle): Detect end-of-string on-the-fly.
64840         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64841         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64842         * string/bug-strcasestr1.c: New test.
64843         * string/Makefile: Run it.
64845 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64847         [BZ #11607]
64848         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64849         the first character.
64851 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64853         * csu/elf-init.c (__libc_csu_irel): Function removed.
64854         * csu/libc-start.c (apply_irel): New function.
64855         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64857 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64859         * sysdeps/unix/sysv/linux/kernel-features.h
64860         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64861         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64862         <kernel-features.h>.
64863         [__NR_fadvise64_64]: Make code unconditional.
64864         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64865         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64866         !__NR_fadvise64_64)]: Likewise.
64867         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64868         !__NR_fadvise64_64))]: Likewise.
64869         [__NR_fadvise64]: Make code unconditional.
64870         [!__NR_fadvise64]: Remove conditional code.
64871         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64872         <kernel-features.h>.
64873         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64874         unconditional.
64875         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64876         conditional code.
64877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64878         not include <kernel-features.h>.
64879         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64880         unconditional.
64881         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64882         conditional code.
64883         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64884         include <kernel-features.h>.
64885         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64886         unconditional.
64887         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64888         conditional code.
64890 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64892         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64893         slight instruction rearrangements per scrollpipe analysis.
64894         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64896 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64898         * manual/syslog.texi (syslog; vsyslog, closelog):
64899         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64900         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64902         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64903         DSOCAPS to match condition on defining it.
64905 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64907         * sysdeps/unix/sysv/linux/kernel-features.h
64908         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64910         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64911         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64913         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64914         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64916         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64917         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64919         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64920         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64922         * sysdeps/unix/sysv/linux/kernel-features.h
64923         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64924         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64925         unconditional.
64926         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64927         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64928         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64929         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64930         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64931         Make code unconditional.
64932         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64933         (__mmap64) [!__NR_mmap2]: Likewise.
64934         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64935         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64936         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64937         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64938         [__NR_mmap2]: Make code unconditional.
64939         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64940         (__mmap64) [!__NR_mmap2]: Likewise.
64942 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64944         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64946 2012-08-18  Andreas Jaeger  <aj@suse.de>
64948         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64950 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64952         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64953         * include/unistd.h (__have_sock_cloexec): Likewise.
64954         (__have_pipe2): Likewise.
64955         (__have_dup3): Likewise.
64957 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64959         [BZ #9685]
64960         * include/unistd.h (__have_pipe2): Change define into an extern int.
64961         (__have_dup3): Likewise.
64962         * socket/have_sock_cloexec.c: Include fcntl.h.
64963         (__have_pipe2): New variable.
64964         (__have_dup3): Likewise.
64966 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64968         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64970 2012-08-17  Marek Polacek  <polacek@redhat.com>
64972         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64973         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64975 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64977         * configure.in: Add AC_SUBST for sysheaders.
64978         * configure: Regenerated.
64979         * config.make.in (sysheaders): New substituted variable.
64981         * sysdeps/unix/mkfifo.c: Moved ...
64982         * sysdeps/posix/mkfifo.c: ... here.
64983         * sysdeps/unix/mkfifoat.c: Moved ...
64984         * sysdeps/posix/mkfifoat.c: ... here.
64986         * sysdeps/unix/utime.c: Moved ...
64987         * sysdeps/posix/utime.c: ... here.
64989         * sysdeps/unix/time.c: Moved ...
64990         * sysdeps/posix/time.c: ... here.
64991         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64992         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64994         * sysdeps/unix/nice.c: Moved ...
64995         * sysdeps/posix/nice.c: ... here.
64997         * sysdeps/unix/alarm.c: Moved ...
64998         * sysdeps/posix/alarm.c: ... here.
65000         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65002 2012-08-17  Jeff Law <law@redhat.com>
65004         * intl/Makefile (codeset_mo): New variable.
65005         ($(codeset_mo)): New target.
65006         (tst-codeset.out): Depend on that.  Remove explicit rule.
65007         (tst-gettext3.out, tst-gettext5.out): Likewise.
65008         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65009         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65010         * intl/tst-codeset.sh: Remove.
65011         * intl/tst-gettext3.sh: Likewise.
65012         * intl/tst-gettext5.sh: Likewise.
65014 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65016         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65017         * sysdeps/unix/syscalls.list: ... here.
65019         * sysdeps/posix/getaddrinfo.c
65020         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65021         (gaiconf_init, gaiconf_reload): Use them.
65022         [!_STATBUF_ST_NSEC]
65023         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65024         Define using time_t rather than struct timespec.
65026         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65027         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65028         Macros removed.
65029         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65030         [!NO_THREADS].
65031         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65032         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65033         Likewise.
65035         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65036         __libc_cleanup_push argument.
65038         * bits/param.h: New file.
65039         * misc/sys/param.h: New file.
65040         * include/sys/param.h: New file.
65041         * misc/Makefile (headers): Add bits/param.h.
65042         * sysdeps/generic/sys/param.h: File removed.
65043         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65044         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65045         * sysdeps/mach/hurd/bits/param.h: New file.
65046         * sysdeps/mach/hurd/sys/param.h: File removed.
65048         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65049         last change.
65051         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65052         [_IO_MTSAFE_IO].
65053         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65054         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65055         New macros.
65057         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65058         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65059         rather than -D_IO_MTSAFE_IO conditionally.
65060         * stdio-common/Makefile (CPPFLAGS): Likewise.
65061         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65062         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65063         Use $(libio-mtsafe).
65064         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65065         of -D_IO_MTSAFE_IO.
65066         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65067         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65068         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65069         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65070         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65071         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65072         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65073         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65074         (CFLAGS-fread_u_chk.c): Likewise.
65075         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65076         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65077         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65078         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65079         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65080         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65081         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65082         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65083         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65085         * libio/Makefile: Test [$(libc-reentrant) = yes]
65086         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65088         * Makeconfig
65089         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65090         * sysdeps/pthread/configure: File removed.
65091         * sysdeps/pthread/Makeconfig: New file.
65092         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65093         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65095 2012-08-16  Gary Benson  <gbenson@redhat.com>
65097         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65098         unmapping the first object in a namespace.
65100 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65102         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65103         (__internal_setnetgrent): ... this.  Add internal_function to
65104         definition.  Add libc_hidden_def.
65105         (setnetgrent): Update caller.
65106         (internal_endnetgrent): Renamed to ...
65107         (__internal_endnetgrent): ... this.  Add internal_function to
65108         definition.  Add libc_hidden_def.
65109         (endnetgrent): Update caller.
65110         (internal_getnetgrent_r): Renamed to ...
65111         (__internal_getnetgrent_r): ... this.  Add internal_function to
65112         definition.  Add libc_hidden_def.
65113         (__getnetgrent_r): Update caller.
65114         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65116 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65118         * stdlib/longlong.h: Update from GCC.
65120 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65122         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65123         on _QL, which is set by umul_ppmm but never used.
65124         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65125         variables, which are set by GMP macros but never used.
65126         * stdio-common/_itowa.c (_itowa): Likewise.
65127         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65128         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65130 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65132         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65133         struct La_sh_regs is not constant.
65134         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65135         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65136         and struct La_sparc64_regs are not constant.
65138 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65140         * sysdeps/unix/sysv/linux/kernel-features.h
65141         (__ASSUME_POSIX_TIMERS): Remove.
65142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65143         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65144         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65145         Make code unconditional.
65146         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65147         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65148         Make code unconditional.
65149         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65150         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65151         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65152         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65153         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65154         Make code unconditional.
65155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65156         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65157         (__libc_missing_posix_timers): Remove.
65159 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65161         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65162         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65164         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65166         * elf/dl-sym.c: Include <stdlib.h>.
65168         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65169         constants, which avoids warnings in 32-bit builds.
65171         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65172         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65174         * misc/lseek.c: File moved to ...
65175         * io/lseek.c: ... here.
65177         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65179         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65180         shifting LEN more than 31 bits at once.
65182 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65184         [BZ #14195]
65185         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65186         segmentation fault for a case of two empty input strings.
65187         * string/test-strncasecmp.c (check1): Renamed to...
65188         (bz12205): ...this.
65189         (bz14195): Add new testcase for two empty input strings and N > 0.
65190         (test_main): Call new testcase, adapt for renamed function.
65192 2012-08-15  Andreas Jaeger  <aj@suse.de>
65194         [BZ #14090]
65195         * crypt/md5test2.c: New test, based on test supplied by Serge
65196         Belyshev <belyshev@depni.sinp.msu.ru>.
65197         * crypt/Makefile (xtests): Add md5test-giant..
65198         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65200 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65202         [BZ #14090]
65203         * crypt/md5.c (md5_process_block): Don't assume the buffer
65204         length is less than 2**32.
65205         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65206         length is less than 2**64.
65208 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65210         * string/str-two-way.h: Include <sys/param.h>.
65211         (MAX): Macro removed.
65213         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65214         Move #define and #undef of memmove to just before and after
65215         including <string.h>.
65217         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65218         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65219         and after including <string.h>.  Move declarations of
65220         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65221         to before #include "string/memmove.c".
65223         * include/dirent.h: Declare __getdirentries.
65225         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65226         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65228 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65230         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65231         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65232         * sysdeps/i386/configure: Regenerated.
65233         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65234         STABS_CURRENT_FILE, and STABS_FUN.
65235         (END): Remove call to STABS_FUN_END.
65236         (STABS_CURRENT_FILE1): Delete.
65237         (STABS_CURRENT_FILE): Likewise.
65238         (STABS_FUN): Likewise.
65239         (STABS_FUN_END): Likewise.
65240         (STABS_FUN2): Likewise.
65241         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65242         * sysdeps/x86_64/configure: Regenerated.
65244 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65246         * elf/dl-open.c: Include <atomic.h>.
65247         * elf/dl-lookup.c: Likewise.
65249 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65251         * sysdeps/unix/sysv/linux/kernel-features.h
65252         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65253         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65254         unconditionally.
65255         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65256         unconditionally.
65257         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65258         condition on __ASSUME_CLONE_THREAD_FLAGS.
65260 2012-08-14  Andreas Jaeger  <aj@suse.de>
65262         * sysdeps/i386/fpu/libm-test-ulps: Update.
65264 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65266         * include/atomic.h (atomic_exchange_and_add): Split into ...
65267         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65268         New atomic macros.
65270 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65274 2012-08-13  Jeff Law <law@redhat.com>
65276         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65277         null byte in the output string.
65279 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65281         * sysdeps/unix/sysv/linux/kernel-features.h
65282         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65283         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65284         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65285         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65286         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65287         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65288         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65290 2012-08-09  Jeff Law <law@redhat.com>
65292         [BZ #13939]
65293         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65294         When avoid_arena is set, don't retry in the that arena.  Pick the
65295         next one, whatever it might be.
65296         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65297         (arena_lock): Pass in new parameter to arena_get2.
65298         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65299         arena_get2.
65300         (__libc_malloc): Unify retrying after main arena failure with
65301         __libc_memalign version.
65302         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65304 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65306         [BZ #14166]
65307         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65308         to __redirect_strstr.
65309         (__strstr_sse42): Use typeof __redirect_strstr.
65310         (__strstr_ia32): Likewise.
65311         (__libc_strstr): New prototype.
65312         (strstr): Renamed to ...
65313         (__libc_strstr): This.
65314         (strstr): New strong alias of __libc_strstr.
65315         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65316         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65317         __redirect_time.
65318         Include <time.h>.
65319         (__libc_time): New prototype.
65320         (time_ifunc): Replace time with __libc_time.
65321         (time): New strong alias and hidden definition of __libc_time.
65322         (__GI_time): Remove strong alias.
65323         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65324         Include <stddef.h>.
65325         (memmove): Redefined to __redirect_memmove.
65326         (__memmove_sse2): Use typeof __redirect_memmove.
65327         (__memmove_ssse3): Likewise.
65328         (__memmove_ssse3_back): Likewise.
65329         (__libc_memmove): New prototype.
65330         (memmove): Renamed to ...
65331         (__libc_memmove): This.
65332         (memmove): New strong alias of __libc_memmove.
65334 2012-08-08  Mark Salter  <msalter@redhat.com>
65336         * elf/elf.h
65337         (R_MN10300_TLS_GD): Define.
65338         (R_MN10300_TLS_LD): Likewise.
65339         (R_MN10300_TLS_LDO): Likewise.
65340         (R_MN10300_TLS_GOTIE): Likewise.
65341         (R_MN10300_TLS_IE): Likewise.
65342         (R_MN10300_TLS_LE): Likewise.
65343         (R_MN10300_TLS_DTPMOD): Likewise.
65344         (R_MN10300_TLS_DTPOFF): Likewise.
65345         (R_MN10300_TLS_TPOFF): Likewise.
65346         (R_MN10300_SYM_DIFF): Likewise.
65347         (R_MN10300_ALIGN): Likewise.
65348         (R_MN10300_NUM): Update.
65350 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65352         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65353         Remove.
65355 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65357         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65359         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65360         sysdeps/unix -> sysdeps/posix move.
65361         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65363 2012-08-07      Allan McRae     <allan@archlinux.org>
65365         [BZ #14303]
65366         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65367         (SUNOS_CPP): Likewise.
65368         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65369         not found.
65370         (open_input): Call CPP using execvp.
65372 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65374         * sysdeps/unix/sysv/linux/kernel-features.h
65375         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65376         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65377         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65378         (__ASSUME_WAITID_SYSCALL): Likewise.
65379         * sysdeps/unix/sysv/linux/dl-execstack.c
65380         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65381         code unconditional.
65382         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65383         conditional code.
65384         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65385         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65386         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65387         code.
65388         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65389         unconditional.
65390         [__ASSUME_WAITID_SYSCALL]: Likewise.
65391         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65393 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65395         * sysdeps/unix/closedir.c: Renamed to ...
65396         * sysdeps/posix/closedir.c: ... here.
65397         * sysdeps/unix/dirfd.c: Renamed to ...
65398         * sysdeps/posix/dirfd.c: ... here.
65399         * sysdeps/unix/dirstream.h: Renamed to ...
65400         * sysdeps/posix/dirstream.h: ... here.
65401         * sysdeps/unix/fdopendir.c: Renamed to ...
65402         * sysdeps/posix/fdopendir.c: ... here.
65403         * sysdeps/unix/opendir.c: Renamed to ...
65404         * sysdeps/posix/opendir.c: ... here.
65405         * sysdeps/unix/readdir.c: Renamed to ...
65406         * sysdeps/posix/readdir.c: ... here.
65407         * sysdeps/unix/readdir_r.c: Renamed to ...
65408         * sysdeps/posix/readdir_r.c: ... here.
65409         * sysdeps/unix/rewinddir.c: Renamed to ...
65410         * sysdeps/posix/rewinddir.c: ... here.
65411         * sysdeps/unix/seekdir.c: Renamed to ...
65412         * sysdeps/posix/seekdir.c: ... here.
65413         * sysdeps/unix/telldir.c: Renamed to ...
65414         * sysdeps/posix/telldir.c: ... here.
65415         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65416         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65417         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65418         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65420         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65421         * bits/fcntl.h: ... here.
65423         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65424         not 0.
65425         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65426         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65427         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65428         (struct flock): Move l_start, l_len to the beginning.
65429         Use __pid_t for l_pid.
65430         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65431         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65432         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65433         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65434         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65435         [__USE_LARGEFILE64] (struct flock64): New type.
65436         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65438         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65439         * bits/dirent.h: ... here.
65441         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65442         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65444 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65446         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65447         Change from 2.6.0 to 2.6.16.
65448         * sysdeps/unix/sysv/linux/configure: Regenerated.
65449         * sysdeps/unix/sysv/linux/kernel-features.h
65450         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65451         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65452         version.
65453         (__ASSUME_UTIMES): Likewise.
65454         (__ASSUME_CLONE_STOPPED): Remove.
65455         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65456         architectures, not kernel version.
65457         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65458         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65459         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65460         (__ASSUME_WAITID_SYSCALL): Likewise.
65461         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65462         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65463         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65464         refer to older versions.
65466 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65468         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65469         Define alphasort64 as an alias.
65470         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65471         Define versionsort64 as an alias.
65472         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65473         Define scandir64 as an alias.
65474         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65475         Define scandirat64 as an alias.
65476         * dirent/alphasort64.c (alphasort64):
65477         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65478         * dirent/versionsort64.c: Likewise.
65479         * dirent/scandir64.c: Likewise.
65480         * dirent/scandirat64.c: Likewise.
65481         * sysdeps/wordsize-64/alphasort.c: File removed.
65482         * sysdeps/wordsize-64/alphasort64.c: File removed.
65483         * sysdeps/wordsize-64/scandir.c: File removed.
65484         * sysdeps/wordsize-64/scandir64.c: File removed.
65485         * sysdeps/wordsize-64/scandirat.c: File removed.
65486         * sysdeps/wordsize-64/scandirat64.c: File removed.
65487         * sysdeps/wordsize-64/versionsort.c: File removed.
65488         * sysdeps/wordsize-64/versionsort64.c: File removed.
65489         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65490         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65491         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65492         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65493         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65494         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65495         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65496         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65498         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65499         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65500         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65501         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65502         [defined __arch64__ || defined __sparcv9]
65503         (__INO_T_MATCHES_INO64_T): New macro.
65504         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65505         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65506         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65507         * sysdeps/unix/sysv/linux/bits/dirent.h
65508         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65509         (_DIRENT_MATCHES_DIRENT64): New macro.
65511         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65512         Define lockf64 as an alias.
65513         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65514         Define fseeko64 as an alias.
65515         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65516         Define ftello64 as an alias.
65517         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65518         Define _IO_fgetpos64 and fgetpos64 as aliases.
65519         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65520         Define _IO_fsetpos64 and fsetpos64 as aliases.
65521         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65522         Conditionalize body on this.
65523         * libio/fseeko64.c: Likewise.
65524         * libio/ftello64.c: Likewise.
65525         * libio/iofgetpos64.c: Likewise.
65526         * libio/iofsetpos64.c: Likewise.
65527         * sysdeps/wordsize-64/lockf.c: File removed.
65528         * sysdeps/wordsize-64/lockf64.c: File removed.
65529         * sysdeps/wordsize-64/fseeko.c: File removed.
65530         * sysdeps/wordsize-64/fseeko64.c: File removed.
65531         * sysdeps/wordsize-64/ftello.c: File removed.
65532         * sysdeps/wordsize-64/ftello64.c: File removed.
65533         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65534         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65535         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65536         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65537         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65538         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65539         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65540         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65541         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65542         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65543         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65544         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65545         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65546         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65548         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65549         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65550         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65551         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65552         [defined __arch64__ || defined __sparcv9]
65553         (__OFF_T_MATCHES_OFF64_T): New macro.
65554         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65555         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65557         (__OFF_T_MATCHES_OFF64_T): New macro.
65559 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65561         * stdlib/secure-getenv.c (__secure_getenv): Replace
65562         GLIBC_2_16 with GLIBC_2_17.
65564 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65566         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65567         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65569 2012-08-03  David S. Miller  <davem@davemloft.net>
65571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65573 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65576         Remove.
65577         (__ASSUME_CORRECT_SI_PID): Likewise.
65578         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65579         (__ASSUME_TMPFS_NAME): Likewise.
65580         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65581         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65582         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65583         (HAVE_AUX_SECURE): Make definition unconditional.
65584         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65585         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65587 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65589         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65590         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65591         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65592         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65593         __eloop_threshold instead of SYMLOOP_MAX.
65595         * sysdeps/generic/eloop-threshold.h: New file.
65596         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65597         of MAXSYMLINKS.
65598         * elf/chroot_canon.c (chroot_canon): Likewise.
65600 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65602         [BZ #13717]
65603         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65604         Change to 2.6.0 everywhere.
65605         * sysdeps/unix/sysv/linux/configure: Regenerated.
65606         * sysdeps/unix/sysv/linux/kernel-features.h
65607         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65608         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65609         kernel versions.
65610         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65611         (__ASSUME_FUTEX_REQUEUE): Remove.
65612         (__ASSUME_STATFS64): Define unconditionally.
65613         (__ASSUME_AT_SECURE): Likewise.
65614         (__ASSUME_CORRECT_SI_PID): Likewise.
65615         (__ASSUME_TGKILL): Define without depending on kernel version for
65616         i386.
65617         (__ASSUME_UTIMES): Likewise.
65618         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65619         kernel version.
65620         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65621         (__ASSUME_TMPFS_NAME): Likewise.
65622         * README: Update reference to Linux kernel versions.
65624 2012-08-02  Marek Polacek  <polacek@redhat.com>
65626         [BZ# 14150]
65627         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65628         libc_cv_asm_type_prefix with %.
65629         * configure: Regenerated.
65630         * include/libc-symbols.h: Remove comment about
65631         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65632         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65633         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65634         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65635         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65636         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65637         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65638         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65639         * elf/tst-unique2mod1.c: Likewise.
65640         * elf/tst-unique1mod2.c: Likewise.
65641         * elf/tst-unique1mod1.c: Likewise.
65642         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65643         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65644         Replace ASM_TYPE_DIRECTIVE with .type.
65645         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65646         * sysdeps/i386/sysdep.h: Likewise.
65647         * sysdeps/x86_64/sysdep.h: Likewise.
65648         * sysdeps/sh/sysdep.h: Likewise.
65649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65650         Do not define ASM_TYPE_DIRECTIVE.
65651         * sysdeps/powerpc/sysdep.h: Likewise.
65652         * sysdeps/powerpc/powerpc32/sysdep.h:
65653         Replace ASM_TYPE_DIRECTIVE with .type.
65654         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65655         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65656         * sysdeps/i386/fpu/e_powf.S: Likewise.
65657         * sysdeps/i386/fpu/e_expl.S: Likewise.
65658         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65660         * sysdeps/i386/fpu/e_pow.S: Likewise.
65661         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65662         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65663         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65664         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65665         * sysdeps/i386/fpu/e_log2.S: Likewise.
65666         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65667         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65668         * sysdeps/i386/fpu/e_powl.S: Likewise.
65669         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65670         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65671         * sysdeps/i386/fpu/e_logl.S: Likewise.
65672         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65673         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65674         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65675         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65676         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65677         * sysdeps/i386/fpu/e_log.S: Likewise.
65678         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65679         * sysdeps/i386/fpu/e_logf.S: Likewise.
65680         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65681         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65682         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65683         * sysdeps/i386/fpu/e_log10.S: Likewise.
65684         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65685         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65686         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65687         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65688         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65689         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65690         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65691         * sysdeps/i386/i686/strtok.S: Likewise.
65692         * sysdeps/i386/i386-mcount.S: Likewise.
65693         * sysdeps/i386/strtok.S: Likewise.
65694         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65695         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65696         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65697         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65698         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65699         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65700         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65701         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65702         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65703         * sysdeps/x86_64/_mcount.S: Likewise.
65704         * sysdeps/x86_64/strtok.S: Likewise.
65705         * sysdeps/sh/_mcount.S: Likewise.
65707 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65709         * libio/iofopen.c: Include <fcntl.h>.
65710         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65711         (_IO_fopen64, fopen64): Define as aliases.
65712         * libio/iofopen64.c: Include <fcntl.h>.
65713         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65714         Conditionalize body on this.
65715         * sysdeps/wordsize-64/iofopen.c: File removed.
65716         * sysdeps/wordsize-64/iofopen64.c: File removed.
65718 2012-08-01  Marek Polacek  <polacek@redhat.com>
65720         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65721         Use dlfcn directly instead of a variable.
65722         (binfmt-subdir): Do not define.
65723         (dlfcn): Likewise.
65725 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65728         Remove all definitions.
65729         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65730         <kernel-features.h>.
65731         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65732         (miss_F_GETOWN_EX): Remove all definitions.
65733         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65734         macro definition.
65735         [!__ASSUME_FCNTL64]: Remove conditional code.
65736         [__ASSUME_FCNTL64]: Make code unconditional.
65737         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65738         <kernel-features.h>.
65739         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65740         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65741         (lockf64) [__NR_fcntl64]: Make code unconditional.
65742         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65744         * sysdeps/unix/sysv/linux/kernel-features.h
65745         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65746         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65747         Make code unconditional.
65748         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65749         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65751         [__NR_vfork]: Make code unconditional.
65752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65755         [__NR_vfork]: Make code unconditional.
65756         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65757         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65759 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65761         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65762         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65764         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65765         Define mkstemp64 as an alias.
65766         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65767         Define mkstemps64 as an alias.
65768         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65769         Define mkostemp64 as an alias.
65770         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65771         Define mkostemps64 as an alias.
65772         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65773         Conditionalize body on this.
65774         * misc/mkostemp64.c: Likewise.
65775         * misc/mkostemps64.c: Likewise.
65776         * misc/mkstemps64.c: Likewise.
65777         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65778         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65779         * sysdeps/wordsize-64/mkostemp.c: File removed.
65780         * sysdeps/wordsize-64/mkstemp.c: File removed.
65781         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65782         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65783         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65784         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65786         [BZ #14138]
65787         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65788         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65789         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65790         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65792         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65793         compat_symbol macros from <shlib-compat.h> rather than the underlying
65794         default_symbol_version and symbol_version macros, so that DEFAULT
65795         lines in shlib-versions are respected.
65796         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65798 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65800         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65801         Declare with warn_unused_result.
65802         (setgid, setregid, setegid, setresgid): Likewise.
65803         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65804         Likewise.
65805         * WUR-REPORT: Remove set*id functions.
65807 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65809         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65811 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65813         [BZ #10191]
65814         * include/sys/socket.h (__libc_accept, __libc_accept4):
65815         Add attribute_hidden.
65816         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65818         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65819         use of PTR_MANGLE.
65820         * inet/getnetgrent_r.c (setup): Likewise.
65822         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65824 2012-07-31  David S. Miller  <davem@davemloft.net>
65826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65828 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65830         [BZ #13629]
65831         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65832         value between 1.0 and 2.0 and smaller part has absolute value less
65833         than 1.0.
65834         * math/s_clog10.c (__clog10): Likewise.
65835         * math/s_clog10f.c (__clog10f): Likewise.
65836         * math/s_clog10l.c (__clog10l): Likewise.
65837         * math/s_clogf.c (__clogf): Likewise.
65838         * math/s_clogl.c (__clogl): Likewise.
65839         * math/libm-test.inc (clog_test): Add more tests.
65840         (clog10_test): Likewise.
65841         * sysdeps/i386/fpu/libm-test-ulps: Update.
65842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65844 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65846         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65847         Exit with zero in case no suitable GID is found, and write a
65848         message to standard error.
65850 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65852         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65853         rather than to 1.
65854         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65855         (MAXPATHLEN): Removed.
65856         (NOGROUP, NODEV): New macros.
65857         (setbit, clrbit, isset, isclr): New macros.
65858         (howmany, roundup, powerof2): New macros.
65859         (DEV_BSIZE): New macro.
65861         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65862         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65864         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65865         definition on [!__NO_LONG_DOUBLE_MATH].
65867         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65868         PTR_MANGLE and PTR_DEMANGLE.
65870         * socket/accept4.c (accept4): Rename to __libc_accept4.
65871         Define accept4 as a weak alias.
65873         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65874         on [_DIRENT_HAVE_D_TYPE].
65875         * io/ftw.c (ftw_dir): Likewise.
65877         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65879         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65881         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65882         Use the BSD numbers rather than the arbitrary ones we had.
65883         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65884         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65885         (SIGXCPU, SIGXFSZ): New macros.
65886         (_NSIG): Now 32.
65888         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65889         initializer on [_LIBC_REENTRANT].
65891         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65892         definitions inside [_POSIX_MAPPED_FILES].
65894         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65896         * dirent/opendir.c: Include <fcntl.h>.
65898         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65899         (__libc_getspecific): Likewise.
65900         (__libc_key_create): Likewise.
65902         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65903         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65904         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65905         (tmpfile64): Define as alias.
65906         * sysdeps/wordsize-64/tmpfile.c: File removed.
65907         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65908         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65909         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65911         * stdio-common/vfscanf.c: Include <stdbool.h>.
65912         * nss/makedb.c: Likewise.
65913         * stdio-common/_i18n_number.h: Likewise.
65914         * argp/argp-help.c: Likewise.
65915         * posix/wordexp.c: Likewise.
65916         * sysdeps/posix/spawni.c: Likewise.
65917         * nss/nss_files/files-initgroups.c: Likewise.
65918         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65919         * nss/nss_files/files-initgroups.c: Likewise.
65920         * nss/nss_db/db-netgrp.c: Likewise.
65921         * nss/nss_db/db-initgroups.c: Likewise.
65922         * io/fchmodat.c: Include <sys/stat.h>.
65924         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65925         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65927         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65928         [HAVE_MMAP].
65930         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65931         Add multiple inclusion protection.
65933 2012-07-27  David S. Miller  <davem@davemloft.net>
65935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65937 2012-07-27  Gary Benson  <gbenson@redhat.com>
65939         [BZ #14298]
65940         * elf/rtld.c: Include <stap-probe.h>.
65941         (dl_main): Added static probes "init_start" and "init_complete".
65942         * elf/dl-load.c: Include <stap-probe.h>.
65943         (lose): Take new parameter "nsid".
65944         Added static probe "map_failed".
65945         (_dl_map_object_from_fd): Pass namespace id to lose.
65946         Added static probe "map_start".
65947         (open_verify): Pass namespace id to lose.
65948         * elf/dl-open.c: Include <stap-probe.h>.
65949         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65950         and "reloc_complete".
65951         * elf/dl-close.c: Include <stap-probe.h>.
65952         (_dl_close_worker): Added static probes "unmap_start" and
65953         "unmap_complete".
65954         * elf/rtld-debugger-interface.txt: New file documenting the above.
65956 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65958         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65959         rather than a string variable.
65960         * sunrpc/rpc_main.c (h_output): Likewise.
65961         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65963 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65965         * inet/check_native.c: New file.
65967 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65969         [BZ #13629]
65970         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65971         if larger part has absolute value 1.0.
65972         * math/s_clog10.c (__clog10): Likewise.
65973         * math/s_clog10f.c (__clog10f): Likewise.
65974         * math/s_clog10l.c (__clog10l): Likewise.
65975         * math/s_clogf.c (__clogf): Likewise.
65976         * math/s_clogl.c (__clogl): Likewise.
65977         * math/libm-test.inc (clog_test): Add more tests.
65978         (clog10_test): Likewise.
65979         * sysdeps/i386/fpu/libm-test-ulps: Update.
65980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65982         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65983         (pltexit): Likewise.
65984         (La_regs): Likewise.
65985         (La_retval): Likewise.
65986         (int_retval): Likewise.
65987         Update #error for removed macros to refer only to definitions in
65988         tst-audit.h.
65989         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65990         macro.
65991         (pltexit): Likewise.
65992         (La_regs): Likewise.
65993         (La_retval): Likewise.
65994         (int_retval): Likewise.
65995         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65996         macro.
65997         (pltexit): Likewise.
65998         (La_regs): Likewise.
65999         (La_retval): Likewise.
66000         (int_retval): Likewise.
66001         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66002         macro.
66003         (pltexit): Likewise.
66004         (La_regs): Likewise.
66005         (La_retval): Likewise.
66006         (int_retval): Likewise.
66007         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66008         macro.
66009         (pltexit): Likewise.
66010         (La_regs): Likewise.
66011         (La_retval): Likewise.
66012         (int_retval): Likewise.
66013         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66014         macro.
66015         (pltexit): Likewise.
66016         (La_regs): Likewise.
66017         (La_retval): Likewise.
66018         (int_retval): Likewise.
66019         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66020         macro.
66021         (pltexit): Likewise.
66022         (La_regs): Likewise.
66023         (La_retval): Likewise.
66024         (int_retval): Likewise.
66025         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66026         macro definitions in tst-audit.h.
66027         * sysdeps/i386/tst-audit.h: New file.
66028         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66029         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66030         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66031         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66032         * sysdeps/sh/tst-audit.h: Likewise.
66033         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66034         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66035         * sysdeps/x86_64/tst-audit.h: Likewise.
66037 2012-07-26  Andreas Jaeger  <aj@suse.de>
66039         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66040         ptrace.
66042         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66043         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66044         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66045         PTRACE_O_MASK.
66046         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66047         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66048         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66050         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66051         value.
66053         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66054         _sigsys.
66055         (si_call_addr, si_syscall, si_arch): Define new macro.
66056         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66057         _sigsys.
66058         (si_call_addr, si_syscall, si_arch): Define new marcro.
66059         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66060         _sigsys.
66061         (si_call_addr, si_syscall, si_arch): Define new macro.
66062         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66063         _sigsys.
66064         (si_call_addr, si_syscall, si_arch): Define new macro.
66066 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66068         [BZ #13717]
66069         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66070         Change to 2.4.21 where previously 2.4.1.
66071         * sysdeps/unix/sysv/linux/configure: Regenerated.
66072         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66073         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66074         Linux kernel version.
66075         (__ASSUME_STD_AUXV): Remove.
66076         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66077         kernel version.
66078         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66079         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66080         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66081         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66082         (__ASSUME_NETLINK_SUPPORT): Likewise.
66083         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66084         (__no_netlink_support): Remove conditional definition.
66085         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66086         Remove.
66087         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66088         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66089         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66090         (if_nameindex_ioctl): Remove.
66091         (if_nameindex_netlink): Do not handle __no_netlink_support.
66092         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66093         code.
66094         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66095         Remove conditional code.
66096         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66097         code.
66098         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66099         unconditional.
66100         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66101         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66102         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66103         Remove.
66104         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66105         [!__ASSUME_STD_AUXV]: Remove conditional code.
66106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66107         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66108         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66110         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66111         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66112         code.
66113         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66115         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66116         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66117         conditional code.
66118         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66120         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66121         code.
66122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66123         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66124         conditional code.
66125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66126         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66127         code unconditional.
66128         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66129         conditional code.
66130         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66131         unconditional.
66132         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66133         conditional code.
66134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66135         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66136         unconditional.
66137         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66138         conditional code.
66139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66140         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66141         code unconditional.
66142         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66143         conditional code.
66144         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66145         unconditional.
66146         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66147         conditional code.
66148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66149         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66150         code unconditional.
66151         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66152         conditional code.
66153         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66154         unconditional.
66155         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66156         conditional code.
66158 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66160         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66161         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66162         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66163         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66164         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66165         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66166         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66167         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66168         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66169         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66170         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66171         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66172         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66173         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66174         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66175         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66176         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66177         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66178         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66180         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66181         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66182         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66184 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66186         * Versions.def: Add GLIBC_2.17.
66187         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66188         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66189         Introduce __libc_secure_getenv.
66190         * stdlib/Versions (2.17): Add secure_getenv
66191         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66192         * stdlib/secure-getenv.c: Rename __secure_getenv to
66193         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66194         symbol __secure_getenv for GLIBC_2.0.
66195         * stdlib/tst-secure-getenv.c: New.
66196         * stdlib/Makefile (tests): Add testcase.
66197         * manual/startup.texi (Environment Access): Document
66198         secure_getenv.
66199         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66200         __libc_secure_getenv.
66201         * inet/ruserpass.c (ruserpass): Likewise.
66202         * malloc/mtrace.c (mtrace): Likewise.
66203         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66204         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66205         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66206         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66207         HAVE_SECURE_GETENV.
66208         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66209         __secure_getenv to __libc_secure_getenv.
66210         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66212         Likewise.
66213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66214         Likewise.
66215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66217         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66223 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66225         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66226         (struct La_i86_retval): Likewise.
66227         (struct La_x86_64_regs): Likewise.
66228         (struct La_x86_64_retval): Likewise.
66229         (struct La_x32_regs): Likewise.
66230         (struct La_x32_retval): Likewise.
66231         (struct La_ppc32_regs): Likewise.
66232         (struct La_ppc32_retval): Likewise.
66233         (struct La_ppc64_regs): Likewise.
66234         (struct La_ppc64_retval): Likewise.
66235         (struct La_sh_regs): Likewise.
66236         (struct La_sh_retval): Likewise.
66237         (struct La_s390_32_regs): Likewise.
66238         (struct La_s390_32_retval): Likewise.
66239         (struct La_s390_64_regs): Likewise.
66240         (struct La_s390_64_retval): Likewise.
66241         (struct La_sparc32_regs): Likewise.
66242         (struct La_sparc32_retval): Likewise.
66243         (struct La_sparc64_regs): Likewise.
66244         (struct La_sparc64_retval): Likewise.
66245         (struct audit_ifaces): Remove architecture-specific pltenter and
66246         pltexit members.
66247         * sysdeps/i386/ldsodefs.h: New file.
66248         * sysdeps/powerpc/ldsodefs.h: Likewise.
66249         * sysdeps/s390/ldsodefs.h: Likewise.
66250         * sysdeps/sh/ldsodefs.h: Likewise.
66251         * sysdeps/sparc/ldsodefs.h: Likewise.
66252         * sysdeps/x86_64/ldsodefs.h: Likewise.
66254 2012-07-25  Marek Polacek  <polacek@redhat.com>
66256         [BZ #6808]
66257         * math/libm-test.inc (yn_test): Add another test.
66258         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66259         to ERANGE when the result is +-Inf.
66260         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66261         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66262         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66263         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66265 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66267         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66268         equal to 0.
66269         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66270         clock_t.
66271         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66273 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66275         * configure.in <sysdeps resolving>: Correct printing
66276         Implies_before.
66277         * configure: Regenerate.
66279 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66281         * math/w_ilogb.c: Include <limits.h>.
66282         * math/w_ilogbl.c: Likewise.
66284 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66286         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66287         va_copy.  Document allowing for unavailable va_copy only as
66288         pre-C99 compatibility.
66289         * manual/string.texi (Copying and Concatenation): Use va_copy
66290         instead of __va_copy in concat example.
66292 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66294         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66295         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66296         it if not null.
66298         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66299         with O_NOLINK passed to __file_name_lookup.
66301         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66302         with O_NOLINK passed to __file_name_lookup.
66304         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66305         negative N or less than NGIDS.
66307         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66308         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66309         enough.  Use memcpy instead of strncpy.
66311 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66313         * elf/Makefile (check-data): Remove.
66314         (localplt.data): New vpath directive.
66315         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66316         instead of $(check-data).
66317         * scripts/data/localplt-generic.data: Move to ...
66318         * sysdeps/generic/localplt.data: ... here.
66319         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66320         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66321         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66323         ... here.
66324         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66326         ... here.
66327         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66329         ... here.
66330         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66332         ... here.
66333         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66335         ... here.
66336         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66338         ... here.
66340 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66342         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66343         PPC32 and PPC64 files.
66344         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66345         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66347 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66349         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66350         __makecontext_ret to ...
66351         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66352         ... here and call exit if uc_link is NULL.  New file.
66353         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66354         __makecontext_ret.S.
66355         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66356         __makecontext_ret to ...
66357         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66358         ... here and call exit if uc_link is NULL.  New file.
66359         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66360         __makecontext_ret.S.
66362 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66364         * elf/elf.h (R_390_IRELATIVE): New definition.
66365         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66366         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66367         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66368         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66369         (elf_machine_lazy_rel): Likewise.
66370         * sysdeps/s390/dl-irel.h: New file.
66371         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66372         * sysdeps/s390/s390-64/memset.S: New asm code.
66373         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66374         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66375         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66376         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66377         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66378         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66379         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66380         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66381         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66382         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66383         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66384         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66385         * sysdeps/s390/s390-32/memset.S: New asm code.
66386         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66388 2012-07-17  Marek Polacek  <polacek@redhat.com>
66390         [BZ #14349]
66391         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66392         * sysdeps/s390/s390-64/configure.in: Likewise.
66393         * sysdeps/sparc/configure.in: Likewise.
66394         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66395         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66396         * sysdeps/i386/configure.in: Likewise.
66397         * sysdeps/x86_64/configure.in: Likewise.
66398         * sysdeps/sh/configure.in: Likewise.
66399         * sysdeps/s390/s390-32/configure: Regenerated.
66400         * sysdeps/s390/s390-64/configure: Likewise.
66401         * sysdeps/x86_64/configure: Likewise.
66402         * sysdeps/sh/configure: Likewise.
66403         * sysdeps/powerpc/powerpc64/configure: Likewise.
66404         * sysdeps/powerpc/powerpc32/configure: Likewise.
66405         * sysdeps/sparc/configure: Likwise.
66406         * sysdeps/i386/configure: Likewise.
66408         * elf/dl-open.c: Comment fixes.
66410 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66412         * Makefile [CXX] (check-data): Remove.
66413         [CXX] (c++-types.data): New vpath directive.
66414         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66415         vpath.  Do not allow for C++ type data being missing.
66416         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66417         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66418         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66419         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66420         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66421         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66422         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66424         ... here.
66425         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66427         ... here.
66428         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66430         ... here.
66431         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66433         ... here.
66434         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66436         ... here.
66437         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66439         ... here.
66440         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66442         ... here.
66443         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66446         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66447         definitions to architecture-specific files.
66448         (TLS_IE): Likewise.
66449         (TLS_LD): Likewise.
66450         (TLS_GD): Likewise.
66451         * sysdeps/i386/tls-macros.h: New file.
66452         * sysdeps/powerpc/tls-macros.h: Likewise.
66453         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66454         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66455         * sysdeps/sh/tls-macros.h: Likewise.
66456         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66457         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66458         * sysdeps/x86_64/tls-macros.h: Likewise.
66460 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66462         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66463         zero value for regular exit case.
66465         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66466         (__start_context): Preserve zero value for regular exit case.
66468 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66469             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66471         * manual/setjmp.texi (setcontext): Clarify normal process
66472         termination when uc_link is the null pointer.
66473         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66474         exit call.
66476 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66478         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66479         preprocessor.  Test for each exception mask separately.
66481 2012-07-16  Andreas Jaeger  <aj@suse.de>
66483         * po/ru.po: Update from translation team.
66485 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66487         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66488         equal to 0.
66489         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66490         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66491         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66492         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66495 2012-07-13  Andreas Jaeger  <aj@suse.de>
66497         * po/fr.po: Update from translation team.
66499 2012-07-12  Marek Polacek  <polacek@redhat.com>
66501         [BZ #14173]
66502         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66503         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66504         loop condition.
66506 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66508         [BZ #13717]
66509         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66510         Change to 2.4.1 where previously 2.4.0.
66511         * sysdeps/unix/sysv/linux/configure: Regenerated.
66512         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66513         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66514         version.
66515         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66516         (__ASSUME_AT_CLKTCK): Remove.
66517         (__ASSUME_AT_PAGESIZE): Likewise.
66518         (__ASSUME_AT_XID): Likewise.
66519         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66520         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66521         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66522         unconditionally.
66523         (HAVE_AUX_PAGESIZE): Likewise.
66524         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66525         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66526         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66528 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66530         [BZ #14307]
66531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66532         the temporary buffer used to invoke __gethostbyname2_r,
66533         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66534         host_data / struct gaih_addrtuple.
66535         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66536         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66537         header file nss/nsswitch.h.
66538         * nss/nsswitch.h (global scope): Add definition of implementation
66539         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66540         resolv/nss_dns/dns-host.c).
66542 2012-07-11  Andreas Jaeger  <aj@suse.de>
66544         * po/fr.po: Update from translation team.
66546         * po/sv.po: Update from translation team
66547         * po/fr.po: Another update from translation team.
66549 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66551         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66552         for subnormals or multiply small sinh result by itself.
66553         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66556 2012-07-11  David S. Miller  <davem@davemloft.net>
66558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66560 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66562         [BZ #14347]
66563         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66564         (INTERNAL_MARK): Shift it here.
66566 2012-07-10  Marek Polacek  <polacek@redhat.com>
66568         [BZ #14151]
66569         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66570         libc_cv_asm_global_directive with .globl.
66571         * configure: Regenerated.
66572         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66573         with .globl.
66574         * sysdeps/i386/configure: Regenerated.
66575         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66576         with .globl.
66577         * sysdeps/x86_64/configure: Regenerated.
66578         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66579         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66580         * elf/tst-unique2mod2.c: Likewise.
66581         * elf/tst-unique2mod1.c: Likewise.
66582         * elf/tst-unique1mod2.c: Likewise.
66583         * elf/tst-unique1mod1.c: Likewise.
66584         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66585         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66586         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66587         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66588         * sysdeps/mach/sysdep.h: Likewise.
66589         * sysdeps/i386/sysdep.h: Likewise.
66590         * sysdeps/i386/i386-mcount.S: Likewise.
66591         * sysdeps/x86_64/_mcount.S: Likewise.
66592         * sysdeps/x86_64/sysdep.h: Likewise.
66593         * sysdeps/sh/_mcount.S: Likewise.
66594         * sysdeps/sh/sysdep.h: Likewise.
66595         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66596         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66597         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66598         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66599         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66600         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66601         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66602         * locale/localeinfo.h: Likewise.
66603         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66604         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66606 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66608         [BZ #14336]
66609         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66610         system".
66611         * manual/message.texi (The Uniforum approach): Likewise.
66612         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66613         (glibc iconv Implementation): Likewise.
66615 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66617         [BZ #14337]
66618         * math/s_clog.c (__clog): Avoid scaling a value down where that
66619         could result in underflow.
66620         * math/s_clog10.c (__clog10): Likewise.
66621         * math/s_clog10f.c (__clog10f): Likewise.
66622         * math/s_clog10l.c (__clog10l): Likewise.
66623         * math/s_clogf.c (__clogf): Likewise.
66624         * math/s_clogl.c (__clogl): Likewise.
66625         * math/libm-test.inc (clog_test): Add more tests.
66626         (clog10_test): Likewise.
66627         * sysdeps/i386/fpu/libm-test-ulps: Update.
66628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66630 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66632         [BZ #14283]
66633         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66634         by 7 not 8 to examine high bit of fractional part.
66636         [BZ #14042]
66637         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66638         for call to __mcount_internal.
66639         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66640         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66641         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66643 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66645         [BZ #14154]
66646         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66647         approximation for values within 0x1p-13f of an odd multiple of
66648         pi/4.
66649         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66650         exception.  Add more tests.
66651         * sysdeps/i386/fpu/libm-test-ulps: Update.
66653         [BZ #6778]
66654         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66655         inputs and return -1 for them.  Do not check for +Inf in case not
66656         reachable for +Inf.
66657         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66658         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66659         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66660         and return -1 for them.  Do not check for +Inf in case not
66661         reachable for +Inf.
66662         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66663         define.
66664         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66665         and return -1 for them.  Do not check for +Inf in case not
66666         reachable for +Inf.
66667         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66668         spurious underflow.
66669         * sysdeps/i386/fpu/libm-test-ulps: Update.
66670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66672 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66674         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66676 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66678         [BZ #14157]
66679         [BZ #14331]
66680         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66681         could result in spurious underflow.  Scale down values above
66682         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66683         * math/s_csqrtf.c (__csqrtf): Likewise.
66684         * math/s_csqrtl.c (__csqrtl): Likewise.
66685         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66686         spurious underflow.
66687         * sysdeps/i386/fpu/libm-test-ulps: Update.
66688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66690 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66692         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66693         xopen-msg.sed.
66694         * catgets/xopen-msg.awk: New file.
66695         * catgets/xopen-msg.sed: Removed.
66697         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66698         po2text.sed.
66699         * intl/po2test.awk: New file.
66700         * intl/po2test.sed: Removed.
66702 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66704         [BZ #14328]
66705         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66706         or multiply small sinh result by itself.
66707         * math/s_ctanf.c (__ctanf): Likewise.
66708         * math/s_ctanh.c (__ctanh): Likewise.
66709         * math/s_ctanhf.c (__ctanhf): Likewise.
66710         * math/s_ctanhl.c (__ctanhl): Likewise.
66711         * math/s_ctanl.c (__ctanl): Likewise.
66712         * math/libm-test.inc (ctan_test_tonearest): New function.
66713         (ctan_test_towardzero): Likewise.
66714         (ctan_test_downward): Likewise.
66715         (ctan_test_upward): Likewise.
66716         (ctanh_test_tonearest): Likewise.
66717         (ctanh_test_towardzero): Likewise.
66718         (ctanh_test_downward): Likewise.
66719         (ctanh_test_upward): Likewise.
66720         (main): Call these new functions.
66721         * sysdeps/i386/fpu/libm-test-ulps: Update.
66722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66724 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66726         * .gitignore: Delete /ports entry.
66728 2012-07-03  Andreas Jaeger  <aj@suse.de>
66730         * po/bg.po: Update from translation team.
66731         * po/cs.po: Likewise.
66732         * po/de.po: Likewise.
66733         * po/hr.po: Likewise.
66734         * po/nl.pl: Likewise.
66735         * po/pl.po: Likewise.
66736         * po/vi.po: Likewise.
66738 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66740         * Makeconfig [!+link] (+link-before-libc): New variable.
66741         [!+link] (+link-after-libc): Likewise.
66742         [!+link] (+link-tests): Likewise.
66743         [!+link] (+link): Define in terms of $(+link-before-libc) and
66744         $(+link-after-libc).
66745         [!+link-static] (+link-static-before-libc): New variable.
66746         [!+link-static] (+link-static-after-libc): Likewise.
66747         [!+link-static] (+link-static-tests): Likewise.
66748         [!+link-static] (+link-static): Define in terms of
66749         $(+link-static-before-libc) and $(+link-static-after-libc).
66750         [build-shared] (link-libc-before-gnulib): New variable.
66751         [build-shared] (link-libc-tests): Likewise.
66752         [build-shared] (link-libc): Define in terms of
66753         $(link-libc-before-gnulib).
66754         [!build-shared] (link-libc-tests): New variable.
66755         (link-libc-static-tests): New variable.
66756         [!gnulib] (gnulib-arch): New variable.
66757         [!gnulib] (gnulib-tests): Likewise.
66758         [!gnulib] (static-gnulib-arch): Likewise.
66759         [!gnulib] (static-gnulib-tests): Likewise.
66760         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66761         Define with "=" instead of ":=".
66762         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66763         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66764         * Rules (binaries-all-notests): New variable.
66765         (binaries-all-tests): Likewise.
66766         (binaries-static-notests): Likewise.
66767         (binaries-static-tests): Likewise.
66768         (binaries-all): Define using $(binaries-all-notests) and
66769         $(binaries-all-tests).
66770         (binaries-static): Define using $(binaries-static-notests) and
66771         $(binaries-static-tests).
66772         (binaries-shared-tests): New variable.
66773         (binaries-shared-notests): Likewise.
66774         (binaries-shared): Remove variable.
66775         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66776         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66777         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66778         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66779         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66780         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66781         * elf/Makefile (sln-modules): New variable.
66782         (extra-objs): Add $(sln-modules:=.o).
66783         (ldconfig-modules): Add static-stubs.
66784         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66785         * elf/static-stubs.c: New file.
66787         [BZ #14283]
66788         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66789         by 7 not 8 to examine high bit of fractional part.  Use volatile
66790         variables when splitting into final array of floats if
66791         __FLT_EVAL_METHOD__ != 0.
66792         * math/libm-test.inc (cos_test): Add another test.
66793         (sin_test): Likewise.
66794         * sysdeps/i386/fpu/libm-test-ulps: Update.
66796         [BZ #14273]
66797         * math/libm-test.inc (cosh_test): Add more tests.
66799         * version.h (RELEASE): Set to "development".
66800         (VERSION): Set to "2.16.90".
66802 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66804         * NEWS: Update copyright. Remove last-updated date.
66805         Mention math library bug fixes and timezone data changes.
66806         * README: Mention GNU/Hurd, x32, and HPPA support status.
66808 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66810         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66812 2012-06-27  Andreas Jaeger  <aj@suse.de>
66814         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66816 2012-06-25  Andreas Jaeger  <aj@suse.de>
66818         * sysdeps/s390/fpu/libm-test-ulps: Update.
66820 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66821             Thomas Schwinge  <thomas@codesourcery.com>
66823         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66824         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66825         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66826         fanotify_mark.
66828 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66830         * sysdeps/mach/start.c: Remove file.
66831         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66832         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66833         * sysdeps/sh/init-first.c: Likewise.
66835         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66836         registers for frame unwinding purposes, add CFI directives.
66837         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66838         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66839         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66840         Likewise.
66842         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66843         __fortify_fail returning.
66844         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66846         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66847         sysdeps/sh/____longjmp_chk.S.
66848         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66849         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66850         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66851         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66853         * sysdeps/sh/abort-instr.h: New file.
66854         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66855         process in case exit returns.
66857         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66858         initialize the GOT register before use.
66860         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66861         calculation of ARGC > 4.
66863         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66864         meaningful names to some local labels.
66866 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66867             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66869         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66870         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66871         (__arch_compare_and_exchange_val_16_acq): Likewise.
66872         (__arch_compare_and_exchange_val_32_acq): Likewise.
66873         (atomic_exchange_and_add): Fix gUSA sequence.
66874         (atomic_add): Likewise.
66875         (atomic_add_negative): Likewise.
66876         (atomic_add_zero): Likewise.
66877         (atomic_bit_test_set): Likewise.
66879 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66881         [BZ #13579]
66882         * include/link.h (struct link_map): Add l_free_initfini.
66883         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66884         l_initfini.
66885         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66886         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66887         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66888         set.
66890 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66892         * configure.in: Use AC_LANG_SOURCE.
66893         * configure: Regenerate.
66895 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66897         * configure.in (libc_cv_localstatedir): New substituted variable.
66898         * configure: Regenerated.
66899         * config.make.in (localstatedir): New variable, substituted from
66900         libc_cv_localstatedir.
66901         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66902         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66903         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66904         * sysdeps/gnu/configure: Regenerated.
66906 2012-06-21  Jeff Law  <law@redhat.com>
66908         [BZ #14277]
66909         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66910         free.  Simplify list management for _LIBC case.
66912 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66914         [BZ #14273]
66915         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66916         Clear sign bit of 64-bit integer value before comparing against
66917         overflow value.
66919         * sysdeps/mach/configure: Regenerated.
66921 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66923         [BZ #14278]
66924         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66926 2012-06-21  Jeff Law  <law@redhat.com>
66928         [BZ #13882]
66929         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66930         uint16_t for elements in the "seen" array to avoid char overflows.
66931         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66932         * elf/dl-open.c (dl_open_worker): Likewise.
66934 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66936         * scripts/list-sources.sh: Scan PORTS for translations.
66937         * po/libc.pot: Regenerated.
66939 2012-06-21  Andreas Jaeger  <aj@suse.de>
66941         [BZ #12194]
66942         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66943         warning.
66944         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66945         * bits/byteswap-16.h (__bswap_16): Likewise.
66946         * bits/byteswap.h (__bswap_constant_16): Likewise.
66948 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66950         [BZ #14117]
66951         * sysdeps/i386/fpu_control.h: Removed.
66952         * sysdeps/x86_64/fpu_control.h: Moved to ...
66953         * sysdeps/x86/fpu_control.h: Here.
66955         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66956         (_FPU_SETCW): Likewise.
66958 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66960         [BZ #14117]
66961         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66962         * sysdeps/x86/fpu/bits/mathinline.h: This.
66963         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66965         [BZ #14050]
66966         [BZ #14117]
66967         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66968         functions if __x86_64__ is defined.
66970 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66972         * string/endian.h: Add !__ASSEMBLER__ condition for including
66973         conversion interfaces.
66975 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66977         [BZ #14241]
66978         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66979         of ABS(x) in calculating zero to negative powers other than odd
66980         integers.
66981         * math/libm-test.inc (pow_test): Add more tests.
66983 2012-06-15  Andreas Jaeger  <aj@suse.de>
66985         * manual/contrib.texi (Contributors): Update entry of Liubov
66986         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66987         Machado Filho.
66989 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66991         * string/string.h: Add __wur to GNU version of strerror_r.
66993 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66995         [BZ #14229]
66996         * string/Makefile (tests): Add tst-strtok_r.
66997         * string/tst-strtok_r.c: New file.
66998         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66999         RAX_LP/RDX_LP on SAVE_PTR.
67001 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67003         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67005 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67007         * libm_test.inc (csqrt_test): Allow more spurious underflow
67008         exceptions.
67009         (j0_test): Likewise.
67010         (j1_test): Likewise.
67011         (y0_test): Likewise.
67012         (y1_test): Likewise.
67014 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67016         * po/Makefile (libc.pot): Use UTF-8 charset.
67018 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67020         [BZ #14210]
67021         Suppress sign-conversion warning from FD_SET.
67022         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67023         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67024         not unsigned long int.
67025         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67027 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67029         [BZ #14050]
67030         [BZ #14117]
67031         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67032         __extern_always_inline instead of __extern_inline.
67033         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67034         (__signbit): Likewise.
67035         (__signbitl): Support C++ namespace.
67036         (lrintf): New inline function.
67037         (lrint): Likewise.
67038         (llrintf): Likewise.
67039         (llrint): Likewise.
67040         (fmaxf): Likewise.
67041         (fmax): Likewise.
67042         (fminf): Likewise.
67043         (fmin): Likewise.
67044         (rint): Likewise.
67045         (rintf): Likewise.
67046         (ceil): Likewise.
67047         (ceilf): Likewise.
67048         (floor): Likewise.
67049         (floorf): Likewise.
67050         (nearbyint): Likewise.
67051         (nearbyintf): Likewise.
67053 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67055         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67056         non-default versions.
67058 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67060         [BZ #14218]
67061         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67063 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67065         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67066         (FE_UPWARD, FE_DOWNWARD): Don't define.
67067         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67068         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67070         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67071         reading it.
67072         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67073         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67075 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67077         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67078         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67079         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67080         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67082 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67084         [BZ #14117]
67085         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67086         * sysdeps/i386/fpu/Implies: New file.
67087         * sysdeps/x86_64/fpu/Implies: Likewise.
67088         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67089         * sysdeps/x86/fpu/bits/fenv.h: This.
67091         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67092         __SSE_MATH__.
67094 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67096         [BZ #14134]
67097         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67098         character 0xffff that matches the last element of the
67099         conversion table.
67101 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67103         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67104         fmodl commit.
67106 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67108         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67109         values higher than 25.6283.
67111 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67113         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67114         subnormal exponent extraction and add some __builtin_expect.
67115         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67116         Fix for subnormal mantissa calculation.
67118 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67120         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67121         cpu2 is -1 and errno is not ENOSYS.
67123 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67125         [BZ #14117]
67126         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67127         * sysdeps/x86/bits/string.h: This.
67128         * sysdeps/x86_64/bits/string.h: Removed.
67130         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67131         if not compiling for x86-64, but compiling for >= i486.
67133         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67134         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67136         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67137         New macro from Linux kernel 3.4.0.
67138         (FP_XSTATE_MAGIC2): Likewise.
67139         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67140         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67141         (struct _fpx_sw_bytes): New struct.
67142         (struct _xsave_hdr): Likewise.
67143         (struct _ymmh_state): Likewise.
67144         (struct _xstate): Likewise.
67146         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67147         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67148         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67149         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67150         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67151         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67153         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67154         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67155         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67156         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67157         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67158         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67160 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67162         [BZ #13743]
67163         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67164         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67165         (sysdep_headers): Include sys/platform/ppc.h.
67166         * sysdeps/powerpc/test-gettimebase.c: Test for
67167         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67168         * manual/Makefile (appendices): Include platform.texi.
67169         * manual/contrib.texi (Contributors): Update @node pointers.
67170         * manual/maint.texi (Maintenance): Likewise.
67171         (Platform): New node.
67172         * manual/platform.texi: New file.  Document the new features.
67174 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67175             Jakub Jelinek  <jakub@redhat.com>
67177         [BZ #14188]
67178         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67179         where __builtin_expect is unavailable.
67181 2012-06-03  David S. Miller  <davem@davemloft.net>
67183         * stdlib/longlong.h: Updated from GCC.
67185 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67187         [BZ #14042]
67188         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67189         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67190         __mcount_internal.
67191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67192         (GLIBC_2.16): Likewise.
67194 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67196         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67198 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67201         (default-abi): New variable.
67202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67203         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67204         variable.
67205         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67206         Likewise.
67207         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67208         Likewise.
67209         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67210         Likewise.
67212         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67213         definition.  Document in comment.
67215 2012-06-01  David S. Miller  <davem@davemloft.net>
67217         * stdlib/longlong.h: Updated from GCC.
67219 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67221         [BZ #14117]
67222         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67223         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67224         sys/debugreg.h sys/io.h here.
67225         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67226         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67227         sys/io.h.
67228         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67229         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67230         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67231         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67232         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67233         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67235         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67236         Define only if __x86_64__ is defined.
67238 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67240         [BZ #14048]
67241         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67242         Use int64_t for variable i.
67243         * math/libm-test.inc (fmod_test): Add more tests.
67245         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67246         z computation is not scheduled after fetestexcept.
67247         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67248         Use math_force_eval instead of asm to ensure calculation scheduled
67249         before exception test.
67250         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67251         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67253 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67256         computation is not scheduled after fetestexcept.
67258 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67260         [BZ #14117]
67261         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67262         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67264 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67266         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67267         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67269 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67271         [BZ #14117]
67272         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67273         <bits/wordsize.h>.
67274         (__WCHAR_MIN): Support __WORDSIZE == 64.
67275         (__WCHAR_MAX): Likewise.
67277         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67278         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67280         [BZ #14183]
67281         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67282         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67284         [BZ #14117]
67285         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67286         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67288         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67289         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67291         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67292         Defined to 1 if __x86_64__ isn't defined.
67293         (_STAT_VER_LINUX_OLD): New.
67294         (st_atime): Remove duplicate.
67295         (st_mtime): Likewise.
67296         (st_ctime): Likewise.
67298 2012-05-31  David S. Miller  <davem@davemloft.net>
67300         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67301         entries.
67303 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67305         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67306         gen-libm-test.pl.
67308         [BZ #14132]
67309         * elf/dl-reloc.c: Include <_itoa.h>.
67310         (_dl_reloc_bad_type): Remove use of INTUSE.
67311         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67312         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67313         * stdio-common/psiginfo.c (psiginfo): Likewise.
67314         * stdio-common/psignal.c (psignal): Likewise.
67315         * string/strsignal.c (strsignal): Likewise.
67316         * include/signal.h (_sys_siglist): Declare hidden proto.
67317         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67318         INTVARDEF with libc_hidden_data_def.
67319         * stdio-common/itoa-udigits.c: Likewise.
67320         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67321         (_itoa_lower_digits_internal): Remove declaration.
67322         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67323         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67324         (_sys_sigabbrev_internal): Remove aliases.
67325         (_sys_siglist): Define hidden alias.
67327 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67330         bits/sysctl.h.
67332 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67334         [BZ #14117]
67335         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67336         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67338         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67339         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67340         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67341         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67342         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67343         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67345         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67346         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67347         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67349         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67350         with __addr.
67351         (insw): Likewise.
67352         (insl): Likewise.
67353         (outsb): Likewise.
67354         (outsw): Likewise.
67355         (outsl): Likewise.
67357         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67358         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67359         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67361         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67362         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67364         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67365         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67366         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67368         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67369         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67371         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67372         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67374         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67378         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67379         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67380         to ...
67381         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67383         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67384         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67385         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67387         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67388         for x86-64.
67389         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67391 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67393         * math/math.h (M_El): Use two more decimal places.
67394         (M_LOG2El): Likewise.
67395         (M_LOG10El): Likewise.
67396         (M_LN2l): Likewise.
67397         (M_LN10l): Likewise.
67398         (M_PIl): Likewise.
67399         (M_PI_2l): Likewise.
67400         (M_PI_4l): Likewise.
67401         (M_1_PIl): Likewise.
67402         (M_2_PIl): Likewise.
67403         (M_2_SQRTPIl): Likewise.
67404         (M_SQRT2l): Likewise.
67405         (M_SQRT1_2l): Likewise.
67407 2012-05-31  David S. Miller  <davem@davemloft.net>
67409         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67410         values between float registers.
67411         * sysdeps/sparc/sparc64/memset.S: Likewise.
67412         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67414 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67416         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67417         -D_FORTIFY_SOURCE=1.
67418         (CPPFLAGS-tst-longjmp_chk.c): Define.
67419         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67420         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67421         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67422         CFLAGS-tst-wchar-h.c.
67424 2012-05-31  Marek Polacek  <polacek@redhat.com>
67426         [BZ #14132]
67427         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67428         __endmntent_internal): Remove declaration.
67429         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67430         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67431         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67433 2012-05-30  David S. Miller  <davem@davemloft.net>
67435         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67436         (___Q_simulate_exceptions): Use real FP ops rather than writing
67437         into the %fsr.
67438         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67439         Likewise.
67441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67443         [BZ #14117]
67444         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67445         * sysdeps/x86/bits/xtitypes.h: This.
67447         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67448         * sysdeps/x86/bits/wordsize.h: This.
67450         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67451         * sysdeps/x86/bits/huge_vall.h: This.
67453         * sysdeps/i386/bits/select.h: Removed.
67454         * sysdeps/x86_64/bits/select.h: Renamed to ...
67455         * sysdeps/x86/bits/select.h: This.
67457         * sysdeps/i386/bits/setjmp.h: Removed.
67458         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67459         * sysdeps/x86/bits/setjmp.h: This.
67461         * sysdeps/i386/bits/mathdef.h: Removed.
67462         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67463         * sysdeps/x86/bits/mathdef.h: This.
67465 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67467         [BZ #14132]
67468         * include/sys/socket.h (__connect_internal)
67469         (__libc_sa_len_internal): Remove declaration.
67470         (__connect, __libc_sa_len): Declare hidden_proto.
67471         (SA_LEN): Remove use of INTUSE.
67472         * socket/connect.c: Add libc_hidden_def.
67473         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67474         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67475         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67476         alias.
67477         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67478         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67479         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67480         of adding _internal alias.
67482 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67484         [BZ #14117]
67485         * sysdeps/i386/bits/link.h: Removed.
67486         * sysdeps/i386/bits/linkmap.h: Likewise.
67487         * sysdeps/x86_64/bits/link.h: Renamed to ...
67488         * sysdeps/x86/bits/link.h: This.
67489         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67490         * sysdeps/x86/bits/linkmap.h: This.
67492         * sysdeps/i386/bits/endian.h: Removed.
67493         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67494         * sysdeps/x86/bits/endian.h: This.
67496         * sysdeps/i386/bits/byteswap.h: Removed.
67497         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67498         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67499         * sysdeps/x86/bits/byteswap.h: This.
67500         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67501         * sysdeps/x86/bits/byteswap-16.h: This.
67502         * sysdeps/i386/Implies: Add x86.
67503         * sysdeps/x86_64/Implies: Likewise.
67505 2012-05-30  David S. Miller  <davem@davemloft.net>
67507         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67508         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67509         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67510         (FP_TRAPPING_EXCEPTIONS): Define.
67511         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67512         (FP_TRAPPING_EXCEPTIONS): Define.
67513         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67514         subnormals only when inexact has been signalled or underflow
67515         exceptions are enabled.
67516         (_FP_PACK_CANONICAL): Likewise.
67518 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67520         [BZ #14183]
67521         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67522         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67524 2012-05-30  Richard Henderson  <rth@twiddle.net>
67526         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67527         with #ifndef NOT_IN_libc.
67529         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67530         marked to avoid plt entry.
67532 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67534         [BZ #14112]
67535         * Makeconfig (default-abi): New macro.
67536         (abi-includes): Likewise.
67537         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67538         $(abi-$(default-abi)-lib-soname) for soname if defined.
67539         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67540         abi-variants.
67541         * Makefile (installed-stubs): Likewise.
67542         * include/stubs-biarch.h: Removed.
67543         * scripts/lib-names.awk: Only handle one library at a time.
67544         * scripts/soversions.awk: Remove WORDSIZE support.
67545         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67546         entries.
67547         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67548         Removed.
67549         (syscall-list-default-condition): Likewise.
67550         (syscall-list-default-condition): Likewise.
67551         (syscall-list-includes): Likewise.
67552         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67553         syscall-list-* with abi-*.  Handle undefined abi-variants.
67554         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67555         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67556         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67557         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67558         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67559         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67560         Removed.
67561         (syscall-list-32-options): Likewise.
67562         (syscall-list-32-condition): Likewise.
67563         (syscall-list-64-options): Likewise.
67564         (syscall-list-64-condition): Likewise.
67565         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67566         macro.
67567         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67568         Renamed to ...
67569         (abi-*): This.
67570         (abi-64-ld-soname): New macro.
67571         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67572         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67573         Renamed to ...
67574         (abi-*): This.
67575         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67576         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67578 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67580         * sysdeps/unix/sysv/linux/kernel-features.h
67581         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67582         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67583         include <kernel-features.h>.
67584         [!__NR_ftruncate64]: Remove conditional code.
67585         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67586         [__NR_ftruncate64]: Make code unconditional.
67587         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67588         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67589         include <kernel-features.h>.
67590         [!__NR_ftruncate64]: Remove conditional code.
67591         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67592         [__NR_ftruncate64]: Make code unconditional.
67593         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67595         include <kernel-features.h>.
67596         [!__NR_ftruncate64]: Remove conditional code.
67597         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67598         [__NR_ftruncate64]: Make code unconditional.
67599         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67601         include <kernel-features.h>.
67602         [!__NR_ftruncate64]: Remove conditional code.
67603         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67604         [__NR_ftruncate64]: Make code unconditional.
67605         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67607         * configure.in (libc_cv_fpie): Weaken to a compile test using
67608         LIBC_TRY_CC_OPTION.
67609         * configure: Regenerated.
67611 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67617         Refreshed.
67618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67624         Refreshed.
67626 2012-05-27  David S. Miller  <davem@davemloft.net>
67628         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67629         (___Q_zero): New.
67630         (__Q_simulate_exceptions): Return void.  Change to simulate
67631         exceptions by writing into the %fsr.
67632         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67633         (__Qp_handle_exceptions): Likewise.
67634         (numbers): Delete.
67635         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67636         __Qp_handle_exceptions.
67637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67638         __Qp_handle_exceptions.
67639         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67640         as unused and give dummy FP_RND_NEAREST initializer.
67641         (FP_INHIBIT_RESULTS): Define.
67642         (___Q_simulate_exceptions): Update declaration.
67643         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67644         formatting.
67645         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67646         as unused and give dummy FP_RND_NEAREST initializer.
67647         (__Qp_handle_exceptions): Update declaration.
67648         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67649         formatting.
67651 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67653         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67654         the temporary FPU control word.
67655         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67656         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67657         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67658         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67659         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67660         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67661         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67662         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67663         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67664         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67665         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67667 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67669         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67670         fields.
67672 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67674         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67675         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67676         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67677         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67678         Likewise.
67679         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67680         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67681         Likewise.
67683 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67685         * po/h.po: Update from translation team.
67687 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67689         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67691         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67692         handling of denormals.
67693         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67694         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67695         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67696         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67697         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67699         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67700         Likewise.
67702 2012-05-26  Marek Polacek  <polacek@redhat.com>
67704         [BZ #14152]
67705         * math/libm-test.inc (fma_test): Don't always expect underflow
67706         exception.
67708 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67710         [BZ #12416]
67711         * elf/tst-execstack.c: Include stackinfo.h.
67712         (do_test): Adjust test case to ensure that pthread_getattr_np
67713         behaviour remains the same after marking stack executable.
67715 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67717         * sysdeps/unix/sysv/linux/kernel-features.h
67718         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67719         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67720         kernel-features.h.
67721         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67722         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67723         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67724         kernel-features.h.
67725         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67726         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67728 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67730         * configure.in: Define the default includes to being none.
67731         * configure: Regenerated.
67733 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67735         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67736         * sysdeps/x86_64/setjmp.S: Likewise.
67737         * sysdeps/i386/bsd-setjmp.S: Likewise.
67738         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67739         * sysdeps/i386/setjmp.S: Likewise.
67740         * sysdeps/i386/__longjmp.S: Likewise.
67741         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67742         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67744         * include/stap-probe.h: New file.
67745         * configure.in: Handle --enable-systemtap.
67746         * configure: Regenerated.
67747         * config.h.in (USE_STAP_PROBE): New #undef.
67748         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67749         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67750         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67752 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67754         [BZ #13717]
67755         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67756         to 2.4.0 where earlier.
67757         * sysdeps/unix/sysv/linux/configure: Regenerated.
67758         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67759         <kernel-features.h>.
67760         [__ASSUME_32BITUIDS]: Make code unconditional.
67761         [!__ASSUME_32BITUIDS]: Remove conditional code.
67762         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67763         <kernel-features.h>.
67764         [__ASSUME_32BITUIDS]: Make code unconditional.
67765         [!__ASSUME_32BITUIDS]: Remove conditional code.
67766         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67767         [__ASSUME_32BITUIDS]: Make code unconditional.
67768         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67769         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
67774         <kernel-features.h>.
67775         [__ASSUME_32BITUIDS]: Make code unconditional.
67776         [!__ASSUME_32BITUIDS]: Remove conditional code.
67777         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67778         <kernel-features.h>.
67779         [__ASSUME_32BITUIDS]: Make code unconditional.
67780         [!__ASSUME_32BITUIDS]: Remove conditional code.
67781         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67782         <kernel-features.h>.
67783         [__ASSUME_32BITUIDS]: Make code unconditional.
67784         [!__ASSUME_32BITUIDS]: Remove conditional code.
67785         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67786         <kernel-features.h>.
67787         [__ASSUME_32BITUIDS]: Make code unconditional.
67788         [!__ASSUME_32BITUIDS]: Remove conditional code.
67789         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67790         <kernel-features.h>.
67791         [__ASSUME_32BITUIDS]: Make code unconditional.
67792         [!__ASSUME_32BITUIDS]: Remove conditional code.
67793         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67794         <kernel-features.h>.
67795         [__ASSUME_32BITUIDS]: Make code unconditional.
67796         [!__ASSUME_32BITUIDS]: Remove conditional code.
67797         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67798         <kernel-features.h>.
67799         [__ASSUME_32BITUIDS]: Make code unconditional.
67800         [!__ASSUME_32BITUIDS]: Remove conditional code.
67801         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67802         <kernel-features.h>.
67803         [__ASSUME_32BITUIDS]: Make code unconditional.
67804         [!__ASSUME_32BITUIDS]: Remove conditional code.
67805         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67806         <kernel-features.h>.
67807         [__ASSUME_32BITUIDS]: Make code unconditional.
67808         [!__ASSUME_32BITUIDS]: Remove conditional code.
67809         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67810         <kernel-features.h>.
67811         [__NR_setresgid] (__setresgid): Do not declare.
67812         [__ASSUME_32BITUIDS]: Make code unconditional.
67813         [!__ASSUME_32BITUIDS]: Remove conditional code.
67814         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67815         <kernel-features.h>.
67816         [__NR_setresuid] (__setresuid): Do not declare.
67817         [__ASSUME_32BITUIDS]: Make code unconditional.
67818         [!__ASSUME_32BITUIDS]: Remove conditional code.
67819         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67820         <kernel-features.h>.
67821         [__ASSUME_32BITUIDS]: Make code unconditional.
67822         [!__ASSUME_32BITUIDS]: Remove conditional code.
67823         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67824         <kernel-features.h>.
67825         [__ASSUME_32BITUIDS]: Make code unconditional.
67826         [!__ASSUME_32BITUIDS]: Remove conditional code.
67827         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67828         <kernel-features.h>.
67829         [__ASSUME_32BITUIDS]: Make code unconditional.
67830         [!__ASSUME_32BITUIDS]: Remove conditional code.
67831         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67832         <kernel-features.h>.
67833         [__ASSUME_32BITUIDS]: Make code unconditional.
67834         [!__ASSUME_32BITUIDS]: Remove conditional code.
67835         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67836         <kernel-features.h>.
67837         [__ASSUME_32BITUIDS]: Make code unconditional.
67838         [!__ASSUME_32BITUIDS]: Remove conditional code.
67839         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67840         <kernel-features.h>.
67841         [__ASSUME_32BITUIDS]: Make code unconditional.
67842         [!__ASSUME_32BITUIDS]: Remove conditional code.
67843         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67844         <kernel-features.h>.
67845         [__ASSUME_32BITUIDS]: Make code unconditional.
67846         [!__ASSUME_32BITUIDS]: Remove conditional code.
67847         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67848         <kernel-features.h>.
67849         [__ASSUME_32BITUIDS]: Make code unconditional.
67850         [!__ASSUME_32BITUIDS]: Remove conditional code.
67851         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67852         <kernel-features.h>.
67853         [__ASSUME_32BITUIDS]: Make code unconditional.
67854         [!__ASSUME_32BITUIDS]: Remove conditional code.
67855         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67856         <kernel-features.h>.
67857         [__ASSUME_32BITUIDS]: Make code unconditional.
67858         [!__ASSUME_32BITUIDS]: Remove conditional code.
67859         * sysdeps/unix/sysv/linux/kernel-features.h
67860         (__ASSUME_SETRESUID_SYSCALL): Remove.
67861         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67862         (__ASSUME_32BITUIDS): Likewise.
67863         (__ASSUME_LDT_WORKS): Likewise.
67864         (__ASSUME_O_DIRECTORY): Likewise.
67865         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67866         architecture but not kernel version.
67867         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67868         (__ASSUME_MMAP2_SYSCALL): Likewise.
67869         (__ASSUME_STAT64_SYSCALL): Likewise.
67870         (__ASSUME_IPC64): Likewise.
67871         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67872         <kernel-features.h>.
67873         [__ASSUME_32BITUIDS]: Make code unconditional.
67874         [!__ASSUME_32BITUIDS]: Remove conditional code.
67875         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67876         <kernel-features.h>.
67877         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67878         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67879         132096]: Remove conditional code.
67880         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67881         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67882         <kernel-features.h>.
67883         [__ASSUME_32BITUIDS]: Make code unconditional.
67884         [!__ASSUME_32BITUIDS]: Remove conditional code.
67885         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67886         <kernel-features.h>.
67887         [__ASSUME_32BITUIDS]: Make code unconditional.
67888         [!__ASSUME_32BITUIDS]: Remove conditional code.
67889         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67890         <kernel-features.h>.
67891         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67892         unconditional.
67893         (__setresgid): Do not declare.
67894         [__ASSUME_32BITUIDS]: Make code unconditional.
67895         [!__ASSUME_32BITUIDS]: Remove conditional code.
67896         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67897         <kernel-features.h>.
67898         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67899         unconditional.
67900         (__setresuid): Do not declare.
67901         [__ASSUME_32BITUIDS]: Make code unconditional.
67902         [!__ASSUME_32BITUIDS]: Remove conditional code.
67903         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67904         <kernel-features.h>.
67905         [__ASSUME_32BITUIDS]: Make code unconditional.
67906         [!__ASSUME_32BITUIDS]: Remove conditional code.
67907         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67908         <kernel-features.h>.
67909         [__ASSUME_32BITUIDS]: Make code unconditional.
67910         [!__ASSUME_32BITUIDS]: Remove conditional code.
67912 2012-05-25  Richard Henderson  <rth@twiddle.net>
67914         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67915         dl_hwcap to ifunc resolver.
67916         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67917         elf_ifunc_invoke.
67918         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67919         dl_hwcap to ifunc resolver.
67920         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67922 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67924         [BZ #14153]
67925         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67926         for |x| <= 2**-26, not 2**-57.
67927         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67928         exception.
67930 2012-05-24  Jeff Law  <law@redhat.com>
67932         * stdio-common/Makefile (tests): Add bug25.
67933         * stdio-common/bug25.c: New test.
67935 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67937         [BZ #13576]
67938         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67939         multiple of MALLOC_ALIGNMENT in size.
67940         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67942 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67944         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67945         Require >= 256.
67946         (FILENAME_MAX): Use macro-int-constant.
67947         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67948         (_IOFBF): Use macro-int-constant.
67949         (_IOLBF): Likewise.
67950         (_IONBF): Likewise.
67951         (SEEK_CUR): Likewise.
67952         (SEEK_END): Likewise.
67953         (SEEK_SET): Likewise.
67954         (TMP_MAX): Likewise.
67955         (EOF): Use macro-int-constant.  Require < 0.
67956         (NULL): Use macro-constant.  Require == 0.
67957         (stdin): Require type to be FILE *.
67958         (stdout): Likewise.
67959         (stderr): Likewise.
67960         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67961         macro-int-constant.
67962         (EXIT_SUCCESS): Likewise.
67963         (NULL): Use macro-constant.  Require == 0.
67964         (RAND_MAX): Use macro-int-constant.
67965         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67966         [C99-based standards] (strtof): Require function.
67967         [C99-based standards] (strtold): Likewise.
67968         [C99-based standards] (strtoll): Likewise.
67969         [C99-based standards] (strtoull): Likewise.
67970         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67971         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67972         [ISO || ISO99 || ISO11] (math.h): Likewise.
67973         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67974         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67975         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67977 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67979         [BZ #14132]
67980         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67981         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67982         * intl/dgettext.c (DCGETTEXT): Likewise.
67983         * intl/gettext.c (DCGETTEXT): Likewise.
67984         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67985         * posix/regex_internal.h (gettext): Likewise.
67986         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67987         Remove declaration.
67988         * include/argz.h (__argz_count_internal)
67989         (__argz_stringify_internal): Remove declaration.
67990         (__argz_count, __argz_stringify): Declare hidden proto.
67991         * intl/dcgettext.c: Remove use of INTDEF.
67992         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67993         * string/argz-stringify.c: Likewise.
67994         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67995         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67996         Declare hidden proto.
67997         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67998         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67999         Declare hidden proto.
68000         * include/stdio.h (__asprintf_internal): Don't declare.
68001         (__asprintf): Don't define as macro.  Declare hidden proto.
68002         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68003         (__fsetlocking): Declare hidden proto.
68004         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68005         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68006         hidden proto.
68007         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68008         (_IO_setlinebuf): Remove use of INTUSE.
68009         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68010         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68011         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68012         Remove declaration.
68013         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68014         (_IO_do_flush): Remove use of INTUSE.
68015         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68016         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68017         (_IO_adjust_column, _IO_least_wmarker)
68018         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68019         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68020         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68021         (_IO_default_doallocate, _IO_wdefault_doallocate)
68022         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68023         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68024         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68025         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68026         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68027         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68028         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68029         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68030         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68031         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68032         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68033         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68034         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68035         proto.
68036         (_IO_flush_all_internal, _IO_adjust_column_internal)
68037         (_IO_default_uflow_internal, _IO_default_finish_internal)
68038         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68039         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68040         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68041         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68042         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68043         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68044         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68045         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68046         (_IO_file_close_internal, _IO_file_close_it_internal)
68047         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68048         (_IO_file_init_internal, _IO_file_attach_internal)
68049         (_IO_file_fopen_internal, _IO_file_read_internal)
68050         (_IO_file_sync_internal, _IO_file_seek_internal)
68051         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68052         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68053         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68054         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68055         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68056         (_IO_list_all_internal, _IO_link_in_internal)
68057         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68058         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68059         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68060         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68061         (_IO_do_write_internal, _IO_padn_internal)
68062         (_IO_getline_info_internal, _IO_getline_internal)
68063         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68064         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68065         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68066         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68067         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68068         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68069         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68070         with libc_hidden_ver, remove use of INTUSE.
68071         * libio/genops.c: Likewise.
68072         * libio/freopen.c: Likewise.
68073         * libio/freopen64.c: Likewise.
68074         * libio/iofclose.c: Likewise.
68075         * libio/iofdopen.c: Likewise.
68076         * libio/iofflush.c: Likewise.
68077         * libio/iofflush_u.c: Likewise.
68078         * libio/iofgets.c: Likewise.
68079         * libio/iofgets_u.c: Likewise.
68080         * libio/iofopen.c: Likewise.
68081         * libio/iofopncook.c: Likewise.
68082         * libio/iofread.c: Likewise.
68083         * libio/iofread_u.c: Likewise.
68084         * libio/ioftell.c: Likewise.
68085         * libio/iofwrite.c: Likewise.
68086         * libio/iogetline.c: Likewise.
68087         * libio/iogets.c: Likewise.
68088         * libio/iogetwline.c: Likewise.
68089         * libio/iopadn.c: Likewise.
68090         * libio/iopopen.c: Likewise.
68091         * libio/ioseekoff.c: Likewise.
68092         * libio/ioseekpos.c: Likewise.
68093         * libio/iosetbuffer.c: Likewise.
68094         * libio/iosetvbuf.c: Likewise.
68095         * libio/ioungetc.c: Likewise.
68096         * libio/ioungetwc.c: Likewise.
68097         * libio/iovdprintf.c: Likewise.
68098         * libio/iovsprintf.c: Likewise.
68099         * libio/iovsscanf.c: Likewise.
68100         * libio/memstream.c: Likewise.
68101         * libio/obprintf.c: Likewise.
68102         * libio/oldfileops.c: Likewise.
68103         * libio/oldiofclose.c: Likewise.
68104         * libio/oldiofdopen.c: Likewise.
68105         * libio/oldiofopen.c: Likewise.
68106         * libio/oldiopopen.c: Likewise.
68107         * libio/oldstdfiles.c: Likewise.
68108         * libio/putc.c: Likewise.
68109         * libio/setbuf.c: Likewise.
68110         * libio/setlinebuf.c: Likewise.
68111         * libio/stdfiles.c: Likewise.
68112         * libio/strops.c: Likewise.
68113         * libio/vasprintf.c: Likewise.
68114         * libio/vscanf.c: Likewise.
68115         * libio/vsnprintf.c: Likewise.
68116         * libio/vswprintf.c: Likewise.
68117         * libio/wfiledoalloc.c: Likewise.
68118         * libio/wfileops.c: Likewise.
68119         * libio/wgenops.c: Likewise.
68120         * libio/wmemstream.c: Likewise.
68121         * libio/wstrops.c: Likewise.
68122         * libio/__fpurge.c: Likewise.
68123         * libio/__fsetlocking.c: Likewise.
68124         * assert/assert.c: Likewise.
68125         * debug/fgets_chk.c: Likewise.
68126         * debug/fgets_u_chk.c: Likewise.
68127         * debug/fread_chk.c: Likewise.
68128         * debug/fread_u_chk.c: Likewise.
68129         * debug/gets_chk.c: Likewise.
68130         * debug/obprintf_chk.c: Likewise.
68131         * debug/vasprintf_chk.c: Likewise.
68132         * debug/vdprintf_chk.c: Likewise.
68133         * debug/vsnprintf_chk.c: Likewise.
68134         * debug/vsprintf_chk.c: Likewise.
68135         * malloc/mtrace.c: Likewise.
68136         * misc/error.c: Likewise.
68137         * misc/syslog.c: Likewise.
68138         * stdio-common/asprintf.c: Likewise.
68139         * stdio-common/fxprintf.c: Likewise.
68140         * stdio-common/getw.c: Likewise.
68141         * stdio-common/isoc99_fscanf.c: Likewise.
68142         * stdio-common/isoc99_scanf.c: Likewise.
68143         * stdio-common/isoc99_vfscanf.c: Likewise.
68144         * stdio-common/isoc99_vscanf.c: Likewise.
68145         * stdio-common/isoc99_vsscanf.c: Likewise.
68146         * stdio-common/printf-prs.c: Likewise.
68147         * stdio-common/printf_fp.c: Likewise.
68148         * stdio-common/printf_fphex.c: Likewise.
68149         * stdio-common/printf_size.c: Likewise.
68150         * stdio-common/putw.c: Likewise.
68151         * stdio-common/scanf.c: Likewise.
68152         * stdio-common/sprintf.c: Likewise.
68153         * stdio-common/tmpfile.c: Likewise.
68154         * stdio-common/vfprintf.c: Likewise.
68155         * stdio-common/vfscanf.c: Likewise.
68156         * stdlib/strfmon_l.c: Likewise.
68157         * sunrpc/openchild.c: Likewise.
68158         * sunrpc/xdr_stdio.c: Likewise.
68159         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68160         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68162 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68164         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68166         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68167         in the third column, to generate for the shared library an IFUNC
68168         that uses _dl_vdso_vsym.
68169         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68170         * Makeconfig (object-suffixes-noshared): New variable.
68172         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68173         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68174         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68175         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68177         [BZ #14132]
68178         * include/sys/time.h (__gettimeofday): Remove macro.
68179         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68180         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68181         Remove INTDEF.
68182         (__gettimeofday): Add libc_hidden_def.
68183         (gettimeofday): Add libc_hidden_weak.
68184         * sysdeps/mach/gettimeofday.c: Likewise.
68185         * sysdeps/posix/gettimeofday.c: Likewise.
68186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68187         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68188         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68189         (__gettimeofday_internal): Remove strong_alias.
68190         (__gettimeofday): Add libc_hidden_def.
68191         (gettimeofday): Add libc_hidden_weak.
68192         * sysdeps/unix/syscalls.list (gettimeofday):
68193         Remove __gettimeofday_internal alias.
68195 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68196             H.J. Lu  <hongjiu.lu@intel.com>
68198         [BZ #12495]
68199         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68200         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68201         (largebin_index_32_big): New.
68202         (largebin_index): Use it for 16-byte alignment.
68203         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68204         correction with front_misalign.
68206 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68210         Likewise.
68211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68212         Likewise.
68213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68214         Likewise.
68215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68216         Likewise.
68217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68218         Likewise.
68219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68220         Likewise.
68221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68222         Likewise.
68223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68224         Likewise.
68225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68226         Likewise.
68227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68228         Likewise.
68229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68230         Likewise.
68231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68232         Likewise.
68234         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68235         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68237 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68239         [BZ #10846]
68240         [BZ #14036]
68241         * math/libm-test.inc (exp_test): Add test from bug 14036.
68242         (pow_test): Add test from bug 10846.
68244         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68245         and other flags.
68246         (special_function): Do not include flags in test name.
68247         (parse_args): Likewise.
68248         * sysdeps/i386/fpu/libm-test-ulps: Update.
68249         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68250         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68251         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68254         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68255         exceptions.
68256         * math/libm-test.inc ("Philosophy"): Update comment about
68257         exception testing.
68258         (UNDERFLOW_EXCEPTION): New macro.
68259         (UNDERFLOW_EXCEPTION_OK): Likewise.
68260         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68261         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68262         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68263         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68264         (INVALID_EXCEPTION_OK): Update value.
68265         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68266         (OVERFLOW_EXCEPTION_OK): Likewise.
68267         (IGNORE_ZERO_INF_SIGN): Likewise.
68268         (test_exceptions): Handle underflow exceptions.
68269         (acos_test): Update for underflow exception expectations.
68270         (cexp_test): Likewise.
68271         (clog_test): Likewise.
68272         (clog10_test): Likewise.
68273         (csqrt_test): Likewise.
68274         (ctan_test): Likewise.
68275         (ctanh_test): Likewise.
68276         (exp_test): Likewise.
68277         (exp10_test): Likewise.
68278         (exp2_test): Likewise.
68279         (expm1_test): Likewise.
68280         (fma_test): Likewise.
68281         (j0_test): Likewise.
68282         (jn_test): Likewise.
68283         (nexttoward_test): Likewise.
68284         (pow_test): Likewise.
68285         (scalbn_test): Likewise.
68286         (scalbln_test): Likewise.
68287         (tan_test): Likewise.
68288         (y1_test): Likewise.
68289         * sysdeps/i386/fpu/libm-test-ulps: Update.
68290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68292 2012-05-23  David S. Miller  <davem@davemloft.net>
68294         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68295         (__libc_sigaction): Remove unused local variables.
68297 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68299         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68301 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68303         mktime: avoid signed integer overflow
68304         * time/mktime.c (__mktime_internal): Do not mishandle the case
68305         where diff == INT_MIN.
68307         mktime: simplify computation of average
68308         * time/mktime.c (ranged_convert): Use new time_t_avg function
68309         instead of rolling our own (probably-slower) code.
68311         mktime: do not assume signed right shift propagates sign bit
68312         * time/mktime.c (isdst_differ): New static function.
68313         (__mktime_internal): No need to normalize tm_isdst now.
68314         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68315         tm_isdst values.
68317         mktime: merge another wrapv change from gnulib
68318         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68319         from some compilers.
68321         mktime: remove incorrect attempt at unusual arithmetics
68322         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68323         The code didn't really work on such machines anyway.
68324         (TYPE_MINIMUM): Assume two's complement.
68325         (twos_complement_arithmetic): Verify that long_int and time_t
68326         are two's complement (or unsigned, in the latter case).
68328         mktime: check signed shifts on long_int and time_t, too
68329         * time/mktime.c (SHR): Check that shifts work as desired
68330         on the types long_int and time_t too, as SHR is used on
68331         such types.
68333         mktime: do not assume 'long' is wide enough
68334         * time/mktime.c (verify): Move decl up.
68335         (long_int): New type.
68336         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68337         to remove assumption in the code that 'long' is wide enough to
68338         store year values.  This assumption is not true on x32 and on
68339         some non-glibc platforms.
68341         mktime: merge wrapv change from gnulib
68342         * time/mktime.c (WRAPV): New macro.
68343         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68344         (guess_time_tm, __mktime_internal): Do not assume that signed
68345         integer overflow wraps around; modern compilers generate code
68346         where this assumption is no longer valid.
68348 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68350         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68351         Replace "jmp L(pseudo_end)" with "ret".
68352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68353         Likewise.
68355 2012-05-23  Andreas Jaeger  <aj@suse.de>
68357         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68358         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68360 2012-05-23  Andreas Jaeger  <aj@suse.de>
68361             Maximilian Attems  <max@stro.at>
68363         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68364         New macros.
68366 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68368         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68369         code so that pseudo_end is just ret and the stack pointer is
68370         correct also for static library in error case.
68372 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68374         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68375         move to syscalls.list.
68376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68381         * manual/install.texi (Running make install): Do not mention Linux
68382         kernel version for which pt_chown is not needed.
68383         (Linux): Do not mention problems with nscd with 2.0 kernels.
68384         * INSTALL: Regenerated.
68386 2012-05-23  Andreas Jaeger  <aj@suse.de>
68388         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68389         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68390         macro.
68391         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68392         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68393         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68394         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68395         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68397         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68399         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68401         * sysdeps/unix/sysv/linux/bits/in.h
68402         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68404 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68406         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68407         (PREPARE_VERSION): Just use assert instead, it will be elided
68408         under [NDEBUG] anyway.
68410 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68412         * sysdeps/unix/sysv/linux/Makefile: Include
68413         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68414         (sysdep_routines): Remove sysctl.
68415         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68416         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68417         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68418         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68419         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68421 2012-05-22  Andreas Jaeger  <aj@suse.de>
68423         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68424         that pseudo_end is just ret and the stack pointer is correct also
68425         for static library in error case.
68427 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68429         [BZ #14122]
68430         * nss/nsswitch.c (defconfig_entries): New variable.
68431         (__nss_database_lookup): Don't leak defconfig entries.
68432         (nss_parse_service_list): Don't leak on error paths.
68433         (free_database_entries): New function.
68434         (free_defconfig): New function.
68435         (free_mem): Move common code to free_database_entries.
68437 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68439         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68440         Add arch_prctl.
68441         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68443         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68444         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68446         New macro.
68447         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68448         (INTERNAL_SYSCALL_TYPES): Likewise.
68449         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68450         (LOAD_REGS_TYPES_[1-6]): Likewise.
68451         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68452         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68454 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68456         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68457         copysignl for GLIBC_2_0.
68458         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68459         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68460         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68461         logbl for GLIBC_2_0.
68462         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68463         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68465 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68468         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68470         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68471         Use "neg %eax".
68473         * time/mktime.c: Update copyright years.
68475 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68477         mktime: merge comment-quoting-style change from gnulib
68478         * time/mktime.c: Quote 'like this' in comments.
68479         The GNU coding standards suggest that we no longer quote `like this',
68480         as "`" and "'" are typically rendered asymmetrically nowadays.
68481         The typical gnulib style is to quote 'like this' when quoting
68482         code, and "like this" when quoting English.
68484         * time/mktime.c (compile-command): Add "-I.".
68486         mktime: merge mktime-internal.h change from gnulib
68487         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68489         mktime: merge time_r change from gnulib
68490         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68492         mktime: merge DEBUG change from gnulib
68493         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68494         case system <time.h> has a #define.
68496         mktime: merge <sys/types.h> change from gnulib
68497         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68498         since <time.t> is now guaranteed to define time_t.
68500         mktime: merge HAVE_CONFIG_H change from gnulib
68501         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68503 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68505         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68506         Use "neg %eax".
68508         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68509         __rlim_t cast.
68510         (struct rusage): Use anonymous union to pad each field to
68511         __syscall_slong_t.
68513 2012-05-21  David S. Miller  <davem@davemloft.net>
68515         * Makefules (o-iterator): Remove .s cases.
68516         (compile-command.s): Delete.
68517         (COMPILE.s): Delete.
68518         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68520 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68522         * configure.in (libc_cv_predef_stack_protector): Only consider
68523         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68524         * configure: Regenerated.
68526 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68528         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68529         New macro.  Use R*LP on int and pointer.
68530         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68531         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68532         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68533         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68535         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68536         [__WORDSIZE_TIME64_COMPAT32] instead of
68537         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68538         (struct utmp): Likewise.
68539         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68540         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68541         Renamed to ...
68542         (__WORDSIZE_TIME64_COMPAT32): This.
68543         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68544         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68545         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68546         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68547         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68548         (__WORDSIZE_TIME64_COMPAT32): New macro.
68550 2012-05-21  Andreas Jaeger  <aj@suse.de>
68552         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68553         only if [SHARED]. Add prototype for __wcschr_ia32.
68555 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68557         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68558         of %rbp unmolested in the jmp_buf while mangling the low bits.
68559         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68560         unmolested high bits of %rbp while demangling the low bits.
68561         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68563 2012-05-21  Andreas Jaeger  <aj@suse.de>
68565         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68566         * sunrpc/svc_simple.c: Use it for registerrpc.
68567         * sunrpc/xcrypt.c: Use it for passwd2des.
68569         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68571 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68573         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68574         Don't define if [__SYSCALL_WORDSIZE != 32].
68575         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68576         New macro.
68578 2012-05-21  Bruno Haible  <bruno@clisp.org>
68579             Andreas Jaeger  <aj@suse.de>
68581         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68582         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68583         inptr and inend for must_buffer_ch.
68584         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68585         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68586         * stdio-common/Makefile (tests): Remove bug15.
68587         (bug15-ENV): Remove macro.
68588         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68589         anymore.
68591 2012-05-19  Andreas Jaeger  <aj@suse.de>
68592             Roland McGrath  <roland@hack.frob.com>
68594         * manual/contrib.texi: Completely rewritten. It contains now an
68595         alphabetical list of contributors and their contributions.
68597 2012-05-21  Richard Henderson  <rth@twiddle.net>
68599         * misc/getauxval.c (__getauxval): Use unsigned long int.
68600         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68601         (getauxval): Use unsigned long int.
68603 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68605         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68607 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68609         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68610         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68611         __alignof__ (long double).
68613 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68617 2012-05-20  Richard Henderson  <rth@twiddle.net>
68619         * misc/getauxval.c: New file.
68620         * misc/sys/auxv.h: New file.
68621         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68622         (routines): Add getauxval.
68623         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68624         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68625         * elf/dl-sysdep.c (_dl_auxv): Remove.
68626         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68627         * elf/dl-support.c (_dl_auxv): New variable.
68628         (_dl_aux_init): Initialize it.
68629         * manual/startup.texi (Auxiliary Vector): New node.
68630         * sysdeps/generic/bits/hwcap.h: New file.
68631         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68632         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68633         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68634         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68635         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68636         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68638         Update.
68639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68642         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68648 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68652 2012-05-19  David S. Miller  <davem@davemloft.net>
68654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68656 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68658         [BZ #14123]
68659         * math/s_ccosh.c: Include <float.h>
68660         (__ccosh): Avoid internal overflow calculating sinh and cosh
68661         values before multiplying by sin and cos values.
68662         * math/s_ccoshf.c: Likewise.
68663         * math/s_ccoshl.c: Likewise.
68664         * math/s_csin.c: Likewise.
68665         * math/s_csinf.c: Likewise.
68666         * math/s_csinl.c: Likewise.
68667         * math/s_csinh.c: Likewise.
68668         * math/s_csinhf.c: Likewise.
68669         * math/s_csinhl.c: Likewise.
68670         * math/libm-test.inc (ccos_test): Add more tests.
68671         (ccosh_test): Likewise.
68672         (csin_test): Likewise.
68673         (csinh_test): Likewise.
68674         * sysdeps/i386/fpu/libm-test-ulps: Update.
68675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68677 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68679         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68680         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68682         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68684 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68686         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68687         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68688         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68689         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68690         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68691         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68692         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68693         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68694         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68695         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68696         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68697         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68698         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68699         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68700         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68701         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68702         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68703         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68704         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68705         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68706         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68707         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68708         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68709         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68710         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68711         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68712         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68713         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68714         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68715         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68716         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68718 2012-05-18  Andreas Jaeger  <aj@suse.de>
68720         * csu/.gitignore: Delete.
68722 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68724         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68725         (timex): Use __syscall_slong_t.
68727 2012-05-18  Andreas Jaeger  <aj@suse.de>
68728             Carlos O'Donell  <carlos_odonell@mentor.com>
68730         * manual/install.texi (Configuring and compiling): Update
68731         description about files modified in the source directory.
68732         * INSTALL: Regenerated.
68734 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68736         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68737         value.  Use "or" to set return value to -1.
68738         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68739         negate return value.
68741 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68743         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68744         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68745         failure if the compiler has Graphite support disabled.
68746         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68747         Likewise.
68748         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68749         (CFLAGS-memmove.c): Likewise.
68750         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68751         Likewise.
68753 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68755         * sysdeps/x86_64/x32/_itoa.h: New file.
68757         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68758         getdents system call only if kernel and user dirents have the
68759         same d_ino and d_off.
68761         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68762         LLONG_MAX != LONG_MAX.
68763         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68764         (_fitoa_word): Likewise.
68766         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68767         years.
68768         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68769         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68770         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68772         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68773         include <bits/wordsize.h>.  Check __x86_64__ instead of
68774         __WORDSIZE.
68775         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68776         if __x86_64__ is defined.  Use anonymous union on fpstate.
68778         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68779         anonymous union.
68781 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68783         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68784         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68785         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68786         Refer to _rtld_local_ro instead of _rtld_global_ro.
68787         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68788         Likewise.
68789         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68790         Likewise.
68791         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68792         Likewise.
68793         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68794         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68795         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68797         [BZ #10882]
68798         * sysdeps/powerpc/powerpc32/dl-machine.c
68799         (__elf_machine_runtime_setup) [PROF]: Don't reference
68800         _dl_prof_resolve.
68802 2012-05-18  Andreas Jaeger  <aj@suse.de>
68804         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68805         function only available for GCCs before 3.4 since GCC 3.4
68806         introduced a builtin.
68807         (lrint): Likewise.
68808         (llrintf): Likewise.
68809         (llrint): Likewise.
68810         (fmaxf): Likewise.
68811         (fmax): Likewise.
68812         (fminf): Likewise.
68813         (fmin): Likewise.
68814         (rint): Likewise.
68815         (rintf): Likewise.
68816         (nearbyint): Likewise.
68817         (nearbyintf): Likewise.
68818         (ceil): Likewise.
68819         (ceilf): Likewise.
68820         (floor): Likewise.
68821         (floorf): Likewise.
68823 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68825         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68826         on both fields and cast pointer to __syscall_ulong_t.
68828         * bits/types.h (__fsword_t): New type.
68829         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68830         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68832         (__FSWORD_T_TYPE): Likewise.
68833         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68834         (__FSWORD_T_TYPE): Likewise.
68835         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68836         (__FSWORD_T_TYPE): Likewise.
68837         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68838         (__FSWORD_T_TYPE): Likewise.
68839         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68840         __SWORD_TYPE with __fsword_t.
68841         (statfs64): Likewise.
68843 2012-05-17  David S. Miller  <davem@davemloft.net>
68845         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68847 2012-05-17  Andreas Jaeger  <aj@suse.de>
68849         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68850         warning.
68852 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68854         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68856 2012-05-17  Andreas Jaeger  <aj@suse.de>
68858         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68859         when it is used.
68861 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68863         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68865 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68867         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68868         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68870 2012-05-17  Andreas Jaeger  <aj@suse.de>
68871             Carlos O'Donell  <carlos_odonell@mentor.com>
68873         [BZ #14059]
68874         * sysdeps/x86_64/multiarch/init-arch.h
68875         (bit_YMM_Usable): Rename to...
68876         (bit_AVX_Usable): ... this.
68877         (bit_FMA4_Usable): New macro.
68878         (bit_XMM_state): New macro.
68879         (bit_YMM_state): New macro.
68880         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68881         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68882         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68883         (CPUID_OSXSAVE): New macro.
68884         (CPUID_AVX): New macro.
68885         (CPUID_FMA4): New macro.
68886         (index_YMM_Usable): Rename to...
68887         (index_AVX_Usable): ... this.
68888         (HAS_AVX): Use HAS_ARCH_FEATURE.
68889         (HAS_FMA4): Likewise.
68890         (HAS_YMM_USABLE): Remove.
68891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68892         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68893         are present.
68894         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68895         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68896         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68897         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68898         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68900 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68902         * math/libm-test.c: Support platforms without multiple rounding modes.
68903         * math/bug-nextafter.c: Support platforms without FP exceptions.
68904         * math/bug-nexttoward.c: Likewise.
68905         * math/test-fenv.c: Likewise.
68906         * math/test-misc.c: Likewise.
68907         * stdlib/bug-getcontext.c: Likewise.
68909 2012-05-17  Andreas Jaeger  <aj@suse.de>
68911         * manual/examples/search.c (critter_cmp): Change signature to
68912         avoid warnings.
68913         * manual/string.texi (Collation Functions): Likewise.
68915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68917         * bits/types.h: Fold copyright years.
68918         * bits/typesizes.h: Likewise.
68919         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68920         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68921         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68923         * time/time.h: Likewise.
68925 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68927         [BZ #208]
68928         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68929         in instead of returning them.  Return void.
68930         (__libc_mallinfo): Accumulate over all arenas.
68931         (__malloc_stats): Adjust for change in int_mallinfo interface.
68933 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68935         [BZ #10375]
68936         * configure.in (NM): Add AC_CHECK_TOOL for it.
68937         (libc_extra_cflags): New substituted variable.
68938         Check for -fstack-protector being used implicitly.
68939         * configure: Regenerated.
68940         * config.make.in (config-extra-cflags): New variable,
68941         gets @libc_extra_cflags@.
68942         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68944         [BZ #10375]
68945         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68946         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68947         * configure: Regenerated.
68948         * config.make.in (CPPUNDEFS): New substituted variable.
68949         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68950         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68951         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68953 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68955         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68956         (mq_attr): Use __syscall_slong_t.
68958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68960         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68961         Check __x86_64__ instead of __WORDSIZE.
68962         (_STAT_VER_LINUX): Likewise.
68963         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68964         __syscall_ulong_t and __syscall_slong_t.
68965         (stat64): Likewise.
68967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68969         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68971 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68973         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68977         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68978         __syscall_ulong_t.
68980         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68981         include <bits/wordsize.h>.  Check __x86_64__ instead of
68982         __WORDSIZE.
68983         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68984         defined.
68985         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68987         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68988         include <bits/wordsize.h>.  Check __x86_64__ instead of
68989         __WORDSIZE.
68990         (user_regs_struct): Use "__extension__ unsigned long long"
68991         instead of "unsigned long" if __x86_64__ is defined.
68992         (user): Likewise.  Pad after pointer field if __ILP32__ is
68993         defined.
68995 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68997         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68998         versions 5 to 9.
68999         * configure: Regenerated.
69000         * manual/install.texi (texinfo): Increase version requirement to
69001         4.5 or later.
69002         * INSTALL: Regenerated.
69004         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69008         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69010         * sysdeps/x86_64/x32/ffs.c: New file.
69012         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69013         __syscall_ulong_t.
69014         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69015         defined.  Use __syscall_ulong_t.
69016         (shminfo): Use __syscall_ulong_t.
69017         (shm_info): Likewise.
69019         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69020         __syscall_ulong_t.
69022         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69023         <bits/wordsize.h>.
69024         (msgqnum_t): Use __syscall_ulong_t.
69025         (msglen_t): Likewise.
69026         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69027         __syscall_ulong_t.
69029         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69030         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69032         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69034         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69035         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69037         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69038         __syscall_slong_t.
69040         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69041         include <bits/wordsize.h>.  Check __x86_64__ instead of
69042         __WORDSIZE.
69044         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69045         "unsigned long long int" if __x86_64__ is defined.
69046         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69048         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69049         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69050         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69052         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69053         <stdint.h>.
69054         (GET_PC): Cast to uintptr_t first.
69055         (GET_FRAME): Likewise.
69056         (GET_STACK): Likewise.
69058         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69059         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69060         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69061         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69062         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69063         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69064         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69065         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69066         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69067         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69068         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69069         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69070         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69071         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69072         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69073         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69074         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69075         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69076         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69077         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69078         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69079         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69080         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69081         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69082         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69083         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69084         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69085         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69086         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69088 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69090         * Makerules (+depfiles): Also collect depfiles from .oS in
69091         $(extra-objs).
69092         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69093         .oS, $(libnldbl-routines)).
69095         * Makerules (native-compile-mkdep-flags): Define.
69096         * sunrpc/Makefile (extra-objs): Add $(addprefix
69097         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69098         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69099         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69100         calling $(make-target-directory).
69102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69104         * bits/types.h (__snseconds_t): Removed.
69105         * time/time.h (struct timespec): Replace __snseconds_t with
69106         __syscall_slong_t.
69107         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69108         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69109         Likewise.
69110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69111         (__SNSECONDS_T_TYPE): Likewise.
69112         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69113         (__SNSECONDS_T_TYPE): Likewise.
69114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69115         (__SNSECONDS_T_TYPE): Likewise.
69117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69119         * sysdeps/mach/hurd/bits/typesizes.h
69120         (__SYSCALL_SLONG_TYPE): New macro.
69121         (__SYSCALL_ULONG_TYPE): Likewise.
69123 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69125         * bits/types.h (__syscall_slong_t): New type.
69126         (__syscall_ulong_t): Likewise.
69128         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69129         (__SYSCALL_ULONG_TYPE): Likewise.
69130         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69131         (__SYSCALL_SLONG_TYPE): Likewise.
69132         (__SYSCALL_ULONG_TYPE): Likewise.
69133         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69134         (__SYSCALL_SLONG_TYPE): Likewise.
69135         (__SYSCALL_ULONG_TYPE): Likewise.
69136         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69137         (__SYSCALL_SLONG_TYPE): Likewise.
69138         (__SYSCALL_ULONG_TYPE): Likewise.
69140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69142         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69143         Add sigaltstack-offsets.sym.
69144         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69145         <sigaltstack-offsets.h>.
69146         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69147         longjmp_msg pointer.
69148         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69149         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69150         signal stack.
69151         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69153 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69155         * elf/stackguard-macros.h: Remove file.
69156         * sysdeps/generic/stackguard-macros.h: New file.
69157         * sysdeps/i386/stackguard-macros.h: Likewise.
69158         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69159         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69160         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69161         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69162         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69163         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69164         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69165         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69166         <elf/stackguard-macros.h>.
69168         [BZ #14109]
69169         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69170         __aligned__ in attribute.
69171         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69172         (gregset_t): Likewise.
69174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69176         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69177         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69178         * sysdeps/x86_64/x32/Implies-after: New file.
69180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69182         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69183         and access return value for _dl_profile_fixup.  Use R10_LP to
69184         load frame size.
69186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69188         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69192         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69193         * sysdeps/x86_64/x32/sysdep.h: New file.
69195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69197         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69198         * sysdeps/x86_64/setjmp.S: Likewise.
69200 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69202         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69203         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69204         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69205         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69206         remove unused global constant.
69208 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69210         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69211         include of <not-cancel.h>.
69213 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69215         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69217 2012-05-15  Jeff Law  <law@redhat.com>
69218             Andreas Jaeger  <aj@suse.de>
69220         [BZ #13594]
69221         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69222         out from...
69223         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69224         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69225         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69226         code changing __hst_map_handle.map.
69228 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69230         * configure.in (sysnames): Look for Implies-before and Implies-after
69231         files.
69232         * configure: Regenerated.
69234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69236         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69237         8-byte data alignment with LP_SIZE alignment.
69239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69241         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69242         into R10_LP.
69244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69246         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69250         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69251         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69252         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69253         Likewise.
69254         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69258         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69259         (stackinfo_sub_sp): Likewise.
69261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69264         RAX_LP.
69266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69268         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69269         into R*_LP.
69271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69273         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69274         sizes into R*_LP.
69276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69278         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69282         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69283         into R11_LP and load __x86_64_shared_cache_size_half into
69284         R8_LP.
69286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69288         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69289         R8_LP.
69291 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69293         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69294         logb for POWER7.
69295         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69296         logbf for POWER7.
69297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69298         logbl for POWER7.
69299         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69300         powerpc32/power7/fpu/s_logb.c via #include.
69301         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69302         powerpc32/power7/fpu/s_logbf.c via #include.
69303         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69304         powerpc32/power7/fpu/s_logbl.c via #include.
69306 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69308         * README.libm: Remove file.
69310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69312         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69313         count for x32.  Use R*_LP and omit operand-size suffix.
69315 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69317         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69318         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69319         * sysdeps/x86_64/x32/shlib-versions: New file.
69321 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69323         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69324         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69325         Use _dl_fatal_printf instead.
69327 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69329         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69330         set if not set by the user.  Do not allow for being unset.
69331         * sysdeps/unix/sysv/linux/configure: Regenerated.
69333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69335         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69336         the `q' suffix from lea and replace .quad with ASM_ADDR.
69338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69341         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69342         instead of $17.
69343         (PTR_DEMANGLE): Likewise.
69345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69347         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69348         (LP_OP): Likewise.
69349         (ASM_ADDR): Likewise.
69350         (RAX_LP): Likewise.
69351         (RBP_LP): Likewise.
69352         (RBX_LP): Likewise.
69353         (RCX_LP): Likewise.
69354         (RDI_LP): Likewise.
69355         (RSI_LP): Likewise.
69356         (RSP_LP): Likewise.
69357         (R8_LP): Likewise.
69358         (R9_LP): Likewise.
69359         (R10_LP): Likewise.
69360         (R10_LP): Likewise.
69361         (R11_LP): Likewise.
69362         (R12_LP): Likewise.
69363         (R13_LP): Likewise.
69364         (R14_LP): Likewise.
69365         (R15_LP): Likewise.
69367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69369         * sysdeps/x86_64/x32/dl-machine.h: New file.
69371 2012-05-14  Andreas Jaeger  <aj@suse.de>
69373         * manual/Makefile (subdir): Remove export of subdir.
69374         (all): Remove target.
69375         (.PHONY): Remove all from list.
69376         (mkinstalldirs): Remove.
69377         (.PHONY): Remove installdirs from list.
69378         ($(inst_infodir)/libc.info): Use make-target-directory.
69379         (installdirs): Remove.
69380         (subdir_%): Remove.
69381         (glibc-targets): Remove.
69382         (lib): Remove.
69383         (stubs): Remove.
69384         ($(objpfx)stubs ../po/manual.pot): Remove.
69385         ($(objpfx)stamp%): Remove.
69386         (make-target-directory): Remove.
69387         (subdir_install): Remove.
69388         (routines): Remove.
69389         (aux): Remove.
69390         (sources): Remove.
69391         (objects): Remove.
69392         (headers): Remove.
69394         [BZ #13750]
69395         * manual/.gitignore: Remove, it's not needed anymore.
69396         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69397         all files in it.
69398         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69399         directory.
69400         (texis): Renamed to $(objpfx)texis.
69401         (texis-path): New, contains path to generated files.
69402         (chapters.%): Use texis-path for complete path, add extra argument
69403         libc-texinfo.sh.
69404         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69405         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69406         (summary,texi, stamp-summary): Use complete path of
69407         files. Generate files in build dir.
69408         (dir-add.texi): Build in build dir.
69409         (libm-err.texi,stamp-libm-err): Likewise.
69410         (version.texi, stamp-version): Likewise.
69411         (.%c.texi): Likewise.
69412         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69413         (mostlyclean): Remove target.
69414         (realclean): Remove target.
69415         (generated): Add new variable with contents from mostlyclean and
69416         realclean, remove entries duplicated in common-mostlyclean, add
69417         stamp-libm-err and stamp-version.
69418         (generated-dirs): Add libc directory.
69419         ($(inst_infodir)/libc.info): Install files from build dir.
69421         * manual/install.texi (Configuring and compiling): Adjust since
69422         the info files are not part of the tar ball anymore.
69424 2012-05-14  Andreas Jaeger  <aj@suse.de>
69426         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69427         variable.
69429 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69431         [BZ #13717]
69432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69433         to 2.2.0 where earlier.
69434         * sysdeps/unix/sysv/linux/configure: Regenerated.
69435         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69436         Remove conditional code.
69437         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69438         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69439         Remove conditional code.
69440         [!__NR_lchown]: Likewise.
69441         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69442         [__NR_lchown]: Likewise.
69443         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69444         comment referencing __ASSUME_LCHOWN_SYSCALL.
69445         * sysdeps/unix/sysv/linux/i386/sigaction.c
69446         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69447         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69448         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69449         Remove conditional code.
69450         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69451         (__protocol_available): Remove #if 0 code.
69452         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69453         conditional code.
69454         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69455         * sysdeps/unix/sysv/linux/kernel-features.h
69456         (__ASSUME_GETCWD_SYSCALL): Don't define.
69457         (__ASSUME_REALTIME_SIGNALS): Likewise.
69458         (__ASSUME_PREAD_SYSCALL): Likewise.
69459         (__ASSUME_PWRITE_SYSCALL): Likewise.
69460         (__ASSUME_POLL_SYSCALL): Likewise.
69461         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69462         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69463         non-SPARC.
69464         (__ASSUME_SIOCGIFNAME): Don't define.
69465         (__ASSUME_MSG_NOSIGNAL): Likewise.
69466         (__ASSUME_SENDFILE): Define unconditionally.
69467         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69468         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69469         conditional code.
69470         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69471         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69472         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69473         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69474         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69475         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69476         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69478         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69479         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69481         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69484         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69485         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69487         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69490         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69491         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69493         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69494         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69496         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69497         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69499         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69500         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69501         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69502         Remove conditional code.
69503         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69504         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69505         Remove conditional code.
69506         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69507         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69508         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69509         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69510         Remove conditional code.
69511         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69512         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69513         Remove conditional code.
69514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69515         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69516         Remove conditional code.
69517         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69518         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69519         Remove conditional code.
69520         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69521         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69522         Remove conditional code.
69523         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69524         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69525         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69526         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69527         * sysdeps/unix/sysv/linux/sigaction.c
69528         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69529         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69530         * sysdeps/unix/sysv/linux/sigpending.c
69531         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69532         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69533         * sysdeps/unix/sysv/linux/sigprocmask.c
69534         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69535         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69536         * sysdeps/unix/sysv/linux/sigsuspend.c
69537         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69538         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69539         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69540         (__libc_missing_rt_sigs): Remove.
69541         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69542         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69543         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69544         Remove conditional code.
69545         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69546         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69547         return 1.
69548         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69549         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69550         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69551         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69553 2012-05-14  Andreas Jaeger  <aj@suse.de>
69555         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69556         it's not used in glibc.
69557         (__coshm1): Likewise.
69558         (__acosh1p): Likewise.
69559         (__sgn): Likewise.
69561         * manual/string.texi (Copying and Concatenation): Add missing
69562         variable in concat example.
69563         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69565 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69567         [BZ #14103]
69568         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69569         __builtin_clzl with __builtin_clzll.
69571 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69573         [BZ #14104]
69574         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69575         libc_freeres_ptr.
69577 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69579         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69580         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69581         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69582         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69584 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69586         * NEWS: Update ia64 info.
69588 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69590         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69591         used as bcopy.
69593 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69595         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69596         * sysdeps/unix/syscalls.list (dup3): Likewise.
69597         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69598         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69600 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69602         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69603         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69605 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69607         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69608         thread pointer.
69609         (TLS_IE): Use mov/add instead of movq/addq to load thread
69610         pointer.
69611         (TLS_GD_PREFIX): New.
69612         (TLS_GD): Use it.
69614 2012-05-11  David S. Miller  <davem@davemloft.net>
69616         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69617         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69618         (_FPU_SETCW): Likewise.
69620 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69622         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69623         is 32-byte aligned.
69625 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69627         [BZ #11837]
69628         * iconvdata/gb18030.c: Update tables.
69629         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69630         characters specially.
69631         (BODY for TO_LOOP): Add encoding of missing ranges.
69633 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69635         [BZ #13673]
69636         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69637         * sysdeps/mach/hurd/dup3.c: Likewise.
69638         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69639         * sysdeps/powerpc/memmove.c:: Likewise.
69641 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69643         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69644         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69646 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69648         * elf/elf.h (R_X86_64_RELATIVE64): New.
69649         (R_X86_64_NUM): Updated.
69650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69651         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69652         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69653         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69654         tst-quad1pie tst-quad2pie
69655         (modules-names): Add tst-quadmod1 tst-quadmod2.
69656         ($(objpfx)tst-quad1): New dependency.
69657         ($(objpfx)tst-quad2): Likewise.
69658         ($(objpfx)tst-quad1pie): Likewise.
69659         ($(objpfx)tst-quad2pie): Likewise.
69660         * sysdeps/x86_64/tst-quad1.c: New file.
69661         * sysdeps/x86_64/tst-quad1pie.c: New file.
69662         * sysdeps/x86_64/tst-quad2.c: Likewise.
69663         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69664         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69665         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69666         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69667         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69671         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69672         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69673         * streams/stropts.h (t_scalar_t): Define type.
69675         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69676         (_PATH_PRESERVE): Set to "/var/lib".
69677         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69679         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69680         instead of int.
69682         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69683         if __dir_mkfile succeeded.
69685         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69686         checking for _hurd_dtablesize.  Unlock it right after having
69687         finished _hurd_dtable allocation.
69689 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69691         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69692         * sysdeps/mach/hurd/configure: Regenerated.
69693         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69694         special-casing to...
69695         * sysdeps/gnu/configure.in: ... this new file.
69696         * sysdeps/unix/sysv/linux/configure: Regenerated.
69697         * sysdeps/gnu/configure: New generated file.
69699         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69700         for Linux: use nsec instead of usec, as well as:
69701         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69702         members of type struct timespec.
69703         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69704         New macros.
69705         (struct stat64): Likewise.
69706         (_STATBUF_ST_NSEC): New macro.
69707         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69709         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69710         __strtoul_internal rather than strtoul.
69712 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69714         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69715         and reject them.
69717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69719         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69720         which preserves existing values.
69721         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69723 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69725         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69726         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69727         greater than FD_SETSIZE.
69729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69731         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69732         allocated, call __vm_protect to finish enabling the existing space, and
69733         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69734         allocate the remainder.
69736 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69738         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69739         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69743         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69744         sysdeps/mach/hurd/readlink.c.
69746         * posix/tst-sysconf.c (posix_options): Only use
69747         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69748         _POSIX_SYNCHRONIZED_IO when they are defined
69749         * sysdeps/mach/hurd/bits/posix_opt.h:
69750         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69751         (_XOPEN_REALTIME): Undefine macro.
69752         (_XOPEN_REALTIME_THREADS): Undefine macro.
69753         (_XOPEN_SHM): Undefine macro.
69754         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69755         macro to -1.
69756         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69757         macro to -1.
69758         (_POSIX_ASYNC_IO): Undefine macro.
69759         (_POSIX_PRIORITIZED_IO): Undefine macro.
69760         (_POSIX_SPIN_LOCKS): Define macro to -1.
69762         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69763         SA_NODEFER, SA_RESETHAND.
69764         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69765         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69766         F_DUPFD_CLOEXEC.
69768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69770         * elf/Makefile (pldd-modules): Define unconditionally.
69772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69774         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69778         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69779         Return ENOENT when name is empty.
69780         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69784         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69786         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69790         Fix mlock in all cases except non-readable pages.
69791         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69792         instead of VM_PROT_ALL as parameter to __vm_wire function.
69794         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69795         (__mkdir): When path is `/', just fail with EEXIST.
69796         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69800         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69801         <sys/uio.h> (for writev).
69802         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69803         and <sys/param.h> (for MIN).
69805 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69807         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69808         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69809         if interrupted.
69811 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69813         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69814         Depend on against $(link-rpcuserlibs).
69816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69818         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69819         (__libc_stack_end): Do not use attribute_relro.
69820         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69821         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69822         to libthread-provided value.
69823         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69824         attribute_relro.
69826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69828         [BZ #3748]
69829         * bits/libc-lock.h (__libc_once_get): New macro.
69830         * sysdeps/mach/bits/libc-lock.h: Likewise.
69831         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69832         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69833         instead of using implementation details.
69835         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69836         * libio/freopen.c: Likewise.
69837         * libio/freopen64.c: Likewise.
69838         * misc/syslog.c: Likewise.
69839         * nscd/connections.c: Likewise.
69840         * nscd/netgroupcache.c: Likewise.
69841         * sysdeps/posix/getcwd.c: Likewise.
69843 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69845         * math/w_ilogbf.c: Add #include <limits.h>.
69847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69849         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69850         path instead of returning without unlocking.
69852         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69853         immediate-write ioctls.
69854         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69858         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69859         __builtin_frame_address instead of making assumptions about the
69860         location of the return address relative to DATA.  Force early load of
69861         the return address.
69862         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69863         __builtin_frame_address.
69865         dup3 for GNU Hurd.
69866         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69867         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69868         implement dup3 and do some further code clean-ups.
69869         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69870         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69874         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69876         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69877         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69878         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69879         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69880         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69881         d->port.lock.
69883         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69884         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69885         when handler == SIG_ERR, not when handler != SIG_ERR.
69887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69889         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69890         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69891         definitions.
69893         accept4 for GNU Hurd.
69894         * include/sys/socket.h (__libc_accept4): New prototype.
69895         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69896         to implement __libc_accept4.
69897         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69898         __libc_accept4.
69899         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69901         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69902         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69903         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69904         signal-defines.sym.
69906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69908         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69912         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69913         assertion on O_CLOEXEC flag.
69914         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69915         * hurd/intern-fd.c: Likewise.
69916         * hurd/port2fd.c: Likewise.
69918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69920         [BZ #3906]
69921         * bits/in.h (IPV6_PKTINFO): Define new macro.
69922         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69924 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69926         [BZ #13954]
69927         [BZ #13955]
69928         [BZ #13956]
69929         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69931         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69932         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69933         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69934         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69935         * math/libm-test.inc (logb_test) : Additional logb tests.
69937 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69938             Andreas Jaeger  <aj@suse.de>
69940         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69941         * configure: Regenerated.
69942         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69943         * config.make.in (link-obsolete-rpc): New substituted variable.
69944         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69945         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69946         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69947         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69948         so that libc.a contains the symbols.
69949         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69950         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69951         * sunrpc/auth_none.c: Likewise.
69952         * sunrpc/auth_unix.c: Likewise.
69953         * sunrpc/authdes_prot.c: Likewise.
69954         * sunrpc/authuxprot.c: Likewise.
69955         * sunrpc/clnt_gen.c: Likewise.
69956         * sunrpc/clnt_perr.c: Likewise.
69957         * sunrpc/clnt_raw.c: Likewise.
69958         * sunrpc/clnt_simp.c: Likewise.
69959         * sunrpc/clnt_tcp.c: Likewise.
69960         * sunrpc/clnt_udp.c: Likewise.
69961         * sunrpc/clnt_unix.c: Likewise.
69962         * sunrpc/des_crypt.c: Likewise.
69963         * sunrpc/des_soft.c: Likewise.
69964         * sunrpc/get_myaddr.c: Likewise.
69965         * sunrpc/key_call.c: Likewise.
69966         * sunrpc/key_prot.c: Likewise.
69967         * sunrpc/netname.c: Likewise.
69968         * sunrpc/pm_getmaps.c: Likewise.
69969         * sunrpc/pm_getport.c: Likewise.
69970         * sunrpc/pmap_clnt.c: Likewise.
69971         * sunrpc/pmap_prot.c: Likewise.
69972         * sunrpc/pmap_prot2.c: Likewise.
69973         * sunrpc/pmap_rmt.c: Likewise.
69974         * sunrpc/publickey.c: Likewise.
69975         * sunrpc/rpc_cmsg.c: Likewise.
69976         * sunrpc/rpc_common.c: Likewise.
69977         * sunrpc/rpc_dtable.c: Likewise.
69978         * sunrpc/rpc_prot.c: Likewise.
69979         * sunrpc/rpc_thread.c: Likewise.
69980         * sunrpc/rtime.c: Likewise.
69981         * sunrpc/svc.c: Likewise.
69982         * sunrpc/svc_auth.c: Likewise.
69983         * sunrpc/svc_raw.c: Likewise.
69984         * sunrpc/svc_run.c: Likewise.
69985         * sunrpc/svc_tcp.c: Likewise.
69986         * sunrpc/svc_udp.c: Likewise.
69987         * sunrpc/svc_unix.c: Likewise.
69988         * sunrpc/svcauth_des.c: Likewise.
69989         * sunrpc/xcrypt.c: Likewise.
69990         * sunrpc/xdr.c: Likewise.
69991         * sunrpc/xdr_array.c: Likewise.
69992         * sunrpc/xdr_float.c: Likewise.
69993         * sunrpc/xdr_intXX_t.c: Likewise.
69994         * sunrpc/xdr_mem.c: Likewise.
69995         * sunrpc/xdr_rec.c: Likewise.
69996         * sunrpc/xdr_ref.c: Likewise.
69997         * sunrpc/xdr_sizeof.c: Likewise.
69998         * sunrpc/xdr_stdio.c: Likewise.
70000 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70002         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70003         change.  Update copyright years.
70005 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70007         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70009 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70010             Joseph Myers  <joseph@codesourcery.com>
70011             Paul Pluzhnikov  <ppluzhnikov@google.com>
70013         [BZ #14012]
70014         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70015         requiring rpcgen.
70016         [cross-compiling] (extra-libs): Likewise.
70017         [cross-compiling] (extra-libs-others): Likewise.
70018         [cross-compiling] (librpcsvc-routines): Likewise.
70019         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70020         [cross-compiling] (omit-deps): Likewise.
70021         (sunrpc-CPPFLAGS): New variable.
70022         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70023         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70024         (cross-rpcgen-objs): New variable.
70025         (extra-objs): Append $(cross-rpcgen-objs).
70026         ($(cross-rpcgen-objs)): New rule.
70027         ($(objpfx)cross-rpcgen): Likewise.
70028         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70029         comment.
70030         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70031         ($(objpfx)x%.stmp): Likewise.
70032         * sunrpc/proto.h [IS_IN_build] (_): Define.
70033         [IS_IN_build] (_libc_intl_domainname): Likewise.
70035 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70037         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70038         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70039         and R_X86_64_TPOFF64.
70041 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70043         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70044         sysdeps/unix/sysv/syscalls.list.
70045         (stime): Likewise.
70046         (utime): Likewise.
70047         * sysdeps/unix/sysv/syscalls.list: Remove file.
70049 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70051         [BZ #3440]
70052         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70053         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70054         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70055         (__LC_IDENTIFICATION): Make these macros useful in #if
70056         expressions, as required by C99.
70058 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70060         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70061         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70062         after this.
70064 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70066         * stdlib/longlong.h: Updated from GCC.
70068 2012-05-09  Andreas Jaeger  <aj@suse.de>
70070         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70071         default is first entry.
70072         (run_mode): Set type.
70073         (main): Remove informal message about syslog.
70074         (options): Fix typo.
70076         [BZ #14053]
70077         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70078         to asm.
70079         (lrint): Likewise.
70080         (llrintf): Likewise.
70081         (llrint): Likewise.
70082         (rint): Likewise.
70083         (rintf): Likewise.
70084         (nearbyint): Likewise.
70085         (nearbyintf): Likewise.
70087 2012-05-09  Andreas Jaeger  <aj@suse.de>
70088             Pedro Alves  <palves@redhat.com>
70090         * nscd/nscd.c (run_mode): Use enum.
70091         (main): Cleanup coding style issue.
70093 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70094             Andreas Jaeger  <aj@suse.de>
70096         * nscd/nscd.c (go_background): Replaced with...
70097         (run_mode): ... this.
70098         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70099         (options): Add -F --foreground.
70100         (main): Implement it.
70101         (parse_opt): Parse it.
70103 2012-05-09  Andreas Jaeger  <aj@suse.de>
70105         [BZ #14083]
70106         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70107         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70108         -Wconversion warning.
70109         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70110         Likewise.
70112 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70114         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70115         == 0.
70116         (LC_ALL): Use macro-int-constant.
70117         (LC_COLLATE): Likewise.
70118         (LC_CTYPE): Likewise.
70119         (LC_MESSAGES): Likewise.
70120         (LC_MONETARY): Likewise.
70121         (LC_NUMERIC): Likewise.
70122         (LC_TIME): Likewise.
70123         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70124         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70125         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70126         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70127         Specify type.
70128         [C99-based standards] (float_t): Expect type.
70129         [C99-based standards] (double_t): Expect type.
70130         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70131         type.
70132         [C99-based standards] (HUGE_VALL): Likewise.
70133         [C99-based standards] (INFINITY): Likewise.
70134         [C99-based standards] (NAN): Likewise.
70135         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70136         [C99-based standards] (FP_NAN): Likewise.
70137         [C99-based standards] (FP_NORMAL): Likewise.
70138         [C99-based standards] (FP_SUBNORMAL): Likewise.
70139         [C99-based standards] (FP_ZERO): Likewise.
70140         [C99-based standards] (FP_FAST_FMA): Use
70141         optional-macro-int-constant.  Specify type.  Require == 1.
70142         [C99-based standards] (FP_FAST_FMAF): Likewise.
70143         [C99-based standards] (FP_FAST_FMAL): Likewise.
70144         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70145         [C99-based standards] (FP_ILOGBNAN): Likewise.
70146         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70147         Specify type.
70148         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70149         [C99-based standards] (math_errhandling): Specify type.
70150         [ISO99 || ISO11] (signgam): Do not allow.
70151         [non-C99-based standards] (copysignf): Do not allow.
70152         [non-C99-based standards] (exp2f): Likewise.
70153         [non-C99-based standards] (log2f): Likewise.
70154         [non-C99-based standards] (modff): Allow.
70155         [non-C99-based standards] (erff): Do not allow.
70156         [non-C99-based standards] (erfcf): Likewise.
70157         [non-C99-based standards] (gammaf): Likewise.
70158         [non-C99-based standards] (hypotf): Likewise.
70159         [non-C99-based standards] (j0f): Likewise.
70160         [non-C99-based standards] (j1f): Likewise.
70161         [non-C99-based standards] (jnf): Likewise.
70162         [non-C99-based standards] (lgammaf): Likewise.
70163         [non-C99-based standards] (tgammaf): Likewise.
70164         [non-C99-based standards] (y0f): Likewise.
70165         [non-C99-based standards] (y1f): Likewise.
70166         [non-C99-based standards] (ynf): Likewise.
70167         [non-C99-based standards] (isnanf): Likewise.
70168         [non-C99-based standards] (acoshf): Likewise.
70169         [non-C99-based standards] (asinhf): Likewise.
70170         [non-C99-based standards] (atanhf): Likewise.
70171         [non-C99-based standards] (cbrtf): Likewise.
70172         [non-C99-based standards] (expm1f): Likewise.
70173         [non-C99-based standards] (ilogbf): Likewise.
70174         [non-C99-based standards] (log1pf): Likewise.
70175         [non-C99-based standards] (logbf): Likewise.
70176         [non-C99-based standards] (nextafterf): Likewise.
70177         [non-C99-based standards] (remainderf): Likewise.
70178         [non-C99-based standards] (rintf): Likewise.
70179         [non-C99-based standards] (scalbf): Likewise.
70180         [non-C99-based standards] (copysignl): Likewise.
70181         [non-C99-based standards] (exp2l): Likewise.
70182         [non-C99-based standards] (log2l): Likewise.
70183         [non-C99-based standards] (modfl): Allow.
70184         [non-C99-based standards] (erfl): Do not allow.
70185         [non-C99-based standards] (erfcl): Likewise.
70186         [non-C99-based standards] (gammal): Likewise.
70187         [non-C99-based standards] (hypotl): Likewise.
70188         [non-C99-based standards] (j0l): Likewise.
70189         [non-C99-based standards] (j1l): Likewise.
70190         [non-C99-based standards] (jnl): Likewise.
70191         [non-C99-based standards] (lgammal): Likewise.
70192         [non-C99-based standards] (tgammal): Likewise.
70193         [non-C99-based standards] (y0l): Likewise.
70194         [non-C99-based standards] (y1l): Likewise.
70195         [non-C99-based standards] (ynl): Likewise.
70196         [non-C99-based standards] (isnanl): Likewise.
70197         [non-C99-based standards] (acoshl): Likewise.
70198         [non-C99-based standards] (asinhl): Likewise.
70199         [non-C99-based standards] (atanhl): Likewise.
70200         [non-C99-based standards] (cbrtl): Likewise.
70201         [non-C99-based standards] (expm1l): Likewise.
70202         [non-C99-based standards] (ilogbl): Likewise.
70203         [non-C99-based standards] (log1pl): Likewise.
70204         [non-C99-based standards] (logbl): Likewise.
70205         [non-C99-based standards] (nextafterl): Likewise.
70206         [non-C99-based standards] (remainderl): Likewise.
70207         [non-C99-based standards] (rintl): Likewise.
70208         [non-C99-based standards] (scalbl): Likewise.
70209         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70210         [non-C99-based standards] (FP_*): Do not allow.
70211         [C99-based standards] (FP_*): Change to
70212         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70213         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70214         allow.
70215         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70216         (SIG_ERR): Likewise.
70217         [X/Open-based standards] (SIG_HOLD): Likewise.
70218         (SIG_IGN): Likewise.
70219         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70220         positive value.
70221         (SIGFPE): Likewise.
70222         (SIGILL): Likewise.
70223         (SIGINT): Likewise.
70224         (SIGSEGV): Likewise.
70225         (SIGTER): Likewise.
70226         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70227         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70228         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70229         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70230         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70231         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70232         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70233         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70234         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70235         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70236         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70237         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70239         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70240         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70241         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70242         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70243         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70244         [X/Open-based standards] (SIGTRAP): Likewise.
70245         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70246         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70247         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70248         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70249         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70250         allow.
70252 2012-05-08  Ian Wienand  <ianw@vmware.com>
70254         [BZ #14080]
70255         * time/tzset.c (__tzset_parse_tz): Update default rules for
70256         daylight time changes in the Energy Policy Act of 2005.
70258 2012-05-09  Andreas Jaeger  <aj@suse.de>
70260         [BZ #13983]
70261         * elf/ldconfig.c (parse_conf): Change string to make clear that
70262         ldconfig only issued a warning if ld.so.conf does not exist.
70264 2012-05-08  David S. Miller  <davem@davemloft.net>
70266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70267         movxtod instead of popping the value on the stack.
70269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70271 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70273         * config.h.in: Add HAVE_ARM_PCS_VFP.
70275 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70277         [BZ #13979]
70278         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70279         checking but the checks are disabled for any reason.
70281 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70283         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70284         and ELF64_R_TYPE with ELFW(R_TYPE).
70286 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70288         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70289         (ulimit): Likewise.
70291         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70292         (settimeofday): Likewise.
70294 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70296         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70297         a struct th_u2 inside the union, and move tu_block/tu_code into
70298         a new th_u3 union of tu_block/tu_code inside of that.  Move
70299         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70300         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70301         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70302         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70303         (th_stuff): Change to th_u1.tu_stuff.
70304         (th_data): Define.
70305         (th_msg): Change to th_u1.th_u2.tu_data.
70307 2012-05-07  David S. Miller  <davem@davemloft.net>
70309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70311         [BZ #14074]
70312         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70313         (SETUP_PIC_REG): Use it.
70314         (SETUP_PIC_REG_LEAF): Use it.
70316 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70318         [BZ #13885]
70319         [BZ #13923]
70320         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70321         USE_AS_EXPM1L.
70322         (EXPL_FINITE): Likewise.
70323         (FLDLOG): Likewise.
70324         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70325         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70326         e_expl.S.
70327         * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70333         e_expl.S.
70334         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70335         test of -max_value argument for long double.
70336         * sysdeps/i386/fpu/libm-test-ulps: Update.
70337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70339 2012-05-06  David S. Miller  <davem@davemloft.net>
70341         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70342         quad soft-float symbols whose references which are compiler
70343         generated.
70344         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70346 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70348         [BZ #13884]
70349         [BZ #13914]
70350         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70351         USE_AS_EXP10L.
70352         (EXPL_FINITE): Likewise.
70353         (FLDLOG): Likewise.
70354         (c0): Likewise.
70355         (c1): Likewise.
70356         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70357         Adjust comments for base varying.
70358         (__expl_finite): Change alias to EXPL_FINITE.
70359         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70360         e_expl.S.
70361         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70362         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70363         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70364         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70365         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70366         USE_AS_EXP10L.
70367         (EXPL_FINITE): Likewise.
70368         (FLDLOG): Likewise.
70369         (c0): Likewise.
70370         (c1): Likewise.
70371         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70372         Adjust comments for base varying.
70373         (__expl_finite): Change alias to EXPL_FINITE.
70374         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70375         tests for bugs.
70376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70378         [BZ #14064]
70379         * math/libm-test.inc (check_float_internal): Correct ulp
70380         calculation for subnormal expected results.
70382 2012-05-06  Andreas Jaeger  <aj@suse.de>
70384         * Makeconfig (+math-flags): New, set to -frounding-math.
70385         (+cflags): Add +math-flags so that all of glibc gets compiled with
70386         it.
70388         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70390 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70392         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70393         Disable one test.
70395         [BZ #13787]
70396         [BZ #13922]
70397         [BZ #14036]
70398         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70399         (__ieee754_expl): Allow for and saturate large arguments.
70400         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70401         (u_threshold): Likewise.
70402         (__exp): Call __ieee754_exp before checking for overflow and
70403         underflow.
70404         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70405         (u_threshold): Likewise.
70406         (__expf): Call __ieee754_expf before checking for overflow and
70407         underflow.
70408         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70409         (u_threshold): Likewise.
70410         (__expl): Call __ieee754_expl before checking for overflow and
70411         underflow.
70412         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70413         (__ieee754_expl): Allow for and saturate large arguments.
70414         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70415         missing overflow exception on overflow.
70416         (expm1_test): Do not allow missing overflow exception on overflow.
70418         * sysdeps/i386/fpu/e_expl.c: Move to ...
70419         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70420         rather than using inline asm.
70421         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70422         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70423         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70425         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70426         (nice): Likewise.
70427         (poll): Likewise.
70428         (signal): Likewise.
70429         (time): Likewise.
70430         (times): Likewise.
70432 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70434         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70435         sysdeps/unix/common/syscalls.list.
70436         (fchmod): Likewise.
70437         (fchown): Likewise.
70438         (ftruncate): Likewise.
70439         (getrusage): Likewise.
70440         (gettimeofday): Likewise.
70441         (setpgid): Likewise.
70442         (setregid): Likewise.
70443         (setreuid): Likewise.
70444         (sigaction): Likewise.
70445         (truncate): Likewise.
70446         (vhangup): Likewise.
70447         * sysdeps/unix/common/syscalls.list: Remove file.
70448         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70449         * sysdeps/unix/sysv/linux/Implies: Likewise.
70451 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70453         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70455         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70456         Moved to ...
70457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70458         Here.
70459         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70460         to ...
70461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70462         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70463         to ...
70464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70465         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70466         to ...
70467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70468         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70469         to ...
70470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70471         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70472         to ...
70473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70474         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70475         to ...
70476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70477         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70478         to ...
70479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70480         Here.
70481         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70482         to ...
70483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70484         Here.
70485         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70486         to ...
70487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70488         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70489         Moved to ...
70490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70491         Here.
70492         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70493         to ...
70494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70496 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70498         * sysdeps/unix/common/bits/dirent.h: Remove file.
70499         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70501         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70502         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70503         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70504         * sysdeps/unix/bsd/isatty.c: Likewise.
70505         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70506         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70507         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70509 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70511         [BZ #13563]
70512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70513         long double comparison inaccuracies.
70514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70517 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70519         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70520         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70522 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70524         [BZ #14049]
70525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70526         nonzero digits before rounding a hex value.
70527         * stdlib/tst-strtod.c (tests): Add another test.
70529 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70531         * sysdeps/s390/fpu/libm-test-ulps: Update.
70533 2012-05-03  Andreas Jaeger  <aj@suse.de>
70535         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70536         does not get optimized out.
70537         (malloc_opt_barrier): New.
70539 2012-05-03  Andreas Jaeger  <aj@suse.de>
70540             Roland McGrath  <roland@hack.frob.com>
70542         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70543         intermediate file deletion.
70544         (generated): Add .symlist files.
70546 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70548         [BZ #13775]
70549         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70550         Redirect under this condition.
70551         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70552         [__USE_GNU] (__dprintf_chk): Not under this condition.
70553         [__USE_GNU] (__vdprintf_chk): Likewise.
70554         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70555         under this condition.
70556         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70557         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70558         [__USE_XOPEN2K8] (vdprintf): Likewise.
70559         [__USE_GNU] (__dprintf_chk): Not under this condition.
70560         [__USE_GNU] (__vdprintf_chk): Likewise.
70561         [__USE_GNU] (dprintf): Likewise.
70562         [__USE_GNU] (vdprintf): Likewise.
70564 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70566         * elf/Makefile (common-generated): Set this instead of generated for
70567         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70568         $(all-built-dso)-derived lists.
70570 2012-05-03  Andreas Jaeger  <aj@suse.de>
70572         * sysdeps/i386/fpu/libm-test-ulps: Update.
70574         * FAQ: Removed.
70575         * FAQ.in: Likewise.
70576         * scripts/gen-FAQ.pl: Likewise.
70577         * manual/install.texi (Installation): Point to online location of
70578         FAQ.
70579         * Makefile (files-for-dist): Remove FAQ.
70580         (FAQ): Remove.
70582 2012-05-02  Allan McRae  <allan@archlinux.org>
70584         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70585         (LDFLAGS-reldepmod5.so): Likewise.
70586         (LDFLAGS-reldep6mod1.so): Likewise.
70587         (LDFLAGS-reldep6mod4.so): Likewise.
70588         (LDFLAGS-reldep8mod3.so): Likewise.
70589         (LDFLAGS-unload4mod1.so): Likewise.
70590         (LDFLAGS-unload4mod2.so): Likewise.
70591         (LDFLAGS-tst-initorder): Likewise.
70592         (LDFLAGS-tst-initordera2.so): Likewise.
70593         (LDFLAGS-tst-initordera3.so): Likewise.
70594         (LDFLAGS-tst-initordera4.so): Likewise.
70595         (LDFLAGS-tst-initorderb2.so): Likewise.
70596         (LDFLAGS-noload): Likewise.
70597         (LDFLAGS-next): Likewise.
70598         (LDFLAGS-order2mod1.so): Likewise.
70599         (LDFLAGS-order2mod2.so): Likewise.
70600         (LDFLAGS-tst-initorder2): Likewise.
70601         (LDFLAGS-tst-initorder2a.so): Likewise.
70602         (LDFLAGS-tst-initorder2b.so): Likewise.
70603         (LDFLAGS-tst-initorder2c.so): Likewise.
70604         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70606 2012-05-02  David S. Miller  <davem@davemloft.net>
70608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70610 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70612         [BZ #14055]
70613         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70615 2012-05-02  Andreas Jaeger  <aj@suse.de>
70617         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70618         since we manipulate rounding mode.
70619         (CPPFLAGS-test-idouble.c): Likewise.
70620         (CPPFLAGS-test-ifloat.c): Likewise.
70621         (CFLAGS-test-ldouble.c): Likewise.
70622         (CFLAGS-test-double.c): Likewise.
70623         (CFLAGS-test-float.c): Likewise.
70624         (CFLAGS-test-misc.c): Likewise.
70625         (CFLAGS-test-test-fenv.c): Likewise.
70627 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70629         [BZ #2550]
70630         [BZ #2570]
70631         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70632         comparisons to determine direction to adjust input.
70634 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70636         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70637         output to the target.
70639         * scripts/localplt.awk: New file.
70640         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70641         (check-localplt-CFLAGS): Variable removed.
70642         ($(all-built-dso:=.jmprel)): New static pattern rule.
70643         (generated): Add those targets.
70644         (localplt-built-dso): New variable.
70645         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70647         * elf/check-localplt.c: File removed.
70649         * scripts/check-execstack.awk: New file.
70650         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70651         (check-execstack-CFLAGS): Variable removed.
70652         ($(objpfx)check-execstack.h): Target removed.
70653         ($(objpfx)execstack-default): New target.
70654         (generated): Add that instead of check-execstack.h.
70655         ($(all-built-dso:=.phdr)): New static pattern rule.
70656         (generated): Add those targets.
70657         * elf/check-execstack.c: File removed.
70659         * scripts/check-textrel.awk: New file.
70660         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70661         (check-textrel-CFLAGS): Variable removed.
70662         (all-built-dso): Use := to define.o
70663         ($(all-built-dso:=.dyn)): New static pattern rule.
70664         (generated): Add those targets.
70665         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70666         * config.make.in (READELF): New substituted variable.
70667         * elf/check-textrel.c: File removed.
70669 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70671         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70672         allow.
70673         * conform/data/ctype.h-data [C99-based standards] (isblank):
70674         Expect function.
70675         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70676         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70677         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70678         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70679         Specify type.  Require positive value.
70680         (EILSEQ): Likewise.
70681         (ERANGE): Likewise.
70682         [ISO || POSIX] (EILSEQ): Do not expect.
70683         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70684         Specify type.  Require positive value.
70685         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70686         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70687         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70688         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70689         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70690         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70691         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70692         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70693         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70694         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70695         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70696         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70697         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70698         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70699         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70700         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70701         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70702         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70703         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70704         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70705         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70706         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70707         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70708         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70709         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70710         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70711         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70712         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70713         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70714         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70715         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70716         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70717         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70718         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70719         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70720         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70721         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70722         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70723         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70724         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70725         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70726         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70727         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70728         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70729         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70730         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70731         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70732         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70733         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70734         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70735         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70736         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70737         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70738         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70739         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70740         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70741         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70742         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70743         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70744         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70745         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70746         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70747         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70748         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70749         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70750         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70751         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70752         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70753         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70754         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70755         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70756         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70757         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70758         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70759         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70760         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70761         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70762         Require >= 2.
70763         (FLT_ROUNDS): Expect as macro, not constant.
70764         (FLT_MANT_DIG): Use macro-int-constant.
70765         (DBL_MANT_DIG): Likewise.
70766         (LDBL_MANT_DIG): Likewise.
70767         (FLT_DIG): Likewise.
70768         (DBL_DIG): Likewise.
70769         (LDBL_DIG): Likewise.
70770         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70771         (DBL_MIN_EXP): Likewise.
70772         (LDBL_MIN_EXP): Likewise.
70773         (FLT_MAX_EXP): Use macro-int-constant.
70774         (DBL_MAX_EXP): Likewise.
70775         (LDBL_MAX_EXP): Likewise.
70776         (FLT_MAX_10_EXP): Likewise.
70777         (DBL_MAX_10_EXP): Likewise.
70778         (LDBL_MAX_10_EXP): Likewise.
70779         (FLT_MAX): Use macro-constant.
70780         (DBL_MAX): Likewise.
70781         (LDBL_MAX): Likewise.
70782         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70783         (DBL_EPSILON): Likewise.
70784         (LDBL_EPSILON): Likewise.
70785         (FLT_MIN): Likewise.
70786         (DBL_MIN): Likewise.
70787         (LDBL_MIN): Likewise.
70788         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70789         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70790         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70791         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70792         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70793         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70794         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70795         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70796         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70797         [ISO11] (FLT_TRUE_MIN): Likewise.
70798         [ISO11] (LDBL_TRUE_MIN): Likewise.
70799         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70800         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70801         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70802         (SCHAR_MAX): Likewise.
70803         (UCHAR_MAX): Likewise.
70804         (CHAR_MIN): Likewise.
70805         (CHAR_MAX): Likewise.
70806         (MB_LEN_MAX): Use macro-int-constant.
70807         (SHRT_MIN): Use macro-int-constant.  Specify type.
70808         (SHRT_MAX): Likewise.
70809         (USHRT_MAX): Likewise.
70810         (INT_MAX): Likewise.
70811         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70812         bound negative.
70813         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70814         bound with "U".
70815         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70816         bound with "L".
70817         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70818         bound negative.  Suffix upper bound with "L".
70819         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70820         bound with "UL".
70821         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70822         Specify type.
70823         [C99-based standards] (LLONG_MAX): Likewise.
70824         [C99-based standards] (ULLONG_MAX): Likewise.
70825         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70826         == 0.
70827         [ISO11] (max_align_t): Require type.
70828         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70830         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70831         from $CFLAGS, without defining away __attribute__ calls.
70832         (checknamespace): Use $CFLAGS_namespace.
70834         * conform/conformtest.pl (@keywords): Only include C99 keywords
70835         for standards based on C99 or C11.
70837         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70838         Disable tests.
70839         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70840         UNIX98]: Likewise.
70842         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70843         usability of symbols in #if.
70845         * conform/conformtest.pl: If macro or constant types start
70846         "promoted:", expect the symbol to be of the following type
70847         promoted by the integer promotions.
70849         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70850         in one place.  Also handle "macro-constant".
70852         * conform/conformtest.pl: Only accept expected macro values with
70853         "==".  Parse all "macro" lines in one place.
70854         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70856         * conform/conformtest.pl: Handle braced types on "constant" lines
70857         instead of handling "typed-constant".
70858         * conform/data/signal.h-data: Use "constant" instead of
70859         "typed-constant".
70861         * conform/conformtest.pl: Handle "optional-" at start of lines in
70862         one place rather than duplicating several cases.  Handle each
70863         format of "macro" line with initial "optional-".
70865         * conform/conformtest.pl: Only accept expected constant or
70866         optional-constant values with "==".  Parse all "constant" lines in
70867         one place.  Parse all "optional-constant" lines in one place.
70868         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70869         * conform/data/fmtmsg.h-data: Likewise.
70870         * conform/data/netinet/in.h-data: Likewise.
70871         * conform/data/tar.h-data: Likewise.
70872         * conform/data/limits.h-data: Use "==" form on "constant" and
70873         "optional-constant" lines.
70875         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70876         Use -std=c99 for XOPEN2K.
70877         (@knownproblems): Remove.
70878         (newtoken): Don't check %isknown.
70880         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70881         Do not expect macro.
70882         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70883         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70884         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70885         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70886         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70887         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70888         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70889         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70890         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70891         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70892         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70893         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70894         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70895         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70896         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70897         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70898         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70899         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70900         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70901         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70902         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70903         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70904         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70905         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70906         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70907         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70908         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70909         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70910         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70911         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70912         [XPG3] (acosh): Likewise.
70913         [XPG3] (asinh): Likewise.
70914         [XPG3] (atanh): Likewise.
70915         [XPG3] (cbrt): Likewise.
70916         [XPG3] (expm1): Likewise.
70917         [XPG3] (ilogb): Likewise.
70918         [XPG3] (log1p): Likewise.
70919         [XPG3] (logb): Likewise.
70920         [XPG3] (nextafter): Likewise.
70921         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70922         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70923         [XPG3] (remainder): Likewise.
70924         [XPG3] (rint): Likewise.
70925         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70926         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70927         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70928         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70929         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70930         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70931         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70932         [UNIX98 || XOPEN2K] (scalb): Expect.
70933         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70934         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70935         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70936         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70939         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70940         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70941         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70943         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70944         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70945         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70946         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70947         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70948         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70949         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70950         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70951         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70954         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70955         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70984         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70985         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70986         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70987         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70988         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70989         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70990         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70991         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70992         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70993         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70994         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70995         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70996         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70997         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70998         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70999         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71000         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71001         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71002         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71003         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71004         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71005         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71006         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71007         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71008         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71009         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71010         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71011         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71012         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71013         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71014         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71015         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71016         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71017         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71018         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71019         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71020         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71021         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71022         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71023         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71024         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71025         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71026         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71027         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71028         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71029         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71030         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71031         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71032         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71033         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71034         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71035         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71036         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71037         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71038         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71039         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71040         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71041         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71042         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71043         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71044         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71045         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71046         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71047         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71048         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71049         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71050         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71051         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71052         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71053         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71054         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71055         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71056         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71057         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71058         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71059         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71060         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71061         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71062         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71063         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71064         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71065         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71066         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71067         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71068         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71069         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71071         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71072         _XOPEN_SOURCE_EXTENDED for XPG4.
71074         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71076         * Makeconfig (localtime): Remove variable.
71077         (inst_localtime-file): Likewise.
71079 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71082         Update.
71083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71084         Update.
71085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71086         Update.
71087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71088         Update.
71089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71090         Update.
71091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71092         Update.
71093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71094         Update.
71095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71096         Update.
71097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71098         Update.
71100 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71102         [BZ #2550]
71103         [BZ #2570]
71104         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71105         comparisons to determine direction to adjust input.
71106         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71107         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71108         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71109         Likewise.
71110         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71111         Likewise.
71112         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71113         Likewise.
71114         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71115         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71116         Likewise.
71117         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71118         Likewise.
71119         * math/libm-test.inc (nexttoward_test): Add more tests.
71121 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71123         [BZ #14040]
71124         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71125         in version GLIBC_2.1, not GLIBC_2.0.
71126         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71127         Likewise.
71129 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71131         [BZ #13942]
71132         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71133         (1 - x) * (1 + x).
71134         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71135         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71136         * math/libm-test.inc (acos_test): Add more tests.
71137         (asin_test): Likewise.
71138         * sysdeps/i386/fpu/libm-test-ulps: Update.
71139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71141         [BZ #14034]
71142         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71143         of square root.
71144         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71145         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71146         * math/libm-test.inc (acos_test_tonearest): New function.
71147         (acos_test_towardzero): Likewise.
71148         (acos_test_downward): Likewise.
71149         (acos_test_upward): Likewise.
71150         (asin_test_tonearest): Likewise.
71151         (asin_test_towardzero): Likewise.
71152         (asin_test_downward): Likewise.
71153         (asin_test_upward): Likewise.
71154         (main): Call the new functions.
71155         * sysdeps/i386/fpu/libm-test-ulps: Update.
71156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71158         [BZ #13884]
71159         [BZ #13924]
71160         * math/e_exp10.c: Include <float.h>.
71161         (__ieee754_exp10): Handle underflow here rather than multiplying
71162         large negative argument by M_LN10.
71163         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71164         of __ieee754_expf.
71165         * math/e_exp10l.c: Include <float.h>.
71166         (__ieee754_exp10l): Handle underflow here rather than multiplying
71167         large negative argument by M_LN10l.
71168         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71169         spurious overflow exception on underflow.
71171 2012-04-29  Marek Polacek  <polacek@redhat.com>
71173         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71174         (__fortify_function): New macro.
71175         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71176         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71177         __extern_always_inline.
71178         * libio/bits/stdio2.h: Likewise.
71179         * libio/bits/stdio.h: Likewise.
71180         * string/string.h: Likewise.
71181         * string/bits/string3.h: Likewise.
71182         * include/stdio.h: Likewise.
71183         * stdlib/bits/stdlib.h: Likewise.
71184         * stdlib/stdlib.h: Likewise.
71185         * rt/bits/mqueue2.h: Likewise.
71186         * rt/mqueue.h: Likewise.
71187         * posix/bits/unistd.h: Likewise.
71188         * posix/unistd.h: Likewise.
71189         * io/bits/poll2.h: Likewise.
71190         * io/bits/fcntl2.h: Likewise.
71191         * io/fcntl.h: Likewise.
71192         * io/sys/poll.h: Likewise.
71193         * misc/bits/syslog.h: Likewise.
71194         * misc/bits/syslog-ldbl.h: Likewise.
71195         * misc/sys/syslog.h: Likewise.
71196         * socket/bits/socket2.h: Likewise.
71197         * socket/sys/socket.h: Likewise.
71198         * debug/tst-chk1.c: Likewise.
71199         * wcsmbs/bits/wchar2.h: Likewise.
71200         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71201         * wcsmbs/wchar.h: Likewise.
71203 2012-04-29  Andreas Jaeger  <aj@suse.de>
71205         * Makerules (tests): Remove enable-check-abi protection.
71206         (check-abi-warn): Remove.
71207         (check-abi-%): Remove check-abi-warn usage.
71209         * configure.in: Remove check-abi configure option.
71210         * configure: Regenerated.
71211         * config.make.in (enable-check-abi): Remove.
71213 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71215         [BZ #14033]
71216         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71217         double functions to double *_finite functions.
71219         [BZ #13941]
71220         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71221         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71222         LDBL_MIN_EXP.
71223         * stdio-common/Makefile (tests): Add tst-sprintf3.
71224         * stdio-common/tst-sprintf3.c: New file.
71226         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71227         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71229 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71231         * conform/conformtest.pl: Remove duplicate typed-constant
71232         handling.
71234 2012-04-28  David S. Miller  <davem@davemloft.net>
71236         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71237         (check-abi-%): Remove AWK script prerequisite and explicit
71238         abilist directory.
71239         (check-abi): Rewrite to just diff the symlist with the abilist.
71240         (config-tls, config-abi-config): Delete, no longer used.
71241         (update-abi-%): Remove AWK script and explicit abilist directory.
71242         (update-abi): Rewrite to simply compare and conditionally copy the
71243         symlist and the sysdep abilist file.  Remove update-abi-config
71244         checks.
71245         * abilist/ld.abilist: Remove.
71246         * abilist/libBrokenLocale.abilist: Remove.
71247         * abilist/libanl.abilist: Remove.
71248         * abilist/libcrypt.abilist: Remove.
71249         * abilist/libdl.abilist: Remove.
71250         * abilist/librt.abilist: Remove.
71251         * abilist/libthread_db.abilist: Remove.
71252         * abilist/libutil.abilist: Remove.
71253         * scripts/extract-abilist.awk: Remove.
71254         * scripts/merge-abilist.awk: Remove.
71255         * sysdeps/generic/libcidn.abilist: New file.
71256         * sysdeps/generic/libnss_compat.abilist: New file.
71257         * sysdeps/generic/libnss_db.abilist: New file.
71258         * sysdeps/generic/libnss_dns.abilist: New file.
71259         * sysdeps/generic/libnss_files.abilist: New file.
71260         * sysdeps/generic/libnss_hesiod.abilist: New file.
71261         * sysdeps/generic/libnss_nis.abilist: New file.
71262         * sysdeps/generic/libnss_nisplus.abilist: New file.
71263         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71264         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71265         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71266         file.
71267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71268         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71269         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71270         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71271         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71272         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71273         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71274         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71275         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71276         file.
71277         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71278         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71279         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71280         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71281         file.
71282         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71283         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71284         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71285         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71286         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71287         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71288         file.
71289         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71290         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71291         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71292         file.
71293         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71295         New file.
71296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71297         New file.
71298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71299         New file.
71300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71301         New file.
71302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71303         New file.
71304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71305         New file.
71306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71307         New file.
71308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71309         New file.
71310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71311         New file.
71312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71313         New file.
71314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71315         New file.
71316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71317         New file.
71318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71319         New file.
71320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71321         file.
71322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71323         New file.
71324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71325         New file.
71326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71327         file.
71328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71329         New file.
71330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71331         New file.
71332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71333         file.
71334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71335         New file.
71336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71337         New file.
71338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71339         New file.
71340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71341         New file.
71342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71343         New file.
71344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71345         New file.
71346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71348         file.
71349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71350         New file.
71351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71352         file.
71353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71354         file.
71355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71356         file.
71357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71358         file.
71359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71360         file.
71361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71362         New file.
71363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71364         file.
71365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71366         file.
71367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71368         New file.
71369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71370         file.
71371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71373         file.
71374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71375         New file.
71376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71377         file.
71378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71379         file.
71380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71381         file.
71382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71383         file.
71384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71385         file.
71386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71387         New file.
71388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71389         file.
71390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71391         file.
71392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71393         New file.
71394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71395         file.
71396         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71397         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71398         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71399         file.
71400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71401         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71402         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71403         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71404         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71405         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71406         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71407         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71408         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71409         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71412         file.
71413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71414         New file.
71415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71416         file.
71417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71418         file.
71419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71420         file.
71421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71422         file.
71423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71424         file.
71425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71426         New file.
71427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71428         New file.
71429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71430         file.
71431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71432         New file.
71433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71434         file.
71435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71437         file.
71438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71439         New file.
71440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71441         file.
71442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71443         file.
71444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71445         file.
71446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71447         file.
71448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71449         file.
71450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71451         New file.
71452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71453         New file.
71454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71455         file.
71456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71457         New file.
71458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71459         file.
71461 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71463         * conform/conformtest.pl: Fix typo in handling typed-constant from
71464         allow-header.
71466 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71468         * README: Cut down references to pre-2.6 Linux kernels and
71469         Linuxthreads.  Update lists of configurations in libc and ports
71470         and sort alphabetically.  Say "or newer" with Linux kernel version
71471         requirements.
71473         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71475 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71477         [BZ #887]
71478         * math/libm-test.inc (logb_test_downward): New test to expose
71479         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71480         rounding mode.
71482 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71484         [BZ #14027]
71485         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71486         to be done.
71487         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71488         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71490 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71492         * sysdeps/unix/i386/brk.S: Remove file.
71493         * sysdeps/unix/i386/dl-brk.S: Likewise.
71494         * sysdeps/unix/i386/pipe.S: Likewise.
71495         * sysdeps/unix/i386/sigreturn.S: Likewise.
71496         * sysdeps/unix/i386/syscall.S: Likewise.
71497         * sysdeps/unix/i386/vfork.S: Likewise.
71498         * sysdeps/unix/i386/wait.S: Likewise.
71500         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71501         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71503         * configure.in (arm*-none*): Do not allow without
71504         --enable-hacker-mode.
71505         (netbsd*): Remove case setting base_os.
71506         (386bsd*): Likewise.
71507         (freebsd*): Likewise.
71508         (bsdi*): Likewise.
71509         (osf*): Likewise.
71510         (sunos*): Likewise.
71511         (ultrix*): Likewise.
71512         (newsos*): Likewise.
71513         (dynix*): Likewise.
71514         (*bsd*): Likewise.
71515         (sysv*): Likewise.
71516         (isc*): Likewise.
71517         (esix*): Likewise.
71518         (sco*): Likewise.
71519         (minix*): Likewise.
71520         (irix4*): Likewise.
71521         (irix6*): Likewise.
71522         (solaris[2-9]*): Likewise.
71523         (none): Likewise.
71524         * configure: Regenerated.
71526 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71528         [BZ #11521]
71529         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71530         overflow or cancellation in calculating denominator.
71531         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71532         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71533         down expression to avoid unexpected rounding in newer GCCs.
71534         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71536 2012-04-26  David S. Miller  <davem@davemloft.net>
71538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71539         long-double compat symbols.
71540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71554 2012-04-25  David S. Miller  <davem@davemloft.net>
71556         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71557         HWCAP_* values only after the memory barriers have been defined.
71558         (atomic_full_barrier): Define.
71559         (atomic_read_barrier): Define.
71560         (atomic_write_barrier): Define.
71562 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71564         * shlib-versions: Add libgcc_s version information.
71565         * sysdeps/generic/libgcc_s.h: Remove.
71566         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71567         libgcc_s.h.
71568         * sysdeps/gnu/unwind-resume.c: Likewise.
71569         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71571 2012-04-25  David S. Miller  <davem@davemloft.net>
71573         * sysdeps/unix/sparc/brk.S: Delete.
71574         * sysdeps/unix/sparc/dl-brk.S: Delete.
71575         * sysdeps/unix/sparc/pipe.S: Delete.
71576         * sysdeps/unix/sparc/sysdep.S: Delete.
71577         * sysdeps/unix/sparc/sysdep.h: Delete.
71578         * sysdeps/unix/sparc/vfork.S: Delete.
71579         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71580         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71581         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71582         (ret_ERRVAL, r0, r1, MOVE): Define.
71583         (JUMPTARGET): Remove.
71584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71585         sysdeps/unix/sparc/sysdep.h
71586         (ENTRY, END): Remove.
71587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71589 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71591         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71592         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71593         -DIS_IN_build.
71595         * timezone/README: Update upstream location and email address for
71596         tzcode and tzdata.
71597         * timezone/zdump.c: Update from tzcode 2012b.
71598         * timezone/zic.c: Likewise.
71600         * configure.in (libc_cv_as_needed): Remove test.
71601         * configure: Regenerated.
71602         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71603         conditional definition.
71604         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71605         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71606         * config.make.in (have-as-needed): Remove variable.
71608 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71609             Paul Pluzhnikov  <ppluzhnikov@google.com>
71611         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71612         strings correctly.
71614 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71616         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71617         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71618         * sysdeps/sh/strlen.S: Likewise.
71620 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71622         * sysdeps/unix/fork.S: Remove file.
71623         * sysdeps/unix/i386/fork.S: Likewise.
71624         * sysdeps/unix/sparc/fork.S: Likewise.
71626         * sysdeps/unix/system.c: Remove file.
71627         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71629         * sysdeps/unix/getegid.S: Remove file.
71630         * sysdeps/unix/geteuid.S: Likewise.
71632 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71634         * scripts/check-localplt.awk: New file.
71635         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71636         of diff.
71637         * scripts/data/localplt-generic.data: Add a comment.
71639         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71640         NODE when __dir_mkfile failed.
71641         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71642         Reported by Ludovic Courtès <ludo@gnu.org>.
71644 2012-04-24  Andreas Jaeger  <aj@suse.de>
71646         * Makerules (common-clean): Also remove gen-as-const-headers
71647         files.
71649 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71651         * Makerules (native-compile): Do not change working directory for
71652         build.  Use $(OUTPUT_OPTION) in command.
71653         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71655 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71657         [BZ #13886]
71658         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71659         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71660         * math/libm-test.inc (floor_test): Add more tests.
71661         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71663 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71665         * sysdeps/unix/getdents.c: Remove file.
71666         * sysdeps/unix/sysv/getdents.c: Likewise.
71667         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71669         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71670         sysdeps/unix/mman/syscalls.list.
71671         (mmap): Likewise.
71672         (mprotect): Likewise.
71673         (msync): Likewise.
71674         (munmap): Likewise.
71675         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71676         * sysdeps/unix/mman/syscalls.list: Remove.
71677         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71679         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71680         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71681         * configure: Regenerated.
71682         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71683         $(libgcc_s_suffix).
71684         * config.make.in (libgcc_s_suffix): Remove variable.
71686 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71688         * sysdeps/unix/sysv/gethostname.c: Move to ...
71689         * sysdeps/posix/gethostname.c: ... here.
71691         * sysdeps/unix/execve.S: Remove file.
71693         * sysdeps/unix/_exit.S: Remove file.
71695 2012-04-23  Andreas Jaeger  <aj@suse.de>
71697         [BZ #13739]
71698         * manual/Makefile: Remove make dist support, there's no
71699         need for a stand-alone documentation tar ball.
71700         (TEXI2DVI): Define always, it's not in Makeconfig.
71701         (dist): Removed.
71702         (tar-it): Removed.
71703         (edition): Removed.
71704         (glibc-doc-$(edition).tar): Removed
71705         (%.Z): Removed.
71706         (%.gz): Removed.
71707         (%.uu): Removed.
71708         (ETAGS): Remove, it's in Makeconfig.
71709         (move-if-change): Remove, it's in Makeconfig.
71711 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71713         [BZ #13970]
71714         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71715         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71716         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71717         (strtod_l, strtof_l, strtold_l): Remove __wur.
71718         It is not necessarily an error to ignore strtol's return value.
71719         One can reliably look at the stored endptr to decide whether
71720         the number had valid syntax.
71722 2012-04-21  Andreas Jaeger  <aj@suse.de>
71724         [BZ #13739]
71725         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71727 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71729         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71730         * sysdeps/unix/sysv/Versions: Remove file.
71732 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71734         [BZ #13927]
71735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71737 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71739         [BZ #7064]
71740         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71741         version from __vm86.
71743 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71745         * sysdeps/unix/common/lxstat.c: Remove file.
71746         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71748         * sysdeps/unix/sysv/Makefile: Remove file.
71750         * sysdeps/unix/sysv/direct.h: Remove file.
71752         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71753         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71754         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71755         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71756         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71757         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71758         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71760         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71762         * sysdeps/unix/xmknod.c: Remove file.
71763         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71765         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71767         * sysdeps/unix/sysv/i386/time.S: Remove file.
71769         * sysdeps/unix/fxstat.c: Remove file.
71770         * sysdeps/unix/xstat.c: Likewise.
71771         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71773         * sysdeps/unix/sysv/sigaction.c: Remove file.
71775         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71776         (sysdep_headers): Remove variable.
71777         [termio.h not in sysdep_headers] (generated): Likewise.
71778         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71779         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71780         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71781         * sysdeps/unix/sysv/tcflow.c: Likewise.
71782         * sysdeps/unix/sysv/tcflush.c: Likewise.
71783         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71784         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71785         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71786         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71787         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71789         * sysdeps/unix/siglist.c: Remove file.
71791         * sysdeps/unix/getppid.S: Remove file.
71793         * sysdeps/unix/mkdir.c: Remove file.
71794         * sysdeps/unix/rmdir.c: Likewise.
71796 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71798         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71799         ERR_MAX value.
71800         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71801         errlist-compat value.
71803 2012-04-18  David S. Miller  <davem@davemloft.net>
71805         * sysdeps/generic/memcopy.h (reg_char): Delete.
71806         * debug/strcat_chk.c: Use char, not reg_char.
71807         * debug/strcpy_chk.c: Likewise.
71808         * debug/strncat_chk.c: Likewise.
71809         * debug/strncpy_chk.c: Likewise.
71810         * string/memchr.c: Likewise.
71811         * string/memrchr.c: Likewise.
71812         * string/rawmemchr.c: Likewise.
71813         * string/strcat.c: Likewise.
71814         * string/strchr.c: Likewise.
71815         * string/strchrnul.c: Likewise.
71816         * string/strcmp.c: Likewise.
71817         * string/strcpy.c: Likewise.
71818         * string/strncat.c: Likewise.
71819         * string/strncmp.c: Likewise.
71820         * string/strncpy.c: Likewise.
71822 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71824         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71825         __builtin_memcopy is called when src and dest ranges are known to not
71826         overlap.
71828 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71830         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71831         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71832         fwd_align_merge macro call.
71833         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71834         bwd_align_merge macro call.
71835         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71837 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71839         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71840         bwd_align_merge macros.
71841         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71842         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71843         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71845 2012-04-18  David S. Miller  <davem@davemloft.net>
71847         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71849 2012-04-18  Andreas Jaeger  <aj@suse.de>
71851         [BZ# 6794]
71852         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71853         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71854         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71856         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71857         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71858         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71860         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71861         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71862         Adjust for changed ldbl-128 files.
71864         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71865         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71866         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71868 2012-04-17  David S. Miller  <davem@davemloft.net>
71870         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71872 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71874         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71875         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71876         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71877         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71878         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71879         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71881 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71883         [BZ #6794]
71884         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71885         * math/libm-test.inc: Add ilogb errno and exception tests.
71886         * math/w_ilogb.c: New file: ilogb wrapper.
71887         * math/w_ilogbf.c: New file: ilogbf wrapper.
71888         * math/w_ilogbl.c: New file: ilogbl wrapper.
71889         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71890         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71891         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71892         exception being thrown with 0.0 as argument.
71893         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71894         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71895         exception being thrown with 0.0 as argument.
71896         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71897         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71898         exception being thrown with 0.0 as argument.
71899         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71900         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71901         exception being thrown with 0.0 as argument.
71902         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71903         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71904         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71905         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71906         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71907         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71908         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71909         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71910         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71912 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71914         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71915         with altivec.
71917 2012-04-16  Marek Polacek  <polacek@redhat.com>
71919         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71921 2012-04-16  Marek Polacek  <polacek@redhat.com>
71923         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71924         operands of fdivp instruction.
71926 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71928         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71929         * elf/tst-auditmod3b.c: Likewise.
71930         * elf/tst-auditmod4b.c: Likewise.
71931         * elf/tst-auditmod5b.c: Likewise.
71932         * elf/tst-auditmod6b.c: Likewise.
71933         * elf/tst-auditmod6c.c: Likewise.
71934         * elf/tst-auditmod7b.c: Likewise.
71935         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71936         * sysdeps/x86_64/preconfigure.in: Likewise.
71937         * sysdeps/x86_64/preconfigure: Regenerated.
71939 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71941         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71942         __ILP32__.
71944 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71946         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71947         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71949 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71951         [BZ #13973]
71952         * locale/iso-639.def: Fix gl language name. Spotted by
71953         Yaron Shahrabani.
71955 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71957         [BZ #2074]
71958         * libio/libio.h (__io_write_fn): Update comment.
71960 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71962         [BZ #2074]
71963         * stdio.texi (Hook Functions): The user provided writer function
71964         is not allowed to return -1.
71966 2012-04-11  David S. Miller  <davem@davemloft.net>
71968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71970 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71972         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71973         Add a leading slash to rtkaio.
71975 2012-04-11  Jim Meyering  <meyering@redhat.com>
71977         [BZ #11959]
71978         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71979         It is not necessarily an error to ignore fwrite's return
71980         value.  One can reliably use ferror to test for errors after
71981         the fact.
71983 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71985         * bits/types.h (__snseconds_t): New type.
71986         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71988         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71989         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71990         (__SNSECONDS_T_TYPE): Likewise.
71991         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71992         (__SNSECONDS_T_TYPE): Likewise.
71993         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71994         (__SNSECONDS_T_TYPE): Likewise.
71996 2012-04-10  Andreas Jaeger  <aj@suse.de>
71998         [BZ #2636]
71999         * manual/time.texi (Processor Time): Return type of times is
72000         elapsed real time since an arbitrary point in the past.
72001         (CPU Time): Move CLK_TCK from here...
72002         (Processor Time): ...to here.  Correct description.
72003         * manual/conf.texi (Constants for Sysconf): Correct description of
72004         _SC_CLK_TCK.
72006 2012-04-10  David S. Miller  <davem@davemloft.net>
72008         [BZ #13967]
72009         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72010         where the is a gap between DT_REL(A) and DT_JMPREL.
72012 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72014         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72015         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72016         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72018 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72020         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72021         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72022         (dl_main): Handle --inhibit-cache.
72023         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72024         _dl_inhibit_cache.
72025         * elf/dl-load.c (_dl_map_object): Use it.
72026         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72028 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72030         [BZ #13872]
72031         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72032         (__ieee754_powl): Saturate large exponents rather than testing for
72033         overflow of y*log2(x).
72034         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72035         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72036         exceptions.
72038         [BZ #11521]
72039         * math/s_ctan.c: Include <float.h>.
72040         (__ctan): Avoid internal overflow or cancellation in calculating
72041         denominator.
72042         * math/s_ctanf.c: Likewise.
72043         * math/s_ctanl.c: Likewise.
72044         * math/s_ctanh.c: Likewise.
72045         * math/s_ctanhf.c: Likewise.
72046         * math/s_ctanhl.c: Likewise.
72047         * math/libm-test.inc (ctan_test): Add more tests.
72048         (ctanh_test): Likewise.
72049         * sysdeps/i386/fpu/libm-test-ulps: Update.
72050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72052 2012-04-09  Andreas Jaeger  <aj@suse.de>
72054         [BZ #6894]
72055         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72056         is an optional BSD extension.
72058         [BZ #10254]
72059         * manual/stdio.texi (Opening Streams): Document additional fopen
72060         parameters.
72062 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72064         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72065         %eax without telling the compiler.
72067 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72069         [BZ # 13963]
72070         * manual/install.texi: Use sourceware.org.
72072 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72074         [BZ #13873]
72075         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72076         (__ieee754_pow): Generate overflow and underflow using huge*huge
72077         and tiny*tiny rather than just returning constant infinity or zero
72078         for large exponents.
72079         * math/libm-test.inc (pow_test): Require overflow exceptions for
72080         applicable cases of large exponents.
72082         [BZ #706]
72083         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72084         (__ieee754_pow): Use iterative multiplication algorithm only for
72085         integer exponents with absolute value below 1024.  Check for odd
72086         integer exponents when using algorithm for real exponents.
72087         * math/libm-test.inc (pow_test): Add more tests.
72088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72090 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72092         [BZ #13705]
72093         * math/libm-test.inc (exp_test): Do not allow overflow exception
72094         on underflow test.
72096 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72098         [BZ #13705]
72099         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72100         instead of __kernel_standard_f.
72102 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72104         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72105         * sysdeps/x86_64/memset_chk.S: Likewise.
72107 2012-04-08  Andreas Jaeger  <aj@suse.de>
72109         [BZ #10153]
72110         * manual/startup.texi (Environment Access): Describe return value
72111         for putenv and setenv.
72113         [BZ #6895]
72114         * manual/filesys.texi (Directory Entries): Add description for
72115         DT_LNK.
72117         [BZ #6890]
72118         * manual/filesys.texi (Directory Entries): Clarify that it's file
72119         system not operating system in the description of DT_UNKNOWN.
72121         [BZ #6578]
72122         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72124 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72126         [BZ #6649]
72127         * manual/llio.texi (Opening and Closing Files): Add cross
72128         reference to explain mode argument.
72130 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72132         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72133         * sysdeps/x86_64/memset_chk.S: Likewise.
72135 2012-04-07  David S. Miller  <davem@davemloft.net>
72137         * elf/elf.h (R_SPARC_WDISP10): Define.
72138         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72139         R_SPARC_SIZE32.
72140         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72141         R_SPARC_SIZE64 and R_SPARC_H34.
72143 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72145         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72146         conditions and remove no longer applicable assertion.
72148 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72150         * bits/byteswap.h: Include <features.h>.
72151         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72152         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72154 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72156         * bits/byteswap.h (__bswap_16): Removed.
72157         Include <bits/byteswap-16.h> to get __bswap_16.
72158         * sysdeps/i386/bits/byteswap.h: Likewise.
72159         * sysdeps/s390/bits/byteswap.h: Likewise.
72160         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72161         * bits/byteswap-16.h: New file.
72162         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72163         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72164         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72165         * string/Makefile (headers): Add bits/byteswap-16.h.
72167 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72169         [BZ #13895]
72170         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72171         extra indirection.
72172         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72173         * nss/tst-nss-static.c: New.
72175 2012-04-06  Robert Millan  <rmh@gnu.org>
72177         [BZ #6486]
72178         * manual/llio.texi (File Position Primitive): lseek
72179         refers to WHENCE when it really means OFFSET.
72181 2012-04-06  Andreas Jaeger  <aj@suse.de>
72183         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72184         strncmp declarations.
72186         * abilist/libc.abilist: Add __poll and __ppoll.
72188 2012-04-05  David S. Miller  <davem@davemloft.net>
72190         * scripts/check-local-headers.sh: Accept a host triplet in the
72191         path matched by the exclude regexp.
72193         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72194         definition.
72195         * sysdeps/powerpc/powerpc32/dl-machine.h
72196         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72197         * sysdeps/s390/s390-32/dl-machine.h
72198         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72199         * sysdeps/sparc/sparc32/dl-machine.h
72200         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72201         * sysdeps/sparc/sparc64/dl-machine.h
72202         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72204         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72205         lazy binding.
72206         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72207         undefined symbol errors.
72209         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72210         DT_NEEDED entries.
72212 2012-04-05  Michael Matz  <matz@suse.de>
72214         [BZ #13592]
72215         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72217 2012-04-05  Andreas Jaeger  <aj@suse.de>
72219         [BZ #13908]
72220         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72221         comment.
72223 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72225         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72226         which ROUND is no valid rounding mode.
72228 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72230         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72231         read again.
72232         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72234 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72236         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72237         an exception using FPU order intentionally.
72239 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72241         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72242         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72243         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72244         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72246 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72248         [BZ #12340]
72249         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72250         EINVAL when BUFLEN is too smal.
72252 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72254         [BZ #13553]
72255         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72256         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72258 2012-04-03  Andreas Jaeger  <aj@suse.de>
72260         [BZ #13938]
72261         * manual/setjmp.texi (System V contexts): Fix sentence.
72263         [BZ #13926]
72264         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72265         New macro for this case.
72266         [!__GNUC__] (__bswap_64): New inline function for this case.
72267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72268         * bits/byteswap.h: Likewise.
72269         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72270         ull, guard with __GLIBC_HAVE_LONG_LONG.
72272         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72273         __GLIBC_HAVE_LONG_LONG.
72275         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72276         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72278 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72280         [BZ #13691]
72281         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72282         inptr and inend, rather than using last_ch.
72284 2012-04-02  David S. Miller  <davem@davemloft.net>
72286         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72287         * stdio-common/printf-parse.h (read_int): Change return type to
72288         'int', return -1 on INT_MAX overflow.
72289         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72290         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72291         overflows INT_MAX.  Check for overflow of in-format-string precision
72292         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72293         SIZE_MAX not INT_MAX for integer overflow test.
72294         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72295         skip the construct in the format string but do not record anything.
72296         * stdio-common/bug22.c: Adjust to test both width/prevision
72297         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72298         explicitly for proper errno values.
72300 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72302         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72303         CHAR_MAX.
72304         * string/test-strcmp.c [! WIDE]: Likewise.
72305         * time/tst-mktime2.c: Likewise for INT_MAX.
72306         * string/test-string.h: #include <sys/param.h> for MIN.
72308         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72309         * sysdeps/i386/init-first.c (init): Likewise.
72310         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72311         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72312         * sysdeps/sh/init-first.c (init): Likewise.
72314 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72316         * po/ru.po: Update from translation team.
72317         * po/vi.po: Likewise.
72319 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72321         * resolv/nss_dns/dns-host.c: Merge copyright years.
72323 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72325         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72326         Optimize memcpy with prefetch if
72327         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72328         src, dst pointers have unequal 16 byte alignments.
72330 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72332         [BZ #13928]
72333         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72334         from a CNAME entry and return the minimum ttl for the query.
72335         (gaih_getanswer_slice): Likewise.
72337 2012-03-30  Jeff Law  <law@redhat.com>
72339         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72340         due to long keys.
72341         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72342         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72344         * resolv/nss_dns/dns-host.c: Update copyright year.
72346 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72348         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72349         requests to save a system call.  Fix check that all bytes are sent.
72351         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72352         comments for sendmmsg.
72354 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72356         [BZ #13691]
72357         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72358         with only 1 character between 0x0041 and 0x01b0.
72359         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72360         * wcsmbs/tst-mbsnrtowcs.c: New file.
72362 2012-03-29  David S. Miller  <davem@davemloft.net>
72364         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72365         small copies by hand.
72367 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72369         [BZ #13761]
72370         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72371         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72372         group memberships.
72374 2012-03-28  David S. Miller  <davem@davemloft.net>
72376         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72377         that branches into memcpy.
72378         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72381         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72383         bits.
72384         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72385         implementation too.
72386         * sysdeps/sparc/mempcpy.S: New file.
72388         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72389         the IFUNC routine in the libc case.
72390         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72392         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72393         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72394         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72395         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72396         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72397         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72398         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72399         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72401         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72402         loop to 256 bytes instead of 64 bytes and fix test signedness.
72404         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72405         * sysdeps/sparc/sparc32/Makefile: rather than here...
72406         * sysdeps/sparc/sparc64/Makefile: and here.
72408 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72410         * malloc/mallocbug.c: Avoid warnings about unused variables.
72412 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72414         [BZ #13760]
72415         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72416         in the right place. Discard and retry query if response is
72417         larger than input buffer size.
72419 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72421         [BZ #369]
72422         [BZ #2678]
72423         [BZ #3866]
72424         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72425         x for large integer exponent.
72426         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72427         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72428         sign of result as needed afterwards.
72429         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72430         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72431         result for underflowing pow the same as for overflow.
72432         (__kernel_standard_l): Handle powl overflow and underflow here
72433         rather than calling __kernel_standard.
72434         * math/libm-test.inc (pow_test): Add more tests.
72436         [BZ #3868]
72437         [BZ #13879]
72438         [BZ #13910]
72439         [BZ #13911]
72440         [BZ #13912]
72441         [BZ #13913]
72442         [BZ #13915]
72443         [BZ #13916]
72444         [BZ #13917]
72445         [BZ #13918]
72446         [BZ #13919]
72447         [BZ #13920]
72448         [BZ #13921]
72449         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72450         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72451         (__kernel_standard_l): New function.
72452         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72453         __kernel_standard.
72454         * math/w_acosl.c (__acosl): Likewise.
72455         * math/w_asinl.c (__asinl): Likewise.
72456         * math/w_atan2l.c (__atan2l): Likewise.
72457         * math/w_atanhl.c (__atanhl): Likewise.
72458         * math/w_coshl.c (__coshl): Likewise.
72459         * math/w_exp10l.c (__exp10l): Likewise.
72460         * math/w_exp2l.c (__exp2l): Likewise.
72461         * math/w_fmodl.c (__fmodl): Likewise.
72462         * math/w_hypotl.c (__hypotl): Likewise.
72463         * math/w_j0l.c (__j0l, __y0l): Likewise.
72464         * math/w_j1l.c (__j1l, __y1l): Likewise.
72465         * math/w_jnl.c (__jnl, __ynl): Likewise.
72466         * math/w_lgammal.c (__lgammal): Likewise.
72467         * math/w_log10l.c (__log10l): Likewise.
72468         * math/w_log2l.c (__log2l): Likewise.
72469         * math/w_logl.c (__logl): Likewise.
72470         * math/w_powl.c (__powl): Likewise.
72471         * math/w_remainderl.c (__remainderl): Likewise.
72472         * math/w_scalbl.c (sysv_scalbl): Likewise.
72473         * math/w_sinhl.c (__sinhl): Likewise.
72474         * math/w_sqrtl.c (__sqrtl): Likewise.
72475         * math/w_tgammal.c (__tgammal): Likewise.
72476         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72477         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72478         * math/libm-test.inc (acos_test): Add more tests.
72479         (acosh_test): Likewise.
72480         (asin_test): Likewise.
72481         (atanh_test): Likewise.
72482         (exp_test): Likewise.
72483         (exp10_test): Likewise.
72484         (exp2_test): Likewise.
72485         (expm1_test): Likewise.
72486         (lgamma_test): Likewise.
72487         (log_test): Likewise.
72488         (log10_test): Likewise.
72489         (log1p_test): Likewise.
72490         (log2_test): Likewise.
72491         (pow_test): Do not allow some spurious overflow exceptions.
72492         (sqrt_test): Add more tests.
72493         (tgamma_test): Likewise.
72494         (y0_test): Likewise.
72495         (y1_test): Likewise.
72496         (yn_test): Likewise.
72498 2012-03-27  Anton Blanchard  <anton@samba.org>
72500         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72501         MAP_HUGETLB.
72502         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72503         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72504         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72506 2012-03-27  David S. Miller  <davem@davemloft.net>
72508         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72510         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72511         have-as-vis3 check.
72513 2012-03-27  Andreas Jaeger  <aj@suse.de>
72515         * sysdeps/x86_64/elf/configure.in: Moved to ...
72516         * sysdeps/x86_64/configure.in: ... here.
72517         * sysdeps/x86_64/elf/start.S: Moved to ...
72518         * sysdeps/x86_64/start.S: ... here.
72519         * sysdeps/x86_64/elf/configure: Delete.
72521         * sysdeps/x86_64/configure.in: Merge contents from
72522         sysdeps/i386/configure.in (without i686 check).
72524         * sysdeps/i386/elf/Versions: Merge into ...
72525         * sysdeps/i386/Versions: ... this.
72526         * sysdeps/i386/elf/Versions: Delete file.
72527         * sysdeps/i386/elf/start.S: Moved to ...
72528         * sysdeps/i386/start.S: ...here.
72529         * sysdeps/i386/elf/configure.in: Merge into...
72530         * sysdeps/i386/configure.in: ...here.
72531         * sysdeps/i386/elf/configure.in: Delete file.
72532         * sysdeps/i386/elf/configure: Delete file.
72534         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72535         * debug/backtracesyms.c: ... here.
72536         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72537         * debug/backtracesymsfd.c: ... here.
72538         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72539         * sysdeps/generic/ifunc-sel.h: ... here.
72541         * sysdeps/unix/i386/start.c: Delete file.
72542         * sysdeps/unix/sparc/start.c: Delete file.
72543         * sysdeps/unix/start.c: Delete file.
72545         * sysdeps/sh/elf/configure.in: Moved to ...
72546         * sysdeps/sh/configure.in: ... here.
72547         * sysdeps/sh/elf/start.S: Moved to ...
72548         * sysdeps/sh/start.S: ... here.
72549         * sysdeps/sh/elf/configure: Delete file.
72551         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72552         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72553         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72554         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72555         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72556         * sysdeps/powerpc/powerpc64/start.S: here.
72557         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72558         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72559         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72560         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72561         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72563         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72564         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72565         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72566         * sysdeps/powerpc/powerpc32/start.S: ... here.
72567         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72568         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72569         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72571         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72572         * sysdeps/powerpc/ifunc-sel.h: ... here.
72573         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72574         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72576         * sysdeps/sparc/elf/configure.in: Moved to ...
72577         * sysdeps/sparc/configure.in: ... here.
72578         * sysdeps/sparc/elf/configure: Delete file.
72579         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72580         * sysdeps/sparc/sparc32/start.S: ... here.
72581         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72582         * sysdeps/sparc/sparc64/start.S: ... here.
72583         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72584         * sysdeps/sparc/sparc32/Makefile: ... this.
72585         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72586         * sysdeps/sparc/sparc64/Makefile: ... this.
72588         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72589         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72590         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72591         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72592         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72593         * sysdeps/s390/s390-32/setjmp.S: ... here.
72594         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72595         * sysdeps/s390/s390-32/configure.in: ... here.
72596         * sysdeps/s390/s390-32/elf/configure: Delete file.
72597         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72598         * sysdeps/s390/s390-32/start.S: ... here.
72600         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72601         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72602         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72603         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72604         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72605         * sysdeps/s390/s390-64/setjmp.S: ... here.
72606         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72607         * sysdeps/s390/s390-64/configure.in: ... here
72608         * sysdeps/s390/s390-64/elf/configure: Delete file.
72609         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72610         * sysdeps/s390/s390-64/start.S: ... here.
72611         * sysdeps/s390/s390-64/elf/configure: Delete.
72613         * configure.in: Remove support for elf directories in sysdeps.
72615         * configure: Regenerated.
72616         * sysdeps/i386/configure: Regenerated.
72617         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72618         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72619         * sysdeps/s390/s390-32/configure: Regenerated.
72620         * sysdeps/s390/s390-64/configure: Regenerated.
72621         * sysdeps/sh/configure: Regenerated.
72622         * sysdeps/sparc/configure: Regenerated.
72623         * sysdeps/x86_64/configure: Regenerated.
72625 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72630         denormal result into account.
72632 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72634         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72635         Reported by Allan McRae <allan@archlinux.org>.
72637 2012-03-23  Jeff Law  <law@redhat.com>
72639         * nss/getnssent.c (__nss_getent): Fix typo.
72641 2012-03-23  David S. Miller  <davem@davemloft.net>
72643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72645 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72647         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72648         to pad to uint64_t for each field.
72649         (dl_tls_index): Replace unsigned long with uint64_t.
72651 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72652         Paul Pluzhnikov  <ppluzhnikov@google.com>
72654         [BZ #6528]
72655         * grp/Makefile (otherlibs): Don't set it.
72656         * inet/Makefile (otherlibs): Likewise.
72657         * login/Makefile (otherlibs): Likewise.
72658         * nscd/Makefile (otherlibs): Likewise.
72659         * posix/Makefile (otherlibs): Likewise.
72660         * pwd/Makefile (otherlibs): Likewise.
72661         * rt/Makefile (otherlibs): Likewise.
72662         * sunrpc/Makefile (otherlibs): Likewise.
72663         * nss/Makefile (otherlibs): Likewise.
72664         Add libnss_files to routines and static-only-routines.
72665         ($(objpfx)getent): Remove rule.
72666         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72667         static-only-routines.
72669 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72671         [BZ #13892]
72672         * math/s_cexp.c: Include <float.h>.
72673         (__cexp): Handle exp result overflowing not necessarily
72674         overflowing both real and imaginary parts of result.
72675         * math/s_cexpf.c: Likewise.
72676         * math/s_cexpl.c: Likewise.
72677         * math/libm-test.inc (cexp_test): Add more tests.
72678         * sysdeps/i386/fpu/libm-test-ulps: Update.
72679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72681 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72683         * include/link.h (ELFW): New macro.
72684         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72685         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72687 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72689         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72690         with uint64_t.
72692 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72694         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72695         declaration.
72696         (struct La_x32_retval): Likewise.
72698 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72700         * sysdeps/x86_64/preconfigure.in: New file.
72701         * sysdeps/x86_64/preconfigure: New generated file.
72703 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72705         [BZ #13824]
72706         * math/e_exp2l.c: Include <float.h>.
72707         (__ieee754_exp2l): Handle overflow and underflow cases
72708         separately.  Only pass fractional part of argument to
72709         __ieee754_expl.
72710         * math/libm-test.inc (exp2_test): Add more tests.
72712         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72713         negating x to take absolute value.
72714         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72715         Likewise.
72716         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72717         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72718         Likewise.
72719         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72720         computing low part if x was negated.
72721         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72723 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72725         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72726         la_x32_gnu_pltexit.
72727         (pltexit): Cast int_retval to ptrdiff_t.
72728         * elf/tst-auditmod3b.c: Likewise.
72729         * elf/tst-auditmod4b.c: Likewise.
72730         * elf/tst-auditmod5b.c: Likewise.
72731         * elf/tst-auditmod6b.c: Likewise.
72732         * elf/tst-auditmod6c.c: Likewise.
72733         * elf/tst-auditmod7b.c: Likewise.
72735         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72736         and x32_gnu_pltexit.
72738         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72739         __ELF_NATIVE_CLASS.
72740         (La_x32_regs): New macro.
72741         (La_x32_retval): Likewise.
72742         (la_x32_gnu_pltenter): New function prototype.
72743         (la_x32_gnu_pltexit): Likewise.
72745 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72747         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72748         exponent.
72750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72752         * configure.in (libc_cv_cc_nofma): Check for option to disable
72753         generation of FMA instructions.
72754         * configure: Regenerate.
72755         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72756         * sysdeps/ieee754/dbl-64/Makefile: New file.
72757         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72758         Remove brandred-fma4.
72759         (CFLAGS-brandred-fma4.c): Remove.
72760         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72761         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72762         define.
72763         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72764         define.
72766 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72768         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72769         LLONG_MAX != LONG_MAX.
72770         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72771         (_fitoa_word): Likewise.
72772         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72773         LLONG_MAX != LONG_MAX.
72774         * stdio-common/_itowa.h: Include <_itoa.h>.
72775         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72776         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72777         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72778         only if not defined.
72779         (_ITOA_WORD_TYPE): Likewise.
72780         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72781         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72783 2012-03-21  David S. Miller  <davem@davemloft.net>
72785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72787 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72789         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72790         of x86_64 when setting libc_cv_slibdir, libdir and
72791         libc_cv_localedir.
72792         * sysdeps/unix/sysv/linux/configure: Regenerated.
72794 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72796         * manual/lang.texi (Old Varargs): Remove section.
72797         (How Variadic): Update menu.
72798         (va_start): Do not mention varargs.h.
72800 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72801             Joseph Myers  <joseph@codesourcery.com>
72803         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72804         link test.
72805         * configure: Regenerated.
72807 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72809         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72810         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72811         conformtest.pl
72813 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72815         * NOTES: Remove.
72816         * Makefile (files-for-dist): Remove NOTES.
72817         (NOTES): Remove rule.
72818         * README: Don't refer to NOTES.
72819         * manual/creature.texi: Don't include macros.texi.
72820         * manual/intro.texi (creature.texi): Remove comment referring to
72821         NOTES.
72823         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72824         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72825         * configure: Regenerated.
72826         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72827         LIBC_TRY_CC_OPTION.
72828         (libc_cv_as_i686): Likewise.
72829         (libc_cv_cc_avx): Likewise.
72830         (libc_cv_cc_sse2avx): Likewise.
72831         (libc_cv_cc_fma4): Likewise.
72832         (libc_cv_cc_novzeroupper): Likewise.
72833         * sysdeps/i386/configure: Regenerated.
72835         [BZ #13883]
72836         * sysdeps/i386/fpu/s_cexp.S: Remove.
72837         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72838         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72839         * math/libm-test.inc (cexp_test): Add more tests.
72840         * sysdeps/i386/fpu/libm-test-ulps: Update.
72841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72843 2012-03-21  Allan McRae  <allan@archlinux.org>
72845         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72847 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72849         [BZ #13871]
72850         * math/w_exp2.c: Do not include <float.h>.
72851         (o_threshold, u_threshold): Remove.
72852         (__exp2): Calculate result before checking finiteness and calling
72853         __kernel_standard.
72854         * math/w_exp2f.c: Likewise.
72855         * math/w_exp2l.c: Likewise.
72856         * math/libm-test.inc (exp2_test): Require overflow exception for
72857         1e6 input.
72859         [BZ #3866]
72860         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72861         range of signed 64-bit integers before using fistpll.  Remove
72862         checks for whether integers fit in mantissa bits.
72863         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72864         the range of signed 32-bit integers before using fistpl.  Remove
72865         checks for whether integers fit in mantissa bits.
72866         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72867         (__ieee754_powl): Test for y outside the range of signed 64-bit
72868         integers before using fistpll.  Reduce 64-bit values to 63-bit
72869         ones as needed.
72870         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72871         divide-by-zero is raised for zero to large negative powers.
72872         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72873         (__ieee754_powl): Test for y outside the range of signed 64-bit
72874         integers before using fistpll.  Reduce 64-bit values to 63-bit
72875         ones as needed.
72876         * math/libm-test.inc (pow_test): Add more tests.
72878 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72880         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72881         <stdio-common/_itoa.h>.
72882         * debug/segfault.c: Likewise.
72883         * elf/dl-cache.c: Likewise.
72884         * elf/dl-minimal.c: Likewise.
72885         * elf/dl-misc.c: Likewise.
72886         * elf/dl-sysdep.c: Likewise.
72887         * elf/dl-version.c: Likewise.
72888         * elf/rtld.c: Likewise.
72889         * hurd/hurdsock.c: Likewise.
72890         * hurd/lookup-retry.c: Likewise.
72891         * malloc/malloc.c: Likewise.
72892         * malloc/mtrace.c: Likewise.
72893         * nscd/nscd_getgr_r.c: Likewise.
72894         * nscd/nscd_getpw_r.c: Likewise.
72895         * nscd/nscd_getserv_r.c: Likewise.
72896         * posix/getopt_init.c: Likewise.
72897         * posix/wordexp.c: Likewise.
72898         * stdio-common/_itoa.c: Likewise.
72899         * stdio-common/printf_fphex.c: Likewise.
72900         * stdio-common/vfprintf.c: Likewise.
72901         * string/_strerror.c: Likewise.
72902         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72903         * sysdeps/i386/i686/hp-timing.h: Likewise.
72904         * sysdeps/mach/_strerror.c: Likewise.
72905         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72906         * sysdeps/mach/hurd/sethostid.c: Likewise.
72907         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72908         * sysdeps/mach/xpg-strerror.c: Likewise.
72909         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72911         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72912         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72913         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72914         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72915         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72916         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72917         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72918         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72919         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72920         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72921         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72922         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72923         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72924         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72925         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72926         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72927         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72928         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72929         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72931         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72933         * stdio-common/_itoa.h: Moved to ...
72934         * sysdeps/generic/_itoa.h: Here.
72936         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72938         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72939         instead of "_itoa.h" and "_itowa.h".
72940         * stdio-common/vfprintf.: Likewise.
72942 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72944         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72945         <bits/wordsize.h>.
72946         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72947         (__signbit): Likwise.
72948         (llrintf): Likwise.
72949         (llrint): Likwise.
72951 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72953         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72954         __WORDSIZE != 64.
72956 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72958         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72959         OVERFLOW_EXCEPTION_OK.
72960         * math/libm-test.inc ("Philosophy"): Update comment about
72961         exception testing.
72962         (OVERFLOW_EXCEPTION): Define.
72963         (OVERFLOW_EXCEPTION_OK): Likewise.
72964         (INVALID_EXCEPTION_OK): Renumber.
72965         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72966         (IGNORE_ZERO_INF_SIGN): Likewise.
72967         (test_exceptions): Handle FE_OVERFLOW.
72968         (exp10_test): Expect overflow exceptions.
72969         (exp2_test): Likewise.
72970         (expm1_test): Likewise.
72971         (nextafter_test): Likewise.
72972         (pow_test): Likewise.
72973         (scalbn_test): Likewise.
72974         (scalbln_test): Likewise.
72976 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72978         * sysdeps/x86_64/bits/atomic.h
72979         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72980         64bit integer.
72981         (atomic_exchange_acq): Likewise.
72982         (__arch_exchange_and_add_body): Likewise.
72983         (__arch_add_body): Likewise.
72984         (atomic_add_negative): Likewise.
72985         (atomic_add_zero): Likewise.
72987 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72989         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72990         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72994         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72995         Check __x86_64__ instead of __WORDSIZE.
72997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72999         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73001 2012-03-19  David S. Miller  <davem@davemloft.net>
73003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73005         * sysdeps/sparc/fpu/fenv_private.h: New file.
73006         * sysdeps/sparc/fpu/math_private.h: Use it.
73007         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73008         Remove.
73009         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73010         (libc_feholdexcept_setroundl): Remove.
73011         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73012         Remove.
73013         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73014         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73016 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73018         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73019         int64_t instead of long int.
73020         (INSERT_WORDS64): Likwise.
73022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73024         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73025         _Unwind_GetCFA return to _Unwind_Ptr first.
73027 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73029         [BZ #13629]
73030         * math/s_clog.c: Include <float.h>.
73031         (__clog): Scale large or subnormal inputs.
73032         * math/s_clogf.c: Likewise.
73033         * math/s_clogl.c: Likewise.
73034         * math/s_clog10.c: Include <float.h>.
73035         (M_LOG10_2): Define.
73036         (__clog10): Scale large or subnormal inputs.
73037         * math/s_clog10f.c: Likewise.
73038         * math/s_clog10l.c: Likewise.
73039         * math/libm-test.inc (clog_test): Add more tests.
73040         (clog10_test): Likewise.
73041         * sysdeps/i386/fpu/libm-test-ulps: Update.
73042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73044         [BZ #11451]
73045         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73046         x and y.
73047         * math/libm-test.inc (atan2_test): Add another test.
73049         * Makerules (common-objdir-compile): Remove.
73050         * sysdeps/unix/Makefile (config-generated): Do not add
73051         $(unix-generated) to variable.
73052         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73053         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73054         Remove rule.
73055         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73056         Likewise.
73057         [generic bits/local_lim.h] (before-compile): Do not append to
73058         variable.
73059         [generic bits/local_lim.h] (common-generated): Likewise.
73060         [generic sys/param.h] (before-compile): Do not append to variable.
73061         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73062         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73063         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73064         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73065         include.
73066         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73067         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73068         [generic sys/param.h] ($(addprefix
73069         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73070         [generic sys/param.h] (common-generated): Do not append to
73071         variable.
73072         [generic sys/param.h] (sysdep_headers): Likewise.
73073         [generic bits/errno.h] (before-compile): Do not append to
73074         variable.
73075         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73076         rule.
73077         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73078         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73079         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73080         [generic bits/errno.h] (common-generated): Do not append to
73081         variable.
73082         [generic bits/ioctls.h] (before-compile): Do not append to
73083         variable.
73084         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73085         rule.
73086         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73087         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73088         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73089         rule.
73090         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73091         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73092         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73093         [generic bits/ioctls.h] (common-generated): Do not append to
73094         variable.
73095         [generic sys/syscall.h] (syscall.h): Remove variable.
73096         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73097         rule.
73098         [generic sys/syscall.h] (before-compile): Do not append to
73099         variable.
73100         [generic sys/syscall.h] (common-generated): Likewise.
73101         * sysdeps/unix/errnos-tmpl.c: Remove file.
73102         * sysdeps/unix/errnos.awk: Likewise.
73103         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73104         * sysdeps/unix/ioctls.awk: Likewise.
73105         * sysdeps/unix/mk-local_lim.c: Likewise.
73106         * sysdeps/unix/snarf-ioctls: Likewise.
73108 2012-03-19  Richard Henderson  <rth@twiddle.net>
73110         * sysdeps/i386/fpu/fenv_private.h: New file.
73111         * sysdeps/i386/fpu/math_private.h: Use it.
73112         (math_opt_barrier, math_force_eval): Remove.
73113         (libc_feholdexcept_setround_53bit): Remove.
73114         (libc_feupdateenv_53bit): Remove.
73115         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73116         (math_opt_barrier, math_force_eval): Remove.
73117         (libc_feholdexcept): Remove.
73118         (libc_feholdexcept_setround): Remove.
73119         (libc_fetestexcept, libc_fesetenv): Remove.
73120         (libc_feupdateenv_test): Remove.
73121         (libc_feupdateenv, libc_feholdsetround): Remove.
73122         (libc_feresetround): Remove.
73124         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73125         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73127         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73128         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73129         (libc_feupdateenv_testl): New.
73130         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73131         (libc_feupdateenv_testf): New.
73132         (libc_feupdateenv): Use libc_feupdateenv_test.
73133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73134         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73136         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73137         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73138         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73139         (libc_feresetround_noex): New.
73140         (libc_feresetround_noexf): New.
73141         (libc_feresetround_noexl): New.
73142         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73143         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73144         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73145         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73146         SET_RESTORE_ROUND.
73147         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73149         (__cos): Likewise.
73150         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73151         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73152         SET_RESTORE_ROUND_NOEX.
73153         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73154         SET_RESTORE_ROUND_NOEXF.
73155         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73156         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73157         (libc_feholdsetroundf): New.
73158         (libc_feresetround, libc_feresetroundf): New.
73160         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73161         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73162         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73164         * sysdeps/generic/math_private.h: Include <fenv.h>.
73165         (default_libc_feholdexcept): New.
73166         (default_libc_feholdexcept_setround): New.
73167         (default_libc_fesetenv, default_libc_feupdateenv): New.
73168         (libc_feholdexcept): Only define if undefined.
73169         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73170         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73171         (libc_feholdexcept_setroundl): Likewise.
73172         (libc_feholdexcept_setround_53bit): Likewise.
73173         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73174         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73175         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73176         (libc_feupdateenv_53bit): Likewise.
73177         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73178         (libc_feholdexcept): Convert from macro to inline function.
73179         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73180         (libc_fesetenv, libc_feupdateenv): Likewise.
73182         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73183         not previously defined.
73184         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73185         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73186         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73187         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73188         * sysdeps/ieee754/flt-32/math_private.h: New file.
73189         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73190         math_private.h below SET_FLOAT_WORD.
73191         (__isnan, __isinf_ns, __finite): Remove.
73192         (__isnanf, __isinf_nsf, __finitef): Remove.
73194 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73198 2012-03-17  David S. Miller  <davem@davemloft.net>
73200         [BZ #6471]
73201         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73202         for 2.16.
73204 2012-03-16  David S. Miller  <davem@davemloft.net>
73206         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73207         warnings.
73209         [BZ #6471]
73210         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73211         properly.
73212         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73213         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73214         sysdep_routines when subdir is sysvipc.
73215         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73216         __getshmlba helper.
73218         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73220 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73222         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73223         [__LP64__].
73225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73227         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73228         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73229         (__lround): Renamed to ...
73230         (__llround): This.  Replace long int with long long int.
73231         Define lround functions as aliases of llround functions.
73232         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73236         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73237         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73238         adresses to uintptr_t.  Replace "long int" and "unsigned long
73239         int" with "greg_t" on va_arg.
73241 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73243         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73244         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73246         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73247         Move e_machine check before EI_CLASS check.  Handle x32
73248         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73249         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73250         SKIP_EM_IA_64 and include
73251         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73253         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73254         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73255         (add_system_dir): New macro.
73257         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73258         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73260 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73262         [BZ #2551]
73263         [BZ #2552]
73264         [BZ #2553]
73265         [BZ #2554]
73266         [BZ #2562]
73267         [BZ #2563]
73268         [BZ #2565]
73269         [BZ #2566]
73270         [BZ #2576]
73271         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73272         (y0): Likewise.
73273         * math/w_j0f.c (j0f): Likewise.
73274         (y0f): Likewise.
73275         * math/w_j0l.c (__j0l): Likewise.
73276         (__y0l): Likewise.
73277         * math/w_j1.c (j1): Likewise.
73278         (y1): Likewise.
73279         * math/w_j1f.c (j1f): Likewise.
73280         (y1f): Likewise.
73281         * math/w_j1l.c (__j1l): Likewise.
73282         (__y1l): Likewise.
73283         * math/w_jn.c (jn): Likewise.
73284         (yn): Likewise.
73285         * math/w_jnf.c (jnf): Likewise.
73286         (ynf): Likewise.
73287         * math/w_jnl.c (__jnl): Likewise.
73288         (__ynl): Likewise.
73289         * math/libm-test.inc (j0_test): Add more tests.
73290         (j1_test): Likewise.
73291         (jn_test): Likewise.  Add trailing semicolon to existing test.
73292         (y0_test): Likewise.
73293         (y1_test): Likewise.
73294         * sysdeps/i386/fpu/libm-test-ulps: Update.
73295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73297         [BZ #13851]
73298         [BZ #13854]
73299         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73300         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73301         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73302         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73303         (__tanl): Set errno for infinite argument.
73304         * sysdeps/i386/fpu/mptan.c: Remove.
73305         * sysdeps/i386/fpu/s_tan.S: Likewise.
73306         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73307         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73308         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73309         * math/libm-test.inc (tan_test): Add more tests and enable more
73310         tests for double and long double.
73311         * sysdeps/i386/fpu/libm-test-ulps: Update.
73312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73314 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73316         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73317         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73319 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73321         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73322         * configure.in: Use it for both main tree and add-ons.
73323         * configure: Regenerated.
73325 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73327         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73329 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73331         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73332         in comment.
73334         [BZ #13851]
73335         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73336         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73337         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73338         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73339         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73340         infinite argument.
73341         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73343         != 0 for prec == 2.
73344         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73345         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73346         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73347         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73348         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73349         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73350         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73351         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73352         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73353         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73354         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73355         * math/libm-test.inc (cos_test): Add more tests and enable more
73356         tests for long double.
73357         (sin_test): Likewise.
73358         (sincos_test): Likewise.
73359         * sysdeps/i386/fpu/libm-test-ulps: Update.
73360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73362 2012-03-16  David S. Miller  <davem@davemloft.net>
73364         * sysdeps/sparc/fpu/math_private.h: New file.
73366 2012-03-15  David S. Miller  <davem@davemloft.net>
73368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73369         file.
73370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73372         file.
73373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73378         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73379         sysdep routines.
73380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73382         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73383         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73385         * sysdeps/sparc/sparc-ifunc.h: New file.
73386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73387         sparc-ifunc.h
73388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73390         Likewise.
73391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73392         Likewise.
73393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73397         Likewise.
73398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73403         Likewise.
73404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73405         Likewise.
73406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73412         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73424         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73425         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73426         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73427         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73428         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73429         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73431 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73433         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73434         scaling.
73435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73437 2012-03-15  Andreas Jaeger  <aj@suse.de>
73439         [BZ #13852]
73440         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73441         ieee754/flt-32 implementation for sin, cos and sincos.
73442         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73443         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73444         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73445         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73446         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73447         ieee754/flt-32 implementation for tan.
73449         * math/libm-test.inc (cos_test): Enable some large input tests for
73450         float as well
73451         (sin_test): Likewise.
73452         (sincos_test): Likewise.
73453         (tan_test): Add tests for large input.
73455         * sysdeps/i386/fpu/libm-test-ulps: Update.
73457 2012-03-15  Andreas Jaeger  <aj@suse.de>
73459         [BZ #13658]
73460         * math/libm-test.inc (cos_test): Add more test cases.
73461         (sin_test): Likewise.
73462         (sincos_test): Likewise.
73464 2012-03-15  Andreas Jaeger  <aj@suse.de>
73466         [BZ #13837]
73467         * math/libm-test.inc (cos_test): Add a test case for large input
73468         value.
73469         (sin_test): Likewise.
73470         (sincos_test): Likewise.
73472 2012-03-15  Andreas Jaeger  <aj@suse.de>
73473             Joseph Myers  <joseph@codesourcery.com>
73475         [BZ #13658]
73476         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73477         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73478         * sysdeps/i386/fpu/branred.c: Likewise.
73479         * sysdeps/i386/fpu/dosincos.c: Likewise.
73480         * sysdeps/i386/fpu/mpa.c: Likewise.
73481         * sysdeps/i386/fpu/s_cos.S: Likewise.
73482         * sysdeps/i386/fpu/s_sin.S: Likewise.
73483         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73484         * sysdeps/i386/fpu/sincos32.c: Likewise.
73486         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73487         Define.
73488         (libc_feupdateenv_53bit): Define.
73489         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73490         Define.
73491         (libc_feupdateenv_53bit): Define.
73493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73494         53 bit (without extend i386 double precision).
73496         * math/libm-test.inc (sincos_test): Add tests for large input.
73497         (sin): Likewise.
73498         (cos): Likewise.
73500         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73502 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73506 2012-03-15  David S. Miller  <davem@davemloft.net>
73508         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73509         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73510         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73511         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73524         file.
73525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73527         file.
73528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73530         file.
73531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73533         file.
73534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73536         fmin/fmax sysdep routines.
73537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73539 2012-03-14  David S. Miller  <davem@davemloft.net>
73541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73542         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73545         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73546         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73561         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73562         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73563         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73565         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73566         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73569         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73570         routines.
73571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73572         file.
73573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73575         file.
73576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73578         file.
73579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73581         file.
73582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73584         file.
73585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73587         file.
73588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73589         file.
73590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73591         file.
73592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73593         file.
73594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73595         New file.
73596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73597         file.
73598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73599         file.
73600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73602         file.
73603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73605         file.
73606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73608         file.
73609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73611         VIS3 routines.
73613         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73614         New file.
73616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73618         * sysdeps/sparc/configure.in: New file.
73619         * sysdeps/sparc/configure: Generate.
73620         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73621         * configure: Regenerate.
73622         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73623         * config.make.in (have-as-vis3): New.
73624         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73625         available use -Av9d instead of -Av9a.
73626         * sysdeps/sparc/sparc64/Makefile: Likewise.
73627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73629         New file.
73630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73631         file.
73632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73633         New file.
73634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73635         file.
73636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73637         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73638         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73639         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73642         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73643         fzeros/fnegs to load 0x80000000 into a float register instead of
73644         using the stack.
73645         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73647 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73650         bits/syscall.h.
73651         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73652         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73653         ($(inst_includedir)/bits/syscall.h): Remove rule.
73654         ($(objpfx)bits/syscall.d): Include instead of
73655         $(objpfx)syscall-list.d.
73656         (generated): Change syscall-list.h and syscall-list.d to
73657         bits/syscall.h and bits/syscall.d.
73659 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73661         [BZ #13846]
73662         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73664 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73666         [BZ #13841]
73667         * math/s_csqrt.c: Include <float.h>.
73668         (__csqrt): Scale large or subnormal inputs.
73669         * math/s_csqrtf.c: Likewise.
73670         * math/s_csqrtl.c: Likewise.
73671         * math/libm-test.inc (csqrt_test): Add more tests.
73672         * sysdeps/i386/fpu/libm-test-ulps: Update.
73673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73675         [BZ #13840]
73676         * math/libm-test.inc (hypot_test): Add more tests.
73678 2012-03-13  David S. Miller  <davem@davemloft.net>
73680         [BZ #13840]
73681         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73682         double-precision for the calculation instead of scaling.
73684 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73686         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73687         manipulate bits before adding and subtracting TWO52[sx].
73688         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73689         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73690         Likewise.
73691         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73693 2012-03-13  David S. Miller  <davem@davemloft.net>
73695         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73696         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73698         rtld-global-offsets.h
73699         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73701         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73702         large parameters.
73704         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73706         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73707         'err' in the ifdef scope in which it is actually used.
73709         * nss/nss_db/db-init.c: Include string.h
73711 2012-03-12  David S. Miller  <davem@davemloft.net>
73713         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73714         masking out of the most significant byte of random value used.
73715         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73716         Fix coding style in previous change.
73718         * sysdeps/unix/sysv/linux/kernel-features.h
73719         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73720         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73721         expression.
73722         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73723         later.
73725 2012-03-11  David S. Miller  <davem@davemloft.net>
73727         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73728         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73729         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73730         for 'resultvar' otherwise things get truncated on 64-bit.
73732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73733         Fix masking out of the most significant byte of random value used.
73735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73737 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73741 2012-03-09  David S. Miller  <davem@davemloft.net>
73743         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73744         variables with appropriate CPP guards.
73745         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73746         from the frame pointer, not the stack pointer.  Correct layout
73747         comments.  Fix test on resulting framesize and the management of
73748         the outregs buffer for pltexit.  Preserve floating point return
73749         values across _dl_call_pltexit call.
73750         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73751         framesize and the management of the outregs buffer for pltexit.
73752         Preserve floating point return values across _dl_call_pltexit
73753         call.
73754         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73755         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73756         (la_sparc64_gnu_pltexit): New functions.
73757         (print_exit): Fix format string for return register value.
73759 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73761         * sunrpc/Makefile (others): Add rpcgen.
73762         ($(objpfx)rpcgen): Remove special build rule and dependency on
73763         libc.
73764         * sunrpc/rpcgen.c: New file.
73766 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73768         [BZ #13673]
73769         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73770         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73771         * sysdeps/i386/crti.S: Likewise.
73772         * sysdeps/i386/crtn.S: Likewise.
73773         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73774         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73775         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73776         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73777         * sysdeps/sh/crti.S: Likewise.
73778         * sysdeps/sh/crtn.S: Likewise.
73779         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73781         [BZ #13673]
73782         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73783         with URL.
73784         * locale/programs/locfile-kw.gperf: Likewise.
73785         * locale/programs/charmap-kw.h: Regenerated.
73786         * locale/programs/locfile-kw.h: Likewise.
73788         [BZ #13673]
73789         * intl/plural.y: Replace FSF snail mail address with URL.
73790         * intl/plural.c: Regenerated.
73792 2012-03-09  Richard Henderson  <rth@twiddle.net>
73794         * include/math_private.h: Remove file.
73795         * math/math_private.h: Move file ...
73796         * sysdeps/generic/math_private.h: ... here.
73798         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73799         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73800         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73802         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73803         and <math_private.h>.
73804         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73805         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73806         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73807         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73808         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73809         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73810         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73811         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73812         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73813         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73815         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73816         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73817         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73818         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73819         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73820         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73821         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73822         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73823         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73824         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73825         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73826         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73828         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73829         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73830         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73831         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73833         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73834         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73835         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73836         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73837         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73838         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73839         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73840         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73841         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73842         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73843         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73844         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73845         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73846         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73847         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73848         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73849         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73850         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73852         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73853         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73854         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73855         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73856         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73857         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73858         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73859         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73860         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73861         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73862         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73863         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73864         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73865         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73866         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73867         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73868         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73869         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73870         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73871         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73872         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73873         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73874         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73875         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73876         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73877         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73878         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73892         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73893         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73894         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73895         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73896         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73897         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73898         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73899         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73900         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73901         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73902         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73904         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73905         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73906         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73907         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73908         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73909         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73910         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73911         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73912         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73913         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73914         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73915         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73916         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73917         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73918         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73919         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73920         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73921         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73922         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73923         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73924         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73925         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73927         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73928         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73929         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73930         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73931         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73932         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73933         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73934         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73935         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73936         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73937         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73938         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73939         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73940         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73941         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73942         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73943         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73944         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73945         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73946         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73947         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73948         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73949         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73950         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73951         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73952         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73953         * sysdeps/ieee754/k_standard.c: Likewise.
73954         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73955         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73957         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73958         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73959         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73960         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73961         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73962         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73963         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73964         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73978         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73979         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73980         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73981         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73982         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73983         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73984         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73985         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73986         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73987         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73988         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73991         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73992         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73993         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73994         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73995         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73996         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73997         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73998         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73999         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74000         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74002         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74004         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74005         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74006         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74008         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74009         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74011         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74012         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74013         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74014         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74016         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74017         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74018         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74021         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74026         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74027         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74028         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74030         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74031         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74033         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74034         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74035         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74036         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74037         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74038         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74039         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74040         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74041         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74043         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74044         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74045         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74049         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74050         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74051         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74052         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74053         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74055         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74056         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74057         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74058         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74062         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74064         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74065         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74066         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74068         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74069         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74070         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74071         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74075         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74076         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74077         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74078         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74079         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74080         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74081         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74082         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74083         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74084         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74085         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74086         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74087         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74088         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74089         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74090         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74091         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74092         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74093         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74094         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74095         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74096         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74097         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74098         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74099         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74100         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74103         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74104         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74105         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74106         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74107         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74108         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74109         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74110         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74111         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74112         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74113         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74114         * sysdeps/ieee754/s_lib_version.c: Likewise.
74115         * sysdeps/ieee754/s_matherr.c: Likewise.
74116         * sysdeps/ieee754/s_signgam.c: Likewise.
74117         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74118         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74119         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74120         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74121         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74122         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74123         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74124         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74125         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74126         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74127         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74128         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74129         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74130         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74131         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74132         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74133         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74134         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74135         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74139 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74141         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74142         * sunrpc/rpc_main.c: Likewise.
74143         * sunrpc/rpc_svcout.c: Likewise.
74145 2012-03-09  David S. Miller  <davem@davemloft.net>
74147         * include/math_private.h: New file.
74149 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74151         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74152         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74153         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74154         from <bits/socket_type.h>.
74155         (enum __socket_type): Don't define here.
74156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74158         bits/socket_type.h.
74160         [BZ #13566]
74161         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74162         checking __USE_GNU.
74164         * Makerules ($(inst_includedir)/%.h): New rule.
74165         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74166         (install-others): Remove variable setting.
74167         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74169 2012-03-08  Richard Henderson  <rth@twiddle.net>
74171         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74172         from macro to inline function; merge with the
74173         !__LIBC_INTERNAL_MATH_INLINES version.
74174         (__ieee754_sqrtf): Likewise.
74176         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74177         to inline function.
74178         (__rintf, __floor, __floorf): Likewise.
74180         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74181         macro to inline function.
74182         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74184         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74185         not <math/math_private.h>.
74187 2012-03-08  David S. Miller  <davem@davemloft.net>
74189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74190         copyright year.
74191         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74193 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74195         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74196         normalization.
74197         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74198         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74200 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74202         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74203         be defined individually, they must be defined as a block.  Define
74204         S for printing a string instead of hidint the different by using a
74205         macro for adding the 'l'.
74206         * stdio-common/tst-fphex-wide.c: Adjust.
74208 2012-03-07  Marek Polacek  <polacek@redhat.com>
74210         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74212 2012-03-08  Marek Polacek  <polacek@redhat.com>
74214         [BZ #13806]
74215         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74216         * stdio-common/tst-fphex.c: Define a few macros to make the
74217         test reusable.  Use them.
74218         * stdio-common/tst-fphex-wide.c: New file.
74220 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74222         [BZ #6911]
74223         * manual/macros.texi (gnusystems): New macro.
74224         (nongnusystems): Likewise.
74225         (gnulinuxhurdsystems): Likewise.
74226         (gnuhurdsystems): Likewise..
74227         (gnulinuxsystems): Likewise.
74228         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74229         variants of the GNU system, not "GNU system".
74230         * manual/conf.texi: Likewise.
74231         * manual/errno.texi: Likewise.  Update example of errno macro
74232         expansion.
74233         * manual/filesys.texi: Likewise.
74234         (getumask): Document as specific to GNU/Hurd.
74235         * manual/install.texi: Likewise.  Reword some references to
74236         GNU/Linux.
74237         * manual/intro.texi: Likewise.
74238         * manual/io.texi: Likewise.
74239         (File Name Portability): Detail which constraints are inapplicable
74240         to all GNU systems and which are only inapplicable to GNU/Hurd.
74241         * manual/job.texi: Likewise.
74242         * manual/llio.texi: Likewise.
74243         (O_NOCTTY): Document as present on GNU/Linux.
74244         * manual/maint.texi: Likewise.
74245         * manual/memory.texi: Likewise.
74246         * manual/pattern.texi: Likewise.
74247         * manual/pipe.texi: Likewise.
74248         * manual/process.texi: Likewise.
74249         * manual/resource.texi: Likewise.
74250         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74251         child on GNU/Hurd.
74252         * manual/setjmp.texi: Likewise.
74253         * manual/signal.texi: Likewise.
74254         * manual/startup.texi: Likewise.
74255         * manual/stdio.texi: Likewise.
74256         * manual/terminal.texi: Likewise.
74257         (ONLCR): Document as POSIX.
74258         (OXTABS): Document availability on GNU/Linux as XTABS.
74259         (ONOEOT): Document availability separately from other bits.
74260         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74261         * manual/time.texi: Likewise.
74262         * manual/users.texi: Likewise.
74263         * INSTALL: Regenerated.
74264         * sysdeps/gnu/errlist.c: Regenerated.
74266         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74267         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74268         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74269         puts.
74270         * configure: Regenerated.
74272 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74274         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74275         default includes instead of AC_HEADER_CHECK.
74276         * sysdeps/i386/configure: Regenerated.
74278         [BZ #10716]
74279         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74280         * math/s_cacoshf.c (__cacoshf): Likewise.
74281         * math/s_cacoshl.c (__cacoshl): Likewise.
74282         * math/s_casinh.c (__casinh): Set signs of result from argument.
74283         * math/s_casinhf.c (__casinhf): Likewise.
74284         * math/s_casinhl.c (__casinhl): Likewise.
74285         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74286         (casinh_test): Add more tests.
74287         * sysdeps/i386/fpu/libm-test-ulps: Update.
74288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74290 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74292         * po/zh_TW.po: Update from translation team.
74294         * login/Makefile (distribute): Remove variable.
74295         * catgets/Makefile: Likewise.
74296         * mach/Makefile: Likewise.
74297         * malloc/Makefile: Likewise.
74298         * misc/Makefile: Likewise.
74299         * iconv/Makefile: Likewise.
74300         * nscd/Makefile: Likewise.
74301         * hurd/Makefile: Likewise.
74302         * manual/Makefile: Likewise.
74303         * locale/Makefile: Likewise.
74304         * intl/Makefile: Likewise.
74305         * conform/Makefile: Likewise.
74306         * nss/Makefile: Likewise.
74307         * time/Makefile: Likewise.
74308         * soft-fp/Makefile: Likewise.
74309         * dirent/Makefile: Likewise.
74310         * gmon/Makefile: Likewise.
74311         * po/Makefile: Likewise.
74312         * rt/Makefile: Likewise.
74313         * socket/Makefile: Likewise.
74314         * math/Makefile: Likewise.
74315         * signal/Makefile: Likewise.
74316         * debug/Makefile: Likewise.
74317         * elf/Makefile: Likewise.
74318         * timezone/Makefile: Likewise.
74319         * stdlib/Makefile: Likewise.
74320         * iconvdata/Makefile: Likewise.
74321         * sunrpc/Makefile: Likewise.
74322         * io/Makefile: Likewise.
74323         * argp/Makefile: Likewise.
74324         * inet/Makefile: Likewise.
74325         * hesiod/Makefile: Likewise.
74326         * grp/Makefile: Likewise.
74327         * csu/Makefile: Likewise.
74328         * wctype/Makefile: Likewise.
74329         * crypt/Makefile: Likewise.
74330         * libio/Makefile: Likewise.
74331         * string/Makefile: Likewise.
74332         * nis/Makefile: Likewise.
74333         * resolv/Makefile: Likewise.
74334         * stdio-common/Makefile: Likewise.
74335         * wcsmbs/Makefile: Likewise.
74336         * dlfcn/Makefile: Likewise.
74337         * posix/Makefile: Likewise.
74339         [BZ #6959]
74340         * timezone/Makefile: Don't install timezone files, just the programs
74341         and scripts.
74343 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74345         * nss/databases.def: Add missing gshadow entry.
74347         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74349 2012-03-06  Marek Polacek  <polacek@redhat.com>
74351         [BZ #13726]
74352         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74353         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74354         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74355         * stdio-common/tst-long-dbl-fphex.c: New file.
74357 2012-03-06  David S. Miller  <davem@davemloft.net>
74359         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74360         (set_obp_int): New function.
74361         (get_obp_int): New function.
74362         (__get_clockfreq_via_dev_openprom): Likewise.
74363         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74364         Avoid unused variable warnings on 'val' and use builtin_expect.
74365         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74366         __builtin_expect.
74367         (INLINE_CLONE_SYSCALL): Likewise.
74369 2012-03-05  David S. Miller  <davem@davemloft.net>
74371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74373 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74377         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74378         only for |x| >= 40.
74379         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74381 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74383         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74384         Replace gettimeofday with __vdso_gettimeofday.
74386         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74387         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74388         __vdso_clock_gettime and __vdso_getcpu.
74390         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74391         time with __vdso_time.
74393 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74395         * manual/lang.texi (size_t): Note types to which size_t may be
74396         equivalent with the GNU C Library, but do not describe when
74397         differences between them are significant.
74399 2012-03-05  Andreas Jaeger  <aj@suse.de>
74401         * sysdeps/i386/fpu/libm-test-ulps: Update.
74403 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74405         [BZ #3976]
74406         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74407         (__ieee754_pow): Save and restore rounding mode and use
74408         round-to-nearest for main computations.
74409         * math/libm-test.inc (pow_test_tonearest): New function.
74410         (pow_test_towardzero): Likewise.
74411         (pow_test_downward): Likewise.
74412         (pow_test_upward): Likewise.
74413         (main): Call the new functions.
74414         * sysdeps/i386/fpu/libm-test-ulps: Update.
74415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74417         [BZ #3976]
74418         * math/libm-test.inc (cosh_test_tonearest): New function.
74419         (cosh_test_towardzero): Likewise.
74420         (cosh_test_downward): Likewise.
74421         (cosh_test_upward): Likewise.
74422         (sinh_test_tonearest): Likewise.
74423         (sinh_test_towardzero): Likewise.
74424         (sinh_test_downward): Likewise.
74425         (sinh_test_upward): Likewise.
74426         (main): Call the new functions.
74427         * sysdeps/i386/fpu/libm-test-ulps: Update.
74428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74430 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74432         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74433         default stack guard is set in last bytes.
74434         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74436 2012-03-05  Kees Cook  <keescook@chromium.org>
74438         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74440         [BZ #13656]
74441         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74442         possibly allocate from heap instead of stack.
74443         * stdio-common/bug-vfprintf-nargs.c: New file.
74444         * stdio-common/Makefile (tests): Add nargs overflow test.
74446 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74450 2012-03-03  Marek Polacek  <polacek@redhat.com>
74452         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74453         * math/math_private.h: Likewise.
74454         * stdlib/tst-strtod.c: Likewise.
74455         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74456         * sysdeps/x86_64/bits/atomic.h: Likewise.
74458 2012-03-02  David S. Miller  <davem@davemloft.net>
74460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74464         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74465         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74466         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74467         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74469 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74471         [BZ #13792]
74472         * manual/examples/README: New file, says the example source files
74473         can be used under GPL>=2.
74474         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74475         line containing just "*/".
74476         * manual/examples/add.c: Add copyright header (GPL>=2).
74477         * manual/examples/argp-ex1.c: Likewise.
74478         * manual/examples/argp-ex2.c: Likewise.
74479         * manual/examples/argp-ex3.c: Likewise.
74480         * manual/examples/argp-ex4.c: Likewise.
74481         * manual/examples/atexit.c: Likewise.
74482         * manual/examples/db.c: Likewise.
74483         * manual/examples/dir.c: Likewise.
74484         * manual/examples/dir2.c: Likewise.
74485         * manual/examples/execinfo.c: Likewise.
74486         * manual/examples/filecli.c: Likewise.
74487         * manual/examples/filesrv.c: Likewise.
74488         * manual/examples/fmtmsgexpl.c: Likewise.
74489         * manual/examples/genpass.c: Likewise.
74490         * manual/examples/inetcli.c: Likewise.
74491         * manual/examples/inetsrv.c: Likewise.
74492         * manual/examples/isockad.c: Likewise.
74493         * manual/examples/longopt.c: Likewise.
74494         * manual/examples/memopen.c: Likewise.
74495         * manual/examples/memstrm.c: Likewise.
74496         * manual/examples/mkfsock.c: Likewise.
74497         * manual/examples/mkisock.c: Likewise.
74498         * manual/examples/mygetpass.c: Likewise.
74499         * manual/examples/pipe.c: Likewise.
74500         * manual/examples/popen.c: Likewise.
74501         * manual/examples/rprintf.c: Likewise.
74502         * manual/examples/search.c: Likewise.
74503         * manual/examples/select.c: Likewise.
74504         * manual/examples/setjmp.c: Likewise.
74505         * manual/examples/sigh1.c: Likewise.
74506         * manual/examples/sigusr.c: Likewise.
74507         * manual/examples/stpcpy.c: Likewise.
74508         * manual/examples/strdupa.c: Likewise.
74509         * manual/examples/strftim.c: Likewise.
74510         * manual/examples/strncat.c: Likewise.
74511         * manual/examples/subopt.c: Likewise.
74512         * manual/examples/swapcontext.c: Likewise.
74513         * manual/examples/termios.c: Likewise.
74514         * manual/examples/testopt.c: Likewise.
74515         * manual/examples/testpass.c: Likewise.
74516         * manual/examples/timeval_subtract.c: Likewise.
74518         [BZ #13792]
74519         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74520         function to ...
74521         * manual/timeval_subtract.c.texi: ... here, new file.
74523 2012-03-02  David S. Miller  <davem@davemloft.net>
74525         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74527 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74529         [BZ #3976]
74530         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74531         (__sin): Save and restore rounding mode and use round-to-nearest
74532         for all computations.
74533         (__cos): Save and restore rounding mode and use round-to-nearest
74534         for all computations.
74535         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74536         <fenv.h>.
74537         (tan): Save and restore rounding mode and use round-to-nearest for
74538         all computations.
74539         * math/libm-test.inc (cos_test_tonearest): New function.
74540         (cos_test_towardzero): Likewise.
74541         (cos_test_downward): Likewise.
74542         (cos_test_upward): Likewise.
74543         (sin_test_tonearest): Likewise.
74544         (sin_test_towardzero): Likewise.
74545         (sin_test_downward): Likewise.
74546         (sin_test_upward): Likewise.
74547         (tan_test_tonearest): Likewise.
74548         (tan_test_towardzero): Likewise.
74549         (tan_test_downward): Likewise.
74550         (tan_test_upward): Likewise.
74551         (main): Call the new functions.
74552         * sysdeps/i386/fpu/libm-test-ulps: Update.
74553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74555         [BZ #10135]
74556         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74557         small n, then large n, before computing and testing k+n.
74558         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74559         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74560         Likewise.
74561         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74562         Likewise.
74563         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74564         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74565         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74566         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74567         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74568         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74569         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74570         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74571         * math/libm-test.inc (scalbn_test): Add more tests.
74572         (scalbln_test): Likewise.
74574         * manual/filesys.texi (mode_t): Describe constraints on size and
74575         signedness, not exact equivalence to a particular type.
74576         (ino_t): Likewise.
74577         (ino64_t): Likewise.
74578         (dev_t): Likewise.
74579         (nlink_t): Likewise.
74580         (blkcnt_t): Likewise.
74581         (blkcnt64_t): Likewise.
74582         * manual/llio.texi (off_t): Likewise.
74584         [BZ #3976]
74585         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74586         (__ieee754_exp): Save and restore rounding mode and use
74587         round-to-nearest for all computations.
74588         * math/libm-test.inc (exp_test_tonearest): New function.
74589         (exp_test_towardzero): Likewise.
74590         (exp_test_downward): Likewise.
74591         (exp_test_upward): Likewise.
74592         (main): Call the new functions.
74593         * sysdeps/i386/fpu/libm-test-ulps: Update.
74594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74596 2012-03-01  Chris Demetriou  <cgd@google.com>
74598         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74599         have predictable order.
74601 2012-03-01  David S. Miller  <davem@davemloft.net>
74603         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74605         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74606         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74607         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74608         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74610         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74611         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74612         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74614         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74615         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74616         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74617         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74618         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74622         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74623         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74624         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74626         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74627         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74628         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74629         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74630         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74631         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74632         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74633         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74634         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74635         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74636         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74639         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74640         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74642         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74643         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74644         * sysdeps/sparc/elf/configure: Regenerated.
74646 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74648         * configure.in (AS, LD): Require binutils 2.20 or later.
74649         * configure: Regenerated.
74650         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74651         as required minimum version.
74652         * INSTALL: Regenerated.
74654         [BZ #2541]
74655         [BZ #4108]
74656         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74657         before squaring exponent.
74658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74659         bottom long double and 27 bits of top long double before squaring
74660         exponent.
74661         * math/libm-test.inc (erfc_test): Add more tests.
74662         * sysdeps/i386/fpu/libm-test-ulps: Update.
74663         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74666 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74668         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74669         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74670         containing bit-fields.
74671         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74672         * soft-fp/single.h (_FP_UNION_S): Likewise.
74673         * soft-fp/double.h (_FP_UNION_D): Likewise.
74675 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74677         [BZ #13786]
74678         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74679         not include ../strcmp.S.
74680         [USE_AS_STRNCASECMP_L]: Likewise.
74681         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74682         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74683         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74684         (__strncasecmp_l_ia32): Define as alias to
74685         __strncasecmp_l_nonascii.
74687         [BZ #5794]
74688         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74689         * sysdeps/i386/fpu/libm-test-ulps: Update.
74690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74692         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74695 2012-02-29  Jeff Law  <law@redhat.com>
74697         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74698         out of bounds read.
74700 2012-02-29  Marek Polacek  <polacek@redhat.com>
74702         [BZ #13706]
74703         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74704         * elf/Makefile: Add rules to run tst-unused-dep.out.
74706 2012-02-28  David S. Miller  <davem@davemloft.net>
74708         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74709         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74710         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74711         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74712         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74713         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74715 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74717         * math/libm-test.inc (llround_test): Move one test from
74718         lround_test.  Use TEST_f_L in moved test.
74719         (lround_test): Move misplaced test to llround_test.  Add testcase
74720         from bug 2561.
74722 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74724         * sysdeps/x86_64/fpu/e_expf.S: New file.
74725         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74727 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74729         [BZ #13637]
74730         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74731         of remain_len that may cause incomplete multi-byte character and
74732         false match.
74733         * posix/bug-regex33.c: New file.
74734         * posix/Makefile (tests): Add bug-regex33.
74736 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74738         * manual/macros.texi: New file.
74739         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74740         * manual/libc.texinfo: Include macros.texi.
74741         * manual/creatute.texi: Likewise.
74742         * manual/install.texi: Likewise.
74743         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74744         @glibcadj{} in references to the GNU C Library.
74745         * manual/charset.texi: Likewise.
74746         * manual/conf.texi: Likewise.
74747         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74748         when not using those macros.
74749         * manual/creature.texi: Likewise.
74750         * manual/crypt.texi: Likewise.
74751         * manual/errno.texi: Likewise.
74752         * manual/filesys.texi: Likewise.
74753         * manual/header.texi: Likewise.
74754         * manual/install.texi: Likewise.
74755         * manual/intro.texi: Likewise.
74756         * manual/io.texi: Likewise.
74757         * manual/job.texi: Likewise.
74758         * manual/lang.texi: Likewise.
74759         * manual/libc.texiinfo: Likewise.
74760         * manual/llio.texi: Likewise.
74761         * manual/locale.texi: Likewise.
74762         * manual/maint.texi: Likewise.
74763         * manual/math.texi: Likewise.
74764         * manual/memory.texi: Likewise.
74765         * manual/message.texi: Likewise.
74766         * manual/nss.texi: Likewise.
74767         * manual/pattern.texi: Likewise.
74768         * manual/process.texi: Likewise.
74769         * manual/resource.texi: Likewise.
74770         * manual/search.texi: Likewise.
74771         * manual/setjmp.texi: Likewise.
74772         * manual/signal.texi: Likewise.
74773         * manual/socket.texi: Likewise.
74774         * manual/startup.texi: Likewise.
74775         * manual/stdio.texi: Likewise.
74776         * manual/string.texi: Likewise.
74777         * manual/sysinfo.texi: Likewise.
74778         * manual/syslog.texi: Likewise.
74779         * manual/terminal.texi: Likewise.
74780         * manual/time.texi: Likewise.
74781         * manual/users.texi: Likewise.
74782         * INSTALL: Regenerated.
74783         * NOTES: Regenerated.
74784         * sysdeps/gnu/errlist.c: Regenerated.
74786 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74788         * include/dirent.h: Include <dirstream.h> before
74789         <dirent/dirent.h>.
74791 2012-02-28  David S. Miller  <davem@davemloft.net>
74793         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74794         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74795         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74796         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74798 2012-02-27  David S. Miller  <davem@davemloft.net>
74800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74802         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74803         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74806         frame pointer instead of stack pointer relative arg slot.
74807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74808         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74809         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74811 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74813         [BZ #3992]
74814         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74816 2012-02-27  David S. Miller  <davem@davemloft.net>
74818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74822         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74823         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74824         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74825         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74827 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74829         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74830         later.  Allow versions 5-9.
74831         * configure: Regenerated.
74832         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74833         required minimum version and 4.6 as recommended version.  Do not
74834         mention bugs in GCC 2.7 and 2.8.
74835         * INSTALL: Regenerated.
74837 2012-02-27  David S. Miller  <davem@davemloft.net>
74839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74843         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74844         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74845         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74846         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74848         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74849         manipulate bits before adding and subtracting TWO112[sx].
74850         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74852 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74854         [BZ #13775]
74855         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74856         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74857         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74858         being in POSIX, because they are in 1003.1-2008.
74860         * rt/tst-aio.c: Include <fcntl.h>.
74861         * rt/tst-aio7.c: Likewise.
74862         * rt/tst-aio64.c: Likewise.
74864         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74866 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74868         * manual/install.texi (--with-headers): Describe headers as
74869         interface headers, not private headers.
74870         (Specific advice for GNU/Linux systems): Describe use of headers
74871         from "make headers_install", not private headers from older
74872         kernels.
74873         * INSTALL: Regenerated.
74874         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74875         Change to 2.6.19.
74876         * sysdeps/unix/sysv/linux/configure: Regenerated.
74878         * manual/llio.texi (fclean): Remove documentation.
74880         * manual/Makefile (libc-texi-generated): New variable.  Include
74881         version.texi.
74882         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74883         $(libc-texi-generated), not duplicated list of files.
74884         (version.texi, stamp-version): New rules.
74885         (realclean): Remove $(libc-texi-generated), not individual files
74886         from that list.  Do not remove dir-add.texinfo.
74887         * manual/libc.texinfo: Comment out uses of edition numbers and
74888         references to printed manual.  Remove last-updated dates.
74889         (EDITION): Comment out.
74890         (ISBN): Likewise.
74891         (VERSION, UPDATED): Remove.
74892         (version.texi): Include.
74894 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74896         * sysdeps/posix/spawni.c: Include <signal.h>.
74897         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74898         * sysdeps/pthread/aio_fsync.c: Likewise.
74900 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74902         * conform/Makefile (tests): Run only when not cross-compiling and
74903         when fast-check is not defined.
74905         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74906         * conform/data/limits.h-data: Fixes for POSIX2008.
74907         * conform/run-conformtest.sh: Run all tests.
74908         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74909         headers.
74910         * include/bits/dlfcn.h: Likewise.
74911         * include/langinfo.h: Likewise.
74912         * include/monetary.h: Likewise.
74913         * include/sys/poll.h: Likewise.
74915         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74916         for __USE_GNU.
74917         * posix/spawn.h: Define __need_sigset_t.
74918         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74919         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74920         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74921         to get sigevent_t only.
74922         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74923         only for __USE_GNU.
74924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74925         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74926         process_vm_writev only for __USE_GNU.
74927         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74929         * conform/Makefile: For now ignore errors from run-conformtest.
74930         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74931         POSIX to avoid namespace pollution.  Don't prepend headers.
74932         * conform/data/aio.h-data: Fixes for POSIX testing.
74933         * conform/data/fcntl.h-data: Likewise.
74934         * conform/data/glob.h-data: Likewise.
74935         * conform/data/grp.h-data: Likewise.
74936         * conform/data/pthread.h-data: Likewise.
74937         * conform/data/pwd.h-data: Likewise.
74938         * conform/data/signal.h-data: Likewise.
74939         * conform/data/spawn.h-data: Likewise.
74940         * conform/data/stdio.h-data: Likewise.
74941         * conform/data/stdlib.h-data: Likewise.
74942         * conform/data/stropts.h-data: Likewise.
74943         * conform/data/sys/mman.h-data: Likewise.
74944         * conform/data/sys/stat.h-data: Likewise.
74945         * conform/data/sys/types.h-data: Likewise.
74946         * conform/data/sys/wait.h-data: Likewise.
74947         * conform/data/time.h-data: Likewise.
74948         * conform/data/unistd.h-data: Likewise.
74949         * conform/data/utime.h-data: Likewise.
74951         * io/sys/stat.h: fchmod was always in POSIX.
74952         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74953         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74954         * rt/aio.h: Define __need_timespec before including <time.h>.
74955         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74956         struct.  Add forward declaration of pthread_attr_t and use it in
74957         sigevent.
74958         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74960         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74961         always remove CLK_TCK definition.
74963 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74965         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74967 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74969         * conform/run-conformtest.sh: New file.
74970         * conform/Makefile: Run run-conformtest for tests.
74971         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74972         support.
74974         * conform/data/uchar.h-data: New file.
74975         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74976         * conform/data/arpa/inet.h-data: Likewise.
74977         * conform/data/assert.h-data: Likewise.
74978         * conform/data/complex.h-data: Likewise.
74979         * conform/data/cpio.h-data: Likewise.
74980         * conform/data/ctype.h-data: Likewise.
74981         * conform/data/dirent.h-data: Likewise.
74982         * conform/data/dlfcn.h-data: Likewise.
74983         * conform/data/errno.h-data: Likewise.
74984         * conform/data/fcntl.h-data: Likewise.
74985         * conform/data/float.h-data: Likewise.
74986         * conform/data/fmtmsg.h-data: Likewise.
74987         * conform/data/fnmatch.h-data: Likewise.
74988         * conform/data/ftw.h-data: Likewise.
74989         * conform/data/glob.h-data: Likewise.
74990         * conform/data/grp.h-data: Likewise.
74991         * conform/data/iconv.h-data: Likewise.
74992         * conform/data/inttypes.h-data: Likewise.
74993         * conform/data/langinfo.h-data: Likewise.
74994         * conform/data/libgen.h-data: Likewise.
74995         * conform/data/limits.h-data: Likewise.
74996         * conform/data/locale.h-data: Likewise.
74997         * conform/data/math.h-data: Likewise.
74998         * conform/data/monetary.h-data: Likewise.
74999         * conform/data/mqueue.h-data: Likewise.
75000         * conform/data/ndbm.h-data: Likewise.
75001         * conform/data/net/if.h-data: Likewise.
75002         * conform/data/netdb.h-data: Likewise.
75003         * conform/data/netinet/in.h-data: Likewise.
75004         * conform/data/nl_types.h-data: Likewise.
75005         * conform/data/poll.h-data: Likewise.
75006         * conform/data/pthread.h-data: Likewise.
75007         * conform/data/pwd.h-data: Likewise.
75008         * conform/data/regex.h-data: Likewise.
75009         * conform/data/sched.h-data: Likewise.
75010         * conform/data/search.h-data: Likewise.
75011         * conform/data/semaphore.h-data: Likewise.
75012         * conform/data/setjmp.h-data: Likewise.
75013         * conform/data/signal.h-data: Likewise.
75014         * conform/data/spawn.h-data: Likewise.
75015         * conform/data/stdarg.h-data: Likewise.
75016         * conform/data/stdio.h-data: Likewise.
75017         * conform/data/stdlib.h-data: Likewise.
75018         * conform/data/string.h-data: Likewise.
75019         * conform/data/strings.h-data: Likewise.
75020         * conform/data/stropts.h-data: Likewise.
75021         * conform/data/sys/ipc.h-data: Likewise.
75022         * conform/data/sys/mman.h-data: Likewise.
75023         * conform/data/sys/msg.h-data: Likewise.
75024         * conform/data/sys/resource.h-data: Likewise.
75025         * conform/data/sys/select.h-data: Likewise.
75026         * conform/data/sys/sem.h-data: Likewise.
75027         * conform/data/sys/shm.h-data: Likewise.
75028         * conform/data/sys/socket.h-data: Likewise.
75029         * conform/data/sys/stat.h-data: Likewise.
75030         * conform/data/sys/statvfs.h-data: Likewise.
75031         * conform/data/sys/time.h-data: Likewise.
75032         * conform/data/sys/timeb.h-data: Likewise.
75033         * conform/data/sys/times.h-data: Likewise.
75034         * conform/data/sys/types.h-data: Likewise.
75035         * conform/data/sys/uio.h-data: Likewise.
75036         * conform/data/sys/un.h-data: Likewise.
75037         * conform/data/sys/utsname.h-data: Likewise.
75038         * conform/data/sys/wait.h-data: Likewise.
75039         * conform/data/syslog.h-data: Likewise.
75040         * conform/data/tar.h-data: Likewise.
75041         * conform/data/termios.h-data: Likewise.
75042         * conform/data/utime.h-data: Likewise.
75043         * conform/data/utmpx.h-data: Likewise.
75044         * conform/data/varargs.h-data: Likewise.
75045         * conform/data/wchar.h-data: Likewise.
75046         * conform/data/wctype.h-data: Likewise.
75047         * conform/data/wordexp.h-data: Likewise.
75049         * include/stropts.h: New file.
75050         * include/uchar.h: New file.
75051         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75052         * include/assert.h: Likewise.
75053         * include/ctype.h: Likewise.
75054         * include/dirent.h: Likewise.
75055         * include/dlfcn.h: Likewise.
75056         * include/fcntl.h: Likewise.
75057         * include/fnmatch.h: Likewise.
75058         * include/glob.h: Likewise.
75059         * include/grp.h: Likewise.
75060         * include/libio.h: Likewise.
75061         * include/locale.h: Likewise.
75062         * include/math.h: Likewise.
75063         * include/net/if.h: Likewise.
75064         * include/netdb.h: Likewise.
75065         * include/netinet/in.h: Likewise.
75066         * include/pthread.h: Likewise.
75067         * include/pwd.h: Likewise.
75068         * include/regex.h: Likewise.
75069         * include/sched.h: Likewise.
75070         * include/search.h: Likewise.
75071         * include/setjmp.h: Likewise.
75072         * include/signal.h: Likewise.
75073         * include/stdio.h: Likewise.
75074         * include/stdlib.h: Likewise.
75075         * include/string.h: Likewise.
75076         * include/sys/cdefs.h: Likewise.
75077         * include/sys/mman.h: Likewise.
75078         * include/sys/msg.h: Likewise.
75079         * include/sys/resource.h: Likewise.
75080         * include/sys/select.h: Likewise.
75081         * include/sys/socket.h: Likewise.
75082         * include/sys/stat.h: Likewise.
75083         * include/sys/statvfs.h: Likewise.
75084         * include/sys/time.h: Likewise.
75085         * include/sys/times.h: Likewise.
75086         * include/sys/uio.h: Likewise.
75087         * include/sys/utsname.h: Likewise.
75088         * include/sys/wait.h: Likewise.
75089         * include/termios.h: Likewise.
75090         * include/time.h: Likewise.
75091         * include/ulimit.h: Likewise.
75092         * include/unistd.h: Likewise.
75093         * include/utime.h: Likewise.
75094         * include/wchar.h: Likewise.
75095         * include/wctype.h: Likewise.
75096         * include/wordexp.h: Likewise.
75098         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75100         * time/time.h: TIME_UTC must be a macro.
75101         Make timespec_get available for ISO C11 only as well.
75103 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75105         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75106         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75108 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75110         * configure.in: Use -o not -a in test for unsupported multi-arch.
75112 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75114         * manual/texinfo.tex: Update to version 2012-01-19.16.
75116 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75118         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75120 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75122         [BZ #13738]
75123         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75124         * manual/fdl-1.3.texi: New file.
75125         * manual/fdl-1.1.texi: File removed.
75127         [BZ #13738]
75128         * manual/libc.texinfo (FDL_VERSION): New @set.
75129         Use it for mention of FDL in cover text.
75130         (Documentation License): Use it in @include file name.
75132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75133             Roland McGrath  <roland@hack.frob.com>
75135         [BZ #5461]
75136         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75137         (not LONG_LONG_MAX and LONG_LONG_MIN.
75138         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75139         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75140         name.
75141         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75143 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75145         [BZ #2547]
75146         [BZ #11365]
75147         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75148         manipulate bits before adding and subtracting TWO23[sx].
75149         * math/libm-test.inc (nearbyint_test): Add more tests.
75151 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75153         [BZ #2548]
75154         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75155         bits before adding and subtracting TWO23[sx].
75156         * math/libm-test.inc (rint_test): Add more tests.
75157         (rint_test_tonearest): Likewise.
75158         (rint_test_towardzero): Likewise.
75159         (rint_test_downward): Likewise.
75160         (rint_test_upward: Likewise.
75162 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75164         [BZ #10110]
75165         * include/stdc-predef.h: New file.  Extracted from features.h.
75166         * include/features.h: Include stdc-predef.h.
75167         * Makefile (headers): Add stdc-predef.h.
75168         * CONFORMANCE (Compiler limitations): Update.
75170 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75172         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75174 2012-02-21  David S. Miller  <davem@davemloft.net>
75176         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75177         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75179 2012-02-20  David S. Miller  <davem@davemloft.net>
75181         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75182         using a normal save/restore sequence, rather than allocating a
75183         dummy stack frame just to store a frame pointer and restore.
75184         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75186 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75188         * manual/install.texi: Fix stray word in line-wrapped comment.
75190 2012-02-20  David S. Miller  <davem@davemloft.net>
75192         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75193         both binutils and gcc support GOTDATA.
75195         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75196         "rd %pc" in the PIC register setup sequences.
75198         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75199         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75200         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75201         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75202         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75204         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75205         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75207         (SYSCALL_ERROR_HANDLER): Likewise.
75208         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75209         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75211         (SYSCALL_ERROR_HANDLER): Likewise.
75213         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75214         (HAVE_GCC_GOTDATA): New.
75215         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75216         relocation support in both binutils and gcc.
75217         * sysdeps/sparc/elf/configure: Regenerate.
75219         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75220         * sysdeps/sparc/sparc32/elf/configure: Delete.
75221         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75222         * sysdeps/sparc/sparc64/elf/configure: Delete.
75223         * sysdeps/sparc/elf/configure.in: New file.
75224         * sysdeps/sparc/elf/configure: Generate.
75226         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75227         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75228         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75229         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75230         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75232 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75234         * manual/install.texi: Do not mention specific glibc version
75235         numbers.
75236         * manual/libc.texinfo (VERSION, UPDATED): Update.
75237         (@copying): Use @copyright{} and range of years.
75239 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75241         [BZ #13695]
75242         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75243         [crti.S not in sysdirs] (generated): Do not append.
75244         [crti.S not in sysdirs] (omit-deps): Likewise.
75245         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75246         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75247         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75248         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75249         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75250         Likewise.
75251         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75252         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75253         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75254         * csu/defs.awk: Remove file.
75255         * sysdeps/generic/initfini.c: Likewise.
75256         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75257         variable.
75258         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75259         Likewise.
75261 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75263         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75264         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75265         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75266         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75267         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75268         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75269         <bits/epoll.h>.
75270         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75271         (__EPOLL_PACKED): Define to empty if not defined by
75272         <bits/epoll.h>.
75273         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75275         bits/epoll.h.
75277 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75279         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75280         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75281         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75282         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75283         <bits/timerfd.h>.
75284         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75286         bits/timerfd.h.
75288 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75290         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75291         in C locale.
75292         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75293         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75294         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75297 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75299         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75300         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75302 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75304         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75305         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75306         defined.
75307         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75308         Likewise.
75309         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75310         entry for 2.16.
75312 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75314         * math/w_acos.c: Use non-signaling floating-point comparisons.
75315         * math/w_acosf.c: Likewise.
75316         * math/w_acosh.c: Likewise.
75317         * math/w_acoshf.c: Likewise.
75318         * math/w_acoshl.c: Likewise.
75319         * math/w_acosl.c: Likewise.
75320         * math/w_asin.c: Likewise.
75321         * math/w_asinf.c: Likewise.
75322         * math/w_asinl.c: Likewise.
75323         * math/w_atanh.c: Likewise.
75324         * math/w_atanhf.c: Likewise.
75325         * math/w_atanhl.c: Likewise.
75326         * math/w_exp2.c: Likewise.
75327         * math/w_exp2f.c: Likewise.
75328         * math/w_exp2l.c: Likewise.
75329         * math/w_j0.c: Likewise.
75330         * math/w_j0f.c: Likewise.
75331         * math/w_j0l.c: Likewise.
75332         * math/w_j1.c: Likewise.
75333         * math/w_j1f.c: Likewise.
75334         * math/w_j1l.c: Likewise.
75335         * math/w_jn.c: Likewise.
75336         * math/w_jnf.c: Likewise.
75337         * math/w_log.c: Likewise.
75338         * math/w_log10.c: Likewise.
75339         * math/w_log10f.c: Likewise.
75340         * math/w_log10l.c: Likewise.
75341         * math/w_log2.c: Likewise.
75342         * math/w_log2f.c: Likewise.
75343         * math/w_log2l.c: Likewise.
75344         * math/w_logf.c: Likewise.
75345         * math/w_logl.c: Likewise.
75346         * math/w_sqrt.c: Likewise.
75347         * math/w_sqrtf.c: Likewise.
75348         * math/w_sqrtl.c: Likewise.
75349         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75350         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75351         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75352         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75353         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75355 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75357         [BZ #9739]
75358         * manual/string.texi (strnlen): Use correct parameter name in
75359         equivalent expression.
75361 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75363         [BZ #11174]
75364         * manual/users.texi (seteuid): Consistently use neweuid for
75365         argument name.
75367 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75369         [BZ #13704]
75370         * manual/nss.texi (Services in the NSS configuration): Correct
75371         list of services in example configuration file.
75373 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75375         [BZ #11322]
75376         * manual/arith.texi: Remove statements about negative zero
75377         behaving identically to zero.
75379 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75381         [BZ #5993]
75382         * manual/install.texi: Do not document upgrading from libc5.
75384 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75386         [BZ #4596]
75387         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75389 2012-02-18  David S. Miller  <davem@davemloft.net>
75391         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75392         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75393         %o7 across the call.
75394         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75395         instead.
75396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75397         SETUP_PIC_REG_LEAF.
75398         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75399         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75400         * sysdeps/sparc/crtn.S: Likewise.
75402 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75404         * aout/Makefile: Remove.
75406 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75408         [BZ #13058]
75409         * manual/examples/argp-ex1.c (main): Format definition in GNU
75410         style.
75411         * manual/examples/argp-ex2.c (main): Likewise.
75412         * manual/examples/argp-ex3.c (main): Likewise.
75413         * manual/examples/argp-ex4.c (main): Likewise.
75414         * manual/examples/longopt.c (main): Use new-style prototype
75415         definition.
75416         * manual/examples/strncat.c (main): Specify return type and use
75417         (void) for arguments.
75418         * manual/examples/subopt.c (main): Use char **argv argument.
75420 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75422         [BZ #5077]
75423         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75424         rounding modes.
75426 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75428         [BZ #6907]
75429         * manual/string.texi (strchr): Change when strchrnul is
75430         recommended.
75432 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75434         [BZ #174]
75435         * manual/locale.texi (setlocale): Document LOCPATH.
75437 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75439         [BZ #10210]
75440         * manual/process.texi (execle): Move @dots{} before last argument.
75442 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75444         [BZ #12047]
75445         * manual/charset.texi (Generic Charset Conversion): Fix typo
75446         (LC_TYPE -> LC_CTYPE).
75448 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75450         [BZ #5805]
75451         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75452         (scalbnf): Likewise.
75453         (scalbnl): Likewise.
75454         (scalbln): Likewise.
75455         (scalblnf): Likewise.
75456         (scalblnl): Likewise.
75457         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75458         (vwarnx): Likewise.
75459         (verr): Likewise.
75460         (verrx): Likewise.
75461         * manual/filesys.texi (telldir): Use braces around return type.
75462         * manual/llio.texi (mmap): Add space after comma.
75463         (mmap64): Likewise.
75464         * manual/math.texi (jn): Use @var{} on parameter names.
75465         (jnf): Likewise.
75466         (jnl): Likewise.
75467         (yn): Likewise.
75468         (ynf): Likewise.
75469         (ynl): Likewise.
75470         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75471         line.
75472         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75473         "...".
75474         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75475         (sched_get_priority_max): Likewise.
75476         * manual/signal.texi (sigvec): Add space after comma.
75477         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75478         names.
75479         (if_indextoname): Likewise.
75480         (if_freenameindex): Likewise.
75481         (sendto): Use ',' instead of '.' in prototype.
75482         * manual/startup.texi (syscall): Use @dots{} instead of literal
75483         "...".
75484         * manual/stdio.texi (__fpending): Separate initial words of
75485         paragraph from @deftypefun line.
75486         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75487         "...".
75488         (vsyslog): Use @var{} on parameter names.
75489         * manual/terminal.texi (stty): Use @var{} on parameter names.
75490         * manual/users.texi (getutmp): Use @var{} on parameter names.
75491         (getutmpx): Likewise.
75493 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75495         [BZ #6884]
75496         * manual/stdio.texi (fopen): Fix typos in description of
75497         ",ccs=STRING".
75499 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75501         [BZ #4026]
75502         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75503         get clock_id definition.
75505 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75507         [BZ #4822]
75508         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75509         (madvise): Cast every argument to void on its own.
75511 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75513         [BZ #9902]
75514         * manual/startup.texi (Exit Status): Fix typo.
75516 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75518         [BZ #10140]
75519         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75520         * manual/examples/argp-ex2.c: Likewise.
75521         * manual/examples/argp-ex3.c: Likewise.
75523 2012-02-16  Richard Henderson  <rth@redhat.com>
75525         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75526         * sysdeps/s390/s390-32/initfini.c: Remove.
75527         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75528         * sysdeps/s390/s390-64/initfini.c: Remove.
75530 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75532         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75533         compiler output for sysdeps/generic/initfini.c.
75534         * sysdeps/sh/elf/initfini.c: Remove file.
75536 2012-02-16  David S. Miller  <davem@davemloft.net>
75538         [BZ #11494]
75539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75541         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75542         * sysdeps/sparc/crti.S: New file.
75543         * sysdeps/sparc/crtn.S: New file.
75544         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75545         * sysdeps/sparc/sparc64/Makefile: Likewise.
75547 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75549         [BZ #3335]
75550         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75552 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75554         [BZ #4822]
75555         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75557         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75558         (write, read, close): Likewise.
75559         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75561 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75563         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75564         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75565         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75566         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75567         <bits/signalfd.h>.
75568         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75570         bits/signalfd.h.
75572 2012-02-14  Marek Polacek  <polacek@redhat.com>
75574         * sysdeps/x86_64/crti.S: New file.
75575         * sysdeps/x86_64/crtn.S: New file.
75576         * sysdeps/x86_64/elf/initfini.c: Remove file.
75578 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75580         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75581         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75582         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75583         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75584         <bits/inotify.h>.
75585         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75587         bits/inotify.h.
75589 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75591         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75592         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75593         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75594         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75595         <bits/eventfd.h>.
75596         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75598         bits/eventfd.h.
75600 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75602         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75603         __feraiseexcept instead of feraiseexcept.
75605         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75606         nanosleep invocations.
75607         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75608         strings, and add error checking for a nanosleep invocations.
75610 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75612         Replace FSF snail mail address with URLs, as per GNU coding standards.
75613         Most of the snail mail addresses were wrong anyway, and omitting
75614         them makes the source code easier to maintain.  Almost all of the
75615         changes are to license notices and to locale LC_IDENTIFICATION
75616         addresses, except for this one:
75617         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75618         not its snail mail address.
75620 2012-02-09  Richard Henderson  <rth@twiddle.net>
75622         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75623         of kernel-features.h.
75625         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75627 2012-02-08  Marek Polacek  <polacek@redhat.com>
75629         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75630         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75631         * sysdeps/gnu/_G_config.h: Likewise.
75632         * sysdeps/generic/_G_config.h: Likewise.
75634 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75636         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75637         tests.
75638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75640         * sysdeps/powerpc/powerpc32/crti.S: New file.
75641         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75642         * sysdeps/powerpc/powerpc64/crti.S: New file.
75643         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75645         * Makeconfig (have-initfini): Don't set.
75646         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75647         * configure.in (nopic_initfini): Don't substitute.
75648         * config.h.in (HAVE_INITFINI): Don't #undef.
75649         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75650         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75652 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75654         Support crti.S and crtn.S provided directly by architectures.
75655         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75656         [crti.S in sysdirs] (omit-deps): Likewise.
75657         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75658         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75659         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75660         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75661         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75662         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75663         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75664         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75665         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75666         compiler output for sysdeps/generic/initfini.c.
75667         * sysdeps/i386/elf/Makefile: Remove file.
75668         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75670 2012-02-07  Marek Polacek  <polacek@redhat.com>
75672         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75673         * sysdeps/gnu/_G_config.h: Likewise.
75674         * sysdeps/mach/hurd/_G_config.h: Likewise.
75676 2012-02-07  Marek Polacek  <polacek@redhat.com>
75678         * math/Makefile (tests): Add tst-CMPLX2.
75679         * math/tst-CMPLX2.c: New file.
75681 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75683         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75685         * math/libm-test.inc (jn_test): Add missing L suffix.
75687 2012-02-06  Marek Polacek  <polacek@redhat.com>
75689         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75690         * sysdeps/i386/fpu/e_powf.S: Likewise.
75691         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75692         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75693         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75694         * sysdeps/i386/fpu/e_pow.S: Likewise.
75695         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75696         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75697         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75698         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75699         * sysdeps/i386/fpu/e_log2.S: Likewise.
75700         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75701         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75702         * sysdeps/i386/fpu/e_powl.S: Likewise.
75703         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75704         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75705         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75706         * sysdeps/i386/fpu/e_logl.S: Likewise.
75707         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75708         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75709         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75710         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75711         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75712         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75713         * sysdeps/i386/fpu/e_log.S: Likewise.
75714         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75715         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75716         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75717         * sysdeps/i386/fpu/e_logf.S: Likewise.
75718         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75719         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75720         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75721         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75722         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75723         * sysdeps/i386/fpu/e_log10.S: Likewise.
75724         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75725         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75726         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75727         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75728         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75729         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75730         * sysdeps/i386/asm-syntax.h: Likewise.
75731         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75732         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75733         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75734         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75735         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75736         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75737         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75738         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75739         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75740         * sysdeps/powerpc/sysdep.h: Likewise.
75741         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75742         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75744 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75746         [BZ #411]
75747         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75749 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75751         * sysdeps/i386/sysdep.h: Include <features.h>.
75752         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75753         version.
75755 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75757         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75758         Define.
75759         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75760         LOAD_PIC_REG_STR.
75762 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75764         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75765         (SETUP_PIC_REG): Use GET_PC_THUNK.
75766         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75767         macro.
75769 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75771         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75772         for non-PIC compilation.
75773         (SETUP_PIC_REG): Add .p2align directive.
75774         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75775         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75776         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75777         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75778         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75779         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75780         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75781         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75782         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75783         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75784         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75785         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75786         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75787         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75788         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75789         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75790         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75791         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75792         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75793         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75794         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75795         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75796         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75797         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75798         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75799         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75800         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75801         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75802         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75803         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75804         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75805         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75806         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75807         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75808         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75809         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75810         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75811         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75812         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75813         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75814         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75816 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75818         * math/tst-CMPLX.c: Include <stdio.h>.
75820 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75822         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75823         float.
75824         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75825         * sysdeps/sparc/bits/mathdef.h: Likewise.
75827 2012-01-31  Marek Polacek  <polacek@redhat.com>
75829         * libio/libio.h: Don't define _PARAMS.
75830         * locale/programs/config.h: Don't define PARAMS.
75831         * stdlib/strtol_l.c: Likewise.
75832         (__strtol_l): Remove PARAMS from the prototype.
75834 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75836         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75837         names.  Just use the correct names.  Remove unnecessary wrapper
75838         functions.
75839         * malloc/arena.c: Likewise.
75840         * malloc/hooks.c: Likewise.
75842         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75843         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75844         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75846 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75848         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75849         into tail calls.
75850         (update_get_addr): New function.
75851         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75852         GET_ADDR_MODULE parameter.
75854 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75856         * crypt/cert.c: Remove __STDC__ conditionals.
75857         * crypt/crypt-entry.c: Likewise.
75858         * crypt/crypt_util.c: Likewise.
75859         * libio/filedoalloc.c: Likewise.
75860         * libio/fileops.c: Likewise.
75861         * libio/genops.c: Likewise.
75862         * libio/iofclose.c: Likewise.
75863         * libio/iofdopen.c: Likewise.
75864         * libio/iofopen.c: Likewise.
75865         * libio/iofopen64.c: Likewise.
75866         * libio/iogetdelim.c: Likewise.
75867         * libio/iopopen.c: Likewise.
75868         * libio/obprintf.c: Likewise.
75869         * libio/oldfileops.c: Likewise.
75870         * libio/oldiofclose.c: Likewise.
75871         * libio/oldiofdopen.c: Likewise.
75872         * libio/oldiofopen.c: Likewise.
75873         * libio/oldiopopen.c: Likewise.
75874         * libio/wfiledoalloc.c: Likewise.
75875         * libio/wgenops.c: Likewise.
75876         * locale/programs/xmalloc.c: Likewise.
75877         * misc/syslog.c: Likewise.
75878         * stdio-common/xbug.c: Likewise.
75879         * string/memchr.c: Likewise.
75880         * string/memcmp.c: Likewise.
75881         * string/memrchr.c: Likewise.
75882         * string/rawmemchr.c: Likewise.
75883         * sysdeps/posix/getcwd.c: Likewise.
75884         * time/strftime_l.c: Likewise.
75886 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75888         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75889         * config.make.in (config-cflags-sse2avx): Define.
75890         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75891         Fix typo.
75893 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75895         * scripts/config.guess: Update from upstream config git repository.
75896         * scripts/config.sub: Likewise.
75898 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75900         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75901         (EM_NUM): Update.
75902         (R_TILEPRO_*, R_TILEGX_*): New macros.
75904         * scripts/firstversions.awk: Fix bug in version range handling.
75906         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75908         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75910         * include/sys/epoll.h: New file.
75911         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75912         libc_hidden_def.
75914 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75916         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75917         Avoid unnecessary __WORDSIZE == 64 test.
75918         (fmaxf): Use VEX format if possible.
75919         (fmax): Likewise.
75920         (fminf): Likewise.
75921         (fmin): Likewise.
75923         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75924         * math/math_private.h: Remove libc_fegetround* and
75925         libc_fesetround*.
75926         * sysdeps/i386/configure.in: Check for -msse2avx.
75927         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75928         also if SSE2AVX is defined.
75929         Remove libc_fegetround* and libc_fesetround*.
75930         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75931         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75932         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75933         of HAS_YMM_USABLE.
75934         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75935         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75936         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75937         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75938         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75940         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75942 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75944         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75945         size is not set.
75946         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75948 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75950         [BZ #13618]
75951         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75952         relocation.
75953         * Makeconfig (libm): Define.
75954         * elf/Makefile: Add rules to build and run tst-relsort1.
75955         * elf/tst-relsort1.c: New file.
75956         * elf/tst-relsort1mod1.c: New file.
75957         * elf/tst-relsort1mod2.c: New file.
75959 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75961         * math/s_ldexp.c: Remove __STDC__ conditionals.
75962         * math/s_ldexpf.c: Likewise.
75963         * math/s_ldexpl.c: Likewise.
75964         * math/s_nextafter.c: Likewise.
75965         * math/s_nexttowardf.c: Likewise.
75966         * math/s_significand.c: Likewise.
75967         * math/s_significandf.c: Likewise.
75968         * math/s_significandl.c: Likewise.
75969         * math/w_jnl.c: Likewise.
75970         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75971         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75972         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75973         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75974         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75976         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75977         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75978         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75979         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75980         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75982         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75983         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75984         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75985         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75986         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75987         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75988         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75989         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75990         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75991         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75992         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75993         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75994         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75995         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75996         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75997         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75998         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75999         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76000         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76001         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76002         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76003         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76004         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76005         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76006         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76007         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76008         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76009         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76010         * sysdeps/ieee754/k_standard.c: Likewise.
76011         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76012         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76013         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76014         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76015         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76016         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76017         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76018         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76019         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76020         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76021         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76022         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76023         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76024         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76025         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76026         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76027         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76028         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76029         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76030         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76031         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76032         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76033         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76034         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76035         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76036         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76037         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76039         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76040         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76041         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76042         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76043         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76044         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76045         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76046         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76047         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76048         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76049         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76050         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76051         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76052         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76053         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76054         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76055         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76056         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76057         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76058         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76059         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76060         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76061         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76062         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76063         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76064         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76065         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76066         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76067         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76068         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76069         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76070         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76071         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76072         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76073         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76074         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76075         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76076         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76077         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76078         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76079         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76080         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76081         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76082         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76083         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76084         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76085         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76086         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76087         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76088         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76089         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76090         * sysdeps/ieee754/s_matherr.c: Likewise.
76091         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76092         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76096 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76098         * crypt/md5.h: Remove __STDC__ conditionals.
76099         * libio/libioP.h: Likewise.
76100         * locale/programs/config.h: Likewise.
76101         * sysdeps/generic/sysdep.h: Likewise.
76102         * sysdeps/i386/asm-syntax.h: Likewise.
76103         * sysdeps/s390/asm-syntax.h: Likewise.
76104         * sysdeps/unix/sysdep.h: Likewise.
76105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76108 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76110         * libio/libio.h: Remove __STDC__ conditionals.
76111         * malloc/obstack.h: Likewise.
76112         * math/complex.h: Likewise.
76113         * math/math.h: Likewise.
76114         * sysdeps/generic/_G_config.h: Likewise.
76115         * sysdeps/gnu/_G_config.h: Likewise.
76116         * sysdeps/mach/hurd/_G_config.h: Likewise.
76117         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76118         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76119         * sysdeps/sparc/bits/mathdef.h: Likewise.
76121 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76123         [BZ #13583]
76124         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76125         Clean up HAS_* macros.
76126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76127         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76128         possible.
76129         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76130         HAS_AVX.
76131         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76132         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76133         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76134         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76135         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76137 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76139         * elf/tst-unique3.cc (gets): Remove declaration.
76140         * elf/tst-unique3lib.cc (gets): Likewise.
76141         * elf/tst-unique3lib2.cc (gets): Likewise.
76142         * elf/tst-unique4.cc (gets): Likewise.
76144 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76146         * include/stdio.h: Add C++ protection.  Add gets declarations and
76147         definitions.
76148         * debug/tst-chk1.c: Don't declare gets here.
76149         * stdio-common/tst-gets.c: Likewise.
76151 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76153         * posix/glob: Remove directory.
76155 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76157         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76159 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76161         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76162         of the non-standard EPFNOSUPPORT.
76164 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76166         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76167         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76168         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76170 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76172         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76174 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76176         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76177         transient errors.
76178         * nscd/grpcache.c (cache_addgr): Likewise.
76179         * nscd/hstcache.c (cache_addhst): Likewise.
76180         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76181         * nscd/pwdcache.c (cache_addpw): Likewise.
76182         * nscd/servicescache.c (cache_addserv): Likewise.
76184 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76186         * malloc/malloc.c: Various cleanups.
76187         * malloc/hooks.c: Likewise.
76189         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76190         * stdlib/bug-fmtmsg1.c: New file.
76192         * stdlib/fmtmsg.c (init): Add missing unlock.
76193         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76195 2012-01-12  Marek Polacek  <polacek@redhat.com>
76197         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76198         and _GNU_SOURCE.
76200 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76202         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76203         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76204         macro to ensure uniqueness of label name.
76205         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76206         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76208 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76210         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76212         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76213         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76214         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76217 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76219         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76221         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76222         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76223         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76225         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76227         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76228         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76229         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76230         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76232         * math/bits/math-finite.h: Add ldexp support.
76234 2012-01-10  Marek Polacek  <polacek@redhat.com>
76236         * locale/programs/localedef.h (show_archive_content): Add noreturn
76237         attribute.
76239 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76241         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76243 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76245         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76247         * io/Makefile (headers): Add bits/poll2.h.
76249 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76252         typo #include statement.
76254 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76256         * include/sys/cdefs.h: Define __attribute_alloc_size.
76257         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76258         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76259         * elf/pldd.c: Likewise.
76260         * iconv/iconv_charmap.c: Likewise.
76261         * iconv/iconvconfig.c: Likewise.
76262         * iconv/strtab.c: Likewise.
76263         * locale/programs/locale.c: Likewise.
76264         * locale/programs/localedef.h: Likewise.
76265         * locale/programs/simple-hash.c: Likewise.
76266         * nscd/nscd.h: Likewise.
76267         * nss/makedb.c: Likewise.
76268         * sysdeps/generic/ldconfig.h: Likewise.
76269         * locale/programs/localedef.c: Remove xmalloc prototype.
76270         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76272 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76274         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76275         appropriate.
76277 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76279         * math/Makefile (tests): Add tst-CMPLX.
76280         * math/tst-CMPLX.c: New file.
76282         * math/complex.h (CMPLXL): Fix typo.
76284         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76285         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76286         GLIBC_2.16.
76287         * debug/tst-chk1.c: Add poll and ppoll tests.
76288         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76289         * include/sys/poll.h: Add hidden proto for ppoll.
76290         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76291         * sysdeps/mach/hurd/ppoll.c: Likewise.
76292         * io/ppoll.c: Likewise.
76293         * debug/poll_chk.c: New file.
76294         * debug/ppoll_chk.c: New file.
76295         * include/bits/poll2.h: New file.
76296         * io/bits/poll2.h: New file.
76298         [BZ #1350]
76299         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76301         * configure.in: static is always set to yes.  Remove.
76302         * config.make.in: Don't set build-static.
76303         * Makeconfig: Remove use of build-static.
76304         * dlfcn/Makefile: Likewise.
76305         * elf/Makefile: Likewise.
76306         * math/Makefile: Likewise.
76307         * misc/Makefile: Likewise.
76308         * nptl/Makefile: Likewise.
76309         * sysdeps/mach/hurd/Makefile: Likewise.
76311         * configure.in: PWD_P is not used anymore.
76312         * config.make.in: Remove PWD_P entry.
76314         * configure.in: Remove last remnants of RANLIB.
76315         No need to check for signed size_t anymore.
76316         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76317         and IA-64.
76318         Remove __builtin_expect test because we require at least gcc 3.4.
76319         * aclocal.m4: Likewise.
76321         * wcsmbs/mbrtoc16.c: Implement using towc function.
76322         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76323         * wcsmbs/wcsmbsload.c: Likewise.
76324         * iconv/gconv_simple.c: Likewise.
76325         * iconv/gconv_int.h: Likewise.
76326         * iconv/gconv_builtin.h: Likewise.
76327         * iconv/iconv_prog.c: Remove CHAR16 handling.
76329         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76331         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76333         * configure.in: Remove --with-elf and --enable-bounded options.
76334         Dont set base_machine for ia64.  More non-ELF conditions removed.
76335         Remove testing and setting of leading underscore information.
76336         * config.make.in (build-bounded): Set to no.
76337         * config.h.in: Remove NO_UNDERSCORES entry.
76338         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76339         them.
76340         * csu/start.c: Remove !NO_UNDERSCORE code.
76341         * locale/localeinfo.h: Likewise.
76342         * sysdeps/generic/machine-gmon.h: Likewise.
76343         * sysdeps/generic/sysdep.h: Likewise.
76344         * sysdeps/i386/sysdep.h: Likewise.
76345         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76346         * sysdeps/mach/sysdep.h: Likewise.
76347         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76348         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76349         * sysdeps/sh/sysdep.h: Likewise.
76350         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76351         * sysdeps/unix/i386/sysdep.S: Likewise.
76352         * sysdeps/unix/sparc/start.c: Likewise.
76353         * sysdeps/unix/sparc/sysdep.S: Likewise.
76354         * sysdeps/unix/sparc/sysdep.h: Likewise.
76355         * sysdeps/unix/start.c: Likewise.
76356         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76357         * sysdeps/x86_64/sysdep.h: Likewise.
76359 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76361         [BZ #13553]
76362         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76363         for non-gcc.
76364         * argp/argp-fmtstream.h: Use const instead __const.
76365         * argp/argp.h: Likewise.
76366         * assert/assert.h: Likewise.
76367         * bits/fenv.h: Likewise.
76368         * bits/sched.h: Likewise.
76369         * bits/sigset.h: Likewise.
76370         * bits/sigthread.h: Likewise.
76371         * catgets/nl_types.h: Likewise.
76372         * conform/data/pthread.h-data: Likewise.
76373         * crypt/crypt-private.h: Likewise.
76374         * crypt/crypt.h: Likewise.
76375         * crypt/crypt_util.c: Likewise.
76376         * ctype/ctype.h: Likewise.
76377         * debug/execinfo.h: Likewise.
76378         * debug/mbsnrtowcs_chk.c: Likewise.
76379         * debug/mbsrtowcs_chk.c: Likewise.
76380         * debug/wcsnrtombs_chk.c: Likewise.
76381         * debug/wcsrtombs_chk.c: Likewise.
76382         * debug/wcstombs_chk.c: Likewise.
76383         * dirent/dirent.h: Likewise.
76384         * dlfcn/dlfcn.h: Likewise.
76385         * elf/neededtest4.c: Likewise.
76386         * grp/grp.h: Likewise.
76387         * gshadow/gshadow.h: Likewise.
76388         * iconv/gconv.h: Likewise.
76389         * iconv/gconv_int.h: Likewise.
76390         * iconv/gconv_simple.c: Likewise.
76391         * iconv/iconv.h: Likewise.
76392         * iconv/loop.c: Likewise.
76393         * iconv/skeleton.c: Likewise.
76394         * include/aio.h: Likewise.
76395         * include/aliases.h: Likewise.
76396         * include/argz.h: Likewise.
76397         * include/arpa/inet.h: Likewise.
76398         * include/assert.h: Likewise.
76399         * include/dirent.h: Likewise.
76400         * include/dlfcn.h: Likewise.
76401         * include/execinfo.h: Likewise.
76402         * include/fcntl.h: Likewise.
76403         * include/fenv.h: Likewise.
76404         * include/glob.h: Likewise.
76405         * include/grp.h: Likewise.
76406         * include/libintl.h: Likewise.
76407         * include/mntent.h: Likewise.
76408         * include/netdb.h: Likewise.
76409         * include/pwd.h: Likewise.
76410         * include/rpc/netdb.h: Likewise.
76411         * include/sched.h: Likewise.
76412         * include/search.h: Likewise.
76413         * include/shadow.h: Likewise.
76414         * include/signal.h: Likewise.
76415         * include/stdio.h: Likewise.
76416         * include/stdlib.h: Likewise.
76417         * include/string.h: Likewise.
76418         * include/sys/socket.h: Likewise.
76419         * include/sys/stat.h: Likewise.
76420         * include/sys/statfs.h: Likewise.
76421         * include/sys/statvfs.h: Likewise.
76422         * include/sys/syslog.h: Likewise.
76423         * include/sys/time.h: Likewise.
76424         * include/sys/uio.h: Likewise.
76425         * include/time.h: Likewise.
76426         * include/unistd.h: Likewise.
76427         * include/utmp.h: Likewise.
76428         * include/wchar.h: Likewise.
76429         * include/wctype.h: Likewise.
76430         * inet/aliases.h: Likewise.
76431         * inet/arpa/inet.h: Likewise.
76432         * inet/netinet/ether.h: Likewise.
76433         * inet/netinet/in.h: Likewise.
76434         * intl/libintl.h: Likewise.
76435         * io/bits/fcntl2.h: Likewise.
76436         * io/fcntl.h: Likewise.
76437         * io/ftw.h: Likewise.
76438         * io/sys/poll.h: Likewise.
76439         * io/sys/stat.h: Likewise.
76440         * io/sys/statfs.h: Likewise.
76441         * io/sys/statvfs.h: Likewise.
76442         * io/utime.h: Likewise.
76443         * libio/bits/stdio.h: Likewise.
76444         * libio/bits/stdio2.h: Likewise.
76445         * libio/libio.h: Likewise.
76446         * libio/libioP.h: Likewise.
76447         * libio/stdio.h: Likewise.
76448         * locale/lc-ctype.c: Likewise.
76449         * locale/locale.h: Likewise.
76450         * login/utmp.h: Likewise.
76451         * malloc/arena.c: Likewise.
76452         * malloc/malloc.c: Likewise.
76453         * malloc/malloc.h: Likewise.
76454         * malloc/mcheck.c: Likewise.
76455         * malloc/mtrace.c: Likewise.
76456         * math/bits/mathcalls.h: Likewise.
76457         * math/fenv.h: Likewise.
76458         * math/math_private.h: Likewise.
76459         * misc/bits/error.h: Likewise.
76460         * misc/bits/syslog.h: Likewise.
76461         * misc/err.h: Likewise.
76462         * misc/error.h: Likewise.
76463         * misc/fstab.h: Likewise.
76464         * misc/mntent.h: Likewise.
76465         * misc/regexp.h: Likewise.
76466         * misc/search.h: Likewise.
76467         * misc/sgtty.h: Likewise.
76468         * misc/sys/mman.h: Likewise.
76469         * misc/sys/syslog.h: Likewise.
76470         * misc/sys/uio.h: Likewise.
76471         * misc/sys/xattr.h: Likewise.
76472         * misc/ttyent.h: Likewise.
76473         * nis/rpcsvc/ypclnt.h: Likewise.
76474         * nss/nss.h: Likewise.
76475         * posix/bits/unistd.h: Likewise.
76476         * posix/fnmatch.h: Likewise.
76477         * posix/glob.h: Likewise.
76478         * posix/sched.h: Likewise.
76479         * posix/spawn.h: Likewise.
76480         * posix/sys/wait.h: Likewise.
76481         * posix/unistd.h: Likewise.
76482         * posix/wordexp.h: Likewise.
76483         * pwd/pwd.h: Likewise.
76484         * resolv/netdb.h: Likewise.
76485         * resource/sys/resource.h: Likewise.
76486         * rt/aio.h: Likewise.
76487         * rt/bits/mqueue2.h: Likewise.
76488         * rt/mqueue.h: Likewise.
76489         * shadow/shadow.h: Likewise.
76490         * signal/signal.h: Likewise.
76491         * socket/send.c: Likewise.
76492         * socket/sendto.c: Likewise.
76493         * socket/sys/socket.h: Likewise.
76494         * stdio-common/printf.h: Likewise.
76495         * stdlib/bits/stdlib.h: Likewise.
76496         * stdlib/fmtmsg.h: Likewise.
76497         * stdlib/monetary.h: Likewise.
76498         * stdlib/stdlib.h: Likewise.
76499         * stdlib/ucontext.h: Likewise.
76500         * streams/stropts.h: Likewise.
76501         * string/argz.h: Likewise.
76502         * string/bits/string2.h: Likewise.
76503         * string/string.h: Likewise.
76504         * string/strings.h: Likewise.
76505         * sunrpc/rpc/auth.h: Likewise.
76506         * sunrpc/rpc/auth_des.h: Likewise.
76507         * sunrpc/rpc/clnt.h: Likewise.
76508         * sunrpc/rpc/netdb.h: Likewise.
76509         * sunrpc/rpc/pmap_clnt.h: Likewise.
76510         * sunrpc/rpc/xdr.h: Likewise.
76511         * sysdeps/generic/inttypes.h: Likewise.
76512         * sysdeps/generic/net/if.h: Likewise.
76513         * sysdeps/generic/sys/swap.h: Likewise.
76514         * sysdeps/gnu/net/if.h: Likewise.
76515         * sysdeps/gnu/utmpx.h: Likewise.
76516         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76517         * sysdeps/i386/i486/bits/string.h: Likewise.
76518         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76519         * sysdeps/s390/bits/string.h: Likewise.
76520         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76521         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76522         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76523         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76524         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76525         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76526         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76527         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76528         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76529         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76530         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76531         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76532         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76533         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76534         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76535         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76536         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76538         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76539         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76540         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76541         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76542         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76543         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76544         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76545         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76546         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76547         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76548         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76549         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76550         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76551         * sysvipc/sys/ipc.h: Likewise.
76552         * sysvipc/sys/msg.h: Likewise.
76553         * sysvipc/sys/sem.h: Likewise.
76554         * sysvipc/sys/shm.h: Likewise.
76555         * termios/termios.h: Likewise.
76556         * time/sys/time.h: Likewise.
76557         * time/time.h: Likewise.
76558         * wcsmbs/bits/wchar2.h: Likewise.
76559         * wcsmbs/uchar.h: Likewise.
76560         * wcsmbs/wchar.h: Likewise.
76561         * wctype/wctype.h: Likewise.
76563         [BZ #13551]
76564         * Makeconfig: Remove all but ELF support including AIX support.
76565         * Makerules: Likewise.
76566         * config.h.in: Likewise.
76567         * config.make.in: Likewise.
76568         * configure: Likewise.
76569         * configure.in: Likewise.
76570         * csu/Makefile: Likewise.
76571         * csu/version.c: Likewise.
76572         * debug/Makefile: Likewise.
76573         * dlfcn/Makefile: Likewise.
76574         * elf/Makefile: Likewise.
76575         * extra-lib.mk: Likewise.
76576         * iconv/Makefile: Likewise.
76577         * include/libc-symbols.h: Likewise.
76578         * include/shlib-compat.h: Likewise.
76579         * resolv/Makefile: Likewise.
76580         * resolv/res_libc.c: Likewise.
76581         * rt/Makefile: Likewise.
76582         * sysdeps/i386/asm-syntax.h: Likewise.
76583         * sysdeps/i386/sysdep.h: Likewise.
76584         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76585         * sysdeps/mach/sysdep.h: Likewise.
76586         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76587         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76588         * sysdeps/s390/asm-syntax.h: Likewise.
76589         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76591         * sysdeps/sh/sysdep.h: Likewise.
76592         * sysdeps/unix/sparc/sysdep.h: Likewise.
76593         * sysdeps/wordsize-32/divdi3.c: Likewise.
76594         * sysdeps/x86_64/sysdep.h: Likewise.
76596         * argp/Versions: Remove _argp_unlock_xxx.
76598         [BZ #13559]
76599         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76600         * abilist/libBrokenLocale.abilist: Likewise.
76601         * abilist/libanl.abilist: Likewise.
76602         * abilist/libc.abilist: Likewise.
76603         * abilist/libcrypt.abilist: Likewise.
76604         * abilist/libdl.abilist: Likewise.
76605         * abilist/libm.abilist: Likewise.
76606         * abilist/libnsl.abilist: Likewise.
76607         * abilist/libpthread.abilist: Likewise.
76608         * abilist/libresolv.abilist: Likewise.
76609         * abilist/librt.abilist: Likewise.
76610         * abilist/libthread_db.abilist: Likewise.
76611         * abilist/libutil.abilist: Likewise.
76612         * abilist/libnss_db.abilist: New file.
76614         * scripts/abilist.awk: Add support for indirect functions.
76616         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76618         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76620         * shlib-versions: Remove entries for ports architectures.
76622         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76623         files in ports.
76624         * elf/stackguard-macros.h: Remove support for IA-64.
76625         * elf/tst-auditmod1.c: Likewise.
76626         * sysdeps/generic/ldsodefs.h: Likewise.
76628         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76629         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76630         configure files.
76632         [BZ #13552]
76633         * configure.in: Remove --enable-omitfp support.
76634         * FAQ.in: Adjust.
76635         * config.make.in: Likewise.
76636         * Makeconfig: Likewise.
76637         * manual/install.texi: Likewise.
76639         In case anyone cares, the IA-64 architecture could move to ports.
76640         * sysdeps/ia64/*: Removed.
76641         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76642         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76644         [BZ #13555]
76645         * configure.in: Remove entries for unsupported architectures.
76647         [BZ #13533]
76648         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76649         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76650         routines.
76651         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76652         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76653         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76654         fall back to using wcrtomb.
76655         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76656         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76657         renaming.
76658         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76659         * wcsmbs/tst-c16c32-1.c: New file.
76661         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76662         local variable.
76664         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76666         * elf/tst-unique3.cc: Add explicit declaration of gets.
76667         * elf/tst-unique3lib.cc: Likewise.
76668         * elf/tst-unique3lib2.cc: Likewise.
76669         * elf/tst-unique4.cc: Likewise.
76671         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76673 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76675         [BZ #13566]
76676         * assert/assert.h (static_assert): Don't define for C++.
76677         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76678         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76680 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76682         * iconv/loop.c (single loop): Fix assertion in storing of
76683         remaining bytes.
76685         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76687 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76689         * posix/getconf.c: Update copyright year.
76690         * nss/getent.c: Likewise.
76691         * nss/makedb.c: Likewise.
76692         * iconv/iconvconfig.c: Likewise.
76693         * iconv/iconv_prog.c: Likewise.
76694         * elf/ldconfig.c: Likewise.
76695         * elf/pldd.c: Likewise.
76696         * elf/sotruss.ksh: Likewise.
76697         * catgets/gencat.c: Likewise.
76698         * csu/version.c: Likewise.
76699         * elf/ldd.bash.in: Likewise.
76700         * elf/sprof.c (print_version): Likewise.
76701         * locale/programs/locale.c: Likewise.
76702         * locale/programs/localedef.c: Likewise.
76703         * login/programs/pt_chown.c: Likewise.
76704         * nscd/nscd.c (print_version): Likewise.
76705         * debug/xtrace.sh: Likewise.
76706         * malloc/memusage.sh: Likewise.
76707         * malloc/mtrace.pl: Likewise.
76708         * debug/catchsegv.sh: Likewise.
76710 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76712         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76713         pure attribute.
76715 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76717         [BZ #13533]
76718         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76719         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76720         transformations.
76721         * iconv/gconv_int.h: Likewise.
76722         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76723         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76724         from libc for GLIBC_2.16.
76725         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76726         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76727         * wcsmbs/uchar.h: Really define mbstate_t.
76728         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76729         * wcsmbs/c16rtomb.c: New file.
76730         * wcsmbs/mbrtoc16.c: New file.
76731         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76732         for C/POSIX locale.
76733         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76734         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76736         * wcsmbs/wchar.h: Add missing __restrict.
76738 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76740         [BZ #13532]
76741         * time/Makefile (routines): Add timespec_get.
76742         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76743         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76744         timespec for ISO C11.
76745         * time/timespec_get.c: New file.
76746         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76747         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76749         [BZ #13531]
76750         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76751         * stdlib/stdlib.h: Declare aligned_alloc.
76752         * Versions.def: Add GLIBC_2.16 for libc.
76753         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76755         [BZ 13527]
76756         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76757         ISO C11.
76759         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76760         code.
76762         [BZ #13528]
76763         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76765         [BZ #13529]
76766         * assert/assert.h (static_assert): Define.
76768         * version.h: Update for 2.16 development version.
76770         [BZ #13526]
76771         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76772         _ISOC11_SOURCE.
76774         * version.h (RELEASE): Bump for 2.15 release.
76775         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76777         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76778         Patch by Marek Polacek <mpolacek@redhat.com>.
76780         * bits/byteswap.h: Protect long long constants with __extension__.
76781         * sysdeps/i386/bits/byteswap.h: Likewise.
76782         * sysdeps/ia64/bits/byteswap.h: Likewise.
76783         * sysdeps/s390/bits/byteswap.h: Likewise.
76784         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76786 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76788         [BZ #13540]
76789         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76790         destination buffer.
76791         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76793 2011-12-23  Marek Polacek  <polacek@redhat.com>
76795         * elf/dl-addr.c (determine_info): Add inline keyword.
76796         * elf/tst-auditmod4b.c (check_avx): Likewise.
76797         * elf/tst-auditmod6b.c (check_avx): Likewise.
76798         * elf/tst-auditmod6c.c (check_avx): Likewise.
76799         * elf/tst-auditmod7b.c (check_avx): Likewise.
76801 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76803         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76804         !__SSE_MATH__.
76806 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76808         [BZ #13540]
76809         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76810         processing for last bytes.
76812 2011-08-06  Bruno Haible  <bruno@clisp.org>
76814         [BZ #13061]
76815         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76816         U+0385, not to U+1FEE.
76818         [BZ #13062]
76819         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76820         entry for U+00A5 U+0301.
76822 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76824         [BZ #13166]
76825         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76826         buffer for the output is too small.
76828         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76829         optimization.
76831         [BZ #13185]
76832         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76833         SSE flags if possible.
76835 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76837         [BZ #13540]
76838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76839         processing for last bytes.
76841 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76843         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76844         (syscall-list-default-options, syscall-list-default-condition)
76845         (syscall-list-includes): Define.
76846         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76847         list of ABIs and options and #if conditions for each ABI.  Do not
76848         handle common syscalls between ABIs specially.
76849         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76850         Remove.
76851         (syscall-list-variants, syscall-list-32bit-options)
76852         (syscall-list-32bit-condition, syscall-list-64bit-options)
76853         (syscall-list-64bit-condition): Define.
76854         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76855         (syscall-list-variants, syscall-list-32bit-options)
76856         (syscall-list-32bit-condition, syscall-list-64bit-options)
76857         (syscall-list-64bit-condition): Define.
76858         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76859         Remove.
76860         (syscall-list-variants, syscall-list-32bit-options)
76861         (syscall-list-32bit-condition, syscall-list-64bit-options)
76862         (syscall-list-64bit-condition): Define.
76863         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76864         Remove.
76865         (syscall-list-variants, syscall-list-32bit-options)
76866         (syscall-list-32bit-condition, syscall-list-64bit-options)
76867         (syscall-list-64bit-condition): Define.
76869 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76871         * locale/iso-639.def: Add brx entry.
76873         [BZ #13328]
76874         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76875         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76877         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76878         __feraiseexcept_renamed.
76880 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76882         [BZ #13538]
76883         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76884         EPOLLET with unsigned values.
76885         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76886         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76888         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76889         to large cancellation.
76890         * math/s_cacoshf.c: Likewise.
76891         * math/s_cacoshl.c: Likewise.
76893 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76895         [BZ #13305]
76896         [BZ #12786]
76897         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76898         * math/s_cacoshf.c: Likewise.
76899         * math/s_cacoshl.c: Likewise.
76901 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76903         [BZ #13439]
76904         * iconv/gconv.h: Define __GCONV_SWAP.
76905         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76906         * iconvdata/utf-16.c: Likewise.
76907         * iconvdata/utf-32.c: Likewise.
76909 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76911         [BZ #13524]
76912         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76913         numerator after shifting it by one limb.
76915 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76917         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76918         under [__USE_EXTERN_INLINES].
76920 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76922         [BZ #13446]
76923         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76925 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76927         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76928         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76929         optimized code.
76930         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76931         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76932         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76933         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76934         for strncasecmp/strncasecmp_l compilation.
76935         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76936         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76938 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76940         [BZ #13484]
76941         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76942         of __asm__.
76944 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76946         [BZ #13506]
76947         * time/tzfile.c (__tzfile_read): Check values from file header.
76949 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76951         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76952         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76953         * powerpc/powerpc32/dl-start.S: Likewise.
76954         * powerpc/powerpc32/elf/start.S: Likewise.
76955         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76956         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76957         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76958         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76959         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76960         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76961         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76962         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76963         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76964         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76965         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76966         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76967         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76968         * powerpc/powerpc32/memset.S: Likewise.
76969         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76970         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76971         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76972         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76973         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76974         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76975         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76976         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76977         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76978         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76979         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76980         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76981         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76983 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76985         * math/libm-test.inc: Added more nearbyint tests.
76986         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76987         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76988         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76989         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76991 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76993         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76994         FD_CLOEXEC.
76996 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76998         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76999         Add wcscpy-ssse3 wcscpy-c.
77000         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77001         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77002         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77003         * sysdeps/x86_64/wcschr.S: New file.
77004         * sysdeps/x86_64/wcsrchr.S: New file.
77005         * string/test-strcmp.c: Remove checking of wcscmp function for
77006         wrong alignments.
77007         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77008         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77009         wcsrchr-sse2 wcsrchr-c.
77010         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77011         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77012         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77013         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77014         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77015         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77016         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77017         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77018         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77019         * wcsmbc/wcschr.c (WCSCHR): New macro.
77021 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77023         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77024         * wcsmbs/test-wcsrchr.c: New file.
77025         * string/test-strrchr.c: Add wcsrchr support.
77026         (WIDE): New macro.
77027         * wcsmbs/test-wcscpy.c: New file.
77028         * string/test-strcpy.c: Add wcscpy support.
77029         (WIDE): New macro.
77031 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77033         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77034         the inner loop.
77036 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77038         [BZ #13472]
77039         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77041 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77043         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77044         Minor optimizations.
77046         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77047         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77048         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77050 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77052         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77053         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77054         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77055         for gcc to avoid warnings.
77056         * inet/Makefile (tests): Add tst-checks.
77057         * inet/tst-checks.c: New file.
77059         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77060         warning.
77062         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77063         __wmemcmp_sse2.
77065         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77066         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77068         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77070 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77072         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77073         problem.
77075         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77077 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77079         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77080         conditional on GCC version.
77081         (__arch_compare_and_exchange_val_8_acq)
77082         (__arch_compare_and_exchange_val_16_acq)
77083         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77084         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77085         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77087 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77089         * sysdeps/sh/backtrace.c: New file.
77091 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77093         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77094         parenthesis.
77096 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77098         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77099         falling back to utime.
77101 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77103         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77104         expectations for float.
77106 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77108         * locale/weight.h (findidx): Add parameter len.
77109         * locale/weightwc.h (findidx): Likewise.
77110         * posix/fnmatch_loop.c (FCT): Adjust caller.
77111         * posix/regcomp.c (build_equiv_class): Likewise.
77112         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77113         * posix/regexec.c (check_node_accept_bytes): Likewise.
77114         * string/strcoll_l.c (STRCOLL): Likewise.
77115         * string/strxfrm_l.c (STRXFRM): Likewise.
77117 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77119         * Makefile.in: Remove CVSOPT handling.
77120         * configure.in: Remove use of AC_REVISION.
77121         * iconvdata/Makefile (distribute): No need to filter out CVS.
77122         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77123         handling.
77125 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77127         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77128         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77129         [USE_AS_STRNCASECMP_L]: Likewise.
77130         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77131         NO_TLS_DIRECT_SEG_REFS.
77132         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77133         Fix argument offsets for non-PIC.
77134         [USE_AS_STRNCASECMP_L]: Likewise.
77135         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77136         NO_TLS_DIRECT_SEG_REFS.
77138 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77140         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77141         O_CLOEXEC.
77142         * locale/loadlocale.c (_nl_load_locale): Likewise.
77144 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77146         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77147         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77148         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77149         (SYSCALL_GETTIME): Set errno on error.
77151         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77152         count references to noai6ai_cached.
77154 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77156         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77158         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77159         FD_CLOEXEC for /proc/self/maps.
77161         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77162         FD_CLOEXEC for /proc/meminfo.
77164         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77165         gai.conf.
77167         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77168         FD_CLOEXEC for given file.
77170         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77172         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77173         FD_CLOEXEC for /etc/hosts.
77174         (_gethtent): Likewise.
77176         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77178         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77179         cancellation and set FD_CLOEXEC for /etc/netgroup.
77181         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77182         reading /etc/publickey.
77184         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77185         allow cancellation when reading /etc/group.
77187         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77188         cancellation.
77189         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77191         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77192         when using data file.
77194         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77196         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77197         (write_nis_obj): Use "c" and "e" in fopen.
77199         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77201         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77203         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77205         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77207         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77208         locale.alias.
77210         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77212         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77214         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77216         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77217         file parsing and set FD_CLOEXEC.
77219 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77221         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77223 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77225         * malloc/arena.c (arena_get2): Don't call reused_arena when
77226         _int_new_arena failed.
77228 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77230         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77231         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77232         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77233         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77234         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77235         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77236         to compile strcasecmp and strncasecmp.
77237         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77238         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77240         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77242 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77244         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77245         locale-defines.sym to gen-as-const-headers.
77246         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77247         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77249         to compile strcasecmp and strncasecmp.
77250         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77251         strcasecmp_l and strncasecmp_l.
77252         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77253         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77254         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77255         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77256         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77257         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77258         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77259         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77260         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77261         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77262         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77264 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77266         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77267         result of SYSDEP_GETTIME_CPU to retval.
77268         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77269         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77271         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77272         variable.
77274         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77275         mantissa words.
77276         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77278         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77279         from unused variable.
77281         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77282         DWARF definitions.
77283         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77284         for assembling.
77286         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77287         over namespaces.
77289         * sunrpc/rpc_prot.c (rejected): Fix case value.
77291         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77292         unsigned long long int to avoid warnings in shift.
77294         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77295         of use of trans.
77296         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77297         variable tmp.
77299         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77300         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77301         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77303         * nis/nis_table.c (nis_list): Use variable of correct type for
77304         result of __follow_path call.
77306 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77308         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77309         of math functions ceil, trunc, floor, round, and sqrt, when
77310         avaliable on the platform.
77311         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77312         name clash.
77313         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77314         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77315         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77317 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77319         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77320         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77322 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77324         * include/unistd.h: Fix __readlink return type.
77325         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77327 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77329         * stdlib/ucontext.h: Undo last change for makecontext.
77331 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77333         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77335         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77336         * setjmp/setjmp.h: Mark functions as non-leaf.
77337         * setjmp/bits/setjmp2.h: Likewise.
77338         * stdlib/ucontext.h: Likewise.
77340 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77342         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77343         (reused_arena): Don't check arena limit.
77344         (arena_get2): Atomically check arena limit.
77346 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77348         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77349         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77352         instructions.
77354 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77356         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77357         handler when locking.
77359         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77360         Fix size of allocated buffer.
77362 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77364         [BZ #10103]
77365         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77366         declarations for long double functions.
77367         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77369         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77371 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77373         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77374         installed.
77376         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77377         is disabled.
77379 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77381         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77383 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77385         * include/alloca.h (stackinfo_alloca_round): Define.
77386         (extend_alloca): Use it.
77387         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77388         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77389         here.
77391         * scripts/check-local-headers.sh: Ignore libaudit.h.
77393         * nscd/Makefile (extra-objs): Make recursively expanded.
77395 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77397         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77398         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77400         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77401         * posix/tst-rfc3484-2.c: Likewise.
77402         * posix/tst-rfc3484-3.c: Likewise.
77404         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77405         process_vm_writev.
77406         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77407         process_vm_writev.
77408         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77409         process_vm_writev from libc using GLIBC_2.15 version.
77411         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77413 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77415         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77416         stack usage.
77418 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77420         [BZ #13367]
77421         * nss/getent.c (initgroups_keys): Show error message in case no group
77422         names are given.
77424         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77425         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77426         __bump_nl_timestamp.
77427         * nscd/connections (nscd_init): When host database is served open
77428         netlink socket and request notification about configuration changes.
77429         (main_loop_poll): Track netlink file descriptor and bump timestamp
77430         in case data becomes available.
77431         (main_loop_epoll): Likewise.
77432         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77433         (database_pers_head): Add extra_data fileds.
77434         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77435         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77436         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77437         Adjust caller.
77438         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77439         in6ai data, call __free_in6ai.
77440         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77441         Add -DHAVE_NETLINK.
77442         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77443         interface information.  Reuse previous data if netlink timestamp
77444         is not changed.
77445         (__bump_nl_timestamp): New function.
77446         (__free_in6ai): New function.
77448 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77450         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77451         close_not_cancel_no_status here.
77452         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77454 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77456         [BZ #13276]
77457         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77458         return value.
77460         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77461         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77462         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77464 2011-07-03  Andreas Jaeger  <aj@suse.de>
77466         [BZ #10709]
77467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77468         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77469         * math/libm-test.inc (sin_test): Add test case.
77471 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77473         [BZ #13337]
77474         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77475         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77477         * elf/chroot_canon.c (chroot_canon): Cleanups.
77479         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77481         [BZ #13335]
77482         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77483         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77485         * string/test-strchr.c: Make usable for strchrnul testing.
77486         * string/test-strchrnul.c: New file.
77487         * string/Makefile (strop-tests): Add strchrnul.
77489         * po/it.po: Update from translation team.
77490         * po/es.po: Likewise.
77492 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77494         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77495         the three constants needed as parameters.  Drop the others.
77496         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77497         __m128i_strloadu_tolower.
77498         Create and initialize variable zero and use it in all the places
77499         where _mm_setzero_si128 was used.
77501         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77502         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77503         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77504         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77505         anymore.
77506         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77507         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77508         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77509         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77510         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77511         __mpranred, __mptan.
77512         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77513         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77514         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77515         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77516         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77517         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77518         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77519         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77520         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77522 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77524         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77525         redefine if SHARED.
77526         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77529         wide char related routines to wcsmbs subdir.
77531 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77533         [BZ #13344]
77534         * misc/sys/cdefs.h (__THROWNL): Define.
77535         * posix/unistd.h: Use __THREADNL instead of __THREAD
77536         for memory synchronization functions.
77538 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77540         [BZ #13349]
77541         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77542         doesn't exist.
77543         * manual/stdio.texi (Obstack Streams): Node removed.
77545 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77547         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77548         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77549         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77551         * math/math_private.h (math_force_eval): Allow non-addressable
77552         arguments.
77553         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77555 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77557         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77558         file is not needed.
77560         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77561         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77562         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77563         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77564         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77565         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77566         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77567         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77568         Add AVX variants.
77569         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77570         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77571         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77572         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77573         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77574         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77575         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77576         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77577         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77578         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77579         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77580         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77581         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77582         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77583         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77584         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77585         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77586         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77587         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77589         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77590         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77592         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77593         place.  Use VEX encoding when compiling for AVX.
77595 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77597         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77598         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77600         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77602 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77604         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77605         useless if() expression.
77606         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77607         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77608         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77609         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77610         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77611         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77612         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77613         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77614         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77615         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77616         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77617         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77618         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77619         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77620         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77621         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77622         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77623         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77624         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77626         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77628 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77630         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77631         condition.
77632         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77634 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77636         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77637         .text section.  Avoid duplicate constants.
77638         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77640         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77642         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77643         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77644         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77645         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77646         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77647         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77648         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77649         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77650         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77651         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77652         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77653         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77654         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77655         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77656         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77657         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77658         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77659         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77660         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77661         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77662         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77663         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77664         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77665         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77666         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77667         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77668         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77669         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77670         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77671         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77672         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77673         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77674         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77675         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77676         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77677         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77678         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77679         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77680         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77681         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77682         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77684 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77686         * sysdeps/x86_64/dla.h: Move to ...
77687         * sysdeps/x86_64/fpu/dla.h: ...here.
77688         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77689         situations.  Use __builtin_fma only for gcc 4.6 and up.
77691         * config.make.in: Add have-mfma4 entry.
77692         * configure.in: Substitute libc_cv_cc_fma4.
77693         * math/Makefile (dbl-only-routines): Add sincostab.
77694         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77695         Use __sincostab not sincos.
77696         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77697         name is a macro.
77698         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77701         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77702         using __copysign.
77703         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77704         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77705         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77706         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77707         and __inv.
77708         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77709         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77710         __copysign.
77711         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77712         define aliases when function name is a macro.
77713         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77714         sysdeps/ieee754/dbl-64/sincos.tbl.
77715         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77716         fma4-enabled routines.
77717         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77718         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77719         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77720         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77721         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77722         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77723         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77724         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77725         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77726         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77727         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77728         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77729         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77730         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77731         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77732         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77733         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77734         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77735         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77736         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77737         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77738         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77739         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77740         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77741         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77742         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77743         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77744         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77745         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77746         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77748         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77749         rename.
77750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77759 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77761         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77763 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77765         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77767         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77768         prediction.
77769         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77771         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77772         Remove unused variable magic_bits.
77773         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77775         * string/strnlen.c: Define and use STRNLEN macro.
77776         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77777         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77778         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77779         * wcsmbs/wcslen.c: Define and use WCSLEN.
77780         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77781         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77782         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77783         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77784         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77785         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77786         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77788 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77791         strnlen-sse2-no-bsf.
77792         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77793         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77794         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77795         Add strnlen support.
77796         (USE_AS_STRNLEN): New macro.
77797         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77798         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77799         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77800         * sysdeps/x86_64/wcslen.S: New file.
77802 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77804         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77805         XMM-moves are used for copying on small sizes.
77807 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77809         * wcsmbs/Makefile (strop-tests): Add wcschr.
77810         * wcsmbs/test-wcschr.c: New file.
77811         * string/test-strchr.c: Update.
77812         Add wcschr support.
77813         (WIDE): New macro.
77815 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77817         * wcsmbs/Makefile (strop-tests): Add wcslen.
77818         * wcsmbs/test-wcslen.c: New file.
77819         * string/test-strlen.c: Update.
77820         Add wcslen support.
77821         (WIDE): New macro.
77823 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77825         * po/it.po: Update from translation team.
77827 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77829         * sysdeps/x86_64/wcscmp.S: Update.
77830         Fix wrong comparison semantics.
77831         wcscmp shall use signed comparison not unsigned.
77832         Don't use substraction to avoid overflow bug.
77833         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77834         * wcsmbc/wcscmp.c: Likewise.
77835         * string/test-strcmp.c: Likewise.
77836         Add new tests to check cases with negative values.
77838 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77840         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77841         * sysdeps/x86_64/dla.h: ...here.  New file.
77842         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77843         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77844         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77845         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77846         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77847         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77848         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77849         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77850         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77852 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77855         __ynl_finite aliases.
77857 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77861         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77862         define DLA_FMA.
77863         [DLA_FMA] (EMULV): Use DLA_FMA.
77864         [DLA_FMA] (MUL12): Use EMULV.
77865         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77866         that are not needed.
77867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77872         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77875 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77877         * math/s_nan.c: Undef __nan.
77878         * math/s_nanf.c: Undef __nanf.
77879         * math/s_nanl.c: Undef __nanl.
77880         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77881         "math_private.h".
77883 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77885         * math/s_catan.c: Add branch predictions.
77886         * math/s_catanf.c: Likewise.
77887         * math/s_catanh.c: Likewise.
77888         * math/s_catanhf.c: Likewise.
77889         * math/s_catanhl.c: Likewise.
77890         * math/s_catanl.c: Likewise.
77891         * math/s_cexp.c: Likewise.
77892         * math/s_cexpf.c: Likewise.
77893         * math/s_cexpl.c: Likewise.
77894         * math/s_clog.c: Likewise.
77895         * math/s_clog10.c: Likewise.
77896         * math/s_clog10f.c: Likewise.
77897         * math/s_clog10l.c: Likewise.
77898         * math/s_clogf.c: Likewise.
77899         * math/s_clogl.c: Likewise.
77900         * math/s_csqrt.c: Likewise.
77901         * math/s_csqrtf.c: Likewise.
77902         * math/s_csqrtl.c: Likewise.
77903         * math/s_ctanf.c: Likewise.
77904         * math/s_ctanh.c: Likewise.
77905         * math/s_ctanhf.c: Likewise.
77906         * math/s_ctanhl.c: Likewise.
77907         * math/s_ctanl.c: Likewise.
77909         * math/math_private.h: Define __nan, __nanf, __nanl.
77910         * math/s_cacosh.c: Include <math_private.h>.
77911         * math/s_cacoshl.c: Likewise.
77912         * math/s_casinh.c: Likewise.
77913         * math/s_casinhf.c: Likewise.
77914         * math/s_casinhl.c: Likewise.
77915         * math/s_ccos.c: Rely entire on ccosh.
77916         * math/s_ccosf.c: Rely entire on ccoshf.
77917         * math/s_ccosl.c: Rely entirely on ccoshl.
77918         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77919         Remove tests for FE_INVALID.
77920         * math/s_ccoshf.c: Likewise.
77921         * math/s_ccoshl.c: Likewise.
77922         * math/s_csin.c: Likewise.
77923         * math/s_csinf.c: Likewise.
77924         * math/s_csinh.c Likewise.
77925         * math/s_csinhf.c: Likewise.
77926         * math/s_csinhl.c: Likewise.
77927         * math/s_csinl.c: Likewise.
77928         * math/s_ctan.c: Likewise.
77929         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77930         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77931         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77933 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77936         compilation problems.
77938         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77939         __builtin_expect.
77941 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77943         * sysdeps/i386/configure.in: Test for -mfma4 option.
77944         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77945         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77946         COMMON_CPUID_INDEX_80000001.
77947         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77948         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77949         use it if FMA3 is not supported.
77950         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77952         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77953         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77955 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77957         [BZ #12892]
77958         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77959         it would create a cycle with a link time dependency.
77961 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77963         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77964         instruction.
77965         * string/Makefile (strop-tests): Add rawmemchr.
77966         * string/test-rawmemchr.c: New file.
77968         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77969         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77970         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77971         when compiling str{,n}casecmp and when AVX is available.  Hook up
77972         new optimized code in initializers.
77974 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77976         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77977         __feraiseexcept instead of feraiseexcept.
77979 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77981         * math/math_private.h: Define defaults for libc_fetestexcept and
77982         libc_feupdateenv.
77983         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77984         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77985         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77986         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77987         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77988         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77989         libc_fetestexcept and libc_feupdateenv.
77991         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77992         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77993         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77994         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77995         libc_feholdexcept_setround.
77997         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77998         Add s_nearbyint-c and s_nearbyintf-c.
77999         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78000         nearbyintf inlines.
78001         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78002         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78003         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78004         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78006         * math/math_private.h: Define defaults for libc_fegetround,
78007         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78008         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78009         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78010         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78011         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78012         standard functions.
78013         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78014         Remove comments and hacks for old compiler versions.
78015         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78016         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78017         libc_feholdexceptl.
78019 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78021         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78022         (__feraiseexcept_renamed): Add __NTH.
78023         (feraiseexcept): Add __NTH.  Rename local variables to fix
78024         namespace violations.
78026 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78028         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78030         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78032         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78033         recently added interfaces.
78034         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78036         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78037         about macro parameter expansion.
78039         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78040         __NO_MATH_INLINES is defined.  Cleanups.
78042         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78043         and __floorf is target has SSE4.1.
78044         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78045         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78046         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78047         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78049         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78050         name.
78051         (floorf): Likewise.
78053         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78055 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78057         * misc/sys/cdefs.h: Fix last change.
78059         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78060         database lookup.
78062 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78064         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78066         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78068         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78069         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78070         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78071         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78072         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78073         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78074         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78075         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78076         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78077         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78078         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78079         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78080         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78081         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78082         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78083         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78084         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78085         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78086         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78087         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78089         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78090         ceil, ceilf, floor, floorf.
78092         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78093         Perform IRELATIVE relocations last.
78095         * elf/do-rel.h: Add another parameter nrelative, replacing the
78096         local variable with the same name.  Change name of the function
78097         to end in Rel or Rela (uppercase).
78098         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78099         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78100         elf_dynamic_do_##reloc function.
78102 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78104         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78105         is sufficient, at least on modern CPUs.
78107         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78109         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78110         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78112         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78113         __expl_finite.
78114         * math/bits/math-finite.h: Add entries for exp.
78115         * math/e_expl.c: Add __*_finite alias.
78116         * sysdeps/i386/fpu/e_exp.S: Likewise.
78117         * sysdeps/i386/fpu/e_expf.S: Likewise.
78118         * sysdeps/i386/fpu/e_expl.c: Likewise.
78119         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78120         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78121         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78122         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78123         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78124         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78125         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78127         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78128         is sufficient, at least on modern CPUs.
78130         * ctype/ctype-info.c (__ctype_init): Define.
78131         * include/ctype.h (__ctype_init): Declare.
78132         (__ctype_b_loc): The variable is always initialized.
78133         (__ctype_toupper_loc): Likewise.
78134         (__ctype_tolower_loc): Likewise.
78135         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78136         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78138 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78140         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78142         * configure.in: Also look in $cxxmachine/include for C++ system
78143         headers.
78145 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78147         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78148         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78149         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78150         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78151         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78152         (USE_AS_WMEMCMP): New macro.
78153         Fixing indents.
78154         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78155         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78156         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78157         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78159         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78160         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78161         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78162         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78163         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78164         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78165         (USE_AS_WMEMCMP): New macro.
78166         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78167         * sysdeps/string/test-memcmp.c: Update.
78168         Fix simple_wmemcmp.
78169         Add new tests.
78170         * wcsmbs/wmemcmp.c: Update.
78171         (WMEMCMP): New macro.
78172         Fix overflow bug.
78174 2011-10-12  Andreas Jaeger  <aj@suse.de>
78176         [BZ #13268]
78177         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78179 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78181         * libio/iofwide.c (do_length): Avoid warning.
78183         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78185 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78187         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78189         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78190         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78191         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78192         * sysdeps/i386/i686/fpu/e_log.S: New file.
78193         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78194         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78196         * ctype/ctype.h: Add support for inlined isXXX functions when
78197         compiling C++ code.
78199 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78201         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78203         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78205 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78207         [BZ #13291]
78208         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78210 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78212         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78213         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78214         feraiseexcept.
78216         * sysdeps/x86_64/memrchr.S: Check for zero size.
78218         * string/stratcliff.c: Add memrchr tests.
78220 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78223         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78224         rawmemchr-sse2 rawmemchr-sse2-bsf.
78225         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78226         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78227         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78228         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78229         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78230         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78231         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78232         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78233         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78234         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78235         * string/memrchr.c (MEMRCHR): New macro.
78237 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78239         Add integration with gcc's -ffinite-math-only and optimize wrapper
78240         functions in libm.
78241         * Versions.def: Define GLIBC_2.15 version for libm.
78242         * math/Makefile (headers): Add bits/math-finite.h.
78243         * math/bits/math-finite.h: New file.
78244         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78245         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78246         * math/e_acoshl.c: Add __*_finite alias.
78247         * math/e_acosl.c: Likewise.
78248         * math/e_asinl.c: Likewise.
78249         * math/e_atan2l.c: Likewise.
78250         * math/e_atanhl.c: Likewise.
78251         * math/e_coshl.c: Likewise.
78252         * math/e_exp10.c: Likewise.
78253         * math/e_exp10f.c: Likewise.
78254         * math/e_exp10l.c: Likewise.
78255         * math/e_exp2l.c: Likewise.
78256         * math/e_fmodl.c: Likewise.
78257         * math/e_gammal_r.c: Likewise.
78258         * math/e_hypotl.c: Likewise.
78259         * math/e_j0l.c: Likewise.
78260         * math/e_j1l.c: Likewise.
78261         * math/e_jnl.c: Likewise.
78262         * math/e_lgammal_r.c: Likewise.
78263         * math/e_log10l.c: Likewise.
78264         * math/e_log2l.c: Likewise.
78265         * math/e_logl.c: Likewise.
78266         * math/e_powl.c: Likewise.
78267         * math/e_sinhl.c: Likewise.
78268         * math/e_sqrtl.c: Likewise.
78269         * math/e_scalb.c: Completely rewritten and optimized.
78270         * math/e_scalbf.c: Likewise.
78271         * math/e_scalbl.c: Likewise.
78272         * math/w_acos.c: Likewise.
78273         * math/w_acosf.c: Likewise.
78274         * math/w_acosl.c: Likewise.
78275         * math/w_acosh.c: Likewise.
78276         * math/w_acoshf.c: Likewise.
78277         * math/w_acoshl.c: Likewise.
78278         * math/w_asin.c: Likewise.
78279         * math/w_asinf.c: Likewise.
78280         * math/w_asinl.c: Likewise.
78281         * math/w_atan2.c: Likewise.
78282         * math/w_atan2f.c: Likewise.
78283         * math/w_atan2l.c: Likewise.
78284         * math/w_atanh.c: Likewise.
78285         * math/w_atanhf.c: Likewise.
78286         * math/w_atanhl.c: Likewise.
78287         * math/w_exp10.c: Likewise.
78288         * math/w_exp10f.c: Likewise.
78289         * math/w_exp10l.c: Likewise.
78290         * math/w_fmod.c: Likewise.
78291         * math/w_fmodf.c: Likewise.
78292         * math/w_fmodl.c: Likewise.
78293         * math/w_j0.c: Likewise.
78294         * math/w_j0f.c: Likewise.
78295         * math/w_j0l.c: Likewise.
78296         * math/w_j1.c: Likewise.
78297         * math/w_j1f.c: Likewise.
78298         * math/w_j1l.c: Likewise.
78299         * math/w_jn.c: Likewise.
78300         * math/w_jnf.c: Likewise.
78301         * math/w_log.c: Likewise.
78302         * math/w_logf.c: Likewise.
78303         * math/w_logl.c: Likewise.
78304         * math/w_log10.c: Likewise.
78305         * math/w_log10f.c: Likewise.
78306         * math/w_log10l.c: Likewise.
78307         * math/w_log2.c: Likewise.
78308         * math/w_log2f.c: Likewise.
78309         * math/w_log2l.c: Likewise.
78310         * math/w_pow.c: Likewise.
78311         * math/w_powf.c: Likewise.
78312         * math/w_powl.c: Likewise.
78313         * math/w_remainder.c: Likewise.
78314         * math/w_remainderf.c: Likewise.
78315         * math/w_remainderl.c: Likewise.
78316         * math/w_scalb.c: Likewise.
78317         * math/w_scalbf.c: Likewise.
78318         * math/w_scalbl.c: Likewise.
78319         * math/w_sqrt.c: Likewise.
78320         * math/w_sqrtf.c: Likewise.
78321         * math/w_sqrtl.c: Likewise.
78322         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78323         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78324         used.
78325         * math/math_private.h: Declare __kernel_standard_f.
78326         * math/w_cosh.c: Remove cruft and optimize a bit.
78327         * math/w_coshf.c: Likewise.
78328         * math/w_coshl.c: Likewise.
78329         * math/w_exp2.c: Likewise.
78330         * math/w_exp2f.c: Likewise.
78331         * math/w_exp2l.c: Likewise.
78332         * math/w_hypot.c: Likewise.
78333         * math/w_hypotf.c: Likewise.
78334         * math/w_hypotl.c: Likewise.
78335         * math/w_lgamma.c: Likewise.
78336         * math/w_lgamma_r.c: Likewise.
78337         * math/w_lgammaf.c: Likewise.
78338         * math/w_lgammaf_r.c: Likewise.
78339         * math/w_lgammal.c: Likewise.
78340         * math/w_lgammal_r.c: Likewise.
78341         * math/w_sinh.c: Likewise.
78342         * math/w_sinhf.c: Likewise.
78343         * math/w_sinhl.c: Likewise.
78344         * math/w_tgamma.c: Likewise.
78345         * math/w_tgammaf.c: Likewise.
78346         * math/w_tgammal.c: Likewise.
78347         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78348         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78349         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78350         Minor optimizations.  Pretty printing.  Remove cruft.
78351         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78352         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78353         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78354         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78355         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78356         * sysdeps/i386/fpu/e_asin.S: Likewise.
78357         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78358         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78359         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78360         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78361         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78362         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78363         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78364         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78365         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78366         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78367         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78368         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78369         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78370         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78371         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78372         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78373         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78374         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78375         * sysdeps/i386/fpu/e_log.S: Likewise.
78376         * sysdeps/i386/fpu/e_log10.S: Likewise.
78377         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78378         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78379         * sysdeps/i386/fpu/e_log2.S: Likewise.
78380         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78381         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78382         * sysdeps/i386/fpu/e_logf.S: Likewise.
78383         * sysdeps/i386/fpu/e_logl.S: Likewise.
78384         * sysdeps/i386/fpu/e_pow.S: Likewise.
78385         * sysdeps/i386/fpu/e_powf.S: Likewise.
78386         * sysdeps/i386/fpu/e_powl.S: Likewise.
78387         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78388         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78389         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78390         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78391         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78392         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78393         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78394         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78395         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78396         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78397         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78399         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78400         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78401         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78402         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78403         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78404         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78405         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78406         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78407         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78408         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78409         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78410         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78412         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78413         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78414         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78415         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78416         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78417         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78418         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78419         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78420         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78421         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78422         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78423         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78424         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78425         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78426         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78427         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78428         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78429         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78430         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78431         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78432         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78433         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78434         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78435         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78436         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78437         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78438         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78439         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78440         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78441         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78442         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78443         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78444         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78445         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78446         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78447         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78448         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78449         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78451         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78452         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78453         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78454         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78455         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78456         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78457         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78458         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78459         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78460         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78461         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78462         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78463         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78464         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78465         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78466         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78467         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78468         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78469         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78470         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78471         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78472         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78473         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78474         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78475         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78476         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78477         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78478         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78479         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78480         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78481         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78482         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78483         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78484         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78485         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78486         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78487         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78488         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78489         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78491         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78492         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78493         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78494         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78495         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78496         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78497         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78498         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78499         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78500         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78501         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78502         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78503         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78504         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78505         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78506         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78507         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78508         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78509         (__isnanf): Likewise.
78510         (__isinf_ns): Likewise.
78511         (__isinf_nsf): Likewise.
78512         (__finite): Likewise.
78513         (__finitef): Likewise.
78514         (__ieee754_sqrt): Define as macro.
78515         (__ieee754_sqrtf): Define as macro.
78516         (__ieee754_sqrtl): Define as macro.
78517         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78518         inlined copy.
78519         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78520         __FINITE_MATH_ONLY__ consistent.
78521         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78523 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78525         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78526         of rawmemchr.
78528         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78530 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78532         * po/ja.po: Update from translation team.
78534 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78536         * locale/programs/locarchive.c (prepare_address_space): New function.
78537         (create_archive, enlarge_archive, open_archive): Use it.
78539         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78540         inside [SHARED], where it is used.
78542         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78544         * nss/getent.c (netgroup_keys): Remove unused variable.
78545         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78547 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78549         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78550         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78551         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78552         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78553         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78554         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78555         * math/Makefile (libm-calls): Add s_isinf_ns.
78556         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78557         * math/multc3.c: Likewise.
78558         * math/s_casin.c: Likewise.
78559         * math/s_casinf.c: Likewise.
78560         * math/s_casinl.c: Likewise.
78561         * math/s_ccos.c: Likewise.
78562         * math/s_ccosf.c: Likewise.
78563         * math/s_ccosl.c: Likewise.
78564         * math/s_ctan.c: Likewise.
78565         * math/s_ctanf.c: Likewise.
78566         * math/s_ctanh.c: Likewise.
78567         * math/s_ctanhf.c: Likewise.
78568         * math/s_ctanhl.c: Likewise.
78569         * math/s_ctanl.c: Likewise.
78570         * math/w_fmod.c: Likewise.
78571         * math/w_fmodf.c: Likewise.
78572         * math/w_fmodl.c: Likewise.
78573         * math/w_remainder.c: Likewise.
78574         * math/w_remainderf.c: Likewise.
78575         * math/w_remainderl.c: Likewise.
78576         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78577         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78578         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78580         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78581         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78582         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78583         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78585         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78586         of the number.
78587         * stdio-common/printf_fphex.c: Likewise.
78588         * stdio-common/printf_size.c: Likewise.
78590         * math/e_exp10.c: Include math_private.h using <...> not "...".
78591         * math/e_exp10f.c: Likewise.
78592         * math/e_exp10l.c: Likewise.
78593         * math/e_exp2l.c: Likewise.
78594         * math/e_j0l.c: Likewise.
78595         * math/e_j1l.c: Likewise.
78596         * math/e_jnl.c: Likewise.
78597         * math/e_lgammal_r.c: Likewise.
78598         * math/e_rem_pio2l.c: Likewise.
78599         * math/e_scalb.c: Likewise.
78600         * math/e_scalbf.c: Likewise.
78601         * math/e_scalbl.c: Likewise.
78602         * math/k_cosl.c: Likewise.
78603         * math/k_sinl.c: Likewise.
78604         * math/k_tanl.c: Likewise.
78605         * math/s_cacoshf.c: Likewise.
78606         * math/s_catan.c: Likewise.
78607         * math/s_catanf.c: Likewise.
78608         * math/s_catanh.c: Likewise.
78609         * math/s_catanhf.c: Likewise.
78610         * math/s_catanhl.c: Likewise.
78611         * math/s_catanl.c: Likewise.
78612         * math/s_ccosh.c: Likewise.
78613         * math/s_ccoshf.c: Likewise.
78614         * math/s_ccoshl.c: Likewise.
78615         * math/s_cexp.c: Likewise.
78616         * math/s_cexpf.c: Likewise.
78617         * math/s_cexpl.c: Likewise.
78618         * math/s_clog.c: Likewise.
78619         * math/s_clog10.c: Likewise.
78620         * math/s_clog10f.c: Likewise.
78621         * math/s_clog10l.c: Likewise.
78622         * math/s_clogf.c: Likewise.
78623         * math/s_clogl.c: Likewise.
78624         * math/s_csin.c: Likewise.
78625         * math/s_csinf.c: Likewise.
78626         * math/s_csinh.c: Likewise.
78627         * math/s_csinhf.c: Likewise.
78628         * math/s_csinhl.c: Likewise.
78629         * math/s_csinl.c: Likewise.
78630         * math/s_csqrt.c: Likewise.
78631         * math/s_csqrtf.c: Likewise.
78632         * math/s_csqrtl.c: Likewise.
78633         * math/s_ctan.c: Likewise.
78634         * math/s_ctanf.c: Likewise.
78635         * math/s_ctanh.c: Likewise.
78636         * math/s_ctanhf.c: Likewise.
78637         * math/s_ctanhl.c: Likewise.
78638         * math/s_ctanl.c: Likewise.
78639         * math/s_ldexp.c: Likewise.
78640         * math/s_ldexpf.c: Likewise.
78641         * math/s_ldexpl.c: Likewise.
78642         * math/s_significand.c: Likewise.
78643         * math/s_significandf.c: Likewise.
78644         * math/s_significandl.c: Likewise.
78645         * math/w_acos.c: Likewise.
78646         * math/w_acosf.c: Likewise.
78647         * math/w_acosh.c: Likewise.
78648         * math/w_acoshf.c: Likewise.
78649         * math/w_acoshl.c: Likewise.
78650         * math/w_acosl.c: Likewise.
78651         * math/w_asin.c: Likewise.
78652         * math/w_asinf.c: Likewise.
78653         * math/w_asinl.c: Likewise.
78654         * math/w_atan2.c: Likewise.
78655         * math/w_atan2f.c: Likewise.
78656         * math/w_atan2l.c: Likewise.
78657         * math/w_atanh.c: Likewise.
78658         * math/w_atanhf.c: Likewise.
78659         * math/w_atanhl.c: Likewise.
78660         * math/w_cosh.c: Likewise.
78661         * math/w_coshf.c: Likewise.
78662         * math/w_coshl.c: Likewise.
78663         * math/w_dremf.c: Likewise.
78664         * math/w_exp10.c: Likewise.
78665         * math/w_exp10f.c: Likewise.
78666         * math/w_exp10l.c: Likewise.
78667         * math/w_exp2.c: Likewise.
78668         * math/w_exp2f.c: Likewise.
78669         * math/w_fmod.c: Likewise.
78670         * math/w_fmodf.c: Likewise.
78671         * math/w_fmodl.c: Likewise.
78672         * math/w_hypot.c: Likewise.
78673         * math/w_hypotf.c: Likewise.
78674         * math/w_hypotl.c: Likewise.
78675         * math/w_j0.c: Likewise.
78676         * math/w_j0f.c: Likewise.
78677         * math/w_j0l.c: Likewise.
78678         * math/w_j1.c: Likewise.
78679         * math/w_j1f.c: Likewise.
78680         * math/w_j1l.c: Likewise.
78681         * math/w_jn.c: Likewise.
78682         * math/w_jnf.c: Likewise.
78683         * math/w_jnl.c: Likewise.
78684         * math/w_lgamma.c: Likewise.
78685         * math/w_lgamma_r.c: Likewise.
78686         * math/w_lgammaf.c: Likewise.
78687         * math/w_lgammaf_r.c: Likewise.
78688         * math/w_lgammal.c: Likewise.
78689         * math/w_lgammal_r.c: Likewise.
78690         * math/w_log.c: Likewise.
78691         * math/w_log10.c: Likewise.
78692         * math/w_log10f.c: Likewise.
78693         * math/w_log10l.c: Likewise.
78694         * math/w_log2.c: Likewise.
78695         * math/w_log2f.c: Likewise.
78696         * math/w_log2l.c: Likewise.
78697         * math/w_logf.c: Likewise.
78698         * math/w_logl.c: Likewise.
78699         * math/w_pow.c: Likewise.
78700         * math/w_powf.c: Likewise.
78701         * math/w_powl.c: Likewise.
78702         * math/w_remainder.c: Likewise.
78703         * math/w_remainderf.c: Likewise.
78704         * math/w_remainderl.c: Likewise.
78705         * math/w_scalb.c: Likewise.
78706         * math/w_scalbf.c: Likewise.
78707         * math/w_scalbl.c: Likewise.
78708         * math/w_sinh.c: Likewise.
78709         * math/w_sinhf.c: Likewise.
78710         * math/w_sinhl.c: Likewise.
78711         * math/w_sqrt.c: Likewise.
78712         * math/w_sqrtf.c: Likewise.
78713         * math/w_sqrtl.c: Likewise.
78714         * math/w_tgamma.c: Likewise.
78715         * math/w_tgammaf.c: Likewise.
78716         * math/w_tgammal.c: Likewise.
78718         * po/ja.po: Update from translation team.
78720 2011-09-29  Andreas Jaeger  <aj@suse.de>
78722         [BZ #13179]
78723         * sunrpc/netname.c (netname2host): Fix logic.
78725         [BZ #6779]
78726         [BZ #6783]
78727         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78728         correctly.
78729         * math/w_remainder.c (__remainder): Likewise.
78730         * math/w_remainderf.c (__remainderf): Likewise.
78731         * math/libm-test.inc (remainder_test): Add test cases.
78733 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78735         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78736         sdiv_qrnnd.
78738 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78740         * string/test-memcmp.c: Avoid unncessary #defines.
78741         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78743 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78745         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78746         Use new sse2 version for core i3 - i7 as it's faster
78747         than sse42 version.
78748         (bit_Prefer_PMINUB_for_stringop): New.
78749         * sysdeps/x86_64/rawmemchr.S: Update.
78750         Replace with faster SSE2 version.
78751         * sysdeps/x86_64/memrchr.S: New file.
78752         * sysdeps/x86_64/memchr.S: Update.
78753         Replace with faster SSE2 version.
78755 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78757         * elf/dl-load.c (lose): Add cast to avoid warning.
78759 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78761         * po/ca.po: Update from translation team.
78763         * inet/getnetgrent_r.c: Hook up nscd.
78764         * nscd/Makefile (routines): Add nscd_netgroup.
78765         (nscd-modules): Add netgroupcache.
78766         (CFLAGS-netgroupcache.c): Define.
78767         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78768         (cache_search): Add const to second parameter.
78769         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78770         INNETGR.
78771         (dbs): Add netgrdb entry.
78772         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78773         (verify_persistent_db): Handle netgrdb.
78774         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78775         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78776         GETFDNETGR.
78777         (netgroup_response_header): Define.
78778         (innetgroup_response_header): Define.
78779         (datahead): Add netgroup_response_header and innetgroup_response_header
78780         elements.
78781         * nscd/nscd.conf: Add entries for netgroup cache.
78782         * nscd/nscd.h (dbtype): Add netgrdb.
78783         (_PATH_NSCD_NETGROUP_DB): Define.
78784         (netgroup_iov_disabled): Declare.
78785         (xmalloc, xcalloc, xrealloc): Move declarations here.
78786         (cache_search): Adjust prototype.
78787         Add netgroup-related prototypes.
78788         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78789         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78790         (__nscd_innetgr): Declare.
78791         * nscd/selinux.c (perms): Use access_vector_t as element type and
78792         add netgroup-related initializers.
78793         * nscd/netgroupcache.c: New file.
78794         * nscd/nscd_netgroup.c: New file.
78795         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78796         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78797         For four parameters use innetgr.
78798         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78799         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78800         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78801         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78803         * nscd/connections.c (register_traced_file): Don't register file
78804         for disabled databases.
78806 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78808         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78810         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78811         from tree and freeing node.
78813 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78815         * nss/nsswitch.c (__nss_database_lookup): Handle
78816         nss_parse_service_list out of memory case.
78818 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78820         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78821         out of memory case.
78823 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78825         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78826         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78827         pass it down.
78828         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78829         elf_machine_rela, elf_machine_lazy_rel.
78830         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78831         (ELF_DYNAMIC_DO_REL): Likewise.
78832         (ELF_DYNAMIC_DO_RELA): Likewise.
78833         (ELF_DYNAMIC_RELOCATE): Likewise.
78834         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78835         to ELF_DYNAMIC_DO_REL.
78836         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78837         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78838         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78839         elf_machine_rela.
78840         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78841         skip_ifunc, don't call ifunc function if non-zero.
78842         (elf_machine_rela): Likewise.
78843         (elf_machine_lazy_rel): Likewise.
78844         (elf_machine_lazy_rela): Likewise.
78845         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78846         (elf_machine_lazy_rel): Likewise.
78847         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78848         Likewise.
78849         (elf_machine_lazy_rel): Likewise.
78850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78851         Likewise.
78852         (elf_machine_lazy_rel): Likewise.
78853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78854         (elf_machine_lazy_rel): Likewise.
78855         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78856         (elf_machine_lazy_rel): Likewise.
78857         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78858         (elf_machine_lazy_rel): Likewise.
78859         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78860         (elf_machine_lazy_rel): Likewise.
78861         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78862         (elf_machine_lazy_rel): Likewise.
78863         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78864         (elf_machine_lazy_rel): Likewise.
78866 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78868         * nss/nss_files/files-init.c (_nss_files_init): Use static
78869         initialization for all the *_traced_file variables.
78871 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78873         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78875 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78877         [BZ #13226]
78878         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78880 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78882         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78883         Reread the line before reparsing it.
78885 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78887         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78889 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78890             Maxim Kuvyrkov  <maxim@codesourcery.com>
78891             Joseph Myers  <joseph@codesourcery.com>
78893         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78894         if needed for __stack_chk_guard.
78896 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78898         * sysdeps/posix/spawni.c (script_execute): Always define it.
78899         It will be optimized away if unused.
78900         (maybe_script_execute): New function.
78901         (__spawni): Call it.
78903         * Makerules: Don't include tls.make.
78904         (config-tls): Always set to thread.
78905         * tls.make.c: File removed.
78907 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78909         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78910         * config.make.in (CPPFLAGS-config): New substituted variable.
78912 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78914         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78916         [BZ #13192]
78917         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78918         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78920 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78922         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78923         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78924         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78925         (CALL_FAIL): Likewise.
78926         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78927         (CALL_FAIL): Macro removed.
78928         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78930 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78932         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78933         for __FINITE_MATH_ONLY__ == 1.
78935 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78937         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78938         __ieee754_sqrt instead of sqrt.
78939         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78940         __ieee754_sqrtf instead of sqrtf.
78941         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78942         __floorf instead of floorf.
78943         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78944         __floorf, __truncf instead of floorf, truncf.
78946 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78948         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78950         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78951         __extern_always_inline.
78952         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78953         32-bit.
78955 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78957         * elf/rtld.c (dl_main): Also relocate in dependency order when
78958         doing symbol dependency testing.
78960 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78962         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78963         Always define `refsym'.
78965 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78967         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78968         (__FD_ELT): Renamed from __FDELT.
78969         * misc/bits/select2.h (__FD_ELT): Likewise.
78970         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78971         __FD_MASK instead of __FDELT, __FDMASK.
78972         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78973         Likewise.
78974         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78975         Likewise.
78977         * elf/Makefile (gen-ldd): Fix pattern.
78979         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78980         (init_tls): Likewise.
78982 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78984         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78986 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78988         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78989         `struct cmsghdr *' instead of `void *'.
78990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78991         Likewise.
78993 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78995         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78996         if non-absolute.
78997         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78998         ldd_rewrite_script.
79000 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79002         * configure.in: Remove --with-tls option.
79003         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79004         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79005         out in case it is missing.
79006         * sysdeps/ia64/elf/configure.in: Likewise.
79007         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79008         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79009         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79010         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79011         * sysdeps/sh/elf/configure.in: Likewise.
79012         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79013         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79014         * sysdeps/x86_64/elf/configure.in: Likewise.
79015         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79016         * sysdeps/mach/hurd/tls.h: Likewise.
79018         [BZ #13067]
79019         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79021         [BZ #13090]
79022         * configure.in: Fix use of AC_INIT.
79024         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79026 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79028         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79029         __set_errno.
79030         * malloc/hooks.c: Likewise.
79032         [BZ #11929]
79033         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79034         variables statically.
79035         (narenas): Initialize.
79036         (list_lock): Initialize.
79037         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79038         initializtion of main_arena and list_lock.  Small cleanups.
79039         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79040         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79041         Add initializers to main_arena and mp_.
79042         (malloc_state): Remove pagesize member.  Change all users to use
79043         GLRO(dl_pagesize).
79045         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79046         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79047         is always initialized.
79049         * malloc/malloc.c: Removed unused configurations and dead code.
79050         * malloc/arena.c: Likewise.
79051         * malloc/hooks.c: Likewise.
79052         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79054         * include/tls.h: Removed.  USE___THREAD must always be defined.
79055         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79056         * elf/dl-libc.c: Likewise.
79057         * elf/dl-tsd.c: Likewise.
79058         * include/errno.h: Likewise.
79059         * include/netdb.h: Likewise.
79060         * include/resolv.h: Likewise.
79061         * inet/herrno-loc.c: Likewise.
79062         * inet/herrno.c: Likewise.
79063         * malloc/arena.c: Likewise.
79064         * malloc/hooks.c: Likewise.
79065         * malloc/malloc.c: Likewise.
79066         * resolv/res-state.c: Likewise.
79067         * resolv/res_libc.c: Likewise.
79068         * sysdeps/i386/dl-machine.h: Likewise.
79069         * sysdeps/ia64/dl-machine.h: Likewise.
79070         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79071         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79072         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79073         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79074         * sysdeps/sh/dl-machine.h: Likewise.
79075         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79076         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79077         * sysdeps/unix/i386/sysdep.S: Likewise.
79078         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79079         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79084         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79088         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79089         * sysdeps/x86_64/dl-machine.h: Likewise.
79090         * tls.make.c: Likewise.
79092         * configure.in: Remove --with-__thread option.  Make tests for
79093         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79094         tls_model attribute fail if no support is available.  Remove
79095         USE_IN_LIBIO.
79096         * Makeconfig: Adjust for dropped configure option.  All features are
79097         now mandatory.
79098         * Makerules: Likewise.
79099         * Versions.def: Likewise.
79100         * argp/argp-fmtstream.c: Likewise.
79101         * argp/argp-fmtstream.h: Likewise.
79102         * argp/argp-help.c: Likewise.
79103         * assert/assert.c: Likewise.
79104         * config.h.in: Likewise.
79105         * config.make.in: Likewise.
79106         * configure: Likewise.
79107         * configure.in: Likewise.
79108         * csu/Versions: Likewise.
79109         * csu/init.c: Likewise.
79110         * elf/tst-audit2.c: Likewise.
79111         * elf/tst-tls10.c: Likewise.
79112         * elf/tst-tls10.h: Likewise.
79113         * elf/tst-tls11.c: Likewise.
79114         * elf/tst-tls12.c: Likewise.
79115         * elf/tst-tls14.c: Likewise.
79116         * elf/tst-tlsmod11.c: Likewise.
79117         * elf/tst-tlsmod12.c: Likewise.
79118         * elf/tst-tlsmod13.c: Likewise.
79119         * elf/tst-tlsmod13a.c: Likewise.
79120         * elf/tst-tlsmod14a.c: Likewise.
79121         * elf/tst-tlsmod15b.c: Likewise.
79122         * elf/tst-tlsmod16a.c: Likewise.
79123         * elf/tst-tlsmod16b.c: Likewise.
79124         * elf/tst-tlsmod7.c: Likewise.
79125         * elf/tst-tlsmod8.c: Likewise.
79126         * elf/tst-tlsmod9.c: Likewise.
79127         * gmon/gmon.c: Likewise.
79128         * grp/fgetgrent_r.c: Likewise.
79129         * grp/putgrent.c: Likewise.
79130         * hurd/fopenport.c: Likewise.
79131         * include/libc-symbols.h: Likewise.
79132         * include/tls.h: Likewise.
79133         * intl/gettextP.h: Likewise.
79134         * intl/loadinfo.h: Likewise.
79135         * locale/global-locale.c: Likewise.
79136         * locale/localeinfo.h: Likewise.
79137         * mach/devstream.c: Likewise.
79138         * malloc/arena.c: Likewise.
79139         * malloc/set-freeres.c: Likewise.
79140         * misc/err.c: Likewise.
79141         * misc/getttyent.c: Likewise.
79142         * misc/mntent_r.c: Likewise.
79143         * posix/getopt.c: Likewise.
79144         * posix/wordexp.c: Likewise.
79145         * pwd/fgetpwent_r.c: Likewise.
79146         * resolv/Versions: Likewise.
79147         * resolv/res_hconf.c: Likewise.
79148         * shadow/fgetspent_r.c: Likewise.
79149         * shadow/putspent.c: Likewise.
79150         * stdio-common/printf_fphex.c: Likewise.
79151         * stdio-common/tmpfile.c: Likewise.
79152         * stdlib/abort.c: Likewise.
79153         * stdlib/fmtmsg.c: Likewise.
79154         * sunrpc/auth_unix.c: Likewise.
79155         * sunrpc/clnt_perr.c: Likewise.
79156         * sunrpc/clnt_tcp.c: Likewise.
79157         * sunrpc/clnt_udp.c: Likewise.
79158         * sunrpc/clnt_unix.c: Likewise.
79159         * sunrpc/openchild.c: Likewise.
79160         * sunrpc/svc_simple.c: Likewise.
79161         * sunrpc/svc_tcp.c: Likewise.
79162         * sunrpc/svc_udp.c: Likewise.
79163         * sunrpc/svc_unix.c: Likewise.
79164         * sunrpc/xdr.c: Likewise.
79165         * sunrpc/xdr_array.c: Likewise.
79166         * sunrpc/xdr_rec.c: Likewise.
79167         * sunrpc/xdr_ref.c: Likewise.
79168         * sunrpc/xdr_stdio.c: Likewise.
79170 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79172         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79174 2011-07-03  Andreas Jaeger  <aj@suse.de>
79176         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79177         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79178         regenerate with gen-libm-tests.pl.
79180 2010-05-12  Petr Baudis  <pasky@suse.cz>
79182         [BZ #11589]
79183         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79184         around j0() zero points by switching to j1().
79185         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79186         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79187         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79188         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79190 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79192         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79193         instead of 0.
79194         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79195         instead of 0.
79196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79197         Patch in part by Pavel Roskin <proski@gnu.org>.
79199         [BZ #13138]
79200         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79201         realloc.
79202         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79203         Free memory block if necessary.
79205         [BZ #12847]
79206         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79207         be NULL.  Don't lock in this case.
79209 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79211         * elf/elf.h (ELFOSABI_GNU): New macro.
79212         (ELFOSABI_LINUX): Define to that.
79214 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79216         * string/strncat.c (strncat): Undef the symbol in case it has been
79217         defined in bits/string.h.
79219 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79221         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79223         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79224         link map.
79226 2011-08-17  Andreas Jaeger  <aj@suse.de>
79228         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79230 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79231             Ian Lance Taylor  <iant@google.com>
79233         * math/libm-test.inc (lround_test): New testcase.
79234         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79236 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79238         * Makefile: Remove support for automatic cvs check-ins.
79239         * Makerules: Likewise.
79240         * config.make.in: Likewise.
79241         * configure.in: Likewise.
79242         * intl/Makefile: Likewise.
79243         * locale/Makefile: Likewise.
79244         * po/Makefile: Likewise.
79245         * posix/Makefile: Likewise.
79246         * sysdeps/gnu/Makefile: Likewise.
79247         * sysdeps/mach/hurd/Makefile: Likewise.
79248         * sysdeps/sparc/sparc32/Makefile: Likewise.
79250         [BZ #13118]
79251         * posix/Makefile (bug-regex32-ENV): Define.
79252         Patch by John Stanley <jpsinthemix@verizon.net>.
79254         * misc/Makefile (headers): Add bits/select2.h.
79255         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79256         * misc/bits/select2.h: New file.
79257         * include/bits/select2.h: New file.
79258         * debug/Makefile (routines): Add fdelt_chk.
79259         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79260         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79261         FD_ISSET.
79262         * debug/fdelt_chk.c: New file.
79264         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79265         * wcsmbs/test-wmemcmp.c: Likewise.
79266         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79267         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79269 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79271         * string/Makefile (strop-tests): Add memcmp.
79272         * string/test-wmemcmp.c: New file.
79273         * string/test-memcmp.c: Add wmemcmp support.
79275 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79277         [BZ #13153]
79278         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79279         2011-07-19 change.
79281         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79282         garbage value in a __mach_port_mod_refs call in the cases of the
79283         task-self and thread-self ports.
79285 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79287         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79289 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79291         * elf/dl-load.c (lose): Check for non-null L.
79293 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79295         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79297         * elf/dl-libc.c (dlerror_run): Pass back error code from
79298         dl_catch_error.
79300         [BZ #13123]
79301         * elf/dl-load.c (lose): Free l_origin if it is valid.
79303         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79304         names.
79305         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79306         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79307         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79308         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79309         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79310         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79312 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79314         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79315         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79316         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79317         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79318         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79319         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79320         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79321         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79322         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79323         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79325 2011-08-15  Alan Modra  <amodra@gmail.com>
79327         [BZ #13092]
79328         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79329         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79330         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79331         ppc_mcount to static-only-routines.
79332         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79333         __mcount_internal.
79334         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79335         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79337 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79339         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79340         for finite and infinity parameters.
79342 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79344         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79345         and add nop instructions for throughput optimization.
79346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79348 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79350         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79351         aligned copy for power7 with vector-scalar instructions.
79352         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79354 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79357         AVX check.
79359 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79361         [BZ #13144]
79362         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79363         last change.
79365 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79367         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79368         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79369         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79370         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79371         clock_gettime.
79373 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79375         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79376         Forgot to demangle the pointer.
79378         * sysdeps/i386/sysdep.h: Define atom_text_section.
79379         * sysdeps/x86_64/sysdep.h: Likewise.
79380         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79381         section with atom_text_section.
79382         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79384         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79386         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79388         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79389         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79390         already be defined.  Change to take two parameters and don't assign
79391         result to variable.  Adjust all users.
79392         Define INTERNAL_GETTIME if not already defined.
79393         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79394         call.
79395         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79396         HAVE_CLOCK_GETTIME_VSYSCALL.
79397         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79399         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79400         gettimeofday vsyscall, just use time.
79402 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79404         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79405         <errno.h>.
79407 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79409         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79410         syscall on x86-64.
79411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79412         syscall.
79413         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79414         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79415         syscall if possible.
79417 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79419         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79420         e_ident.  Don't pass to find_mapsXX.
79421         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79423 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79426         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79427         * sysdeps/x86_64/multiarch/strchr.S: Update.
79428         Check bit_slow_BSF bit.
79429         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79430         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79431         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79433 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79435         [BZ #13134]
79436         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79437         before glibc 2.15.
79438         (tryshell): Define.
79439         (__spawni): Change last parameter to be flag.  Test
79440         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79441         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79442         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79443         * posix/spawni.c: Likewise.
79444         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79445         * posix/spawnp.c: Likewise.  Change normal version to use
79446         SPAWN_XFLAGS_USE_PATH.
79447         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79448         SPAWN_XFLAGS_TRY_SHELL.
79450         [BZ #13150]
79451         * posix/glob.h: Remove gcc 1.x support.
79453         [BZ #13068]
79454         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79456 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79458         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79459         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79460         strrchr-sse2-bsf
79461         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79462         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79463         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79464         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79465         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79466         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79468 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79470         * sysdeps/x86_64/wcscmp.S: New file.
79472         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79473         wcscmp-c wcscmp-sse2
79474         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79475         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79476         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79477         * wcsmbs/wcscmp.c: Allow renaming.
79479 2011-09-05  David S. Miller  <davem@davemloft.net>
79481         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79482         stack slot, rather than the struct return pointer slot.
79483         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79484         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79486         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79488 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79490         * po/ja.po: Update from translation team.
79492         [BZ #13144]
79493         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79494         kernel in 64-bit binaries.
79496 2011-09-01  David S. Miller  <davem@davemloft.net>
79498         * elf/elf.h (HWCAP_SPARC_*): Move to..
79499         * sysdeps/sparc/sysdep.h: this new file and add new values.
79500         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79501         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79502         _DL_HWCAP_COUNT to 24.
79503         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79504         entries.
79505         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79506         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79507         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79509         instead of magic constants.
79510         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79512 2011-08-31  David S. Miller  <davem@davemloft.net>
79514         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79516         Reimplement to do errno handling inline.
79517         (SYSCALL_ERROR_HANDLER): New macro.
79518         (__SYSCALL_STRING): Do not do errno handling in asm.
79519         (__CLONE_SYSCALL_STRING): Delete.
79520         (__INTERNAL_SYSCALL_STRING): Delete.
79521         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79522         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79523         (PSEUDO): Reimplement to do errno handling inline.
79524         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79525         (SYSCALL_ERROR_HANDLER): New macro.
79526         (__SYSCALL_STRING): Do not do errno handling in asm.
79527         (__CLONE_SYSCALL_STRING): Delete.
79528         (__INTERNAL_SYSCALL_STRING): Delete.
79529         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79530         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79531         i386.
79532         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79533         (inline_syscall*): Add 'err' argument.
79534         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79535         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79536         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79537         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79539         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79540         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79542 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79544         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79546 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79548         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79549         directive.
79551 2011-08-24  David S. Miller  <davem@davemloft.net>
79553         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79555 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79557         * elf/Makefile: Add rules to build and run unload8 test.
79558         * elf/unload8.c: New file.
79559         * elf/unload8mod1.c: New file.
79560         * elf/unload8mod1x.c: New file.
79561         * elf/unload8mod2.c: New file.
79562         * elf/unload8mod3.c: New file.
79564         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79565         it wasn't used.
79567 2011-08-23  David S. Miller  <davem@davemloft.net>
79569         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79570         subtract stack bias.
79571         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79572         %sp not %fp in calculations.
79573         (_JMPBUF_UNWINDS_ADJ): Likewise.
79575         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79576         (aio_suspend): Call it to force an exception region around the
79577         AIO_MISC_WAIT() invocation.
79579 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79581         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79582         backslash.
79584 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79586         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79587         protection macro.
79588         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79589         and <dl-machine.h>.
79590         (Elf64_FuncDesc): Remove.
79592 2011-08-22  David S. Miller  <davem@davemloft.net>
79594         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79595         sigaltstack check, add missing cfi directives.
79596         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79597         missing cfi directives, and sigaltstack handling.
79599 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79601         [BZ #11724]
79602         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79603         object is seen twice.
79604         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79606         * elf/Makefile (distribute): Add tst-initorder2.c.
79607         (tests): Add tst-initorder2.
79608         (modules-names): Add tst-initorder2a tst-initorder2b
79609         tst-initorder2c tst-initorder2d.  Add rules to build them.
79610         ($(objpfx)tst-initorder2.out): New rule.
79611         * elf/tst-initorder2.c: New file.
79612         * elf/tst-initorder2.exp: New file.
79614 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79616         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79618         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79619         dependencies back to end of function.
79621         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79622         $(elfobjdir)/ld.so.
79624 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79627         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79628         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79629         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79630         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79631         of __vdso_gettimeofday.
79632         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79633         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79634         attribute_hidden.
79635         (_libc_vdso_platform_setup): Remove initialization of
79636         __vdso_gettimeofday and __vdso_time.
79638 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79640         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79641         and fgetc_unlocked.
79642         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79643         getc_unlocked.
79645         * elf/dl-open.c (add_to_global): Report additions to the global scope
79646         for LD_DEBUG=scopes.
79647         (dl_open_worker): Also print scope of newly loaded dependencies.
79648         (_dl_show_scope): Indicate if there is no scope.
79650         [BZ #13114]
79651         * stdio-common/Makefile (tests): Add bug24.
79652         * stdio-common/bug24.c: New file.
79654 2011-08-19  Andreas Jaeger  <aj@suse.de>
79656         [BZ #13114]
79657         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79658         non-existant file when using close-on-exec mode.
79660 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79663         the very first instruction.
79665         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79666         the CFI state in the end.
79667         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79668         inclusion of dl-trampoline.h.
79669         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79671 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79673         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79674         expectations for long double.
79676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79677         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79679 2011-08-14  David S. Miller  <davem@davemloft.net>
79681         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79682         artificual limit depends upon the system page size.
79684 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79686         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79687         * resolv/Makefile: Define CFLAGS-libresolv.
79689 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79691         * nss/makedb.c (compute_tables): Make variables used in nested
79692         function static.
79694 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79696         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79697         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79698         if buffer was too small.
79700         * elf/pldd.c (main): Attach to all threads in the process.
79701         Rewrite /proc handling to use *at functions.
79703 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79705         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79706         specifies first scope to show.
79707         (dl_open_worker): Update callers.  Move printing scope of new
79708         object to before the relocation.
79709         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79710         * sysdeps/generic/ldsodefs.h: Update declaration.
79712         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79713         string for the scope number.
79715 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79717         * nscd/servicescache.c (cache_addserv): Make sure written is always
79718         initialized.
79720 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79722         * sysdeps/i386/i486/bits/atomic.h
79723         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79724         statement expression, so as to suppress "set but not used" warning.
79725         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79727         * string/strncat.c (STRNCAT): Use prototype definition.
79729         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79730         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79731         -Iprograms here.
79732         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79733         (localedef-modules): Add localedef.
79734         (locale-modules): Add locale.
79736         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79737         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79738         to avoid a warning.
79740 2011-08-14  David S. Miller  <davem@davemloft.net>
79742         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79743         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79745 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79747         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79748         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79749         * elf/rtld.c (dl_main): Set l_name of vDSO.
79750         Call _dl_show_scope when DL_DEBUG_SCOPES.
79751         (process_dl_debug): Recognize scopes flag and also set it for all.
79752         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79753         Declare _dl_show_scope.
79755         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79756         (do_dlopen): Pass caller_dlopen to dl_open.
79757         (__libc_dlopen_mode): Initialize caller_dlopen.
79759         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79760         of libc.  Make tolower call locale-independent.  Optimize a bit by
79761         using isdigit instead of isalnum.
79762         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79764 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79766         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79767         was a dependency or dynamically loaded.
79769 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79771         * intl/l10nflist.c: Allow architecture-specific pop function.
79772         * sysdeps/x86_64/l10nflist.c: New file.
79774         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79775         classification.
79777 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79779         * include/dirent.h: Add libc_hidden_proto for scandirat and
79780         scandirat64.  Don't declare __scandirat64.
79781         * dirent/scandirat.c: Add libc_hidden_def.
79782         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79783         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79785 2011-08-10  David S. Miller  <davem@davemloft.net>
79787         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79788         enum.
79789         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79791         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79793 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79795         * Versions.def [libc]: Add GLIBC_2.15.
79796         * dirent/Makefile (routines): Add scandirat and scandirat64.
79797         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79798         GLIBC_2.15.
79799         * dirent/dirent.h: Declare scandirat and scandirat64.
79800         * dirent/scandirat.c: New file.
79801         * dirent/scandirat64.c: New file.
79802         * sysdeps/wordsize-64/scandirat.c: New file.
79803         * sysdeps/wordsize-64/scandirat64.c: New file.
79804         * dirent/opendir.c: Define opendirat.
79805         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79806         using scandirat.
79807         * dirent/scandir64.c: Adjust for scandir.c change.
79808         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79809         __scandirat64, and __scandir_cancel_handler.
79810         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79811         additional parameter and use openat instead of open (outside of ld.so).
79812         Add new __opendir as wrapper around __opendirat.
79813         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79814         here without requiring old scandirat implementation.
79816 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79818         * dirent/scandir.c (cancel_handler): Renamed to
79819         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79820         defined.  Adjust users.
79821         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79822         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79824 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79826         * string/test-string.h (IMPL): Use __STRING to expand name and then
79827         stringify it.
79829         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79830         of cleanups.
79832 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79834         * string/Makefile: Update.
79835         (strop-tests): Append strncat.
79836         * string/test-wcscmp.c: New file.
79837         New comprehensive test for wcscmp.
79838         * string/test-strcmp.c: Update.
79839         (WIDE): New define.
79841 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79843         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79844         line.
79846 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79849         encoding to ACE if AI_IDN.
79851 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79853         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79854         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79856 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79858         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79859         Fix overflow bug in strncat.
79860         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79862         * string/test-strncat.c: Update.
79863         Add new tests for checking overflow bugs.
79865 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79867         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79868         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79869         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79870         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79871         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79872         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79873         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79874         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79875         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79877         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79878         (USE_AS_STRCAT): Define.
79879         Add strcat and strncat support.
79880         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79882 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79884         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79885         __n bigger than INT_MAX+1.
79886         (__strncmp_g): Likewise.
79888 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79890         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79891         * libio/stido.h: Likewise.
79893         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79894         (AF_NFC): Define.
79895         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79896         (AF_NFC): Define.
79898         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79899         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79900         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79901         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79902         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79904         [BZ #13021]
79905         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79906         installed.
79908         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79909         typo.
79910         (_dl_x86_64_save_sse): Likewise.
79912 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79915         OSXSAVE.
79916         (_dl_x86_64_save_sse): Likewise.
79918         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79920         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79922 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79924         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79925         change.
79926         (_dl_x86_64_save_sse): Use correct AVX check.
79928 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79930         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79931         bug in strncpy/strncat.
79932         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79934 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79936         * string/tester.c (test_strcat): Add tests for different alignments
79937         of source and destination.
79938         (test_strncat): Likewise.
79940 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79942         [BZ #12852]
79943         * posix/glob.c (glob): Check passed in values before using them in
79944         expressions to avoid some overflows.
79945         (glob_in_dir): Likewise.
79947         [BZ #13007]
79948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79949         check for AVX enablement so that we don't crash with old kernels and
79950         new hardware.
79951         * elf/tst-audit4.c: Add same checks here.
79952         * elf/tst-audit6.c: Likewise.
79954         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79956 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79958         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79960 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79962         * po/cs.po: Update from translation team.
79963         * po/bg.po: Likewise.
79965 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79967         * misc/sys/cdefs.h: Add support for const attribute.
79968         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79969         to gnu_dev_{major,minor,makedev} functions.
79971 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79973         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79975 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79977         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79978         strlen results.
79980 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79983         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79984         register in order to avoid conflicts with the soft frame pointer
79985         being held in r11 when necessary.
79986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79987         (INTERNAL_VSYSCALL_NCS): Likewise.
79989 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79991         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79992         * elf/dl-fini.c (_dl_fini): Adjust caller.
79993         * elf/dl-close.c (_dl_close_worker): Likewise.
79994         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79996 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79998         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79999         "aux_cache->nlibs < 0".
80001         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80002         in the reload-count case.
80004 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80007         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80008         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80009         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80010         * sysdeps/x86_64/multiarch/strcat.S: New file.
80011         * sysdeps/x86_64/multiarch/strncat.S: New file.
80012         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80013         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80014         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80015         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80017         (USE_AS_STRCAT): Define.
80018         Add strcat and strncat support.
80019         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80020         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80021         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80022         * string/strncat.c: Update.
80023         (USE_AS_STRNCAT): Define.
80024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80025         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80026         and i7.
80027         * sysdeps/x86_64/multiarch/init-arch.h
80028         (bit_Prefer_PMINUB_for_stringop): New.
80029         (index_Prefer_PMINUB_for_stringop): Likewise.
80030         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80031         bit_Prefer_PMINUB_for_stringop.
80033 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80035         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80036         buffer64.
80037         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80038         of casting of buffer.
80039         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80040         buffer32 and buffer64.
80041         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80042         writes instead of casting of buffer.
80043         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80044         buffer32.
80045         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80046         casting of buffer.
80048 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80050         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80052 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80054         * nscd/nscd.c (termination_handler): Don't do anything for a database
80055         if it has not yet been initialized.
80057 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80059         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80061 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80063         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80065 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80067         * po/nl.po: Update from translation team.
80068         * po/sv.po: Likewise.
80070 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80072         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80073         now disallowed by GCC.
80075         * configure.in (use-default-link): Default to yes if a test -shared
80076         link meets our qualifications.
80077         * configure: Regenerated.
80079         * config.make.in (output-format): New variable.
80080         * configure.in: Check for ld --print-output-format support.
80081         * configure: Regenerated.
80082         * Makerules ($(common-objpfx)format.lds)
80083         [$(output-format) != unknown]: Just use $(output-format),
80084         instead of the linker-script munging.
80086 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80088         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80089         of $(common-objpfx)shlib.lds.
80090         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80092         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80093         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80095         * configure.in (-z relro check): Adjust test code to add a large
80096         writable data section after it.
80097         * configure: Regenerated.
80099 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80101         * configure.in (-z relro check): Fix test code to make the variable
80102         truly const.
80103         * configure: Regenerated.
80105 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80107         * nscd/nscd.h (struct traced_file): Define.
80108         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80109         elements.  Add traced_files.
80110         (inotify_fd): Declare.
80111         (register_traced_file): Declare.
80112         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80113         (inotify_fd): Export.
80114         (resolv_conf_descr): Remove.
80115         (nscd_init): Move inotify descriptor creation to main.
80116         Don't register files for notification here.
80117         (register_traced_file): New function.
80118         (invalidate_cache): Don't use reset_res to determine whether to call
80119         res_init, go through the list of registered files.
80120         (main_loop_poll): The inotify descriptors are now stored in the
80121         structures for the traced files.
80122         (main_loop_epoll): Likewise.
80123         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80124         to __nss_disable_nscd.
80125         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80126         for a database anymore.  Check the records for all the registered
80127         files instead.
80128         * nss/Makefile (libnss_files-routines): Add files-init.
80129         (libnss_db-routines): Add db-init.
80130         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80131         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80132         * nss/nss_db/db-init.c: New file.
80133         * nss/nss_files/files-init.c: New file.
80134         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80135         __nss_lookup_function.
80136         (__nss_lookup_function): Call nss_load_library.
80137         (nss_load_all_libraries): New function.
80138         (__nss_disable_nscd): Take parameter with callback function for files
80139         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80140         used for the cached services.
80141         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80142         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80143         options for features to all the files in nscd.
80145         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80147 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80149         * csu/elf-init.c (__libc_csu_init): Comment typo.
80151 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80153         * po/pl.po: Update from translation team.
80154         * po/ja.po: Likewise.
80155         * po/ru.po: Likewise.
80156         * po/ko.po: Likewise.
80157         * po/fr.po: Likewise.
80159 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80161         * configure.in (.ctors/.dtors header and trailer check):
80162         Use an empirical test on a built program.
80163         * configure: Regenerated.
80165         * configure.in (-z relro check): Use an empirical test on a built DSO.
80166         Detect, but do not require, on ia64.
80167         * configure: Regenerated.
80169         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80170         Update tests that use readelf to use $READELF instead.
80171         * configure: Regenerated.
80173 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80175         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80176         if the result is not used.
80178 2011-07-05  Andreas Jaeger  <aj@suse.de>
80180         [BZ#9696]
80181         * stdlib/tst-strtod.c: Add testcase.
80183 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80185         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80186         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80187         The latter has a higher limit.  Take additional parameter to pass to
80188         the new function.
80189         (__pathconf): Pass file to __statfs_link_max.
80190         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80191         __statfs_link_max.
80192         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80193         __statfs_link_max.
80195         [BZ #12868]
80196         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80197         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80198         Handle Lustre.
80199         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80200         (__statfs_filesize_max): Likewise.
80201         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80203 2011-07-05  Andreas Jaeger  <aj@suse.de>
80205         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80207 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80209         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80210         `status' variable.
80211         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80212         Likewise.
80214 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80216         * Makefile (strop-tests): Add strncat.
80217         * string/test-strncat.c: New file.
80219 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80221         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80223 2011-06-21  Andreas Jaeger  <aj@suse.de>
80225         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80226         Copy rule from iconvdata/Makefile.
80228 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80230         [BZ #12922]
80231         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80232         but no long options are defined, just return 'W'.
80234 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80236         [BZ #9696]
80237         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80239 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80241         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80242         netgroups to read.
80243         (innetgr): Likewise.
80245 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80247         * config.make.in (install_root): Default to $(DESTDIR).
80249 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80251         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80253 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80255         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80257         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80258         containing directory rather than embedding absolute directory names.
80260         * scripts/check-local-headers.sh: Rewritten using awk.
80261         Match by word, not by line.  Print error messages for matches.
80262         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80264         * Makerules [shlib-lds-flags empty]:
80265         ($(common-objpfx)libc_pic.opts): New target.
80266         ($(common-objpfx)libc_pic.os.clean): New target.
80267         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80269         * config.make.in (OBJCOPY): New variable.
80270         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80271         * configure: Regenerated.
80273         * config.make.in (use-default-link): New variable.
80274         * configure.in (use_default_link): Grok --with-default-link to set it.
80275         * configure: Regenerated.
80276         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80277         (shlib-lds, shlib-lds-flags): Define to empty.
80279         * Makerules (shlib-lds): New variable.
80280         (shlib-lds-flags): New variable.
80281         (build-shlib, build-moduile, build-module-asneeded): Use it.
80282         ($(common-objpfx)libc.so): Use $(shlib-lds).
80283         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80284         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80286         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80287         DT_FLAGS/DT_FLAGS_1 with zero flags.
80289         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80290         linker script munging.
80292 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80294         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80295         as 128-bit value.
80296         * crypt/sha512.c (sha512_process_block): Perform total addition using
80297         128-bit if possible.
80298         (__sha512_finish_ctx): Likewise.
80299         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80300         as 64-bit value.
80301         * crypt/sha256.c (SWAP64): Define.
80302         (sha256_process_block): Perform total addition using 64-bit if
80303         possible.
80304         (__sha256_finish_ctx): Likewise.
80306 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80308         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80310         * nscd/hstcache.c (cache_addhst): Likewise.
80311         * nscd/grpcache.c (cache_addgr): Likewise.
80312         * nscd/aicache.c (addhstaiX): Likewise.
80313         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80315 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80317         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80318         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80319         * nscd/hstcache.c (cache_addhst): Likewise.
80320         * nscd/grpcache.c (cache_addgr): Likewise.
80321         * nscd/aicache.c (addhstaiX): Likewise.
80323 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80325         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80326         domain only when needed.
80328 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80331         is always restored.
80333 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80335         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80336         are re-adding the entry.
80337         * nscd/servicescache.c (cache_addserv): Likewise.
80339 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80341         * sysdeps/generic/dl-irel.h: fix protection against multiple
80342         inclusions.
80343         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80345 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80347         [BZ #12935]
80348         * malloc/memusage.sh: Fix quoting in message.
80349         * debug/xtrace.sh: Likewise.
80351         * configure.in: Remove support for --experimental-malloc option, make
80352         it the default.
80353         * config.make.in: Likewise.
80354         * malloc/Makefile: Likewise.
80356 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80358         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80359         two-byte characters.
80361 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80363         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80364         AC_CACHE_CHECK invocation.
80365         * configure: Regenerated.
80367         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80369 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80371         [BZ #12350]
80372         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80373         bit from old_res_options.
80375         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80377         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80378         value type for setfct.
80380 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80382         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80383         __gettimeofday instead of gettimeofday.
80385 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80387         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80389 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80391         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80394         info.
80396 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80399         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80400         strcpy-sse2-unaligned strncpy-sse2-unaligned
80401         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80402         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80403         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80404         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80405         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80406         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80407         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80408         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80409         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80410         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80411         (STRCPY): Support SSE2 and SSSE3 versions.
80413 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80415         [BZ #12874]
80416         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80417         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80418         kernels which artificially limit size of requests.
80420 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80423         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80424         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80425         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80426         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80427         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80428         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80429         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80430         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80431         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80432         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80433         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80434         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80435         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80436         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80438         Enable unaligned load optimization for Intel Core i3, i5 and i7
80439         processors.
80440         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80441         Define.
80442         (index_Fast_Unaligned_Load): Define.
80443         (HAS_FAST_UNALIGNED_LOAD): Define.
80445 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80447         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80449 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80451         [BZ #12907]
80452         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80453         until it is clear that the information is realy needed.
80454         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80456 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80460 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80462         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80463         /sys/devices/system/cpu/online if it is usable.
80465         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80466         reading the information from the /proc filesystem to once a second.
80468 2011-06-21  Andreas Jaeger  <aj@suse.de>
80470         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80471         NULL after inclusion of kernel headers.
80473 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80475         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80476         calls to internal_setent.
80478         [BZ #12885]
80479         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80480         addresses using gethostbyname4_r ignore IPv4 addresses.
80482         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80483         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80485         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80487 2011-06-20  David S. Miller  <davem@davemloft.net>
80489         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80490         inclusions.
80491         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80493         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80494         (elf_irel): Use it.
80495         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80496         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80497         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80498         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80499         * sysdeps/x86_64/dl-irel.h: Likewise.
80501         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80502         * elf/dl-sym.c: Likewise.
80504 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80506         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80507         need to dereference resplen2.
80509 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80511         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80513 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80515         * Makeconfig: Define vardbdir and inst_vardbdir.
80516         * nss/Makefile: Add rules to install db-Makefile.
80518         * nss/nss_db/db-XXX.c: Cleanup.
80520         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80521         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80522         GLIBC_PRIVATE.
80523         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80524         * nss/makedb.c: Implement -g option to specify that value strings
80525         are generated and should not be added to table iterated over for
80526         get*ent calls.
80527         * nss/nss_db/db-initgroups.c: New file.
80529         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80530         interface.
80532         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80533         (internal_getgrouplist): Adjust to name change.
80534         Update use_initgroups_entry if this is not the first call.
80535         * nss/databases.def: Add initgroups entry.
80537         * nss/makedb.c (compute_tables): Check result of multiple hash table
80538         sizes to minimize maximum chain length.
80540 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80542         * Versions.def: Add entry for libnss_db.
80543         * shlib-versions: Likewise.
80544         * nss/Makefile: Add rules to build libnss_db.
80545         * nss/Versions: Add libnss_db information.  Organize libnss_files
80546         entries better.
80547         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80548         makedb progra.  Some minor improvements to generate smaller files.
80549         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80550         here from...
80551         * nss/makedb.c: ...here.
80552         Improve database format to be smaller and require less memory at
80553         runtime.
80554         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80555         db anymore.
80556         * nss/nss_db/db-netgrp.c: Likewise.
80557         * nss/nss_db/db-open.c: Likewise.
80558         * nss/nss_files/flies-XXX.x: Adjust comments.
80559         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80560         * nss/nss_files/files-grp.c: Likewise.
80561         * nss/nss_files/files-hosts.c: Likewise.
80562         * nss/nss_files/files-network.c: Likewise.
80563         * nss/nss_files/files-proto.c: Likewise.
80564         * nss/nss_files/files-pwd.c: Likewise.
80565         * nss/nss_files/files-rpc.c: Likewise.
80566         * nss/nss_files/files-service.c: Likewise.
80567         * nss/nss_files/files-sgrp.c: Likewise.
80568         * nss/nss_files/files-spwd.c: Likewise.
80569         * nss/nss_db/db-alias.c: Removed.
80570         * nss/nss_db/dummy-db.h: Removed.
80572 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80574         * nss/makedb.c: Rewritten to not use database library.
80575         * nss/Makefile: Update to build new makedb program.
80577 2011-06-14  Andreas Jaeger  <aj@suse.de>
80579         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80580         memset declaration.
80582 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80585         tmpbuf.
80587 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80589         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80590         * elf/Makefile ($(objpfx)ld.so): Likewise.
80592         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80593         Don't list ld.so twice in dependencies.
80595         * posix/bug-regex31.c: Include <stdlib.h>.
80597         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80599         * nis/nss_compat/compat-spwd.c
80600         (getspent_next_nss_netgr): Remove unused variable.
80601         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80603         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80604         nonmembers" output to use the right array.
80606         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80608         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80610         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80611         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80612         * catgets/gencat.c (read_input_file): Likewise.
80613         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80615         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80616         variable definition inside #if's controlling its use.
80618         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80620         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80622         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80624         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80625         unreachable code.
80627         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80629         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80630         * configure: Regenerated.
80632         * Makerules: Revert last change.
80633         * elf/Makefile: Likewise.
80635 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80637         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80638         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80639         (reloc-link): Likewise.
80641 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80643         * elf/Makefile: Add rules to build pldd.
80644         * elf/pldd.c: New file.
80645         * elf/pldd-xx.c: New file.
80647 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80649         * version.h: Update for 2.15 development version.
80651 2011-06-07  David S. Miller  <davem@davemloft.net>
80653         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80654         ifuncs.
80655         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80656         elf_machine_lazy_rel): Likewise.
80657         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80658         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80659         elf_machine_lazy_rel): Likewise.
80660         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80661         dl_hwcap via passed in argument.
80662         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80663         Likewise.
80665 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80667         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80669 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80671         [BZ #12849]
80672         * manual/fdl-1.1.texi: New file, verbatim from:
80673         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80674         * manual/lgpl-2.1.texi: New file, verbatim from:
80675         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80676         * manual/Makefile (licenses): New variable, list those new file names.
80677         (texis): Use it.
80678         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80680         * manual/fdl.texi: File removed.
80681         * manual/lesser.texi: File removed.
80682         * manual/libc.texinfo (Copying, Documentation License):
80683         Use new @include file names, put @appendix directive before @include.
80685 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80687         [BZ #12841]
80688         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80689         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80690         (mq_open): Add __NTH.
80692 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80695         Assume Intel Core i3/i5/i7 processor if AVX is available.
80697 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80699         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80700         typo.
80702 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80704         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80705         memory.  Use alloca_account.  Fix memory leak when retrying.
80707 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80709         * version.h (RELEASE): Bump for 2.14 release.
80710         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80712         * config.make.in (RANLIB): Remove entry.
80714 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80716         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80717         (libc.pot): Work around missing support for .ksh extension in xgettext.
80719         [BZ #12684]
80720         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80721         if both request failed.
80722         (send_dg): In case of server errors clear resplen or *resplen2.
80724         [BZ #12454]
80725         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80726         when there are multiple maps.
80727         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80728         (_dl_fini): Remove test here.
80730         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80732 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80734         [BZ #12350]
80735         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80736         bit from old_res_options.
80737         (gaih_inet): Likewise.
80739         [BZ #11099]
80740         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80741         as signed.
80743         * resolv/res_init.c (res_setoptions): Make the code more compact.
80745         [BZ #11558]
80746         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80747         set RES_USEVC.
80749         [BZ #11634]
80750         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80752         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80754         [BZ #11781]
80755         * malloc/malloc.h: Declare malloc hook variables as volatile.
80757         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80758         in last patch.
80760         [BZ #11799]
80761         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80762         raise in the comment.
80763         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80764         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80765         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80767 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80769         [BZ #12811]
80770         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80771         grow the buffers more if it already has to be sufficient.
80772         (build_wcs_upper_buffer): Likewise.
80773         * posix/regexec.c (check_matching): Likewise.
80774         (clean_state_log_if_needed): Likewise.
80775         (extend_buffers): Don't enlarge buffers beyond size of the input
80776         buffer.
80777         Patches mostly by Emil Wojak <emil@wojak.eu>.
80778         * posix/bug-regex32.c: New file.
80779         * posix/Makefile (tests): Add bug-regex32.
80781         * locale/findlocale.c (_nl_find_locale): Return right away if
80782         _nl_explode_name failed.
80783         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80785         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80787         * debug/xtrace.sh: Unify messages.
80788         * malloc/memusage.sh: Likewise.
80790         [BZ #12813]
80791         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80792         time symbol from vDSO.  Substitute with vsyscall if not available.
80793         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80794         __vdso_time.
80796         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80797         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80798         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80799         Add sendmmsg and internal_sendmmsg.
80800         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80801         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80802         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80804         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80805         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80806         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80808 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80810         [BZ #12813]
80811         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80812         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80813         available.
80814         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80815         __vdso_getcpu.
80817         [BZ #12814]
80818         * iconvdata/Makefile (tests): Add bug-iconv9.
80819         * iconvdata/bug-iconv9.c: New file.
80821 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80823         [BZ #12814]
80824         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80826 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80828         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80829         (struct user_regs_struct): Change intcs field back to cs.
80831 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80833         * po/ja.po: Update from translation team.
80835 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80837         [BZ #12795]
80838         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80839         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80841 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80843         * stdlib/longlong.h: Update from GCC.
80845 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80847         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80848         parameter name.
80849         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80850         Add parameter name.
80851         (__sysconf): Pass it down.
80853 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80855         [BZ #12671]
80856         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80857         some situations.
80858         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80859         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80860         add in in __libc_use_alloca calls.  Adjust callers.
80861         (glob): Use malloc in some situations.
80863         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80864         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80865         pltexit.
80867 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80869         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80870         and CLOCK_BOOTTIME_ALARM.
80872         [BZ #12782]
80873         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80874         is returned.
80876         * string/_strerror.c (__strerror_r): Print negative errors as signed
80877         numbers.
80879         [BZ #12777]
80880         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80881         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80882         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80884         * configure.in: Fix typo in redirection and correct removal of test
80885         files in two cases.
80887         [BZ #12788]
80888         * locale/setlocale.c (new_composite_name): Fix test to check for
80889         identical name of all categories.
80891         [BZ #12792]
80892         * libio/filedoalloc.c (local_isatty): New function.
80893         (_IO_file_doallocate): Use local_isatty.
80894         * stdio-common/perror.c (perror): In case a new stream is used
80895         forward the stream error.
80896         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80897         error flag.
80899 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80901         [BZ #11884]
80902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80903         alloca.
80904         * include/alloca.h (extend_alloca_account): Define.
80906         [BZ #11857]
80907         * posix/regex.h: Fix comments with documentation of user-accessible
80908         fields after compilation and describe correct free'ing of pattern
80909         after re_compile_pattern.
80910         Patch by Reuben Thomas <rrt@sc3d.org>.
80912 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80914         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80915         and -mno-altivec to prevent the compiler from using Altivec and/or
80916         VSX instructions when the corresponding registers are not available.
80918 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80920         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80922 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80924         * libio/freopen.c (freopen): Use __dup2, not dup2.
80925         * libio/freopen64.c (freopen64): Likewise.
80927 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80929         [BZ #12775]
80930         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80931         * math/Makefile (tests): Add test-powl.
80932         (CFLAGS-test-powl.c): Define.
80933         * math/test-powl.c: New file.
80935 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80937         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80939 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80941         [BZ #11837]
80942         * iconvdata/gb18030.c: Update to GB18020-2005.
80944 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80946         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80947         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80948         Patch by Aharon Robbins <arnold@skeeve.com>.
80950         [BZ #11892]
80951         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80952         on the stack.
80954         [BZ #11895]
80955         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80956         through underflows.
80958         [BZ #12766]
80959         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80960         point to strings before performing equality test for error_one_per_line
80961         mode.
80963         [BZ #11697]
80964         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80966         [BZ #11820]
80967         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80968         (struct user_fpregs_struct): Avoid __uint*_t types.
80970         [BZ #6420]
80971         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80972         symbol info.  Use it instead of calling _dl_addr locally.
80973         (lock_and_info): New function.
80974         (tr_freehook): Call lock_and_info and pass symbol info as additional
80975         parameter to tr_where.
80976         (tr_mallochook): Likewise.
80977         (tr_reallochook): Likewise.
80978         (tr_memalignhook): Likewise.
80980         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80981         used and couldn't be at all thread-safe.
80983 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80985         * libio/freopen.c (freopen): Don't close old file descriptor
80986         before the new one is opened.  Instead dup the new file descriptor
80987         to the old one after the new stream is created.
80988         * libio/freopen64.c (freopen64): Likewise.
80989         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80990         * libio/fileops.c (_IO_new_file_close_it): Handle new
80991         _IO_FLAGS2_NOCLOSE flag.
80992         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80993         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80994         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80995         _IO_FLAGS2_NOCLOSE flag.
80996         * include/unistd.h: Add hidden_proto for dup3.
80997         Define __have_dup3.
80998         * io/dup3.c: Define hidden symbol.
80999         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81001         [BZ #7101]
81002         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81003         when an incomplete long option is used.
81004         * posix/tst-getopt_long1.c: New file.
81005         * posix/Makefile (tests): Add tst-getopt_long1.
81007         [BZ #10138]
81008         * scripts/config.guess: Update from autoconf-2.68.
81009         * scripts/config.sub: Likewise.
81011         [BZ #10157]
81012         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81013         tests into ...
81014         (has_cpuclock): ...this.  New function.
81015         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81016         macro here based on has_cpuclock code.
81018         [BZ #10149]
81019         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81020         First byte (not low byte) is now always NUL.
81021         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81024         Use non-cancelable interfaces.
81026         [BZ #9809]
81027         * locale/iso-639.def: Add entry for Sorani.
81029         [BZ #11901]
81030         * include/stdlib.h: Move include protection to the right place.
81031         Define abort_msg_s.  Declare __abort_msg with it.
81032         * stdlib/abort.c (__abort_msg): Adjust type.
81033         * assert/assert.c (__assert_fail_base): New function.  Majority
81034         of code from __assert_fail.  Allocate memory for __abort_msg with
81035         mmap.
81036         (__assert_fail): Now call __assert_fail_base.
81037         * assert/assert-perr.c: Remove bulk of implementation.  Use
81038         __assert_fail_base.
81039         * include/assert.hL Declare __assert_fail_base.
81040         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81041         mmap.
81042         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81044 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81046         [BZ #11952]
81047         [BZ #12453]
81048         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81049         until all modules are registered in the DTV.
81050         * elf/Makefile: Add rules to build and run tst-tls19.
81051         * elf/tst-tls19.c: New file.
81052         * elf/tst-tls19mod1.c: New file.
81053         * elf/tst-tls19mod2.c: New file.
81054         * elf/tst-tls19mod3.c: New file.
81055         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81057         [BZ #12083]
81058         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81059         correctly.
81061         [BZ #12601]
81062         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81063         two-byte sequence errors.
81064         * iconvdata/Makefile (tests): Add bug-iconv8.
81065         * iconvdata/bug-iconv8.c: New file.
81067         [BZ #12626]
81068         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81069         buf2 definition.
81071         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81073         [BZ #12432]
81074         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81075         (dummy_getcfa): New function.
81076         (init): Get _Unwind_GetCFA address, use dummy if not found.
81077         (backtrace_helper): In recursion check, also check whether CFA changes.
81078         (__backtrace): Completely initialize arg.
81080         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81081         storing incomplete byte sequence in state object.  Avoid testing for
81082         guaranteed too small input if we know there is enough data available.
81084 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81086         * Makeconfig (+link-pie): Indent.
81087         * Rules (binaries-pie): Define if $(have-fpie) and
81088         $(build-shared).
81089         (binaries-shared): Also filter out $(binaries-pie).
81090         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81091         * nscd/Makefile (others-pie): Add nscd.
81092         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81093         ($(objpfx)nscd): Remove command override.
81094         * login/Makefile (others-pie): Add pt_chown.
81095         ($(objpfx)pt_chown): Remove command override.
81096         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81097         remove command overrides.
81099 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81101         * libio/tst_putwc.c: Fix error messages.
81103         [BZ #12724]
81104         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81105         currently writing and seek to current position when not.
81106         * libio/Makefile (tests): Add bug-fclose1.
81107         * libio/bug-fclose1.c: New file.
81109 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81111         [BZ #12511]
81112         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81113         don't set DF_1_NODELETE here.
81114         (do_lookup_x): When entering new entry test for copy relocation
81115         and if necessary set DF_1_NODELETE flag.
81116         * elf/tst-unique4.cc: New file.
81117         * elf/tst-unique4.h: New file.
81118         * elf/tst-unique4lib.cc: New file.
81119         * elf/Makefile: Add rules to build and run tst-unique4.
81120         Patch by Piotr Bury <pbury@goahead.com>.
81122 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81124         [BZ #12052]
81125         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81127         [BZ #12625]
81128         * misc/mntent_r.c (addmntent): Flush the stream after the output
81130         [BZ #12393]
81131         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81132         (is_trusted_path_normalize): Skip initial colon.  Append slash
81133         to empty buffer.  Duplicate is_trusted_path code but allow
81134         constructed patch to be prefix.
81135         (is_dst): Allow $ORIGIN followed by /.
81136         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81137         Correct testing of result of is_trusted_path_normalize
81138         (decompose_rpath): Fix warning.
81140 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81142         [BZ #11257]
81143         * grp/initgroups.c (internal_getgrouplist): When we found the service
81144         list through the initgroups entry in nsswitch.conf do not always
81145         continue on a successful lookup.  Don't always use the
81146         __nss_group_database value if it is set.
81147         * nss/nsswitch.conf (initgroups): Change action for successful db
81148         lookup to continue for compatibility.
81150 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81152         [BZ #11532]
81153         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81154         and CP774 modules.
81155         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81156         and CP774 modules.
81157         * iconvdata/tst-tables.sh: Likewise.
81158         * iconvdata/cp770.c: New file.
81159         * iconvdata/cp771.c: New file.
81160         * iconvdata/cp772.c: New file.
81161         * iconvdata/cp773.c: New file.
81162         * iconvdata/cp774.c: New file.
81163         * iconvdata/testdata/CP770: New file.
81164         * iconvdata/testdata/CP770..UTF8: New file.
81165         * iconvdata/testdata/CP771: New file.
81166         * iconvdata/testdata/CP771..UTF8: New file.
81167         * iconvdata/testdata/CP772: New file.
81168         * iconvdata/testdata/CP772..UTF8: New file.
81169         * iconvdata/testdata/CP773: New file.
81170         * iconvdata/testdata/CP773..UTF8: New file.
81171         * iconvdata/testdata/CP774: New file.
81172         * iconvdata/testdata/CP774..UTF8: New file.
81174         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81175         END CHARMAP line.
81176         * iconvdata/gen-8bit-gap.sh: Likewise.
81177         * iconvdata/gen-8bit.sh: Likewise.
81179         * locale/iso-639.def: Add ary entry.
81181         [BZ #11258]
81182         * locale/C-translit.h.in: Add U20A1 transliteration.
81184         [BZ #12178]
81185         * locale/iso-639.def: Add wae entry.
81186         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81188         [BZ #12545]
81189         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81190         for n.
81192         [BZ #12711]
81193         * locale/C-translit.h.in: Add entry for U20B9.
81194         Patch by pravin.d.s@gmail.com.
81196 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81198         [BZ #12713]
81199         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81200         ENAMETOOLONG use generic getcwd.
81201         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81202         in rtld.  Use *stat64.
81203         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81204         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81205         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81206         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81207         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81208         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81209         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81210         __fstatat64 macros.
81211         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81212         * dirent/rewinddir.c: Add libc_hidden_def.
81213         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81214         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81216         * include/dirent.h (__alloc_dir): Add flags parameter.
81217         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81218         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81219         __alloc_dir.
81220         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81221         from fdopendir if O_CLOEXEC is already set.
81223 2011-03-15  Alan Modra  <amodra@gmail.com>
81225         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81226         l_tls_firstbyte_offset non-zero.  Save padding offset in
81227         l_tls_firstbyte_offset for later use.
81228         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81229         freeing static tls block.
81231 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81233         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81234         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81235         being defined by the kernel headers.
81237 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81239         [BZ #12734]
81240         * resolv/resolv.h: Define RES_NOTLDQUERY.
81241         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81242         no-tld-query and set RES_NOTLDQUERY.
81243         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81244         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81245         modern BIND to search name as TLD unless forbidden.
81247 2011-05-07  Petr Baudis  <pasky@suse.cz>
81248             Ulrich Drepper  <drepper@gmail.com>
81250         [BZ #12393]
81251         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81252         (is_trusted_path): ...to here.
81253         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81254         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81255         using is_trusted_path_normalize() in setuid scripts.
81257 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81259         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81260         __BEGIN/__END_DECLS.
81262 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81264         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81265         NSS_STATUS_NOTFOUND if no record was found.
81267 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81269         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81270         (headers-not-in-tirpc): Remove rpc/netdb.h
81271         * resolv/netdb.h: Revert last change.
81273 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81275         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81276         circular dependency between libgcc.a and libc.a.
81278 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81280         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81281         * nis/Makefile: Don't install rpcsvc/*.
81282         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81283         instead of <rpc/types.h>.
81284         (MAXHOSTNAMELEN): Define.
81286 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81288         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81290 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81292         [BZ #12714]
81293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81294         gethostbyname4_r when IPv6 results are possible.
81296 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81298         [BZ #12723]
81299         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81300         _PC_PIPE_BUF handling.
81302 2011-04-30  Bruno Haible  <bruno@clisp.org>
81304         [BZ #12717]
81305         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81306         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81307         to 'int'.
81308         * inet/getnameinfo.c (getnameinfo): Likewise.
81310 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81312         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81313         to groups setting in database lookup.
81314         * nss/nsswitch.conf: Add initgroups entry.
81316 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81318         [BZ #12685]
81319         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81320         mode string.
81321         Patch by Eric Blake <eblake@redhat.com>.
81323 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81325         * sunrpc/Makefile (need-export-routines): Add svc_run.
81326         (routines): Remove svc_run.
81327         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81328         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81329         * sunrpc/svc_run.c (svc_run): Likewise.
81330         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81332 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81334         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81335         problem in reallocation in last patch.
81337 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81339         * sunrpc/Makefile: Move inclusion of Rules.
81341 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81343         * nss/nss_files/files-initgroups.c: New file.
81344         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81345         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81346         _nss_files_initgroups_dyn.
81348 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81350         * elf/elf.h (R_ARM_IRELATIVE): Define.
81352 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81354         * po/ru.po: Update from translation team.
81356 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81358         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81359         dependencies.
81361 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81363         [BZ #12653]
81364         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81365         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81366         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81367         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81368         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81370 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81372         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81373         differing bytes.
81374         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81375         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81376         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81378 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81380         [BZ #12420]
81381         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81382         storing it.
81383         * stdlib/bug-getcontext.c: New file.
81384         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81386 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81388         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81389         instructions into .machine "z9-109".
81390         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81391         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81393 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81395         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81396         between environment variables and auxiliary vector.
81398 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81400         * Makefile: Add rules to build linkobj/libc.so.
81401         * include/libc-symbols.h: Define libc_hidden_nolink.
81402         * include/rpc/auth.h: Mark functions which are to be hidden.
81403         * include/rpc/auth_des.h: Likewise.
81404         * include/rpc/auth_unix.h: Likewise.
81405         * include/rpc/clnt.h: Likewise.
81406         * include/rpc/des_crypt.h: Likewise.
81407         * include/rpc/key_prot.h: Likewise.
81408         * include/rpc/pmap_clnt.h: Likewise.
81409         * include/rpc/pmap_prot.h: Likewise.
81410         * include/rpc/pmap_rmt.h: Likewise.
81411         * include/rpc/rpc_msg.h: Likewise.
81412         * include/rpc/svc.h: Likewise.
81413         * include/rpc/svc_auth.h: Likewise.
81414         * include/rpc/xdr.h: Likewise.
81415         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81416         * nss/Makefile: Likewise.
81417         * sunrpc/Makefile: Don't install headers.  Build library with normal
81418         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81419         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81420         for the compat linking library.  Remove use of INTDEF/INTUSE.
81421         * sunrpc/auth_none.c: Likewise.
81422         * sunrpc/auth_unix.c: Likewise.
81423         * sunrpc/authdes_prot.c: Likewise.
81424         * sunrpc/authuxprot.c: Likewise.
81425         * sunrpc/clnt_gen.c: Likewise.
81426         * sunrpc/clnt_perr.c: Likewise.
81427         * sunrpc/clnt_raw.c: Likewise.
81428         * sunrpc/clnt_simp.c: Likewise.
81429         * sunrpc/clnt_tcp.c: Likewise.
81430         * sunrpc/clnt_udp.c: Likewise.
81431         * sunrpc/clnt_unix.c: Likewise.
81432         * sunrpc/des_crypt.c: Likewise.
81433         * sunrpc/des_soft.c: Likewise.
81434         * sunrpc/get_myaddr.c: Likewise.
81435         * sunrpc/key_call.c: Likewise.
81436         * sunrpc/key_prot.c: Likewise.
81437         * sunrpc/netname.c: Likewise.
81438         * sunrpc/pm_getmaps.c: Likewise.
81439         * sunrpc/pm_getport.c: Likewise.
81440         * sunrpc/pmap_clnt.c: Likewise.
81441         * sunrpc/pmap_prot.c: Likewise.
81442         * sunrpc/pmap_prot2.c: Likewise.
81443         * sunrpc/pmap_rmt.c: Likewise.
81444         * sunrpc/publickey.c: Likewise.
81445         * sunrpc/rpc_cmsg.c: Likewise.
81446         * sunrpc/rpc_common.c: Likewise.
81447         * sunrpc/rpc_dtable.c: Likewise.
81448         * sunrpc/rpc_prot.c: Likewise.
81449         * sunrpc/rpc_thread.c: Likewise.
81450         * sunrpc/rtime.c: Likewise.
81451         * sunrpc/svc.c: Likewise.
81452         * sunrpc/svc_auth.c: Likewise.
81453         * sunrpc/svc_authux.c: Likewise.
81454         * sunrpc/svc_raw.c: Likewise.
81455         * sunrpc/svc_run.c: Likewise.
81456         * sunrpc/svc_simple.c: Likewise.
81457         * sunrpc/svc_tcp.c: Likewise.
81458         * sunrpc/svc_udp.c: Likewise.
81459         * sunrpc/svc_unix.c: Likewise.
81460         * sunrpc/svcauth_des.c: Likewise.
81461         * sunrpc/xcrypt.c: Likewise.
81462         * sunrpc/xdr.c: Likewise.
81463         * sunrpc/xdr_array.c: Likewise.
81464         * sunrpc/xdr_float.c: Likewise.
81465         * sunrpc/xdr_intXX_t.c: Likewise.
81466         * sunrpc/xdr_mem.c: Likewise.
81467         * sunrpc/xdr_rec.c: Likewise.
81468         * sunrpc/xdr_ref.c: Likewise.
81469         * sunrpc/xdr_sizeof.c: Likewise.
81470         * sunrpc/xdr_stdio.c: Likewise.
81472 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81474         [BZ #12650]
81475         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81476         * sysdeps/ia64/dl-tls.h: Likewise.
81477         * sysdeps/powerpc/dl-tls.h: Likewise.
81478         * sysdeps/s390/dl-tls.h: Likewise.
81479         * sysdeps/sh/dl-tls.h: Likewise.
81480         * sysdeps/sparc/dl-tls.h: Likewise.
81481         * sysdeps/x86_64/dl-tls.h: Likewise.
81482         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81484 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81486         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81487         rpath element also skip the following colon.
81488         (expand_dynamic_string_token): Add is_path parameter and pass
81489         down to DL_DST_REQUIRED and _dl_dst_substitute.
81490         (decompose_rpath): Call expand_dynamic_string_token with
81491         non-zero is_path.  Ignore empty rpaths.
81492         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81493         with zero is_path.
81495 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81498         Make cancelable.
81500 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81502         [BZ #12655]
81503         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81504         Patch by Filipe David Manana <fdmanana@apache.org>.
81506 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81509         Maintain aligned stack.
81510         (CHECK_RSP): Remove unused macro.
81512 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81514         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81515         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81517 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81519         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81521         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81523 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81525         [BZ #12518]
81526         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81527         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81528         * sysdeps/x86_64/memmove.c: New file.
81529         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81530         (memcpy): Renamed to ...
81531         (__new_memcpy): This.
81532         (memcpy): Provide GLIBC_2_14 memcpy.
81533         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81534         (memcpy): Provide GLIBC_2_2_5 memcpy.
81536 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81538         [BZ #12631]
81539         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81541 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81543         * misc/syncfs.c: New file.
81544         * misc/Makefile (routines): Add syncfs.
81545         * posix/unistd.h: Declare syncfs.
81546         * sysdeps/unix/syscalls.list: Add syncfs.
81548 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81550         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81551         open_by_handle_at.
81552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81553         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81554         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81555         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81556         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81557         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81558         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81560 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81562         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81563         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81564         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81565         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81566         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81570         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81571         sync_file_range.c with -fexceptions.
81572         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81573         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81574         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81575         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81576         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81577         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81579         sync_file_range as cancellation point
81580         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81581         now a wrapper around __call_sync_file_range with cancellation handling.
81582         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81583         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81584         function name to __call_sync_file_range.
81585         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81586         Add call_sync_file_range.
81588 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81591         bits/timex.h.
81593 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81595         * iconv/iconv.h: Fix typo in comment.
81596         * io/fcntl.h: Likewise.
81597         * libio/stdio.h: Likewise.
81598         * posix/spawn.h: Likewise.
81599         * posix/unistd.h: Likewise.
81600         * stdlib/stdlib.h: Likewise.
81601         * time/time.h: Likewise.
81602         * wcsmbs/wchar.h: Likewise.
81604         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81605         open_by_handle): Add.
81606         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81607         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81608         Augment a few comments.
81609         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81611         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81613         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81614         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81615         open_by_handle.
81617         * io/fcntl.h (AT_EMPTY_PATH): Define.
81619 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81621         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81622         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81623         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81624         to...
81625         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81626         * Versions.def: Add GLIBC_2.14.
81627         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81628         Export.
81630 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81632         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81633         round counter.
81634         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81636 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81638         [BZ #12597]
81639         * string/test-strncmp.c (do_page_test): New function.
81640         (check2): Likewise.
81641         (test_main): Call check2.
81642         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81644 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81646         [BZ #12587]
81647         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81648         Handle cache information in CPU leaf 4.
81649         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81651 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81653         [BZ #12583]
81654         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81655         character representation.
81656         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81658 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81660         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81661         END(__isnan) to END(__isnanf) to match function entry point/label
81662         EALIGN(__isnanf,...).
81664 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81666         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81668 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81670         [BZ #12510]
81671         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81672         copy from the symbol referenced in the relocation to initialize the
81673         used variable.
81674         Patch by Piotr Bury <pbury@goahead.com>.
81675         * elf/Makefile: Add rules to build and tst-unique3.
81676         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81677         * elf/tst-unique3.cc: New file.
81678         * elf/tst-unique3.h: New file.
81679         * elf/tst-unique3lib.cc: New file.
81680         * elf/tst-unique3lib2.cc: New file.
81682         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81684 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81686         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81687         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81688         to _start.
81690 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81692         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81693         to-be-loaded object along a path to loader is ld.so.
81695 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81696             Ulrich Drepper  <drepper@gmail.com>
81698         * sysdeps/x86_64/memset.S: After aligning destination, code
81699         branches to different locations depending on the value of
81700         misalignment, when multiarch is enabled. Fix this.
81702 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81704         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81705         Set _x86_64_preferred_memory_instruction for AMD processsors.
81706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81707         Set bit_Prefer_SSE_for_memop for AMD processors.
81709 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81711         * libio/fmemopen.c (fmemopen): Optimize a bit.
81713 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81715         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81717 2011-03-03  Roland McGrath  <roland@redhat.com>
81719         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81721 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81723         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81724         __bzero_ultra1 instead of __memset_ultra1.
81726 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81727             Ulrich Drepper  <drepper@gmail.com>
81729         [BZ #12509]
81730         * include/link.h (struct link_map): Add l_orig_initfini.
81731         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81732         returning unsuccessfully.
81733         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81734         close of a file loaded at startup, restore the original l_initfini
81735         list.
81736         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81737         list, store the pointer.
81738         * elf/Makefile ($(objpfx)noload-mem): New rule.
81739         (noload-ENV): Define.
81740         (tests): Add $(objpfx)noload-mem.
81741         * elf/noload.c: Include <memcheck.h>.
81742         (main): Call mtrace.  Close all opened handles.
81744 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81746         [BZ #12454]
81747         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81748         dependencies are missing.
81750 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81752         Fix __if_freereq crash: Unlike the generic version which uses free,
81753         Hurd needs munmap.
81754         * sysdeps/mach/hurd/ifreq.h: New file.
81756 2011-01-27  Petr Baudis  <pasky@suse.cz>
81757             Ulrich Drepper  <drepper@gmail.com>
81759         [BZ 12445]#
81760         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81761         to extend_alloca().
81762         * stdio-common/bug23.c: New file.
81763         * stdio-common/Makefile (tests): Add bug23.
81765 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81766             Ulrich Drepper  <drepper@gmail.com>
81768         [BZ #12489]
81769         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81770         before performing relro protection.  At old place add assertion
81771         to make sure nothing changed.
81773 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81774             Glauber de Oliveira Costa  <glommer@gmail.com>
81776         * elf/elf.h: Add new ARM TLS relocs.
81778 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81781         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81782         cast from r3.
81783         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81784         'tests' variable.
81785         * sysdeps/wordsize-64/tst-writev.c: New file.
81787 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81789         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81790         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81791         insns in _dl_start to prevent a TOC reference before relocs are
81792         resolved.
81794 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81796         [BZ #12469]
81797         * Makeconfig: Remove RANLIB definition.
81798         * Makerules: Don't use RANLIB.
81799         * aclocal.m4: Remove ranlib test.
81800         * configure.in: No need to check for ranlib.
81801         * elf/rtld-Rules: Don't use RANLIB.
81803 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81805         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81806         protection macro.
81807         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81808         inclusion protection macro.
81810         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81811         SIGRTMIN and SIGRTMAX and print information in that case only when
81812         SIGRTMIN is defined.
81814 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81816         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81817         arginfo fn returning -1.
81819         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81820         and thousands string is zero terminated.
81822 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81824         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81825         sysdeps/unix/sysv/linux/bits/socket.h.
81827 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81829         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81830         (__CPU_COUNT): Remove old macros.
81831         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81832         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81833         (__CPU_ALLOC, __CPU_FREE): Add macros.
81834         (__sched_cpualloc, __sched_cpufree): Add declarations.
81836 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81838         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81839         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81840         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81841         (readdhstai): Return value of addhstaiX call.
81842         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81843         (addgrbyX): Return value returned by cache_addgr.
81844         (readdgrbyname): Return value returned by addgrbyX.
81845         (readdgrbygid): Likewise.
81846         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81847         (addpwbyX): Return value returned by cache_addpw.
81848         (readdpwbyname): Return value returned by addhstbyX.
81849         (readdpwbyuid): Likewise.
81850         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81851         (addservbyX): Return value returned by cache_addserv.
81852         (readdservbyname): Return value returned by addservbyX:
81853         (readdservbyport): Likewise.
81854         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81855         (addhstbyX): Return value returned by cache_addhst.
81856         (readdhstbyname): Return value returned by addhstbyX.
81857         (readdhstbyaddr): Likewise.
81858         (readdhstbynamev6): Likewise.
81859         (readdhstbyaddrv6): Likewise.
81860         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81861         (readdinitgroups): Return value returned by addinitgroupsX.
81862         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81863         (prune_cache): Keep track of timeout value of re-added entries.
81864         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81865         * nscd/nscd.h: Adjust prototypes of readd* functions.
81867 2011-02-04  Roland McGrath  <roland@redhat.com>
81869         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81870         (nis_stats): Likewise.
81871         * nis/nis_modify.c (nis_modify): Likewise.
81872         * nis/nis_remove.c (nis_remove): Likewise.
81873         * nis/nis_add.c (nis_add): Likewise.
81875         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81877         * posix/fnmatch_loop.c: Add some consts.
81879         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81881 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81883         [BZ #12460]
81884         * config.make.in (config-cflags-novzeroupper): Define.
81885         * configure.in: Substitute libc_cv_cc_novzeroupper.
81886         * elf/Makefile (AVX-CFLAGS): Define.
81887         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81888         (CFLAGS-tst-auditmod4a.c): Likewise.
81889         (CFLAGS-tst-auditmod4b.c): Likewise.
81890         (CFLAGS-tst-auditmod6b.c): Likewise.
81891         (CFLAGS-tst-auditmod6c.c): Likewise.
81892         (CFLAGS-tst-auditmod7b.c): Likewise.
81893         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81895 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81897         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81898         function to the callback.
81899         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81901 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81903         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81904         of errno.
81906 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81908         [BZ #11724]
81909         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81910         of constructors.
81911         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81912         of destructors.
81913         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81915         [BZ #11724]
81916         * elf/Makefile: Add rules to build and run new test.
81917         * elf/tst-initorder.c: New file.
81918         * elf/tst-initorder.exp: New file.
81919         * elf/tst-initordera1.c: New file.
81920         * elf/tst-initordera2.c: New file.
81921         * elf/tst-initordera3.c: New file.
81922         * elf/tst-initordera4.c: New file.
81923         * elf/tst-initorderb1.c: New file.
81924         * elf/tst-initorderb2.c: New file.
81925         * elf/tst-order-a1.c: New file.
81926         * elf/tst-order-a2.c: New file.
81927         * elf/tst-order-a3.c: New file.
81928         * elf/tst-order-a4.c: New file.
81929         * elf/tst-order-b1.c: New file.
81930         * elf/tst-order-b2.c: New file.
81931         * elf/tst-order-main.c: New file.
81932         New test case by George Gensure <werkt0@gmail.com>.
81934 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81937         decoding ACE if AI_CANONIDN.
81939 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81941         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81943 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81945         * version.h (RELEASE): Bump for 2.13 release.
81946         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81948         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81950         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81951         MADV_NOHUGEPAGE.
81952         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81953         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81954         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81955         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81956         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81957         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81959         * posix/getconf.c: Update copyright year.
81960         * catgets/gencat.c: Likewise.
81961         * csu/version.c: Likewise.
81962         * debug/catchsegv.sh: Likewise.
81963         * debug/xtrace.sh: Likewise.
81964         * elf/ldconfig.c: Likewise.
81965         * elf/ldd.bash.in: Likewise.
81966         * elf/sprof.c (print_version): Likewise.
81967         * iconv/iconv_prog.c: Likewise.
81968         * iconv/iconvconfig.c: Likewise.
81969         * locale/programs/locale.c: Likewise.
81970         * locale/programs/localedef.c: Likewise.
81971         * malloc/memusage.sh: Likewise.
81972         * malloc/mtrace.pl: Likewise.
81973         * nscd/nscd.c (print_version): Likewise.
81974         * nss/getent.c: Likewise.
81976         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81977         PF_CAIF, and PF_ALG.
81978         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81980 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81982         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81983         (modules-names): Use them.
81984         (ifunc-test-modules, ifunc-pie-tests): Define.
81985         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81986         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81987         (test-extras): Likewise.
81988         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81989         $(compile-command.c).
81990         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81991         (all-built-dso): Define.
81992         (check-textrel.out, check-execstack.out): Depend on it.
81994         * configure.in: Don't override --enable-multi-arch.
81996 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81998         [BZ #6812]
81999         * nscd/hstcache.c (tryagain): Define.
82000         (cache_addhst): Return tryagain not notfound for temporary errors.
82001         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82002         failed.
82004 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82006         [BZ #10563]
82007         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82008         to make the syscall.
82009         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82011         [BZ #12378]
82012         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82013         and fall back to matching as normal character if the string ends before
82014         the matching ']' is found.  This is what POSIX requires.
82015         * posix/testfnm.c: Adjust test result.
82016         * posix/globtest.sh: Adjust test result.  Add new test.
82017         * posix/tst-fnmatch.input: Likewise.
82018         * posix/tst-fnmatch2.c: Add new test.
82020 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82022         * elf/Makefile (check-execstack): Revert last change.  Depend on
82023         check-execstack.h.
82024         (check-execstack.h): New target.
82025         (generated): Add check-execstack.h.
82026         * elf/check-execstack.c: Include "check-execstack.h".
82027         (main): Revert last change.
82028         (handle_file): Return zero if GNU_STACK is absent and
82029         DEFAULT_STACK_PERMS doesn't include PF_X.
82031 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82033         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82034         in child fails because the descriptor is already closed.
82035         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82036         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82037         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82039         [BZ #12397]
82040         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82041         syscall.
82043         [BZ #10484]
82044         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82045         temporary buffer used to handle multi lookups locally.
82046         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82048 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82050         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82051         loader is ld.so.
82053 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82055         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82056         alignment for SSE2.
82058 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82060         [BZ #12394]
82061         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82062         characters.  When rounding increased number of integer digits recompute
82063         number of groups.
82064         * stdio-common/tst-grouping.c: New file.
82065         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82067 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82069         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82070         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82072         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82073         void.
82074         * bits/select.h: Likewise.
82076 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82078         * po/ja.po: Update from translation team.
82080 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82082         [BZ #11155]
82083         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82084         implementation just like for lxstat, fxstatat, et al.
82086 2010-12-27  Jim Meyering  <meyering@redhat.com>
82088         [BZ #12348]
82089         * posix/regexec.c (build_trtable): Return failure indication upon
82090         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82092 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82094         [BZ #12201]
82095         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82096         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82097         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82098         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82100         [BZ #12207]
82101         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82103         [BZ #12204]
82104         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82105         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82107 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82109         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82110         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82111         script has SORT_BY_INIT_PRIORITY.
82112         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82113         NO_CTORS_DTORS_SECTIONS is defined.
82114         * elf/soinit.c: Likewise.
82115         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82116         NO_CTORS_DTORS_SECTIONS is defined.
82117         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82118         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82119         * sysdeps/sh/init-first.c: Likewise.
82120         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82122 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82124         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82125         always use the slow path.
82127 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82129         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82130         similar rule which adds the sysdep directories to the header search in
82131         order to pick up the correct platform stackinfo.h.
82132         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82133         perform test if it is, otherwise return successfully without testing.
82134         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82135         DEFAULT_STACK_PERMS define in stackinfo.h.
82136         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82137         defined in stackinfo.h.
82138         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82139         DEFAULT_STACK_PERMS defined in stackinfo.h.
82140         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82141         * sysdeps/ia64/stackinfo.h: Likewise.
82142         * sysdeps/s390/stackinfo.h: Likewise.
82143         * sysdeps/sh/stackinfo.h: Likewise.
82144         * sysdeps/sparc/stackinfo.h: Likewise.
82145         * sysdeps/x86_64/stackinfo.h: Likewise.
82146         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82147         PF_X for powerpc64.  Retain PF_X for powerpc32.
82149 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82151         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82152         accurately.
82153         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82154         GETDENTS_64BIT_ALIGNED.
82156 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82158         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82160 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82162         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82163         _GNU_SOURCE.
82165         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82166         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82167         Remove __restrict.
82168         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82169         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82171 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82173         [BZ #11655]
82174         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82175         are initialized.
82177 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82179         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82181 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82183         * po/it.po: Update from translation team.
82185 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82187         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82188         unused codes.
82190 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82192         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82194 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82196         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82197         specially.
82198         (gaih_getanswer_slice): Likewise.
82200 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82204 2010-05-31  Petr Baudis  <pasky@suse.cz>
82206         [BZ #11149]
82207         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82208         silently even in the chroot mode.
82210 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82212         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82213         last patch a bit.  Pretty printing
82215 2010-05-31  Petr Baudis <pasky@suse.cz>
82217         [BZ #10085]
82218         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82219         initialization of skip_initgroups_dyn.
82221 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82223         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82224         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82226 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82228         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82230 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82232         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82233         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82234         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82235         ($(objpfx)tst-fnmatch-mem): New rule.
82236         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82237         * posix/tst-fnmatch.c (main): Call mtrace.
82239 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82242         Support Intel processor model 6 and model 0x2c.
82244 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82246         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82247           signed comparison.
82249 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82251         [BZ #12205]
82252         * string/test-strncasecmp.c (check_result): New function.
82253         (do_one_test): Use it.
82254         (check1): New function.
82255         (test_main): Use it.
82256         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82257         Support strcasecmp and strncasecmp.
82259 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82261         [BZ #12194]
82262         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82263         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82265 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82267         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82268         IFUNC support.
82269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82270         memset-x86-64.
82271         * sysdeps/x86_64/multiarch/bzero.S: New file.
82272         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82273         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82274         * sysdeps/x86_64/multiarch/memset.S: New file.
82275         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82277         Set bit_Prefer_SSE_for_memop for Intel processors.
82278         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82279         Define.
82280         (index_Prefer_SSE_for_memop): Define.
82281         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82283 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82285         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82286         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82288 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82290         [BZ #12191]
82291         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82292         (__x86_64_raw_data_cache_size_half): Likewise.
82293         (__x86_64_raw_shared_cache_size): Likewise.
82294         (__x86_64_raw_shared_cache_size_half): Likewise.
82296         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82297         (__x86_64_raw_data_cache_size_half): Likewise.
82298         (__x86_64_raw_shared_cache_size): Likewise.
82299         (__x86_64_raw_shared_cache_size_half): Likewise.
82300         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82301         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82302         and __x86_64_raw_shared_cache_size_half.  Round
82303         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82304         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82305         to multiple of 256 bytes.
82307 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82309         [BZ #12167]
82310         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82311         of inacessible symlinks.  Verify result of symlink before returning it.
82312         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82313         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82315 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82317         * math/math.h (isinf): Fix typo in comment.
82319 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82321         * po/da.po: Update from translation team.
82323 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82325         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82326         is added to the list.
82328 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82329             Ulrich Drepper  <drepper@gmail.com>
82331         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82332         the global list here.  Move code to...
82333         (_dl_add_to_namespace_list): ...here.  New function.
82334         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82335         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82336         * elf/dl-load.c (lose): Don't remove the element from the list.
82337         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82338         (_dl_map_object): Likewise.
82340 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82342         [BZ #12159]
82343         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82344         into all bytes of SSE register.
82345         Patch by Richard Li <richardpku@gmail.com>.
82347 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82349         [BZ #12140]
82350         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82351         perturbing.
82353 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82355         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82356         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82357         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82358         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82360         submachine.
82361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82363 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82365         * include/dlfcn.h (__RTLD_SECURE): Define.
82366         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82367         mode & __RTLD_SECURE instead.
82368         (open_path): Rename preloaded parameter to secure.
82369         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82370         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82371         * elf/dl-deps.c (openaux): Likewise.
82372         * elf/rtld.c (struct map_args): Remove is_preloaded.
82373         (map_doit): Don't use it.
82374         (dl_main): Likewise.
82375         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82376         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82378 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82380         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82381         (sysd-rules-targets): Remove duplicates.
82382         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82383         rtld-%.$o dependency.
82385 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82387         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82388         _dl_map_object do it.
82390 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82392         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82393         fast fma builtins, define the macros in the C99 standard.
82394         (FP_FAST_FMAF): Likewise.
82395         (FP_FAST_FMAL): Likewise.
82396         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82398         * bits/mathdef.h: Update copyright year.
82399         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82401 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82403         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82404         builtins, define the macros in the C99 standard.
82405         (FP_FAST_FMAF): Likewise.
82406         (FP_FAST_FMAL): Likewise.
82407         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82408         multiply/add.
82409         (FP_FAST_FMAF): Likewise.
82411 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82413         [BZ #3268]
82414         * math/libm-test.inc (fma_test): Some new testcases.
82415         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82416         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82417         y and infinite z.  Do multiplication by C already in long double.
82418         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82420         y and infinite z.  Do bitwise or of inexact bit into u.d.
82421         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82422         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82423         * sysdeps/i386/fpu/s_fma.S: Removed.
82424         * sysdeps/i386/fpu/s_fmal.S: Removed.
82426 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82428         [BZ #3268]
82429         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82431         computation is not scheduled after fetestexcept.  Fix value
82432         of minimum denormal long double.
82434 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82436         [BZ #3268]
82437         * math/libm-test.inc (fma_test): Add some more tests.
82438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82439         correctly.
82441 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82443         * scripts/data/localplt-s390-linux-gnu.data: New file.
82444         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82446 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82448         [BZ #3268]
82449         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82450         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82451         instead of dbl-64.
82452         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82453         inlines.
82454         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82456         if one of x and y is very large and the other is subnormal.
82457         * sysdeps/s390/fpu/s_fmaf.c: New file.
82458         * sysdeps/s390/fpu/s_fma.c: New file.
82459         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82460         * sysdeps/powerpc/fpu/s_fma.S: New file.
82461         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82462         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82463         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82465 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82467         [BZ #3268]
82468         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82469         fma tests.
82470         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82471         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82472         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82473         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82474         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82475         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82476         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82478 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82480         [BZ #12078]
82481         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82482         * posix/bug-regex31.input: Add test case.
82484 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82486         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82487         * posix/bug-regex31.input: New file.
82489         [BZ #12078]
82490         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82491         (parse_sub_exp): Fix last change, use postorder.
82493         * posix/bug-regex31.c: New file.
82494         * posix/Makefile: Add rules to build and run bug-regex31.
82496         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82498         [BZ #12078]
82499         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82501         [BZ #12108]
82502         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82503         to have entries in sys_siglist.
82505         [BZ #12093]
82506         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82507         be NULL.
82509 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82511         [BZ #3268]
82512         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82513         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82514         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82515         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82516         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82517         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82518         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82519         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82520         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82521         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82522         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82523         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82524         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82525         * math/ftestexcept.c (fetestexcept): Likewise.
82526         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82527         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82528         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82529         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82530         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82531         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82532         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82534 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82536         [BZ #12107]
82537         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82538         newline.
82540 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82542         * string/bug-strstr1.c: New file.
82543         * string/Makefile: Add rules to build and run bug-strstr1.
82545 2010-10-05  Eric Blake  <eblake@redhat.com>
82547         [BZ #12092]
82548         * string/str-two-way.h (two_way_long_needle): Always clear memory
82549         when skipping input due to the shift table.
82551 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82553         [BZ #12005]
82554         * malloc/mcheck.c: Handle large requests.
82556         [BZ #12077]
82557         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82558         for strncmp and strncasecmp.
82559         * string/stratcliff.c: Add tests for strcmp and strncmp.
82560         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82562 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82564         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82565         __set_fpscr.
82567 2010-09-30  Andreas Jaeger  <aj@suse.de>
82569         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82570         (CGROUP_SUPER_MAGIC): Define.
82571         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82572         Handle btrfs and cgroup file systems.
82573         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82574         Likewise.
82576 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82578         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82579         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82581 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82583         [BZ #12067]
82584         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82585         trying to locate the ELF header.
82587 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82589         [BZ #11611]
82590         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82591         Mask out sign-bit copies when constructing f_fsid.
82593 2010-09-24  Petr Baudis <pasky@suse.cz>
82595         * debug/stack_chk_fail_local.c: Add missing licence exception.
82596         * debug/warning-nop.c: Likewise.
82598 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82600         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82601         implementing getdents64 using getdents syscall, set d_type if
82602         __ASSUME_GETDENTS32_D_TYPE.
82604 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82606         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82607         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82609 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82611         [BZ #12037]
82612         * posix/unistd.h: Undo change of feature selection for ftruncate from
82613         2010-01-11.
82615 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82617         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82618         detection.
82620 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82622         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82623         fanotify_mark.
82624         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82626 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82628         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82629         variables after CHECK_SP call.
82630         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82632 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82633             Ulrich Drepper  <drepper@redhat.com>
82635         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82636         re-relocationg ld.so.
82637         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82638         _dl_init_paths call.
82639         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82640         here anymore.
82642 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82644         * resolv/res_init.c (__res_vinit): Count the default server we added.
82646 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82647             Ulrich Drepper  <drepper@redhat.com>
82649         [BZ #11968]
82650         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82651         (____longjmp_chk): Use %ebx for saving value across system call.
82652         Add unwind info.
82654 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82656         * manual/Makefile: Don't mix pattern rules with normal rules.
82658 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82660         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82661         operation.
82662         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82663         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82664         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82665         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82666         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82667         Likewise.
82669 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82671         [BZ #11979]
82672         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82673         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82675 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82677         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82678         * sysdeps/x86_64/addmul_1.S: Likewise.
82679         * sysdeps/x86_64/lshift.S: Likewise.
82680         * sysdeps/x86_64/mul_1.S: Likewise.
82681         * sysdeps/x86_64/rshift.S: Likewise.
82682         * sysdeps/x86_64/sub_n.S: Likewise.
82683         * sysdeps/x86_64/submul_1.S: Likewise.
82685 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82687         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82688         Define __sched_param instead of SCHED_* and sched_param when
82689         <bits/sched.h> is included with __need_schedparam defined.
82690         * bits/sched.h [__need_schedparam]
82691         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82692         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82693         (__defined_schedparam): Define to 1.
82694         (__sched_param): New structure, identical to sched_param.
82695         (__need_schedparam): Undefine.
82697 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82699         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82700         (epoll_create1): Declare.
82702         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82704 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82706         [BZ #7066]
82707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82708         shifting retval into place.
82710 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82712         * nis/rpcsvc/nis.h: Update copyright notice.
82713         * nis/rpcsvc/nis.x: Likewise.
82714         * nis/rpcsvc/nis_callback.h: Likewise.
82715         * nis/rpcsvc/nis_callback.x: Likewise.
82716         * nis/rpcsvc/nis_object.x: Likewise.
82717         * nis/rpcsvc/nis_tags.h: Likewise.
82718         * nis/rpcsvc/yp.h: Likewise.
82719         * nis/rpcsvc/yp.x: Likewise.
82720         * nis/rpcsvc/ypupd.h: Likewise.
82721         * nis/yp_xdr.c: Likewise.
82722         * nis/ypupdate_xdr.c: Likewise.
82724         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82725         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82726         (pmap_getport): Use __libc_rpc_getport.
82727         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82728         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82729         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82731 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82734         fanotify_mark.
82736 2010-08-27  Roland McGrath  <roland@redhat.com>
82738         * sysdeps/i386/i686/multiarch/Makefile
82739         (CFLAGS-varshift.c): New variable.
82741 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82743         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82744         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82746         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82748         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82750 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82752         * sysdeps/x86_64/strlen.S: Unroll the loop.
82753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82754         strlen-sse2 strlen-sse2-bsf.
82755         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82756         __strlen_no_bsf if bit_Slow_BSF is set.
82757         (__strlen_sse42): Removed.
82758         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82759         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82761 2010-08-25  Roland McGrath  <roland@redhat.com>
82763         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82764         * sysdeps/x86_64/multiarch/varshift.c: New file.
82765         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82766         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82767         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82768         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82770 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82773         strlen-sse2 strlen-sse2-bsf.
82774         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82775         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82776         (__strlen_sse2): Removed.
82777         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82778         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82780         bit_Slow_BSF for Atom.
82781         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82782         (index_Slow_BSF): Define.
82783         (HAS_SLOW_BSF): Define.
82785 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82787         [BZ #10851]
82788         * resolv/res_init.c (__res_vinit): When no server address at all
82789         is given default to loopback.
82791 2010-08-24  Roland McGrath  <roland@redhat.com>
82793         * configure.in: Remove config-name.h generation.
82794         * configure: Regenerated.
82795         * config-name.in: File removed.
82796         * scripts/config-uname.sh: New file.
82797         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82798         ($(objdir)config-name.h): New target.
82800         * sunrpc/rpc_parse.h: Avoid nested comment.
82802 2010-08-24  Richard Henderson  <rth@redhat.com>
82803             Ulrich Drepper  <drepper@redhat.com>
82804             H.J. Lu  <hongjiu.lu@intel.com>
82806         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82808         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82809         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82810         _mm_alignr_epi8 with _mm_loadu_si128.
82811         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82812         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82813         (__m128i_shift_right): Removed.
82814         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82815         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82816         * sysdeps/x86_64/multiarch/varshift.h: New file.
82817         * sysdeps/x86_64/multiarch/varshift.S: New file.
82819 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82821         * configure.in: Move assembler checks to before sysdep dir checking.
82823 2010-08-20  Petr Baudis  <pasky@suse.cz>
82825         * LICENSES: Sync the sunrpc license.
82827 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82829         * sunrpc/auth_des.c: Update copyright notice once again.
82830         * sunrpc/auth_none.c: Likewise.
82831         * sunrpc/auth_unix.c: Likewise.
82832         * sunrpc/authdes_prot.c: Likewise.
82833         * sunrpc/authuxprot.c: Likewise.
82834         * sunrpc/bindrsvprt.c: Likewise.
82835         * sunrpc/clnt_gen.c: Likewise.
82836         * sunrpc/clnt_perr.c: Likewise.
82837         * sunrpc/clnt_raw.c: Likewise.
82838         * sunrpc/clnt_simp.c: Likewise.
82839         * sunrpc/clnt_tcp.c: Likewise.
82840         * sunrpc/clnt_udp.c: Likewise.
82841         * sunrpc/clnt_unix.c: Likewise.
82842         * sunrpc/des_crypt.c: Likewise.
82843         * sunrpc/des_soft.c: Likewise.
82844         * sunrpc/get_myaddr.c: Likewise.
82845         * sunrpc/getrpcport.c: Likewise.
82846         * sunrpc/key_call.c: Likewise.
82847         * sunrpc/key_prot.c: Likewise.
82848         * sunrpc/openchild.c: Likewise.
82849         * sunrpc/pm_getmaps.c: Likewise.
82850         * sunrpc/pm_getport.c: Likewise.
82851         * sunrpc/pmap_clnt.c: Likewise.
82852         * sunrpc/pmap_prot.c: Likewise.
82853         * sunrpc/pmap_prot2.c: Likewise.
82854         * sunrpc/pmap_rmt.c: Likewise.
82855         * sunrpc/rpc/auth.h: Likewise.
82856         * sunrpc/rpc/auth_unix.h: Likewise.
82857         * sunrpc/rpc/clnt.h: Likewise.
82858         * sunrpc/rpc/des_crypt.h: Likewise.
82859         * sunrpc/rpc/key_prot.h: Likewise.
82860         * sunrpc/rpc/netdb.h: Likewise.
82861         * sunrpc/rpc/pmap_clnt.h: Likewise.
82862         * sunrpc/rpc/pmap_prot.h: Likewise.
82863         * sunrpc/rpc/pmap_rmt.h: Likewise.
82864         * sunrpc/rpc/rpc.h: Likewise.
82865         * sunrpc/rpc/rpc_des.h: Likewise.
82866         * sunrpc/rpc/rpc_msg.h: Likewise.
82867         * sunrpc/rpc/svc.h: Likewise.
82868         * sunrpc/rpc/svc_auth.h: Likewise.
82869         * sunrpc/rpc/types.h: Likewise.
82870         * sunrpc/rpc/xdr.h: Likewise.
82871         * sunrpc/rpc_clntout.c: Likewise.
82872         * sunrpc/rpc_cmsg.c: Likewise.
82873         * sunrpc/rpc_common.c: Likewise.
82874         * sunrpc/rpc_cout.c: Likewise.
82875         * sunrpc/rpc_dtable.c: Likewise.
82876         * sunrpc/rpc_hout.c: Likewise.
82877         * sunrpc/rpc_main.c: Likewise.
82878         * sunrpc/rpc_parse.c: Likewise.
82879         * sunrpc/rpc_parse.h: Likewise.
82880         * sunrpc/rpc_prot.c: Likewise.
82881         * sunrpc/rpc_sample.c: Likewise.
82882         * sunrpc/rpc_scan.c: Likewise.
82883         * sunrpc/rpc_scan.h: Likewise.
82884         * sunrpc/rpc_svcout.c: Likewise.
82885         * sunrpc/rpc_tblout.c: Likewise.
82886         * sunrpc/rpc_util.c: Likewise.
82887         * sunrpc/rpc_util.h: Likewise.
82888         * sunrpc/rpcinfo.c: Likewise.
82889         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82890         * sunrpc/rpcsvc/key_prot.x: Likewise.
82891         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82892         * sunrpc/rpcsvc/mount.x: Likewise.
82893         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82894         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82895         * sunrpc/rpcsvc/rex.x: Likewise.
82896         * sunrpc/rpcsvc/rstat.x: Likewise.
82897         * sunrpc/rpcsvc/rusers.x: Likewise.
82898         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82899         * sunrpc/rpcsvc/spray.x: Likewise.
82900         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82901         * sunrpc/rtime.c: Likewise.
82902         * sunrpc/svc.c: Likewise.
82903         * sunrpc/svc_auth.c: Likewise.
82904         * sunrpc/svc_authux.c: Likewise.
82905         * sunrpc/svc_raw.c: Likewise.
82906         * sunrpc/svc_run.c: Likewise.
82907         * sunrpc/svc_simple.c: Likewise.
82908         * sunrpc/svc_tcp.c: Likewise.
82909         * sunrpc/svc_udp.c: Likewise.
82910         * sunrpc/svc_unix.c: Likewise.
82911         * sunrpc/svcauth_des.c: Likewise.
82912         * sunrpc/xcrypt.c: Likewise.
82913         * sunrpc/xdr.c: Likewise.
82914         * sunrpc/xdr_array.c: Likewise.
82915         * sunrpc/xdr_float.c: Likewise.
82916         * sunrpc/xdr_mem.c: Likewise.
82917         * sunrpc/xdr_rec.c: Likewise.
82918         * sunrpc/xdr_ref.c: Likewise.
82919         * sunrpc/xdr_sizeof.c: Likewise.
82920         * sunrpc/xdr_stdio.c: Likewise.
82922         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82923         handling.
82925 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82927         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82929 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82931         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82932         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82933         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82934         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82935         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82936         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82937         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82938         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82940         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82941         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82942         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82943         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82944         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82946 2010-07-26  Anton Blanchard  <anton@samba.org>
82948         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82949         * malloc/arena.c (heap_trim): Likewise.
82951 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82953         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82954         here.  Not...
82955         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82956         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82958 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82960         * sysdeps/i386/elf/Makefile: New file.
82962 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82964         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82965         from fanotify_init.
82966         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82969 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82971         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82972         of strncasecmp_l.
82973         * sysdeps/multiarch/strcmp.S: Likewise.
82975 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82977         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82978         strncase_l-nonascii.
82979         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82980         Add strncase_l-ssse3.
82981         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82982         * sysdeps/x86_64/strcmp.S: Likewise.
82983         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82984         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82985         * sysdeps/x86_64/strncase.S: New file.
82986         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82987         * sysdeps/x86_64/strncase_l.S: New file.
82988         * string/Makefile (strop-tests): Add strncasecmp.
82989         * string/test-strncasecmp.c: New file.
82991         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82992         warning.
82994         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82995         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82997 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82999         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83001 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83003         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83004         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83005         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83007 2010-05-01  Alan Modra  <amodra@gmail.com>
83009         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83010         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83011         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83012         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83013         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83014         tidying.  Don't tail-call __sigjmp_save for static lib.
83015         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83016         save location.
83017         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83018         (CALL_MCOUNT): Add eh info, and nop after bl.
83019         (TAIL_CALL_SYSCALL_ERROR): New macro.
83020         (PSEUDO_RET): Use it.
83021         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83022         Correct save location of integer regs and cr.
83023         (_dl_profile_resolve): Correct cr save location.  Delete nops
83024         after bl when SHARED.  Reduce cfi size a little by better
83025         placement of cfi directives.
83026         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83027         make a stack frame.  Instead use parm save area as a temp.
83028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83029         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83031         Don't make a stack frame for parent, use parm save area.
83032         Increase child stack frame to 112 bytes.  Don't save unused reg,
83033         and adjust reg usage.  Set up cfi on error recovery and
83034         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83036         (__makecontext): Add dummy nop after jump to exit.
83037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83038         Use correct parm save area and cr save, reduce stack frame.
83039         Correct cfi for possible PSEUDO_RET frame setup.
83040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83041         Branch to local label emitted by PSEUDO_RET rather than
83042         __syscall_error.
83044 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83046         [BZ #11904]
83047         * locale/programs/locale.c (print_assignment): New function.
83048         (show_locale_vars): Use it.
83050 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83052         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83053         field.
83054         (struct statfs64): Likewise.
83055         (_STATFS_F_FLAGS): Define.
83056         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83057         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83058         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83059         (ST_VALID): Define locally.
83060         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83061         __statvfs_getflags, use the provided value.
83062         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83063         __ASSUME_STATFS_F_FLAGS.
83065         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83067         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83068         Add sys/fanotify.h.
83069         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83070         fanotify_mask for GLIBC_2.13.
83071         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83072         fanotify_init and fanotify_mark.
83073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83074         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83076         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83077         Add prlimit.
83078         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83079         prlimit64 for GLIBC_2.13.
83080         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83081         prlimit64.
83082         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83083         syscall.
83084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83085         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83086         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83087         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83088         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83089         add prlimit alias.
83090         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83092         [BZ #11903]
83093         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83094         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83096         * nss/Makefile: Add rules to build and run tst-nss-test1.
83097         * shlib-versions: Add entry for libnss_test1.
83098         * nss/nss_test1.c: New file.
83099         * nss/tst-nss-test1.c: New file.
83101         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83102         (__nss_configure_lookup): Set appropriate entry in
83103         __nss_configure_lookup to true.
83104         * nss/nsswitch.h: Define enum with indeces of databases in
83105         databases and __nss_database_custom arrays.  Declare
83106         __nss_database_custom.
83107         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83108         to avoid using nscd when custom rules are installed.
83109         * nss/getXXbyYY_r.c: Likewise.
83110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83112         * nss/nss_files/files-parse.c: Whitespace fixes.
83114 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83116         [BZ #11883]
83117         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83118         * posix/fnmatch_loop.c: Likewise.
83120 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83122         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83123         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83124         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83125         * Versions.def [GLIBC_2.13]: Add.
83127 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83129         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83130         Also fail if tpwd after pwuid call is NULL.
83132 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83134         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83135         when converting to ms.
83137 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83139         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83140         EOPNOTSUPP errors with ENOTTY.
83141         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83142         EOPNOTSUPP errors with ENOTTY.
83144 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83146         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83147         Add strcasecmp_l-ssse3.
83148         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83149         strcasecmp.
83150         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83151         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83152         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83154 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83156         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83158         * string/Makefile (strop-tests): Add strcasecmp.
83159         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83160         strcasecmp_l-nonascii.
83161         (gen-as-const-headers): Add locale-defines.sym.
83162         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83163         * sysdeps/x86_64/strcasecmp.S: New file.
83164         * sysdeps/x86_64/strcasecmp_l.S: New file.
83165         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83166         * sysdeps/x86_64/locale-defines.sym: New file.
83167         * string/test-strcasecmp.c: New file.
83169         * string/test-strcasestr.c: Test both ends of the range of characters.
83170         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83172 2010-07-29  Roland McGrath  <roland@redhat.com>
83174         [BZ #11856]
83175         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83177 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83179         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83180         for ld.so.
83182 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83184         * manual/memory.texi (Malloc Tunable Parameters): Document
83185         M_PERTURB.
83187 2010-07-26  Roland McGrath  <roland@redhat.com>
83189         [BZ #11840]
83190         * configure.in (-fgnu89-inline check): Set and substitute
83191         gnu89_inline, not libc_cv_gnu89_inline.
83192         * configure: Regenerated.
83193         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83195 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83197         * string/test-strnlen.c: New file.
83198         * string/Makefile (strop-tests): Add strnlen.
83199         * string/tester.c (test_strnlen): Add a few more test cases.
83200         * string/tst-strlen.c: Better error reporting.
83202         * sysdeps/x86_64/strnlen.S: New file.
83204 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83206         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83207         lower-latency instructions.
83209 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83211         * string/test-strcasestr.c: New file.
83212         * string/test-strstr.c: New file.
83213         * string/Makefile (strop-tests): Add strstr and strcasestr.
83214         * string/str-two-way.h: Don't undefine MAX.
83215         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83217 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83219         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83220         strcasestr-nonascii.
83221         (CFLAGS-strcasestr-nonascii.c): Define.
83222         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83223         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83224         Remove unused attribute.
83226 2010-07-20  Roland McGrath  <roland@redhat.com>
83228         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83229         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83230         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83231         like LD_HWCAP_MASK can disable hwcaps.
83233 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83235         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83237 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83239         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83240         call in strcasestr.
83241         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83242         __strcasestr_sse42_nonascii.
83243         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83244         strcasestr-nonascii.c.
83245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83247 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83249         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83250         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83251         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83252         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83254 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83256         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83257         fcntl.
83259 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83261         [BZ #11577]
83262         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83263         dl_signal_cerror.
83265 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83267         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83268         _PC_PIPE_BUF using F_GETPIPE_SZ.
83270 2010-07-05  Roland McGrath  <roland@redhat.com>
83272         * manual/arith.texi (Rounding Functions): Fix rint description
83273         implicit in round description.
83275 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83277         * elf/Makefile: Fix linking for a few tests to make recent linker
83278         happy.
83280 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83282         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83283         $(common-objpfx)libc_nonshared.a.
83285 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83287         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83288         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83289         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83290         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83291         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83292         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83293         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83294         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83309         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83310         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83311         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83312         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83313         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83314         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83315         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83316         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83317         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83318         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83319         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83320         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83336 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83338         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83339         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83340         * string/memmove.c (memmove): Renamed to ...
83341         (MEMMOVE): ...this.  Default to memmove.
83342         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83343         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83344         (END_CHK): Define.
83345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83346         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83347         mempcpy-ssse3-back memmove-ssse3-back.
83348         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83350         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83351         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83352         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83353         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83354         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83355         * sysdeps/x86_64/multiarch/memmove.c: New file.
83356         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83357         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83358         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83359         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83360         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83361         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83362         Define.
83363         (index_Fast_Copy_Backward): Define.
83364         (HAS_ARCH_FEATURE): Define.
83365         (HAS_FAST_REP_STRING): Define.
83366         (HAS_FAST_COPY_BACKWARD): Define.
83368 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83370         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83371         Restore proper fallback handling.
83373 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83375         [BZ #11701]
83376         * posix/group_member.c (__group_member): Correct checking loop.
83378         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83379         OOM in getpwuid_r correctly.  Return error number when the caller
83380         should return, otherwise -1.
83381         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83382         call returning > 0 value.
83383         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83385 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83387         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83388         libc_nonshared.a from targets in modules-names.
83390 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83392         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83393         requires it.
83395 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83397         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83398         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83399         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83402 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83404         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83406 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83408         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83409         and F_GETPIPE_SZ.
83410         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83411         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83414         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83415         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83417 2010-06-14  Roland McGrath  <roland@redhat.com>
83419         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83421 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83423         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83424         __REDIRECT followed by __THROW.
83425         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83426         * posix/getopt.h (getopt): Likewise.
83428 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83430         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83431         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83432         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83433         in AT_FLAGS.
83434         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83435         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83437 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83439         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83441 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83443         [BZ #11640]
83444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83445         Properly check family and model.
83447 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83449         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83451 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83453         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83455 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83457         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83458         symbol reference.
83460 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83462         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83463         symbol reference.
83465 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83467         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83468         and internal_recvmmsg.
83469         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83470         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83471         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83472         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83474         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83475         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83476         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83478 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83480         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83482 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83484         POWER7 optimizations.
83485         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83486         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83488 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83490         * version.h: Update for 2.13 development version.
83492 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83494         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83495         exceptions.  Return 0.
83497 2010-05-07  Roland McGrath  <roland@redhat.com>
83499         * elf/ldconfig.c (main): Add a const.
83501 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83503         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83504         (args_options): Add no-idn option.
83505         (ahosts_keys_int): Add idn_flags to ai_flags.
83506         (parse_option): Handle 'i' option to clear idn_flags.
83508         * malloc/malloc.c (_int_free): Possible race in the most recently
83509         added check.  Only act on the data if no current modification
83510         happened.
83512 See ChangeLog.17 for earlier changes.