Fix assertion failure on test timeout
[glibc.git] / ChangeLog
blob523028da4a253a311c683fb81efb0abfe9f35865
1 2016-12-15  Andreas Schwab  <schwab@suse.de>
3         * support/support_test_main.c (support_test_main): Don't shadow
4         file-local variable test_pid.
6 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8         [BZ #20947]
9         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10         either is a signaling NaN.
11         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
15         [BZ #20947]
16         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
17         when either is a signaling NaN.
18         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
20         * bits/long-double.h: New file.
21         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
22         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
23         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
24         * sysdeps/mips/bits/long-double.h: Likewise.
25         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
26         * math/Makefile (headers): Add bits/long-double.h.
27         * misc/sys/cdefs.h: Include <bits/long-double.h>.
28         * stdlib/strtold.c: Include <bits/long-double.h> instead of
29         <bits/wordsize.h>.
30         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
31         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
32         * math/math.h: Do not include <bits/mathdef.h>.
33         * sysdeps/aarch64/bits/mathdef.h: Remove file.
34         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
35         inclusion.
36         * sysdeps/ia64/bits/mathdef.h: Remove file.
37         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
38         * sysdeps/mips/bits/mathdef.h: Likewise.
39         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40         * sysdeps/s390/bits/mathdef.h: Likewise.
41         * sysdeps/sparc/bits/mathdef.h: Likewise.
42         * sysdeps/x86/bits/mathdef.h: Likewise.
43         * sysdeps/s390/s390-32/bits/wordsize.h
44         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
45         conditional code.
46         * sysdeps/s390/s390-64/bits/wordsize.h
47         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
48         Likewise.
49         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
50         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
51         Likewise.
52         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
53         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
54         Likewise.
55         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
56         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
57         Likewise.
59         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
60         <linux/falloc.h>.
61         (FALLOC_FL_KEEP_SIZE): Remove.
62         (FALLOC_FL_PUNCH_HOLE): Likewise.
63         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
64         (FALLOC_FL_ZERO_RANGE): Likewise.
66 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
68         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
70 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
72         * sysdeps/unix/sysv/linux/renameat.c: New file.
73         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
75         * sysdeps/unix/sysv/linux/rename.c: New file.
76         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
78 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
80         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
81         * string/strtok.c (strtok): Change to tailcall __strtok_r.
82         * string/strtok_r.c (__strtok_r): Optimize for performance.
83         * string/string-inlines.c (__old_strtok_r_1c): New function.
84         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
86 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
88         * math/Makefile (gen-libm-calls): Add w_log1pF.
89         (libm-calls): Remove w_log1pF.
90         * math/w_log1p.c: Remove.
91         * math/w_log1pf.c: Likewise.
92         * math/w_log1pl.c: Likewise.
93         * math/w_log1p_template.c: New file with type-generic
94         implementation based on math/w_log1p.c.
95         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
96         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
98 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
100         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
102 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
104         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
105         kernel version to 4.9.
107 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
109         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
110         ($(inst_libdir)/libm.a): Fix rule to create the target only.
112 2016-12-13  Andreas Schwab  <schwab@suse.de>
114         * sysdeps/powerpc/dl-procinfo.c: Don't define
115         _dl_powerpc_platforms.
116         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
117         constants instead of referencing _dl_powerpc_platforms.
118         (_dl_platform_string): Remove.
120 2016-12-13  Florian Weimer  <fweimer@redhat.com>
122         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
124 2016-12-13  Florian Weimer  <fweimer@redhat.com>
126         * Rules (binaries-shared-tests, binaries-pie-tests)
127         (binaries-static-tests): Link with $(link-extra-libs-tests).
128         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
129         Remove $(link-extra-libs-tests).
131 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
133         * sysdeps/powerpc/powerpc64/multiarch/Makefile
134         (sysdep_routines): Add strncmp_power9.
135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
136         (strncmp): Add __strncmp_power9 to list of strncmp functions.
137         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
138         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
139         (strncmp): Add __strncmp_power9 to ifunc list.
140         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
142 2016-12-12  Florian Weimer  <fweimer@redhat.com>
144         [BZ #17252]
145         Add getentropy, getrandom.
146         * stdlib/sys/random.h: New file.
147         (headers): Add it.
148         * stdlib/Makefile (routines): Add getentropy, getrandom.
149         (tests): Add tst-getrandom.
150         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
151         * stdlib/getentropy.c: New file.
152         * stdlib/getrandom.c: Likewise.
153         * stdlib/tst-getrandom.c: Likewise.
154         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
155         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
156         * manual/crypt.texi (Unpredictable Bytes): New section.
157         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
158         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
161         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
162         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
163         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
164         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
174         Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
176         Likewise.
177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
187         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
190 2016-12-10  Florian Weimer  <fweimer@redhat.com>
192         [BZ #20956]
193         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
194         as additional compiler barriers.
195         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
196         (fn2, do_test): Declare with external linkage.
197         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
198         (do_test): Declare with external linkage.
199         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
200         (do_test): Declare with external linkage.
201         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
202         (do_test): Declare with external linkage.
204 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
206         * support/support_test_main.c (support_test_main): Use correct
207         timeout.
209 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
210             Florian Weimer  <fweimer@redhat.com>
212         [BZ #16421]
213         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
214         and __u6_addr32 members.
215         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
216         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
217         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
218         Use __u6_addr32.
219         * inet/tst-checks.c: Use <support/test-driver.c>
220         * inet/tst-checks-posix.c: New file.
221         * inet/Makefile (tests): Add it.
222         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
224 2016-12-09  Florian Weimer  <fweimer@redhat.com>
226         New subdirectory support for build and test infrastructure.
227         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
228         setting install-lib.
229         * Makeconfig (link-extra-libs-tests): Define.
230         (+link-pie-tests, +link-static-tests, +link-tests): Use
231         link-extra-libs-tests.
232         (rpath-dirs, all-subdirs): Add support.
233         (built-modules): Add libsupport.
234         (libsupport): Define.
235         * support: New directory.
236         * support/Makefile: New file.
237         * support/check.c: Likewise.
238         * support/check.h: Likewise.
239         * support/delayed_exit.c: Likewise.
240         * support/ignore_stderr.c: Likewise.
241         * support/oom_error.c: Likewise.
242         * support/set_fortify_handler.c: Likewise.
243         * support/support.h: Likewise.
244         * support/temp_file-internal.h: Likewise.
245         * support/temp_file.c: Likewise.
246         * support/test-driver.c: Likewise.
247         * support/test-driver.h: Likewise.
248         * support/test_main.c: Likewise.
249         * support/write_message.c: Likewise.
250         * support/xasprintf.c: Likewise.
251         * support/xcalloc.c: Likewise.
252         * support/xmalloc.c: Likewise.
253         * support/xpthread_barrier_destroy.c: Likewise.
254         * support/xpthread_barrier_init.c: Likewise.
255         * support/xpthread_barrier_wait.c: Likewise.
256         * support/xpthread_cancel.c: Likewise.
257         * support/xpthread_check_return.c: Likewise.
258         * support/xpthread_cond_wait.c: Likewise.
259         * support/xpthread_create.c: Likewise.
260         * support/xpthread_detach.c: Likewise.
261         * support/xpthread_join.c: Likewise.
262         * support/xpthread_mutex_lock.c: Likewise.
263         * support/xpthread_mutex_unlock.c: Likewise.
264         * support/xpthread_sigmask.c: Likewise.
265         * support/xpthread_spin_lock.c: Likewise.
266         * support/xpthread_spin_unlock.c: Likewise.
267         * support/xrealloc.c: Likweise.
268         * support/xsignal.h: Likewise.
269         * support/xthread.h: Likewise.
270         * support_tempfile.h: Likewise.
271         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
272         (TEST_DATA_LIMIT): Remove unused macro.
273         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
274         <support/check.h>.
275         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
276         (ignore_stderr, set_fortify_handler): Remove.  Now in
277         <support/support.h>.
278         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
279         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
280         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
281         (xpthread_join): Remove.  Now in <support/xthread.h>.
282         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
283         Introduce legacy wrappers.
284         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
285         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
286         (write_message): Remove.
287         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
288         test-skeleton.c.
289         * io/test-open-tmpfile: Likewise.
290         * io/tst-posix_fallocate-common.c: Likewise.
291         * libio/tst-fseek.c: Likewise.
292         * malloc/tst-malloc-backtrace.c: Likewise.
293         * malloc/tst-malloc-fork-deadlock.c: Likewise.
294         * malloc/tst-malloc-thread-exit.c: Likewise.
295         * nptl/tst-cancel7.c: Likewise.
296         * nptl/tst-cleanup0.c: Likewise.
297         * posix/tst-posix_fadvise-common.c: Likewise.
298         * rt/tst-shm.c: Likewise.
299         * time/bug-getdate1.c: Likewise.
300         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
301         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
302         * elf/Makefile (tst-piemod1.so): Link against libsupport.
304 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
306         * Rules [$(run-built-tests) != no] (tests-expected): Add
307         $(tests-printers).
308         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
310 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
312         [BZ #20539]
313         * math/Makefile (install-lib-ldscripts): Add libm.a.
314         (install_subdir): Remove.
315         (install-others): Add.
316         ($(inst_libdir)/libm.a): Add rule for installation as
317         linker script.
318         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
320 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
322         * INSTALL: Regenerated.
323         * Makeconfig: Add comments and whitespace to make the control flow
324         clearer.
325         (+link-printers-tests, +link-pie-printers-tests,
326         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
327         built-rtld-LDFLAGS, link-libc-rpath,
328         link-libc-tests-after-rpath-link,
329         link-libc-printers-tests): New.
330         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
331         link-libc-tests): Use the new variables as required.
332         * Makerules ($(py-const)): New rule.
333         generated: Add $(py-const).
334         * README.pretty-printers: New file.
335         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
336         (others): Depend on $(py-const).
337         (tests): Depend on $(tests-printers-programs) or
338         $(tests-printers-out),
339         as required.  Pass $(tests-printers) to merge-test-results.sh.
340         * manual/install.texi: Add requirements for testing the pretty
341         printers.
342         * nptl/Makefile (gen-py-const-headers, pretty-printers,
343         tests-printers, CFLAGS-test-mutexattr-printers.c
344         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
345         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
346         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
347         * nptl/nptl-printers.py: New file.
348         * nptl/nptl_lock_constants.pysym: Likewise.
349         * nptl/test-cond-printers.c: Likewise.
350         * nptl/test-cond-printers.py: Likewise.
351         * nptl/test-condattr-printers.c: Likewise.
352         * nptl/test-condattr-printers.py: Likewise.
353         * nptl/test-mutex-printers.c: Likewise.
354         * nptl/test-mutex-printers.py: Likewise.
355         * nptl/test-mutexattr-printers.c: Likewise.
356         * nptl/test-mutexattr-printers.py: Likewise.
357         * nptl/test-rwlock-printers.c: Likewise.
358         * nptl/test-rwlock-printers.py: Likewise.
359         * nptl/test-rwlockattr-printers.c: Likewise.
360         * nptl/test-rwlockattr-printers.py: Likewise.
361         * scripts/gen-py-const.awk: Likewise.
362         * scripts/test_printers_common.py: Likewise.
363         * scripts/test_printers_exceptions.py: Likewise.
365 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
367         * scripts/build-many-glibcs.py (Context.__init__): Take strip
368         argument.
369         (Glibc.build_glibc): Strip installed shared libraries if
370         requested.
371         (get_parser): Add --strip option.
372         (main): Update Context call.
374 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
375             Dominik Vogt  <vogt@linux.vnet.ibm.com>
377         [BZ #20847]
378         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
379         array bounds for else branch.
380         (__execvpe): Style fixes.
381         * posix/tst-vfork3.c (run_script): New function.
382         (create_script): Likewise.
383         (do_test): Use run_script internal function.
384         (do_prepare): Use create_script internal function.
386 2016-12-07  Andreas Schwab  <schwab@suse.de>
388         * sysdeps/unix/sysv/linux/x86/elision-conf.h
389         (__elision_available): Don't declare.
390         * sysdeps/unix/sysv/linux/x86/elision-conf.c
391         (__elision_available): Don't define.
392         (elision_init): Don't set __elision_available.
394 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
396         [BZ #20940]
397         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
398         return Inf for arguments Inf and sNaN.
399         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
400         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
401         Likewise.
402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
403         Likewise.
404         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
405         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
406         for arguments Inf and sNaN.  When returning a NaN, compute it by
407         arithmetic on the arguments.
408         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
409         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
410         arguments.
412 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #20916]
415         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
416         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
417         to compute result.
418         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
419         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
421 2016-12-05  Torvald Riegel  <triegel@redhat.com>
423         * include/atomic.h (__atomic_check_size_ls): New.
424         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
425         atomic_store_release): Use it.
426         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
427         (elision_adapt, ELIDE_LOCK): Use atomics.
428         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
429         atomics and improve code comments.
430         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
431         (__lll_trylock_elision): Likewise.
433 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
435         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
436         programs.
438 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
440         [BZ #20916]
441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
442         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
443         arguments to compute result.
444         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
445         1 for arguments (sNaN, 0) or (1, sNaN).
446         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
449         [BZ #20919]
450         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
451         NaN first argument when raised to power 0.
452         * math/w_pow.c (__pow): Do not check for NaN or zero results from
453         raising to power zero.
454         * math/w_powf.c (__powf): Likewise.
455         * math/w_powl.c (__powl): Likewise.
456         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
457         pow (0, 0) or pow (NaN, 0).
459 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
461         [BZ #20918]
462         * configure.ac: Test for static NSS cryptographic libraries and set
463         libc_cv_static_nss_crypt.
464         * configure: Regenerate.
465         * config.make.in (static-nss-crypt): Define.
466         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
467         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
468         (CFLAGS-tst-linkall-static.c): Define.
469         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
470         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
471         ($(objpfx)tst-linkall-static): Define.
472         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
473         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
475 2016-12-02  Florian Weimer  <fweimer@redhat.com>
477         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
478         (one-hundred, tst-tls-many-dynamic-modules): Define.
479         (modules-names): Add $(tst-tls-many-dynamic-modules).
480         (tst-tls-manydynamic%mod.os): Build with special preprocessor
481         macros.
482         (tst-tls-manydynamic): Link against libdl, libpthread.
483         (tst-tls-manydynamic.out): The test needs the test modules at run
484         time.
485         * elf/tst-tls-manydynamic.c: New file.
486         * elf/tst-tls-manydynamic.h: Likewise.
487         * elf/tst-tls-manydynamicmod.c: Likewise.
489 2016-12-02  Florian Weimer  <fweimer@redhat.com>
491         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
492         (TLS_DTV_UNALLOCATED): Add.
493         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
494         offsets.
496 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
498         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
500 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
502         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
503         Add -fno-optimize-sibling-calls.
505 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
507         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
508         New declaration.
509         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
510         macro.
511         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
512         New macro.
513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
515         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
516         (llogbf): Likewise.
517         (llogbl): Likewise.
518         * math/Makefile (gen-libm-calls): Add w_llogbF.
519         (tests): Add test-fp-llogb-constants.
520         * math/w_llogb_template.c: New file.  Based on
521         math/w_ilogb_template.c.
522         * math/libm-test.inc (llogb_test_data): New array.
523         (llogb_test): New function.
524         (main): Call llogb_test.
525         * math/test-fp-llogb-constants.c: New file.  Based on
526         math/test-fp-ilogb-constants.c.
527         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
528         (do_test): Call check_return_llogb.
529         * math/test-tgmath.c (NCALLS): Increase to 126.
530         (F(compile_test)): Call llogb.
531         (F(llogb)): New function.
532         * manual/math.texi (Exponents and Logarithms): Document llogb,
533         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
534         * manual/libm-err-tab.pl (@all_functions): Add llogb.
535         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
536         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
537         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
538         (CFLAGS-nldbl-llogb.c): New variable.
539         * sysdeps/nacl/libm.abilist: Update.
540         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
546         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
549         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
550         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
551         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
553         Likewise.
554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
555         Likewise.
556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
557         Likewise.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
559         Likewise.
560         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
561         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
562         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
563         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
566         Likewise.
567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
568         Likewise.
569         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
570         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
571         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
573 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
575         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
576         _Float128 instead of long double.
577         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
579         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
580         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
581         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
582         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
583         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
584         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
585         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
586         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
587         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
588         Likewise.
590 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
592         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
593         Remove redirection to __strrchr_ppc.
595 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
597         * sysdeps/powerpc/powerpc64/multiarch/Makefile
598         (sysdep_routines): Add strcmp_power9.
599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
600         (strcmp): Add __strcmp_power9 to list of strcmp functions.
601         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
602         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
603         (strcmp): Add __strcmp_power9 to ifunc list.
604         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
606 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
608         * bits/fp-logb.h: New file.
609         * sysdeps/ia64/bits/fp-logb.h: Likewise.
610         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
611         * sysdeps/x86/bits/fp-logb.h: Likewise.
612         * math/Makefile (headers): Add bits/fp-logb.h.
613         * math/math.h: Include <bits/fp-logb.h>.
614         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
615         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
616         * bits/mathdef.h (FP_ILOGB0): Remove.
617         (FP_ILOGBNAN): Likewise.
618         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
619         (FP_ILOGBNAN): Likewise.
620         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
621         (FP_ILOGBNAN): Likewise.
622         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
623         (FP_ILOGBNAN): Likewise.
624         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
625         (FP_ILOGBNAN): Likewise.
626         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
627         (FP_ILOGBNAN): Likewise.
628         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
629         (FP_ILOGBNAN): Likewise.
630         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
631         (FP_ILOGBNAN): Likewise.
632         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
633         (FP_ILOGBNAN): Likewise.
634         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
635         (FP_ILOGBNAN): Likewise.
637         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
638         time module.
639         (Context.__init__): Initialize self.logsdir_old.
640         (Context.run_builds): Handle bot action.
641         (Context.bot_cycle): Copy logs directory before running builds.
642         (Context.bot_run_self): Take argument for whether to check
643         subprocess result.  Flush stdout before running subprocess.
644         (Context.bot): New function.
645         (get_parser): Allow bot action.
647 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
649         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
650         Import email.mime.text, email.utils and smtplib modules.
651         (Context.__init__): Initialize self.bot_config_json.
652         (Context.run_builds): Handle bot-cycle action.
653         (Context.load_bot_config_json): New function.
654         (Context.part_build_old): Likewise.
655         (Context.bot_cycle): Likewise.
656         (Context.bot_build_mail): Likewise.
657         (Context.bot_run_self): Likewise.
658         (get_parser): Allow bot-cycle action.
660 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
663         Remove redirection to __stpcpy_ppc.
665 2016-11-30  Florian Weimer  <fweimer@redhat.com>
667         Remove __libc_memalign from ld.so because it is unused.
668         * elf/dl-minimal.c: Update comment on the malloc implementation.
669         (malloc): Renamed from __libc_memalign, replacing the original
670         malloc implementation.  Replace the align parameter with
671         MALLOC_ALIGNMENT.
672         * elf/Versions (ld): Update comment and remove __libc_memalign.
673         * sysdeps/nacl/ld.abilist: Likewise.
674         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
678         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
679         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
680         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
682         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
683         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
684         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
685         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
686         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
692         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
693         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
694         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
697         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
698         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
699         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
700         * sysdeps/generic/localplt.data (ld.so): Likewise.
701         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
702         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
703         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
704         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
705         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
706         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
707         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
708         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
709         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
711         (ld.so): Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
713         (ld.so): Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
715         Likewise.
716         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
717         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
718         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
719         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
720         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
722 2016-11-30  Florian Weimer  <fweimer@redhat.com>
724         [BZ #16628]
725         Implement _dl_catch_error, _dl_signal_error in libc.so.
726         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
727         (catch_hook): Define as thread-local or regular variable,
728         depending on DL_ERROR_BOOTSTRAP.
729         (CATCH_HOOK): Remove.
730         (dl_signal_error, _dl_catch_error): Use
731         catch_hook.  Add hidden definition for libc.
732         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
733         for DL_ERROR_BOOTSTRAP only.
734         * elf/dl-error.c: New file.
735         * elf/dl-error-minimal.c: Likewise.
736         * elf/tst-latepthread.c: Likewise.
737         * elf/tst-latepthreadmod.c: Likewise.
738         * elf/Makefile (routines): Add dl-error.
739         (dl-routines): Remove dl-error.
740         (rtld-routines): Add dl-error-minimal.
741         [build-shared] (tests): Add tst-latepthread.
742         (module-names): Add tst-latepthreadmod.
743         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
744         symbol.
745         (tst-latepthreadmod.so): Link against libpthread.
746         (tst-latepthread): Link against libdbl.
747         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
748         _dl_catch_error.
749         [ld] (GLIBC_PRIVATE): Likewise.
750         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
751         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
752         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
753         directly.
754         * elf/dl-tsd.c: Remove file.
755         * elf/rtld.c (_rtld_global_ro): Remove initializers for
756         _dl_catch_error, _dl_signal_error.
757         (_dl_initial_error_catch_tsd): Remove definition.
758         (do_preload): Remove initialization of dl_error_catch_tsd.
759         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
760         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
761         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
762         * dlfcn/dlopen.c (dlopen_doit): Likewise.
763         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
764         set dl_error_catch_tsd.
765         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
766         _dl_error_catch_tsd member.
767         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
768         members.
769         (_dl_initial_error_catch_tsd): Remove declaration.
770         (_dl_dprintf): Provide definition for use outside of ld.so.
771         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
772         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
773         prototype for libc.
774         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
775         _dl_catch_error.
776         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
777         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
778         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
779         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
780         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
781         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
782         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
783         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
784         Likewise.
785         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
787         (ld.so): Likewise.
788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
789         (ld.so): Likewise.
790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
791         Likewise.
792         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
793         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
794         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
795         Likewise.
796         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
797         Likewise.
798         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
800 2016-11-30  Florian Weimer  <fweimer@redhat.com>
802         [BZ #4099]
803         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
804         _IO_BUFSIZ (8192).
806 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
808         * PROJECTS: Remove file.
810 2016-11-29  Florian Weimer  <fweimer@redhat.com>
812         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
814 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
815             Steve Ellcey  <sellcey@caviumnetworks.com>
817         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
818         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
819         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
820         fxstatat.
821         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
822         lxstat.
823         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
824         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
825         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
826         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
827         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
828         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
829         __xstat.
831 2016-11-29  Florian Weimer  <fweimer@redhat.com>
833         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
834         Define.
835         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
836         definition.
838 2016-11-29  Florian Weimer  <fweimer@redhat.com>
840         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
841         version and turn into strong alias.  Remove compat symbol.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
844         (__longjmp): Remove.
846 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
848         * bits/fp-fast.h: New file.
849         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
850         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
851         * math/Makefile (headers): Add bits/fp-fast.h.
852         * math/math.h: Include <bits/fp-fast.h>.
853         * bits/mathdef.h (FP_FAST_FMA): Remove.
854         (FP_FAST_FMAF): Likewise.
855         (FP_FAST_FMAL): Likewise.
856         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
857         (FP_FAST_FMAF): Likewise.
858         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
859         (FP_FAST_FMAF): Likewise.
860         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
861         (FP_FAST_FMAF): Likewise.
862         (FP_FAST_FMAL): Likewise.
863         * sysdeps/arm/bits/mathdef.h: Remove file.
864         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
865         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
866         * sysdeps/tile/bits/mathdef.h: Likewise.
868 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
870         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
871         * math/w_ilogb.c: Remove.
872         * math/w_ilogbf.c: Likewise.
873         * math/w_ilogbl.c: Likewise.
874         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
875         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
876         * math/Makefile (gen-libm-calls): Add w_ilogbF.
877         (libm-calls): Remove w_ilogbF.
878         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
879         (LDOUBLE_ilogbl_libm_version): New macro.
881         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
883         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
884         [!__STRICT_ANSI__ && !__cplusplus].
886 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
888         [BZ #20750]
889         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
890         of PIC.
892 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
893             Yury Norov  <ynorov@caviumnetworks.com>
894             Steve Ellcey  <sellcey@caviumnetworks.com>
896         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
897         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
898         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
899         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
900         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
901         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
902         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
903         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
904         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
905         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
906         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
907         to get correct reg name for ILP32.
908         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
909         (RELA_SIZE): New Macro.
910         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
911         to support ILP32.
912         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
913         cast for ILP32 mode.
914         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
915         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
916         * sysdeps/aarch64/memset.S (__memset): Ditto.
917         * sysdeps/aarch64/strchr.S (strchr): Ditto.
918         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
919         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
920         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
921         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
922         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
923         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
924         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
925         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
926         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
927         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
928         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
929         change PTR_MANGLE call to use register numbers instead of names.
930         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
931         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
932         ILP32 mode, change PTR_MANGLE calls to use register numbers.
933         * sysdeps/aarch64/start.S (_start): Ditto.
934         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
935         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
936         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
937         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
938         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
939         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
940         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
941         Make defined values dependent on __ILP32__.
942         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
943         (sem_t): Change __align type.
944         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
945         PTR_SIZE): New Macros.
946         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
947         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
948         Set when in ILP32 mode.
949         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
950         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
951         Set elf flags for ILP32.
952         (add_system_dir): Set ILP32 library directories.
953         * sysdeps/unix/sysv/linux/aarch64/init-first.c
954         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
955         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
956         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
957         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
958         New Macros.
959         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
961 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
963         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
964         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
965         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
967 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
969         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
970         <asm/cachectl.h>.
972 2016-11-27  Zack Weinberg  <zackw@panix.com>
974         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
975         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
977 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
979         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
980         error_t to fix usage in C++ programs.
982 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
984         * scripts/build-many-glibcs.py: Import datetime module.
985         (Context.__init__): Load JSON build state.  Initialize list of
986         status logs.
987         (Context.run_builds): Update saved build state.
988         (Context.add_makefile_cmdlist): Update list of status logs.
989         (Context.load_build_state_json): New function.
990         (Context.store_build_state_json): Likewise.
991         (Context.clear_last_build_state): Likewise.
992         (Context.update_build_state): Likewise.
993         (CommandList.status_logs): Likewise.
995 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
997         * scripts/build-many-glibcs.py (Context.__init__): Save text of
998         script being executed.
999         (Context.get_script_text): New function.
1000         (Context.exec_self): Likewise.
1001         (Context.checkout): Re-exec script if changed by checkout process.
1003 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1005         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1006         (setpayloadsig): New declaration.
1007         * math/Versions (setpayloadsig): New libm symbol at version
1008         GLIBC_2.25.
1009         (setpayloadsigf): Likewise.
1010         (setpayloadsigl): Likewise.
1011         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1012         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1013         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1014         (setpayloadsig_test_data): New array.
1015         (setpayloadsig_test): New function.
1016         (main): Call setpayloadsig_test.
1017         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1018         setpayloadsigf and setpayloadsigl.
1019         * manual/libm-err-tab.pl: Update comment on interfaces without
1020         ulps tabulated.
1021         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1022         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1023         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1024         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1025         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1026         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1027         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1028         setpayloadsig.
1029         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1030         * sysdeps/nacl/libm.abilist: Update.
1031         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1032         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1040         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1041         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1044         Likewise.
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1046         Likewise.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1048         Likewise.
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1050         Likewise.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1057         Likewise.
1058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1059         Likewise.
1060         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1064         * scripts/build-many-glibcs.py: Import json module.
1065         (Context.__init__): Take replace_sources argument.  Load
1066         versions.json.
1067         (Context.load_versions_json): New function.
1068         (Context.store_json): Likewise.
1069         (Context.store_versions_json): Likewise.
1070         (Context.set_component_version): Likewise.
1071         (Context.checkout): Update versions.json.  Check for and handle
1072         changes of version.  Prefer previously explicitly specified
1073         version to default version.
1074         (Context.checkout_vcs): Return a revision identifier.
1075         (Context.git_checkout): Likewise.
1076         (Context.gcc_checkout): Likewise.
1077         (get_parser): Add --replace-sources option.
1078         (main): Pass replace_sources argument to Context call.
1080 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1082         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1083         * nptl/allocatestack.c (allocate_stack): Likewise.
1084         (__reclaim_stacks): Likewise.
1085         (setxid_signal_thread): Obtain pid through syscall.
1086         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1087         (sighandle_setxid): Likewise.
1088         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1089         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1090         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1091         Likewise.
1092         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1093         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1094         comment.
1095         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1096         * nptl/descr.h (struct pthread): Change comment about pid value.
1097         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1098         pid assert.
1099         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1100         Do not set pid value.
1101         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1102         pid cache check.
1103         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1104         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1105         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1106         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1107         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1108         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1109         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1110         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1111         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1112         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1113         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1114         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1115         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1116         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1117         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1118         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1119         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1120         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1121         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1122         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1123         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1124         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1125         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1126         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1127         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1130         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1131         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1132         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1133         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1134         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1135         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1136         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1137         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1138         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1139         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1140         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1141         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1142         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1143         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1144         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1145         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1148         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1149         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1150         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1151         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1152         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1153         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1154         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1155         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1156         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1157         struct access.
1158         (clone_test): Remove function.
1159         (do_test): Rewrite to take in consideration pid is not cached anymore.
1161 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1163         * bits/flt-eval-method.h: New file.
1164         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1165         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1166         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1167         * math/Makefile (headers): Add bits/flt-eval-method.h.
1168         * math/math.h: Include <bits/flt-eval-method.h>.
1169         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1170         [__USE_ISOC99] (double_t): Likewise.
1171         * bits/mathdef.h (float_t): Remove.
1172         (double_t): Likewise.
1173         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1174         (double_t): Likewise.
1175         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1176         (double_t): Likewise.
1177         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1178         (double_t): Likewise.
1179         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1180         (double_t): Likewise.
1181         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1182         (double_t): Likewise.
1183         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1184         (double_t): Likewise.
1185         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1186         (double_t): Likewise.
1187         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1188         (double_t): Likewise.
1189         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1190         (double_t): Likewise.
1191         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1192         (double_t): Likewise.
1193         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1194         (double_t): Likewise.
1195         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1196         (double_t): Likewise.
1197         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1198         (double_t): Likewise.
1200 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1202         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1203         instead of PIC.
1205 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1207         [BZ #20859]
1208         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1209         (-0x7fffffff) instead of 0x80000001.
1210         * math/test-fp-ilogb-constants.c: New file.
1211         * math/Makefile (tests): Add test-fp-ilogb-constants.
1213 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1215         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1216         (_init): Use it in place of hardcoded R_MIPS_JALR.
1217         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1218         (_init): Use it in place of hardcoded R_MIPS_JALR.
1219         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1220         (_init): Use it in place of hardcoded R_MIPS_JALR.
1222 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1224         [BZ #20787]
1225         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1226         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1227         (double_t): Do not define to double if [__x86_64__] when
1228         __FLT_EVAL_METHOD__ is nonzero.
1229         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1230         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1231         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1232         test-flt-eval-method-387 and test-flt-eval-method-sse.
1233         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1234         variable.
1235         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1237 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1239         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1240         use of -fno-isolate-erroneous-paths options for tilepro.
1242 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1244         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1245         structure initialization is no longer needed.
1247 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1249         [BZ #20855]
1250         * bits/mathdef.h (float_t): Define to float.
1251         * math/test-flt-eval-method.c: New file.
1252         * math/Makefile (tests): Add test-flt-eval-method.
1253         (CFLAGS-test-flt-eval-method.c): New variable.
1255 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1257         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1258         and __fstatfs.  Make them aliases of __fstatfs64 if
1259         STATFS_IS_STATFS64 is set to non-zero.
1260         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1261         and __statfs64.
1262         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1263         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1264         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1265         for __statfs and statfs.
1266         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1267         to 0.
1268         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1269         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1270         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1271         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1272         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1273         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1276         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1277         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1278         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1279         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1281 2016-11-22  Andreas Schwab  <schwab@suse.de>
1283         * misc/mkstemp.c: Include <fcntl.h>.
1284         * misc/mkstemps.c: Likewise.
1285         * misc/mkostemp.c: Likewise.
1286         * misc/mkostemps.c: Likewise.
1288 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1290         [BZ #20847]
1291         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1292         array bounds.
1293         (__execvpe): Likewise.
1295 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1297         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1298         -fno-isolate-erroneous-paths options for tilepro.
1300 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1302         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1303         to 0 when in 32 bit mode.
1304         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1305         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1306         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1307         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1309         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1310         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1311         XSTAT_IS_XSTAT64 test.
1312         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1313         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1314         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1315         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1316         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1317         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1318         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1319         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1320         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1321         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1322         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1324 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1326         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1327         (setpayload): New declaration.
1328         * math/Versions (setpayload): New libm symbol at version
1329         GLIBC_2.25.
1330         (setpayloadf): Likewise.
1331         (setpayloadl): Likewise.
1332         * math/Makefile (libm-calls): Add s_setpayloadF.
1333         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1334         test_Ff_b1_data.
1335         (RUN_TEST_Ff_b1): New macro.
1336         (RUN_TEST_LOOP_Ff_b1): Likewise.
1337         (canonicalize_test_data): Update type.
1338         (setpayload_test_data): New array.
1339         (setpayload_test): New function.
1340         (main): Call setpayload_test.
1341         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1342         setpayloadf and setpayloadl.
1343         * manual/libm-err-tab.pl: Update comment on interfaces without
1344         ulps tabulated.
1345         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1346         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1347         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1348         Likewise.
1349         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1350         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1351         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1352         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1353         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1354         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1355         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1356         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1357         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1358         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1359         setpayload.
1360         (CFLAGS-nldbl-setpayload.c): New variable.
1361         * sysdeps/nacl/libm.abilist: Update.
1362         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1363         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1364         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1365         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1366         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1373         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1375         Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1377         Likewise.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1379         Likewise.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1381         Likewise.
1382         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1388         Likewise.
1389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1390         Likewise.
1391         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1395 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1397         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1398         * include/unistd.h: Extend comment about __access_noerrno return
1399         semantics.
1400         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1401         (access_common): Correct typo for EACCES.
1403 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1405         * sysdeps/tile/math-tests.h: New file.
1407         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1408         (__old_set_dataplane): Rename from set_dataplane and make a
1409         compatibility symbol.
1410         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1411         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1412         sys/dataplane.h.
1414 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1416         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1417         script quote words in command output to log suitably for input to
1418         the shell.
1420 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1421             Maciej W. Rozycki  <macro@imgtec.com>
1423         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1424         `.Lno_weak_fn' label.
1425         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1426         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1428 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1429             Yury Norov  <ynorov@caviumnetworks.com>
1431         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1432         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1433         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1434         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1435         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1436         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1437         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1439         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1440         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1441         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1442         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1443         (sysdep_routines): Remove oldgetrlimit64.
1444         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1445         (sysdep_routines): Likewise.
1446         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1447         (sysdep_routines): Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1449         [$(subdir) = resource] (sysdep_routines): Likewise.
1450         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1451         [$(subdir) = resource] (sysdep_routines): Likewise.
1452         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1453         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1454         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1455         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1456         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1457         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1458         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1459         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1460         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1461         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1462         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1463         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1464         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1465         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1466         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1467         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1468         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1469         setrlimit and getrlimit.
1470         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1471         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1472         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1475         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1476         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1477         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1479         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1480         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1481         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1482         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1483         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1484         (__old_getrlimit64): Add compatibility symbol.
1485         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1487 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1489         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1490         newly built gmp, mpfr and mpc.
1492         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1494 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1496         * conform/Makefile (linknamespace-libs): Rename to
1497         linknamespace-libs-thr.
1498         (linknamespace-libs-posix): New variable.
1499         (linknamespace-libs-xsi): Likewise.
1500         (linknamespace-libs-XPG3): Include libcrypt.a.
1501         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1502         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1503         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1504         (linknamespace-libs-XOPEN2K): Likewise.
1505         (linknamespace-libs-XOPEN2K8): Likewise.
1506         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1508         [BZ #20829]
1509         * stdio-common/Versions (__snprintf): Add to version
1510         GLIBC_PRIVATE.
1511         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1512         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1513         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1514         of snprintf.
1515         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1517 2016-11-16  Zack Weinberg  <zackw@panix.com>
1519         * string/string.h: Remove obsolete comment stating that
1520         strcoll_l and strxfrm_l have not yet been standardized.
1522 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1524         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1525         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1526         __access_noerrno.
1527         * io/access.c (__access_noerrno): New function.
1528         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1529         (hurd_fail_seterrno): Likewise.
1530         (access_common): Likewise.
1531         (__access_noerrno): Likewise.
1532         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1533         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1534         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1535         macro.
1537 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1539         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1540         Only declare fpregs if [__SH_FPU_ANY__].
1542 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1544         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1545         Make code unconditional.
1546         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1548 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1550         * manual/sysinfo.texi (S_APPEND): Delete.
1551         (S_IMMUTABLE): Likewise.
1553 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1554             Magnus Granberg  <zorry@gentoo.org>
1555             Mike Frysinger  <vapier@gentoo.org>
1557         [BZ #20662]
1558         * configure.ac (libc_cv_predef_stack_protector): Also check for
1559         __stack_chk_fail_local symbols.
1560         * configure: Regenerated.
1562 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1564         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1565         (libc_hidden_def): Remove redefinition.
1566         (__sigsetjmp): Add hidden definition.
1567         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1568         (libc_hidden_def): Remove redefinition.
1569         (__sigsetjmp): Add hidden definition.
1571 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1573         * scripts/build-many-glibcs.py (os.path): Do not import.
1574         (Context): Inherit explicitly from object.  Remove blank line
1575         between class and docstring.
1576         (Config): Likewise.
1577         (Glibc): Likewise.
1578         (Command): Likewise.
1579         (CommandList): Likewise.
1580         (Context.write_files): Store chmod mode in a variable.
1582         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1583         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1584         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1586 2016-11-14  Zack Weinberg  <zackw@panix.com>
1588         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1589         creating or re-creating it.
1591         * string/bits/string2.h: Fix typo in comment.
1593 2016-11-14  Zack Weinberg  <zackw@panix.com>
1595         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1596         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1597         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1598         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1599         of redirected function names.
1601         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1602         as well.  Document that MESSAGE must be a single string literal.
1604 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1606         * scripts/build-many-glibcs.py: New file.
1608         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1609         (do_test): Disable -Wmaybe-uninitialized around uses of
1610         except_mask.
1612         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1614 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1616         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1617         (atomic_store_release): Provide tilepro-specific implementations.
1619 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1621         * math/math.h (__MATH_TG): New macro.
1622         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1623         [__USE_ISOC99] (signbit): Likewise.
1624         [__USE_ISOC99] (isfinite): Likewise.
1625         [__USE_ISOC99] (isnan): Likewise.
1626         [__USE_ISOC99] (isinf): Likewise.
1627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1628         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1630         __MATH_TG and __MATH_EVAL_FMT2.
1631         * sysdeps/generic/math_private.h (fabs_tg): Define using
1632         __MATH_TG.
1633         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1634         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1635         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1636         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1637         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1638         macro.
1639         (__iscanonical): Likewise.
1640         (iscanonical): Define using __MATH_TG.
1642 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1644         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1645         guards.
1647         * sysdeps/unix/sysv/linux/access.c: New file.
1648         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1650 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1652         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1653         and __WORDSIZE32_PTRDIFF_LONG.
1655 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1657         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1659 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1661         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1662         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1663         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1664         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1665         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1667         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1668         * sysdeps/unix/sysv/linux/truncate.c: New file.
1669         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1670         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1671         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1672         Remove.
1673         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1674         Likewise.
1676         * posix/tst-truncate-common.c: New file.
1677         * posix/tst-truncate.c: Use tst-truncate-common.c.
1678         * posix/tst-truncate64.c: Likewise and add LFS tests.
1679         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1680         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1681         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1682         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1683         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1685         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1686         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1687         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1688         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1689         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1690         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1691         Remove.
1692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1693         Likewise.
1695 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1697         [BZ #20790]
1698         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1699         to MAXLINESIZE.
1700         * sunrpc/bug20790.x: New file.
1701         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1702         variable.
1703         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1704         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1706         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1708         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1710         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1711         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1712         calloc, realloc, free, memalign and __libc_memalign rather than
1713         making them optional.
1715         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1716         for libc.so.
1718 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1720         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1721         ptw-lseek64.
1722         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1723         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1726         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1727         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1728         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1729         * sysdeps/unix/sysv/linux/lseek.c: New file.
1730         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1731         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1732         __libc_lseek64 from auto-generation.
1733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1734         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1736 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1738         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1739         * nptl/tst-cleanup1.c (do_test): Likewise.
1740         * nptl/tst-cleanup3.c (do_test): Likewise.
1741         * nptl/tst-key1.c (do_test): Likewise.
1742         * nptl/tst-key2.c (tf, do_test): Likewise.
1743         * nptl/tst-key3.c (tf, do_test): Likewise.
1744         * nptl/tst-stdio1.c (do_test): Likewise.
1745         * nptl/tst-stdio2.c (do_test): Likewise.
1747         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1748         * nptl/tst-kill6.c (handler): Likewise.
1749         * nptl/tst-tls2.c (CB): Likewise.
1750         * nptl/tst-tls3.c (CB): Likewise.
1752 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1754         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1756 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1757             Steve Ellcey  <sellcey@caviumnetworks.com>
1759         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1760           __ASSUME_ST_INO_64_BIT as 0
1761         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1762         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1763           over the code where __ASSUME_ST_INO_64_BIT is used.
1764         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1765         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1766         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1768 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1770         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1771         Document ABI exposure of the __kind offset.
1772         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1773         Mention reason for the __kind offset exposure in the ABI.
1774         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1775         Likewise.
1776         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1777         Likewise.
1778         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1779         Likewise.
1780         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1781         (struct __pthread_mutex_s): Likewise.
1782         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1783         Likewise.
1784         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1785         Likewise.
1786         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1787         Likewise.
1788         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1789         Likewise.
1790         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1791         Likewise.
1792         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1793         Likewise.
1794         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1795         (struct __pthread_mutex_s): Likewise.
1796         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1797         (struct __pthread_mutex_s): Likewise.
1798         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1799         Likewise.
1801 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1803         * test-skeleton.c: Document do_test usage.
1805 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1807         * iconv/gconv.h (__gconv_info): Define __data element using a
1808         zero-length array.
1810 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1812         * math/test-tgmath2.c: Split up test function.
1814 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1816         * Rules (tests-expected): New variable, depending on
1817         $(run-built-tests).
1818         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1819         $(tests).
1821         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1822         $(tests-unsupported).
1824 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1826         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1827         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1829 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1831         [BZ #20768]
1832         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1833         __fegetenv instead of fegetenv.
1835         [BZ #14139]
1836         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1837         (find_files): Obtain platform name from libm-test-ulps-name and
1838         store in %pplatforms.
1839         (canonicalize_platform): Remove.
1840         (print_platforms): Use $pplatforms directly.
1841         (by_platforms): Do not allow for platforms missing from
1842         %pplatforms.
1843         * sysdeps/aarch64/libm-test-ulps-name: New file.
1844         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1845         * sysdeps/arm/libm-test-ulps-name: Likewise.
1846         * sysdeps/generic/libm-test-ulps-name: Likewise.
1847         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1848         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1849         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1850         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1851         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1852         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1853         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1854         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1855         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1856         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1857         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1858         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1859         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1860         * sysdeps/sh/libm-test-ulps-name: Likewise.
1861         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1862         * sysdeps/tile/libm-test-ulps-name: Likewise.
1863         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1865         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1867         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1868         (test-xfail-check-execstack): New variable.
1870         * sysdeps/mips/localplt.data: New file.
1872 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1873             Steve Ellcey  <sellcey@caviumnetworks.com>
1875         * bits/wordsize.h: Add documentation.
1876         * sysdeps/aarch64/bits/wordsize.h : New file
1877         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1878         definitions.
1879         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1880         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1881         with #if instead of #ifdef.
1882         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1883         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1884         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1885         Add or change defines.
1886         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1887         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1888         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1889         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1890         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1891         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1892         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1893         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1894         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1895         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1896         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1897         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1898         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1899         * sysdeps/x86/bits/wordsize.h: Likewise.
1901 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1902             Kevin Petit  <kevin.petit@arm.com>
1904         * sysdeps/aarch64/memchr.S (__memchr): New file.
1906 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1908         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1910 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1912         [BZ #19398]
1913         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1914         $(linknamespace-symlists-tests).
1916 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1918         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1920 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1921             Carlos O'Donell  <carlos@redhat.com>
1923         [Bug #20729]
1924         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1925         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1926         for -Os related change.
1928 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1930         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1932 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1934         [BZ #19673]
1935         * manual/math.texi (Exponents and Logarithms): Correct description
1936         of clog10.
1938 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1940         [Bz #20729]
1941         * locale/weight.h: Include libc-internal.h.
1942         * locale/weightwc.h: Likewise.
1943         * nptl/nptl_dbP.h: Likewise.
1945 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1947         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1948         when it is MACH_PORT_NULL.
1950 2016-10-31  Andreas Schwab  <schwab@suse.de>
1952         [BZ #20707]
1953         * posix/glob.c (glob): Initialize pglob before checking for
1954         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1955         valid brace expression despite GLOB_BRACE.
1956         * posix/globtest.sh: Test it.
1958 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1960         [BZ #20729]
1961         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1962         Define.
1963         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1964         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1965         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1966         for seq2.back_us and seq1.back_us only for -Os compiles.
1967         * locale/weightwc.h (findix): Likewise.
1968         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1969         DB_GET_FIELD_ADDRESS only for -Os compiles.
1970         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1971         for slen only for -Os compiles.
1972         * string/strcoll_l.c (get_next_seq): Ignore
1973         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1974         for -Os compiles.
1976         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1977         * include/crypt.h: New file.
1979 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1981         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1982         from test-skeleton.c.
1983         (statclass): Replace calls to write with calls to write_message.
1985 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1987         * math/math.h
1988         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1989         New macro.
1990         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1991         Likewise.
1992         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1993         Likewise.
1994         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1995         SNANL.
1996         * math/test-double.h (snan_value_MACRO): New macro.
1997         * math/test-float.h (snan_value_MACRO): Likewise.
1998         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1999         * math/libm-test.inc (issignaling_test_data): Add tests of
2000         snan_value_MACRO.
2002 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2004         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2005         behavior when eliding a lock not held by the current thread.
2006         * sysdeps/powerpc/nptl/elide.h: Likewise.
2008 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2010         [BZ #20728]
2011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2012         branch to _exit() by a function call.
2014 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2016         * malloc/malloc.c: Update chunk layout comments.
2017         (chunk_main_arena): Update comment.
2019 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2021         * crypt/sha256.c, crypt/sha256-block.c,
2022         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2023         sha256_process_block to __sha256_process_block.
2024         * crypt/sha512.c, crypt/sha512-block.c,
2025         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2026         sha512_process_block to __sha512_process_block.
2028 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2030         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2032         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2034 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2036         [BZ #20019]
2037         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2038         definition in unrelocated shared library.
2039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2041 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2043         [BZ #20729]
2044         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2045         * sysdeps/unix/sysv/linux/i386/Makefile
2046         (uses-6-syscall-arguments): Define.
2047         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2048         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2049         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2050         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2051         Likewise.
2052         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2053         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2054         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2055         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2056         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2057         (CFLAGS-fallocate64.os): Likewise.
2058         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2059         (CFLAGS-pthread_rwlock_timedrdlock.os)
2060         (CFLAGS-pthread_rwlock_timedwrlock.o)
2061         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2062         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2063         (CFLAGS-sem_timedwait.os): Likewise.
2065 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2067         * elf/tst-linkall-static.c: New file.
2068         * elf/Makefile (tests-static): Add tst-linkall-static.
2069         (tst-linkall-static): Link against static libraries.
2071 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2073         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2074         mmaped chunks.
2076 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2078         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2079         members to mchunk_prev_size, mchunk_size.
2080         (chunk_main_arena): Reverse sense and rename from
2081         chunk_non_main_arena.
2082         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2083         mchunk_size instead of size.
2084         (set_non_main_arena): Define.
2085         (chunksize): Use chunksize_nomask instead of direct member access.
2086         (chunksize_nomask): Define.
2087         (next_chunk): Use chunksize instead of direct member access.
2088         (prev_size, set_prev_size): Define.
2089         (prev_chunk): Use prev_size instead of direct member access.
2090         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2091         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2092         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2093         (mchunk_prev_size, mchunk_size): Poison tokens.
2094         (unlink): Use chunksize_nomask, prev_size accessors.
2095         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2096         (do_check_free_chunk): Use prev_size accessor.
2097         (sysmalloc): Use set_prev_size, set_head accessors.
2098         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2099         (__libc_free): Use chunksize_nomask accessor.
2100         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2101         chunk_main_arena accessors.
2102         (_int_free): Use chunksize_nomask, prev_size accessors.
2103         (malloc_consolidate): Use chunksize, prev_size accessors.
2104         (_int_realloc): Use chunksize_nomask accessor.
2105         (_int_memalign): Use set_prev_size accessor.
2106         (__malloc_info): Use chunksize_nomask accessor.
2107         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2108         accessors.
2109         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2110         (heap_trim): Use chunksize_nomask, prev_size accessors.
2112 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2114         [BZ #19380]
2115         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2116         for inexact results.
2117         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2118         of inexact result where mpfr_subnormalize is the only inexact
2119         step.
2120         * stdlib/tst-strtod-round-data.h: Regenerated.
2121         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2122         Define to 0.
2123         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2125 2016-10-27  David S. Miller  <davem@davemloft.net>
2127         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2129 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2131         * malloc/malloc.c (do_set_mallopt_check): New function.
2132         (do_set_mmap_threshold): Likewise.
2133         (do_set_mmaps_max): Likewise.
2134         (do_set_top_pad): Likewise.
2135         (do_set_perturb_byte): Likewise.
2136         (do_set_trim_threshold): Likewise.
2137         (do_set_arena_max): Likewise.
2138         (do_set_arena_test): Likewise.
2139         (__libc_mallopt): Use them.
2141 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2143         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2144         (canonicalize): New declaration.
2145         * math/Versions (canonicalize): New libm symbol at version
2146         GLIBC_2.25.
2147         (canonicalizef): Likewise.
2148         (canonicalizel): Likewise.
2149         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2150         * math/s_canonicalize_template.c: New file.
2151         * math/libm-test.inc: Update comment on functions tested and
2152         testing of NaN payloads.
2153         (TEST_NAN_PAYLOAD): New macro.
2154         (NO_TEST_INLINE): Update value.
2155         (XFAIL_TEST): Likewise.
2156         (ERRNO_UNCHANGED): Likewise.
2157         (ERRNO_EDOM): Likewise.
2158         (ERRNO_ERANGE): Likewise.
2159         (IGNORE_RESULT): Likewise.
2160         (NON_FINITE): Likewise.
2161         (TEST_SNAN): Likewise.
2162         (NO_TEST_MATHVEC): Likewise.
2163         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2164         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2165         (struct test_Ffp_b1_data): New type.
2166         (RUN_TEST_Ffp_b1): New macro.
2167         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2168         (canonicalize_test_data): New array.
2169         (canonicalize_test): New function.
2170         (main): Call canonicalize_test.
2171         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2172         canonicalizef and canonicalizel.
2173         * manual/libm-err-tab.pl: Update comment on interfaces without
2174         ulps tabulated.
2175         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2176         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2177         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2178         canonicalize.
2179         (CFLAGS-nldbl-canonicalize.c): New variable.
2180         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2181         to ...
2182         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2183         ... here.
2184         (do_test): Also test canonicalizel.
2185         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2186         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2187         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2188         file.
2189         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2190         Use libm_hidden_def.
2191         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2192         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2193         (do_test): Also test canonicalizel.
2194         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2195         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2196         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2197         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2198         libm_hidden_def.
2199         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2200         macro.
2201         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2202         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2203         * sysdeps/nacl/libm.abilist: Update.
2204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2217         Likewise.
2218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2219         Likewise.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2221         Likewise.
2222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2223         Likewise.
2224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2230         Likewise.
2231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2232         Likewise.
2233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2237         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2238         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2239         getpayload.
2240         (CFLAGS-nldbl-getpayload.c): New variable.
2242 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2244         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2245         integer from the format string.
2247 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2249         [BZ #19473]
2250         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2251         declarations.
2252         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2253         weak aliases.
2254         * malloc/hooks.c (__malloc_get_state): Remove definition.
2255         (malloc_get_state): New stub implementation as
2256         compatibility symbol.
2257         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2258         compat symbol.
2259         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2260         malloc_set_state.
2261         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2263 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2265         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2266         (names): Turn into concatenation of strings.
2267         (gconv_init): Adapt iteration over names.
2269 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2271         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2272         make const.
2273         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2274         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2275         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2276         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2277         character in sbconv.
2278         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2279         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2280         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2282 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2284         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2286         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2287         (M_TRIM_THRESHOLD): Likewise.
2289         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2290         (M_ARENA_MAX): Likewise.
2291         * malloc/malloc.c: Remove obsolete comment.
2293         * manual/memory.texi: Add environment variable alternatives to
2294         setting mallopt parameters.
2296 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2298         * include/atomic.h
2299         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2300         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2302 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2304         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2305         * stdlib/tst-strfrom.h: New file.
2306         * stdlib/tst-strfrom.c: New file.
2307         * stdlib/tst-strfrom-locale.c: New file.
2309         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2310         * stdlib/bug-strtod2.c: Likewise.
2311         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2312         * stdlib/tst-strtod6.c: Likewise.
2313         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2315 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2317         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2318         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2319         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2320         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2321         * stdlib/stdlib.h (strfromd): New declaration.
2322         (strfromf): Likewise.
2323         (strfroml): Likewise.
2324         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2325         strfrom.
2326         * stdlib/strfromd.c: New file.
2327         * stdlib/strfromf.c: Likewise.
2328         * stdlib/strfroml.c: Likewise.
2329         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2330         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2331         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2332         * sysdeps/arm/nacl/libc.abilist: Update.
2333         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2353         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2360         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2362 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2364         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2365         instead of cmpli.
2366         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2367         instead of cmpli.
2369 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2371         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2372         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2373         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2374         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2375         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2376         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2378 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2380         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2381         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2382         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2383         SYSCALL_LL64_PRW.
2384         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2385         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2386         __ASSUME_PRW_DUMMY_ARG.
2387         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2388         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2389         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2390         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2391         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2392         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2394 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2396         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2398 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2400         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2401         "C++", to override a potential extern "C" directive around the
2402         header file inclusion.
2404 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2406         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2408 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2410         * sysdeps/powerpc/fpu/fenv_private.h:
2411         (_FPU_MASK_ALL): Rename to...
2412         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2413         XE FPSCR bits.
2415         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2417         (_FPU_MASK_ROUNDING): Rename to...
2418         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2419         NI bits.
2421         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2422         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2423         bits and rounding bits.
2425         (__libc_feholdbits_ppc): New inline function to mask, set,
2426         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2427         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2428         (libc_feholdexcept_setround_ppc): Likewise.
2430         (__libc_femergeenv_ppc): New function to dynamically mask both
2431         old and new FP environments and merge.
2432         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2433         (libc_feresetround_ppc): Likewise.
2434         (libc_feupdateenv_test_ppc): Likewise.
2435         (libc_feupdateenv_ppc): Likewise.
2437         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2438         of ISA RN bits, and update macro names.
2439         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2440         effectively the same as the previously mentioned function.
2442         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2443         usage with fe_resetround_ppc.
2445         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2446         to be used.
2447         (libc_feholdexcept_setround_ctxf): Likewise.
2448         (libc_feholdexcept_setround_ctxl): Likewise.
2450 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2452         [BZ #20715]
2453         * math/math.h [__cplusplus] (iszero): Define as function template.
2454         * math/Makefile [CXX] (tests): Add test-math-iszero.
2455         (CFLAGS-test-math-iszero.cc): Set.
2456         * math/test-math-iszero.cc: New file.
2458 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2460         [BZ #20660]
2461         * sysdeps/arm/e_sqrt.c: New file.
2462         * sysdeps/arm/e_sqrtf.c: Likewise.
2464 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2466         [BZ #20718]
2467         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2468         not use floating-point comparisons to test sign.
2469         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2470         Likewise.
2472         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2473         (getpayload): New declaration.
2474         * math/Versions (getpayload): New libm symbol at version
2475         GLIBC_2.25.
2476         (getpayloadf): Likewise.
2477         (getpayloadl): Likewise.
2478         * math/Makefile (libm-calls): Add s_getpayloadF.
2479         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2480         (struct test_f_f_data): Add comment.
2481         (RUN_TEST_fp_f): New macro.
2482         (RUN_TEST_LOOP_fp_f): Likewise.
2483         (getpayload_test_data): New array.
2484         (getpayload_test): New function.
2485         (main): Call getpayload_test.
2486         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2487         descriptor.
2488         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2489         getpayloadf and getpayloadl.
2490         * manual/libm-err-tab.pl: Update comment on interfaces without
2491         ulps tabulated.
2492         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2493         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2494         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2495         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2496         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2497         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2498         * sysdeps/nacl/libm.abilist: Update.
2499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2512         Likewise.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2514         Likewise.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2516         Likewise.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2518         Likewise.
2519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2527         Likewise.
2528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2532 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2534         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2535         tst-fallocate{64}.
2536         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2537         on syscall return.
2539 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2541         [BZ #20689]
2542         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2543         usable.
2545 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2547         * sysdeps/generic/nan-high-order-bit.h: New file.
2548         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2549         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2550         * sysdeps/hppa/math_private.h: Remove file.
2551         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2552         not define here.
2553         * sysdeps/ieee754/dbl-64/s_issignaling.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/s_totalorder.c: Include
2557         <nan-high-order-bit.h>.
2558         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2559         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2560         <nan-high-order-bit.h>.
2561         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2562         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2563         <nan-high-order-bit.h>.
2564         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2565         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2566         <nan-high-order-bit.h>.
2567         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2568         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2569         <nan-high-order-bit.h>.
2570         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2571         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2572         <nan-high-order-bit.h>.
2573         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2574         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2575         <nan-high-order-bit.h>.
2576         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2577         * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/s_issignalingl.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-128/s_totalorderl.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-128/s_totalordermagl.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-128ibm/s_issignalingl.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-128ibm/s_totalorderl.c: Include
2593         <nan-high-order-bit.h>.
2594         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2595         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2596         <nan-high-order-bit.h>.
2597         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2598         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2599         <nan-high-order-bit.h>.
2600         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2601         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2602         <nan-high-order-bit.h>.
2603         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2604         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2605         <nan-high-order-bit.h>.
2606         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2608 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2610         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2612 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2614         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2615         abort-instr.h.
2616         (EFAULT): Remove conditional define.
2617         (ENOSYS): Likewise.
2618         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2619         instead of conditional branch instructions.
2621 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2623         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2624         (totalordermag): New declaration.
2625         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2626         New macro.
2627         * math/Versions (totalordermag): New libm symbol at version
2628         GLIBC_2.25.
2629         (totalordermagf): Likewise.
2630         (totalordermagl): Likewise.
2631         * math/Makefile (libm-calls): Add s_totalordermagF.
2632         * math/libm-test.inc (totalordermag_test_data): New array.
2633         (totalordermag_test): New function.
2634         (main): Call totalordermag_test.
2635         * math/test-tgmath.c (NCALLS): Increase to 125.
2636         (F(compile_test)): Call totalordermag.
2637         (F(totalordermag)): New function.
2638         * manual/arith.texi (FP Comparison Functions): Document
2639         totalordermag, totalordermagf and totalordermagl.
2640         * manual/libm-err-tab.pl: Update comment on interfaces without
2641         ulps tabulated.
2642         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2643         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2644         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2645         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2646         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2647         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2648         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2649         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2650         totalordermag.
2651         (CFLAGS-nldbl-totalordermag.c): New variable.
2652         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2653         (do_test): Also test totalordermagl.
2654         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2655         Likewise.
2656         * sysdeps/nacl/libm.abilist: Update.
2657         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2658         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2659         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2660         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2661         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2663         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2665         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2666         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2667         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2670         Likewise.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2672         Likewise.
2673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2674         Likewise.
2675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2676         Likewise.
2677         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2681         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2683         Likewise.
2684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2685         Likewise.
2686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2690 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2692         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2693         boolean.
2695 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2697         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2698         raising FE_INVALID with feraisexcept in case where part of
2699         argument is infinite, subtract that part of argument from itself.
2700         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2701         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2702         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2704 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2706         * math/libm-test.inc (totalorder_test_data): Add more tests.
2708 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2710         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2711         Undefine weak_alias and add a comment why mips64 require
2712         versioning.
2714 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2716         [BZ #20647]
2717         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2718         maximum CPUID level is less than 2.
2720 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2722         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2723         (totalorder): New declaration.
2724         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2725         New macro.
2726         * math/Versions (totalorder): New libm symbol at version
2727         GLIBC_2.25.
2728         (totalorderf): Likewise.
2729         (totalorderl): Likewise.
2730         * math/Makefile (libm-calls): Add s_totalorderF.
2731         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2732         string.
2733         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2734         (qnan_value_pl): Likewise.
2735         (snan_value_pl): Likewise.
2736         (qnan_value): Define using qnan_value_pl.
2737         (snan_value): Define using snan_value_pl.
2738         (struct test_ff_i_data): Add comment about which tests use this
2739         structure.
2740         (RUN_TEST_ff_b): New macro.
2741         (RUN_TEST_LOOP_ff_b): Likewise.
2742         (totalorder_test_data): New array.
2743         (totalorder_test): New function.
2744         (main): Call totalorder_test.
2745         * math/test-tgmath.c (NCALLS): Increase to 122.
2746         (F(compile_test)): Call totalorder.
2747         (F(totalorder)): New function.
2748         * manual/arith.texi (FP Comparison Functions): Document
2749         totalorder, totalorderf and totalorderl.
2750         * manual/libm-err-tab.pl: Update comment on interfaces without
2751         ulps tabulated.
2752         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2753         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2754         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2755         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2756         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2757         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2758         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2759         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2760         totalorder.
2761         (CFLAGS-nldbl-totalorder.c): New variable.
2762         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2763         file.
2764         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2765         Add test-totalorderl-ldbl-128ibm.
2766         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2767         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2768         test-totalorderl-ldbl-96.
2769         * sysdeps/nacl/libm.abilist: Update.
2770         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2771         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2772         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2773         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2774         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2775         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2776         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2777         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2778         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2779         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2780         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2781         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2783         Likewise.
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2787         Likewise.
2788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2789         Likewise.
2790         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2791         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2792         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2793         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2794         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2796         Likewise.
2797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2798         Likewise.
2799         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2801         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2803 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2805         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2806         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2807         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2808         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2809         remove ENOSYS implementation.
2810         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2811         Consolidate all Linux implementations.
2813 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2815         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2816         * resolv/herror.c (herror): Cast away const-ness.
2817         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2818         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2820 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2822         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2823         instead of M_NAN + M_NAN.
2824         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2826 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2828         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2829         unused variable 'p'.
2831 2016-10-09  Alan Modra  <amodra@gmail.com>
2832             Andreas Schwab  <schwab@linux-m68k.org>
2834         [BZ #20554]
2835         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2836         [PIC && !SHARED]: Set up PIC register for PLT call.
2838 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2840         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2841         conditional on value of [__FLT_EVAL_METHOD__].
2842         * math/test-iseqsig-excess-precision.c: New file.
2843         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2845 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2847         * math/s_iseqsig_template.c: Include math-private.h.
2849         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2850         * posix/tst-posix_fadvise.c: New file.
2851         * posix/tst-posix_fadvise64.c: Likewise.
2852         * posix/tst-posix_fadvise-common.c: Likewise.
2853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2854         (__ASSUME_FADVISE64_64_6ARG): Define.
2855         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2856         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2857         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2858         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2859         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2860         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2861         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2862         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2863         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2864         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2865         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2866         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2869         Likewise.
2870         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2871         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2872         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2873         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2874         Alias to __posix_fadvise64_l32.
2875         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2876         Add compat definition to posix_fadvise64.
2877         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2878         Add versioned definition to posix_fadvise64.
2879         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2880         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2881         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2882         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2883         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2885         * io/Makefile (tests): Add tst-posix_fallocate and
2886         tst-posix_fallocate64.
2887         * io/tst-posix_fallocate-common.c: New file.
2888         * io/tst-posix_fallocate.c: Likewise.
2889         * io/tst-posix_fallocate64.c: Likewise.
2890         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2891         file.
2892         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2893         Likewise.
2894         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2895         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2896         Likewise.
2897         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2898         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2899         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2900         SYSCALL_LL to pass both offset and len arguments.
2901         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2902         Likewise.
2903         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2904         __libc_pwrite64 alias used by posix_fallocate64.
2906         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2907         tst-fallocate64.
2908         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2909         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2910         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2911         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2912         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2913         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2914         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2915         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2916         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2917         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2918         macro on offset argument.
2919         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2920         SYSCALL_LL64 on offset argument.
2922         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2923         tst-fallocate64.
2924         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2925         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2926         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2927         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2928         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2929         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2930         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2931         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2932         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2933         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2934         macro on offset argument.
2935         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2936         SYSCALL_LL64 on offset argument.
2937         * test-skeleton.c (FAIL_RET): Add macro.
2938         (FAIL_EXIT): Likewise.
2939         (FAIL_EXIT1): Likewise.
2940         (_FAIL): Likewise.
2942 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2944         [BZ #20629]
2945         resolv: Remove RES_USEBSTRING and its implementation.
2946         * resolv/resolv.h (RES_USEBSTRING): Remove.
2947         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2948         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2949         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2950         (labellen): Remove extended label types support.
2951         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2952         * resolv/res_init.c (res_setoptions): Likewise.
2953         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2955 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2957         resolv: Remove RES_NOIP6DOTINT and its implementation.
2958         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2959         (RES_NOIP6DOTINT): Remove.
2960         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2961         handling.
2962         * resolv/res_debug.c (p_option): Likewise.
2963         * resolv/res_init.c (res_setoptions): Likewise.
2964         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2966 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2968         resolv: Deprecate unimplemented flags.
2969         * misc/sys/cdefs.h (__glibc_macro_warning1)
2970         (__glibc_macro_warning): Define.
2971         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2972         (RES_KEEPTSIG): Mark as deprecated.
2973         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2974         RES_NOCHECKNAME, RES_KEEPTSIG.
2975         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2977 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2979         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2980         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2981         Use strong_alias to create symbols for glibc verison 2.19.
2983 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2985         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2987 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2989         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2991 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2993         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2995 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2997         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2998         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2999         in header for using it as type for ifunc function because __GI_* symbols
3000         for ppc32 do not target the ifunc symbols.
3001         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3003 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3005         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3006         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3007         libc_ifunc_hidden_def.
3008         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3009         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3010         Redirect ifunced function in header for using it as type of ifunc'ed
3011         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3012         function for __GI_* symbol.
3013         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3014         * include/libc-symbols.h
3015         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3017 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3019         [BZ #20478]
3020         * sysdeps/s390/multiarch/ifunc-resolve.h
3021         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3022         to create ifunc symbols.
3023         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3024         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3025         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3026         for using it as type for ifunc function.
3027         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3028         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3029         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3030         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3031         * sysdeps/s390/multiarch/strcat.c: Likewise.
3032         * sysdeps/s390/multiarch/strchr.c: Likewise.
3033         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3034         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3035         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3036         * sysdeps/s390/multiarch/strlen.c: Likewise.
3037         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3038         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3039         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3040         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3041         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3042         * sysdeps/s390/multiarch/strspn.c: Likewise.
3043         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3044         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3045         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3046         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3047         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3048         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3049         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3050         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3051         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3052         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3053         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3054         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3056 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3058         * include/libc-symbols.h (__ifunc_resolver):
3059         New macro is used by __ifunc* macros.
3060         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3061         depending on HAVE_GCC_IFUNC.
3062         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3063         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3065         Redirect ifunced function in header for using as type for ifunc function.
3066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3073         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3074         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3075         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3076         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3077         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3078         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3079         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3085         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3086         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3087         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3088         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3089         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3090         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3091         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3092         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3093         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3094         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3095         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3096         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3097         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3098         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3100         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3101         instead of libc_ifunc() macro.
3102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3105 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3107         * config.h.in (HAVE_GCC_IFUNC): New undef.
3108         * configure.ac: Add check if gcc supports attribute ifunc feature.
3109         * configure: Regenerated.
3110         * manual/install.texi: Add recommendation for gcc with
3111         indirect-function support.
3112         * INSTALL: Regenerated.
3114 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3116         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3117         macro.
3118         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3119         (__iseqsig): New declaration.
3120         * math/s_iseqsig_template.c: New file.
3121         * math/Versions (__iseqsigf): New libm symbol at version
3122         GLIBC_2.25.
3123         (__iseqsig): Likewise.
3124         (__iseqsigl): Likewise.
3125         * math/libm-test.inc (iseqsig_test_data): New array.
3126         (iseqsig_test): New function.
3127         (main): Call iseqsig_test.
3128         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3129         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3130         * manual/libm-err-tab.pl: Update comment on interfaces without
3131         ulps tabulated.
3132         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3133         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3134         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3135         * sysdeps/nacl/libm.abilist: Update.
3136         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3137         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3138         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3139         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3140         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3149         Likewise.
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3151         Likewise.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3153         Likewise.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3155         Likewise.
3156         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3162         Likewise.
3163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3164         Likewise.
3165         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3167         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3169 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3171         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3172         do_sincos_2, sloww, sloww1): Update comments.
3174         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3175         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3177         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3178         K boolean and rename it.
3179         (__sin): Adjust.
3180         (__cos): Adjust.
3182 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3183             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3185         * manual/nss.texi: Fix typos in the manual.
3187 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3189         * manual/contrib.texi: Fix typos in the manual.
3191         * manual/maint.texi: Fix typos in the manual.
3193         * manual/install.texi: Fix typos in the manual.
3194         * INSTALL: Regenerated.
3196         * manual/lang.texi: Fix typos in the manual.
3198         * manual/probes.texi: Fix typos in the manual.
3200         * manual/threads.texi: Fix typos in the manual.
3202         * manual/debug.texi: Fix typos in the manual.
3204         * manual/crypt.texi: Fix typos in the manual.
3206         * manual/conf.texi: Fix typos in the manual.
3208         * manual/sysinfo.texi: Fix typos in the manual.
3210         * manual/users.texi: Fix typos in the manual.
3212         * manual/job.texi: Fix typos in the manual.
3214         * manual/process.texi: Fix typos in the manual.
3216         * manual/argp.texi: Fix typos in the manual.
3217         * manual/getopt.texi: Likewise.
3218         * manual/startup.texi: Likewise.
3220         * manual/signal.texi: Fix typos in the manual.
3222         * manual/setjmp.texi: Fix typos in the manual.
3224         * manual/resource.texi: Fix typos in the manual.
3226         * manual/time.texi: Fix typos in the manual.
3228         * manual/arith.texi: Fix typos in the manual.
3230         * manual/math.texi: Fix typos in the manual.
3232         * manual/syslog.texi: Fix typos in the manual.
3234         * manual/terminal.texi: Fix typos in the manual.
3236         * manual/socket.texi: Fix typos in the manual.
3238         * manual/filesys.texi: Fix typos in the manual.
3240         * manual/llio.texi: Fix typos in the manual.
3242         * manual/stdio.text: Fix typos in the manual.
3244 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3246         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3247         instead of K1.
3249         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3250         SHIFT_QUADRANT and make it bool.
3251         (do_sincos_2): Likewise.
3252         (sloww): Likewise.
3253         (sloww1): Likewise.
3254         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3255         (__cos): Likewise.
3257 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3259         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3261 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3263         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3264         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3265         0x7fffffffL].
3266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3268 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3270         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3271         inline by __inline__.
3272         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3273         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3274         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3275         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3276         sigset_t from signal.h.
3277         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3278         which is already required.
3280 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3282         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3284 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3286         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3287         (struct tcp_repair_window): New type.
3289 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3291         * libio/tst-memstream3.c: Include string.h.
3293 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3295         [BZ #18241]
3296         [BZ #20181]
3297         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3298         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3299         write position is at the end the buffer.
3300         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3301         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3302         (_IO_str_seekoff): Set correct offset from negative displacement and
3303         set EINVAL for invalid ones.
3304         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3305         buffer length.
3306         (_IO_wstr_switch_to_get_mode): New function.
3307         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3308         set EINVAL for invalid ones.
3309         * libio/tst-memstream3.c: New file.
3310         * libio/tst-wmemstream3.c: Likewise.
3311         * manual/examples/memstrm.c: Remove warning when priting size_t.
3313 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3315         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3316         macro to use __builtin_fma.
3317         * sysdeps/x86_64/fpu/dla.h: Remove file.
3319         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3320         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3321         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3323 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3325         [BZ #20292]
3326         * elf/Makefile (routines): Add dl-addr-obj.
3327         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3328         tst-_dl_addr_inside_object.
3329         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3330         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3331         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3332         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3333         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3334         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3335         * elf/dl-open.c: Likewise.
3336         * elf/dl-addr-obj.c: New file.
3337         * elf/tst-_dl_addr_inside_object.c: New file.
3339 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3341         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3342         <bits/iscanonical.h>.
3343         * bits/iscanonical.h: New file.
3344         * math/s_iscanonicall.c: Likewise.
3345         * math/Versions (__iscanonicall): New libm symbol at version
3346         GLIBC_2.25.
3347         * math/libm-test.inc (iscanonical_test_data): New array.
3348         (iscanonical_test): New function.
3349         (main): Call iscanonical_test.
3350         * math/Makefile (headers): Add bits/iscanonical.h.
3351         (type-ldouble-routines): Add s_iscanonicall.
3352         * manual/arith.texi (Floating Point Classes): Document
3353         iscanonical.
3354         * manual/libm-err-tab.pl: Update comment on interfaces without
3355         ulps tabulated.
3356         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3357         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3358         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3359         Likewise.
3360         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3361         test-iscanonical-ldbl-128ibm.
3362         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3363         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3364         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3365         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3366         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3368         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3370         Likewise.
3371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3372         Likewise.
3373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3374         Likewise.
3375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3376         Likewise.
3377         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3378         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3380 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3382         * string/bits/string3.h: Remove C++ style comments.
3384 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3386         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3387         instead of ternary condition.
3388         (do_sincos_2): Likewise.
3389         (__sin): Likewise.
3390         (__cos): Likewise.
3391         (slow): Likewise.
3392         (sloww): Likewise.
3393         (sloww1): Likewise.
3394         (bsloww): Likewise.
3395         (bsloww1): Likewise.
3397         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3398         instead of ternary condition.
3399         (do_sin_slow): Likewise.
3400         (do_sincos_1): Likewise.
3401         (do_sincos_2): Likewise.
3402         (__cos): Likewise.
3403         (sloww): Likewise.
3404         (sloww1): Likewise.
3405         (sloww2): Likewise.
3406         (bsloww): Likewise.
3407         (bsloww1): Likewise.
3408         (bsloww2): Likewise.
3410         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3411         check from here...
3412         (slow2): ... and here...
3413         (__sin): ... to here.
3415 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3417         * math/math.h
3418         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3419         Cast argument to its own type.
3420         * math/test-iszero-excess-precision.c: New file.
3421         * math/Makefile (tests): Add test-iszero-excess-precision.
3422         (CFLAGS-test-iszero-excess-precision.c): New variable.
3424 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3426         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3427         field, add err field.
3428         (__spawni_child): Report error through err member instead of pipe.
3429         (__spawnix): Likewise.
3431 2016-09-28  Zack Weinberg  <zackw@panix.com>
3433         * scripts/check-installed-headers.sh: Generalize treatment of
3434         sys/elf.h to all target architectures.
3436         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3437         deleted typedef ucontext_t.
3439 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3441         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3442         (__INTERNAL_SYSCALL1): Likewise.
3443         (__INTERNAL_SYSCALL2): Likewise.
3444         (__INTERNAL_SYSCALL3): Likewise.
3445         (__INTERNAL_SYSCALL4): Likewise.
3446         (__INTERNAL_SYSCALL5): Likewise.
3447         (__INTERNAL_SYSCALL6): Likewise.
3448         (__INTERNAL_SYSCALL7): Likewise.
3449         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3450         (__INTERNAL_SYSCALL_NARGS): Likewise.
3451         (__INTERNAL_SYSCALL_DISP): Likewise.
3452         (INTERNAL_SYSCALL_CALL): Likewise.
3453         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3454         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3455         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3456         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3457         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3458         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3459         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3460         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3461         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3462         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3463         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3464         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3465         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3467 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3469         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3470         macro.
3471         * math/libm-test.inc (iszero_test_data): New array.
3472         (iszero_test): New function.
3473         (main): Call iszero_test.
3474         * manual/arith.texi (Floating Point Classes): Document iszero.
3475         * manual/libm-err-tab.pl: Update comment on interfaces without
3476         ulps tabulated.
3478 2016-09-23  Zack Weinberg  <zackw@panix.com>
3480         * scripts/check-installed-headers.sh: New script.
3481         * Rules: In each directory that defines header files to be installed,
3482         run check-installed-headers.sh on them as a special test.
3483         * Makefile: Likewise for the headers installed at top level.
3485         * include/aliases.h, include/alloca.h, include/argz.h
3486         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3487         * include/elf.h, include/envz.h, include/err.h
3488         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3489         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3490         * include/link.h, include/malloc.h, include/mcheck.h
3491         * include/mntent.h, include/netinet/ether.h
3492         * include/nss.h, include/obstack.h, include/printf.h
3493         * include/pty.h, include/resolv.h, include/rpc/auth.h
3494         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3495         * include/rpc/clnt.h, include/rpc/des_crypt.h
3496         * include/rpc/key_prot.h, include/rpc/netdb.h
3497         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3498         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3499         * include/rpc/rpc_msg.h, include/rpc/svc.h
3500         * include/rpc/svc_auth.h, include/rpc/xdr.h
3501         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3502         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3503         * include/rpcsvc/ypupd.h, include/shadow.h
3504         * include/stdio_ext.h, include/sys/epoll.h
3505         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3506         * include/sys/prctl.h, include/sys/profil.h
3507         * include/sys/statfs.h, include/sys/sysctl.h
3508         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3509         * sysdeps/arm/nacl/include/bits/setjmp.h
3510         * sysdeps/mips/include/sys/asm.h
3511         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3512         * sysdeps/unix/sysv/linux/include/sys/timex.h
3513         * sysdeps/x86/fpu/include/bits/fenv.h:
3514         Add #ifndef _ISOMAC guard around internal declarations.
3515         Add multiple-inclusion guard if not already present.
3517 2016-09-23  Zack Weinberg  <zackw@panix.com>
3519         * sysdeps/generic/sys/ucontext.h
3520         * sysdeps/arm/sys/ucontext.h
3521         * sysdeps/i386/sys/ucontext.h
3522         * sysdeps/m68k/sys/ucontext.h
3523         * sysdeps/mips/sys/ucontext.h
3524         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3525         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3526         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3527         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3528         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3529         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3530         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3531         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3532         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3533         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3534         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3535         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3536         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3537         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3538         Include both bits/sigcontext.h and bits/sigstack.h.
3539         Fix grammar error in comment, if present.
3541         * bits/sigstack.h
3542         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3543         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3544         * sysdeps/unix/sysv/linux/bits/sigstack.h
3545         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3546         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3547         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3548         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3549         * bits/sigcontext.h
3550         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3551         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3552         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3553         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3554         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3555         as well as signal.h, if this was not already allowed.  Request
3556         definition of size_t if necessary.  Minimize semantically-null
3557         differences across files.
3559 2016-09-23  Zack Weinberg  <zackw@panix.com>
3561         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3562         Remove all logic conditional on __need macros.  Move all the
3563         conditionally defined types to their own headers...
3564         * time/bits/types/clock_t.h: Define clock_t here.
3565         * time/bits/types/clockid_t.h: Define clockid_t here.
3566         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3567         * time/bits/types/struct_timespec.h: Define struct timespec here.
3568         * time/bits/types/struct_timeval.h: Define struct timeval here.
3569         * time/bits/types/struct_tm.h: Define struct tm here.
3570         * time/bits/types/time_t.h: Define time_t here.
3571         * time/bits/types/timer_t.h: Define timer_t here.
3572         * time/Makefile: Install the new headers.
3574         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3575         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3576         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3577         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3578         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3579         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3580         * sysdeps/unix/sysv/linux/bits/resource.h
3581         * sysdeps/unix/sysv/linux/bits/timex.h
3582         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3583         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3584         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3585         * sysdeps/unix/sysv/linux/sys/acct.h
3586         * sysdeps/unix/sysv/linux/sys/timerfd.h
3587         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3588         * time/sys/time.h, time/sys/timeb.h
3589         Use the new bits/types headers.
3591         * include/time.h: Remove __need logic.
3592         * include/bits/time.h
3593         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3594         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3595         * include/bits/types/struct_itimerspec.h
3596         * include/bits/types/struct_timespec.h
3597         * include/bits/types/struct_timeval.h
3598         * include/bits/types/struct_tm.h:
3599         New wrapper headers.
3601 2016-09-23  Zack Weinberg  <zackw@panix.com>
3603         * sysdeps/mach/hurd/net/if_ppp.h
3604         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3605         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3606         if __USE_MISC is defined, to ensure struct ifreq is declared.
3608         * inet/netinet/ether.h: Condition all function prototypes
3609         on __USE_MISC, to ensure struct ether_addr is declared.
3611         * socket/bits/types/struct_osockaddr.h: New header.
3612         * include/bits/types/struct_osockaddr.h: New wrapper.
3613         * socket/Makefile: Install the new header.
3614         * socket/sys/socket.h, inet/protocols/talkd.h:
3615         Refer to bits/types/struct_osockaddr.h for the definition of
3616         struct osockaddr.
3618 2016-09-23  Zack Weinberg  <zackw@panix.com>
3620         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3621         * inet/protocols/routed.h, inet/protocols/talkd.h
3622         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3623         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3624         * sysdeps/generic/netinet/if_ether.h
3625         * sysdeps/generic/netinet/in_systm.h
3626         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3627         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3628         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3629         * sysdeps/mach/hurd/net/if_arp.h
3630         * sysdeps/mach/hurd/net/if_ppp.h
3631         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3632         * sysdeps/unix/sysv/linux/bits/in.h
3633         * sysdeps/unix/sysv/linux/net/ethernet.h
3634         * sysdeps/unix/sysv/linux/net/if_arp.h
3635         * sysdeps/unix/sysv/linux/net/if_ppp.h
3636         * sysdeps/unix/sysv/linux/net/if_shaper.h
3637         * sysdeps/unix/sysv/linux/net/route.h
3638         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3639         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3640         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3641         * sysdeps/unix/sysv/linux/netipx/ipx.h
3642         * sysdeps/unix/sysv/linux/sys/acct.h
3643         * include/arpa/nameser.h, include/resolv.h:
3644         Change all uses of u_char to unsigned char,
3645         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3646         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3647         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3648         and u_int64_t and u_quad_t to uint64_t.
3650         * mach/sys/reboot.h: Remove two casts of integer literals
3651         to the types they already have.
3653         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3654         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3655         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3656         from referring to 'unsigned char' to 'uint8_t' for consistency with
3657         the macro definition below.
3659         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3660         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3661         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3662         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3663         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3664         * sysdeps/unix/sysv/linux/sys/acct.h
3665         * include/arpa/nameser.h, include/resolv.h:
3666         Fix indentation disrupted by mechanical edits.
3668         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3669         * sysdeps/generic/netinet/in_systm.h
3670         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3671         * sysdeps/gnu/netinet/udp.h
3672         * sysdeps/unix/sysv/linux/net/ethernet.h
3673         * sysdeps/unix/sysv/linux/net/if_arp.h
3674         * sysdeps/unix/sysv/linux/net/if_ppp.h
3675         * sysdeps/unix/sysv/linux/net/if_shaper.h
3676         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3677         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3678         * sysdeps/unix/sysv/linux/netipx/ipx.h
3679         * sysdeps/unix/sysv/linux/sys/acct.h
3680         Include stdint.h for uintNN_t definitions.
3681         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3683 2016-09-23  Zack Weinberg  <zackw@panix.com>
3685         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3686         * sysdeps/unix/sysv/linux/netrose/rose.h:
3687         Include sys/socket.h and netax25/ax25.h.
3689         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3690         * resolv/arpa/nameser_compat.h:
3691         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3693         * sysdeps/unix/sysv/linux/sys/quota.h:
3694         Use __caddr_t instead of caddr_t.
3695         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3696         Use __clockid_t instead of clockid_t.
3698         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3700         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3701         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3702         expanding it.
3704         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3705         Define __glibc_c99_flexarr_available to 1 when the compiler
3706         supports C99-compatible flexible array members, 0 otherwise.
3707         * sysdeps/unix/sysv/linux/bits/socket.h
3708         * sysdeps/mach/hurd/bits/socket.h
3709         * bits/socket.h: Use __glibc_c99_flexarr_available in
3710         definitions of struct cmsghdr and CMSG_DATA.
3712 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3714         * manual/nss.texi (NSS Modules Interface): Adjust function return
3715         type to enum nss_status.  Document errnop argument.  Clarify
3716         h_errnop semantics.  Fix cross-reference formatting.
3717         (NSS Module Function Internals): Mention that *errnop needs to be
3718         set on failure, but not to zero.
3720 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3722         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3723         (get_random_name): New functions.
3724         (check_wrapper_flags_mode): Use linkat to give the new file a name
3725         determined by get_random_name.
3726         (do_test): Add calls to test open64 and openat64.
3728 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3730         * test-skeleton.c: Remove #include <stdarg.h>.
3732 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3734         [BZ #19826]
3735         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3736         initialization of static TLS entries.
3737         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3738         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3740 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3742         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3743         _hurd_malloc_fork_prepare.
3744         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3745         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3746         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3747         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3748         (_hurd_fork_child_hook): Drop malloc_fork_child.
3749         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3750         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3751         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3752         after locking locks (notably hurd_dtable_lock). Call
3753         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3754         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3755         __malloc_fork_unlock_child.
3756         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3758 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3760         * soft-fp/extendhftf2.c: New.
3761         * soft-fp/fixhfti.c: Likewise.
3762         * soft-fp/fixunshfti.c: Likewise.
3763         * soft-fp/floattihf.c: Likewise.
3764         * soft-fp/floatuntihf.c: Likewise.
3765         * soft-fp/half.h: Likewise.
3766         * soft-fp/trunctfhf2.c: Likewise.
3768 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3770         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3771         macro.
3772         * math/libm-test.inc (issubnormal_test_data): New array.
3773         (issubnormal_test): New function.
3774         * manual/arith.texi (Floating Point Classes): Document
3775         issubnormal.
3776         * manual/libm-err-tab.pl: Update comment on interfaces without
3777         ulps tabulated.
3779         * sysdeps/generic/stdint.h: Define
3780         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3781         <bits/libc-header-start.h> instead of including <features.h>.
3782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3815         * manual/arith.texi (Integers): Document these macros for types
3816         specified by width properties.
3817         * manual/lang.texi (Width of Type): Document these macros for
3818         other standard typedefs.
3819         * stdlib/tst-width-stdint.c: New file.
3820         * stdlib/Makefile (tests): Add tst-width-stdint.
3822 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3824         [BZ #20016]
3825         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3826         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3827         Move ...
3828         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3829         ... here, as compatibility symbols in a new file.
3830         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3831         * resolv/res_init.c (__res_vinit): Adjust member names.
3832         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3833         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3834         (res_send_rhook): Remove.
3835         (struct __res_state): Rename qhook, rhook members.
3837 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3839         malloc: Use __libc_lock wrappers.
3840         * malloc/arena.c (list_lock, free_list_lock): Define using
3841         __libc_lock_define_initialized.
3842         (arena_lock): Adjust formatting.
3843         * malloc/malloc.c (struct malloc_state): Define mutex using
3844         __libc_lock_define.
3845         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3846         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3847         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3848         (mutex_unlock, mutex_trylock): Remove.
3849         (__pthread_initialize): Remove unused macro.
3850         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3851         (mutex_unlock, mutex_trylock): Remove.
3853 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3855         [BZ #20592]
3856         Remove RR type classification macros.
3857         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3858         (ns_t_udp_p, ns_t_xfr_p): Remove.
3860 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3862         Remove misleading version information.
3863         * resolv/arpa/nameser.h (__NAMESER): Remove.
3864         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3866 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3868         Remove the always-defined BIND_4_COMPAT macro.
3869         * resolv/arpa/nameser.h: Unconditionally include
3870         <arpa/nameser_compat.h>.
3871         (BIND_4_COMPAT): Remove.
3872         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3874 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3876         [BZ #20591]
3877         Remove obsolete DNSSEC support.
3878         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3879         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3880         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3881         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3882         (ns_cert_types): Add comment.
3883         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3884         separately.
3885         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3886         (dst_s_dns_key_id): Remove.
3887         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3888         variables.
3890 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3892         [BZ #20524]
3893         * manual/string.texi (String/Array Comparison): Clarify the
3894         strverscmp behavior.
3896 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3898         * test-skeleton.c (xasprintf): Add function.
3899         * io/tst-open-tmpfile.c: New test.
3900         * io/Makefile (tests): Add it.
3902 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3904         Avoid running $(CXX) during build to obtain header file paths.
3905         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3906         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3907         * Makerules (cstdlib, cmath): Remove variables.  Use
3908         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3909         * configure: Regenerate.
3911 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3913         * Makeconfig (all-object-suffixes): Include .op only if
3914         $(build-profile).
3916 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3918         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3919         conditionals.  Do not define PATH_MAX.
3921 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3923         * posix/Makefile (tests): Add tst-spawn3.
3924         * posix/tst-spawn3.c: New file.
3925         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3926         if it is already opened for open action.
3928         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3929         all signals when executing the clone vfork child.
3930         (SIGALL_SET): Remove macro.
3932         * nptl/Makefile (tests): Add tst-exec5.
3933         * nptl/tst-exec5.c: New file.
3934         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3935         asynchronous cancellation.
3937 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3939         * hurd/exc2signal.c: #include <hurd/signal.h>
3940         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3941         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3942         accordingly.
3943         * mach/mach_error.c (mach_error): Fix old-style function definition.
3944         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3946 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3948         * math/Makefile (libm-calls): Remove s_nanF.
3949         (gen-libm-calls): Add s_nanF.
3951         * math/s_nan.c: Refactor into ...
3952         * math/s_nan_template.c: New file.
3954         * math/s_nanf.c: Removed.
3955         * math/s_nanl.c: Removed.
3956         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3957         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3959         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3960         (LDOUBLE_nanl_libm_version): New macro.
3962         * sysdeps/generic/math-type-macros-double.h:
3963         (M_STRTO_NAN): New macro.
3964         * sysdeps/generic/math-type-macros-float.h: Likewise.
3965         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3967         * sysdeps/generic/math-type-macros.h: Document
3968         M_STRTO_NAN.
3970 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3972         * math/s_nanf.c: Remove __nanf undef.
3973         * math/s_nan.c: Remove __nan undef.
3974         * math/s_nanl.c: Remove __nanl undef.
3976         * sysdeps/generic/math_private.h (__nan): Remove macro
3977         override.
3978         (__nanf): Likewise.
3979         (__nanl): Likewise.
3981 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3983         * math/Makefile (gen-all-calls): New variable.
3984         (generated): Replace gen-libm-calls with gen-all-calls.
3985         (gen-libm-templates.stmp): Likewise.  Also, ensure
3986         the output directory exists or is created and add
3987         dependency on the Makefile.
3988         (calls): Move s_ldexpF into gen-calls.
3989         (gen-calls): New variable.
3991         * math/s_ldexpf.c: Removed.
3992         * math/s_ldexpl.c: Removed.
3993         * math/s_ldexp.c: Refactored into ...
3994         * math/s_ldexp_template.c: New file.
3996         * sysdeps/generic/math-type-macros-double.h: Remove
3997         redundant fall-through definition of declare_mgen_alias.
3998         (declare_mgen_alias_2): New macro.
4000         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4001         New macro for function aliased to two exported symbols.
4003         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4004         new template file.
4005         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4007 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4009         * Makeconfig (all-object-suffixes): Remove .og.
4010         * Makerules (elide-routines.og): Remove.
4011         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4012         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4013         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4015 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4017         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4018         .os objects.
4020 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4022         [BZ #20615]
4023         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4024         fpu directory by non-fpu.
4025         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4026         on non-fpu directory from a fpu directory.
4028 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4030         * include/limits.h: Define
4031         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4032         <bits/libc-header-start.h> instead of including <features.h>.
4033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4044         * manual/lang.texi (Width of Type): Document these macros.
4045         * stdlib/tst-width.c: New file.
4046         * stdlib/Makefile (tests): Add tst-width.
4048 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4050         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4051         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4053 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4055         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4056         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4057         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4059 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4061         [BZ #18243]
4062         * rt/Makefile (test): Add tst-shm-cancel.
4063         * rt/tst-shm-cancel.c: New file.
4064         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4066         [BZ #18243]
4067         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4068         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4069         definition.
4070         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4071         uncontended case.
4072         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4073         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4074         (tf): Fix check for uncontended case.
4075         (do_test): Likewise.
4076         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4077         (tf): Fix check for uncontended case.
4078         (do_test): Likewise.
4079         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4080         (tf): Fix check for uncontended case.
4081         (do_test): Likewise.
4082         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4083         (tf): Fix check for uncontended case.
4084         (do_test): Likewise.
4086         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4087         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4089         [BZ #15765]
4090         * nptl/Makefile (tests): Add tst-sem16.
4091         * nptl/tst-sem16.c: New file.
4092         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4094         * nptl/sem_open.c (sem_open): Init pad value to 0.
4095         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4096         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4098 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4100         [BZ #20611]
4101         * inet/Makefile (routines): Add inet6_scopeid_pton.
4102         (tests): Add tst-inet6_scopeid_pton.
4103         * inet/inet6_scopeid_pton.c: New file.
4104         * inet/net-internal.h: Likewise.
4105         * inet/tst-inet6_scopeid_pton.c: New test.
4106         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4107         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4110 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4112         Remove support for compiling wrappers with PTW.
4113         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4114         * nptl/Makefile (pthread-compat-wrappers): Define.
4115         (libpthread-routines): Use pthread-compat-wrappers.
4116         * sysdeps/unix/sysv/linux/alpha/Makefile
4117         (libpthread-routines, libpthread-shared-only-routines): Remove
4118         ptw- prefix.
4119         * sysdeps/s390/nptl/Makefile
4120         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4121         * sysdeps/ia64/nptl/Makefile
4122         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4123         * sysdeps/nacl/Makefile (libpthread-routines): Use
4124         pthread-compat-wrappers to filter the routines list instead of the
4125         ptw- prefix.
4127 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4129         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4130         with L() and remove explicit suffix, convert real literals
4131         which can be equivalentally substituted with integers, and
4132         transform -L(x) to L(-x).
4134         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4142         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4152         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4154         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4156         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4158         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4159         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4160         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4161         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4163         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4164         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4165         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4166         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4167         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4168         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4170         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4171         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4172         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4173         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4174         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4175         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4176         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4177         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4180         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4182         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4183         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4185 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4187         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4189 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4191         * malloc/Makefile (tests): Remove individual static test names
4192         and just add all of tests-static.
4194         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4196 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4198         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4199         file.
4201         * sysdeps/sparc/fpu/fegetmode.c: New file.
4202         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4204         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4205         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4207         * sysdeps/s390/fpu/fegetmode.c: New file.
4208         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4210         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4211         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4212         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4213         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4214         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4215         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4217         * sysdeps/mips/fpu/fegetmode.c: New file.
4218         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4220         * sysdeps/m68k/fpu/fegetmode.c: New file.
4221         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4223         * sysdeps/ia64/fpu/fegetmode.c: New file.
4224         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4226         * sysdeps/hppa/fpu/fegetmode.c: New file.
4227         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4229         * sysdeps/arm/fegetmode.c: New file.
4230         * sysdeps/arm/fesetmode.c: Likewise.
4232         * sysdeps/alpha/fpu/fegetmode.c: New file.
4233         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4235         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4236         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4238         * math/fegetmode.c: New file.
4239         * math/fesetmode.c: Likewise.
4240         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4241         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4242         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4243         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4244         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4246         declaration.
4247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4248         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4249         typedef.
4250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4251         * sysdeps/aarch64/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/alpha/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/arm/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/hppa/fpu/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/ia64/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/m68k/fpu/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 macro.
4269         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4270         (femode_t): New typedef.
4271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4272         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4273         (femode_t): New typedef.
4274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4275         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4276         (femode_t): New typedef.
4277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4278         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4279         (femode_t): New typedef.
4280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4281         declaration.
4282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4283         * sysdeps/s390/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         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4287         (femode_t): New typedef.
4288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4289         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4290         (femode_t): New typedef.
4291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4292         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4293         (femode_t): New typedef.
4294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4295         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4296         (femode_t): New typedef.
4297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4298         * manual/arith.texi (FE_DFL_MODE): Document macro.
4299         (fegetmode): Document function.
4300         (fesetmode): Likewise.
4301         * math/Versions (fegetmode): New libm symbol at version
4302         GLIBC_2.25.
4303         (fesetmode): Likewise.
4304         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4305         (tests): Add test-femode and test-femode-traps.
4306         * math/test-femode-traps.c: New file.
4307         * math/test-femode.c: Likewise.
4308         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4309         alias for __fe_dfl_env.
4310         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4311         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4312         (__fe_dfl_mode): Likewise.
4313         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4314         version GLIBC_2.25.
4315         * sysdeps/nacl/libm.abilist: Update.
4316         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4317         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4318         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4319         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4320         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4321         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4322         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4323         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4324         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4325         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4326         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4327         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4329         Likewise.
4330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4331         Likewise.
4332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4333         Likewise.
4334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4335         Likewise.
4336         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4342         Likewise.
4343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4344         Likewise.
4345         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4349 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4351         [BZ #20495]
4352         [BZ #20508]
4353         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4354         processors, set Use_dl_runtime_resolve_slow and set
4355         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4356         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4357         New.
4358         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4359         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4360         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4361         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4362         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4363         if Use_dl_runtime_resolve_opt is set.  Use
4364         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4365         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4366         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4367         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4368         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4369         New.
4370         (_dl_runtime_resolve_opt): Likewise.
4371         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4372         defined.
4374 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4376         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4377         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4379 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4381         Convert malloc to __libc_lock.  Automated part, using this Perl
4382         s/// command:
4383           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4384             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4385         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4386         conversion.
4388 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4390         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4391         (linknamespace-symlists-tests): Likewise.
4392         (linknamespace-header-tests): Likewise.
4394 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4396         [BZ #19810]
4397         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4398         * elf/tst-noload.c: New test case.
4399         * elf/Makefile (tests): Add tst-noload.
4401 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4403         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4405         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4406         not any more.
4408         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4410 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4412         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4413         (do_cos_slow): Likewise.
4414         (do_sin): Likewise.
4415         (do_sin_slow): Likewise.
4416         (slow): Likewise.
4417         (slow1): Likewise.
4418         (slow2): Likewise.
4419         (sloww): Likewise.
4420         (sloww1): Likewise.
4421         (sloww2): Likewise.
4422         (bsloww): Likewise.
4423         (bsloww1): Likewise.
4424         (bsloww2): Likewise.
4425         (cslow2): Likewise.
4427         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4429         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4430         arguments.  Consolidate input partitioning from callers here.
4431         (do_cos_slow): Likewise.
4432         (do_sin): Likewise.
4433         (do_sin_slow): Likewise.
4434         (do_sincos_1): Remove the no longer necessary input partitioning.
4435         (do_sincos_2): Likewise.
4436         (__sin): Likewise.
4437         (__cos): Likewise.
4438         (slow1): Likewise.
4439         (slow2): Likewise.
4440         (sloww1): Likewise.
4441         (sloww2): Likewise.
4442         (bsloww1): Likewise.
4443         (bsloww2): Likewise.
4444         (cslow2): Likewise.
4446 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4448         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4449         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4450         outside of allocated array.
4452 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4454         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4455         instead of MB_CUR_MAX to avoid variable-length array.
4457 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4459         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4460         (type-double-routines): Add k_rem_pio2.
4461         (type-float-routines): Add k_rem_pio2f.
4463         * sysdeps/generic/math_private.h:
4464         (__kernel_rem_pio2l): Removed.
4466         * math/k_rem_pio2l.c: Removed.
4467         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4468         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4469         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4470         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4472 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4474         * math/Makefile (gen-libm-calls): Add s_fmin
4475         (libm-calls): Remove above.
4477         * math/s_fmin.c: Refactor into ...
4478         * math/s_fmin_template.c: New file.
4480         * math/s_fminf.c: Removed.
4481         * math/s_fminl.c: Removed.
4482         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4483         (LDOUBLE_fmin_libm_version): New macro.
4485         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4486         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4488 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4490         * math/Makefile: (gen-libm-calls): Add s_fmax.
4491         (libm-calls): Remove above.
4493         * math/s_fmax.c: Refactor into ...
4494         * math/s_fmax_template.c: New file.
4495         * math/s_fmaxf.c: Removed.
4496         * math/s_fmaxl.c: Removed.
4498         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4499         (LDOUBLE_fmaxl_libm_version): New macro.
4501         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4502         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4504         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4505         s_fmin.c to pick the aarch64 version of the file.
4506         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4507         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4509 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4511         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4512         (libm-calls): Remove above.
4514         * math/s_nextdown.c: Refactor into ...
4515         * math/s_nextdown_template.c: New file.
4516         * math/s_nextdownf.c: Removed.
4517         * math/s_nextdownl.c: Removed.
4519         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4521 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4523         * math/Makefile (gen-libm-calls): Add s_fdim.
4524         (libm-calls): Move to above.
4526         * math/s_fdim.c: Renamed and refactored into to ...
4527         * math/s_fdim_template.c: New file.
4528         * math/s_fdiml.c: Removed.
4529         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4530         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4532         * sysdeps/generic/math-type-macros-double.h:
4533         (declare_mgen_alias): Don't declare if already declared.
4534         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4535         Likewise.
4537         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4538         (declare_mgen_alias): Don't declare if already declared.
4539         (M_LIBM_NEED_COMPAT): Likewise.
4540         (declare_mgen_libm_compat): Likewise.
4541         (LDOUBLE_fdiml_libm_version): New macro.
4543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4544         Include math/s_fdim.c now that ldbl-opt version is not needed.
4545         (declare_mgen_alias): New macro to disable aliasing.
4547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4548         (declare_mgen_alias): Likewise.
4549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4550         (declare_mgen_alias): Likewise.
4551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4552         (declare_mgen_alias): Likewise.
4553         (M_LIBM_NEED_COMPAT): Likewise.
4555 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4557         [BZ #20525]
4558         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4559         Include <linux/quota.h>.
4560         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4561         and btodb.
4562         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4563         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4564         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4565         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4566         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4567         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4568         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4569         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4570         types.
4571         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4572         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4574 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4576         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4577         (gammal_positive): Fix spacing.
4578         (__ieee754_gammal_r): Likewise.
4580 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4582         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4583         (_Float128): Define as long double, always.
4584         (L): Apply long double type suffix, always.
4586         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4587         _Float128, excepting comments.
4589         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4590         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4591         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4592         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4593         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4594         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4595         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4596         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4598         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4599         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4600         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4601         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4603         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4604         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4605         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4606         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4607         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4608         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4609         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4610         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4611         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4612         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4613         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4615         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4616         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4617         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4618         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4619         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4620         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4621         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4622         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4623         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4624         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4625         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4626         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4627         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4628         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4629         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4630         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4631         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4632         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4633         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4638         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4639         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4640         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4641         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4642         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4643         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4644         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4645         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4646         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4648         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4649         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4650         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4652         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4654         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4655         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4659         _Float128, and include math_private.h.
4660         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4663         long double semantics.
4664         (_Float128): Likewise.
4665         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4666         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4670 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4672         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4673         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4674         * sysdeps/s390/configure: Regenerated.
4675         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4676         instruction for raising over-/underflow if z196 zarch is supported
4677         by default.
4678         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4680 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4682         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4683         it point to a dumb buffer for RPC to fill it.
4685 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4687         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4688         instead of if/else.
4689         (do_sin_slow): Likewise.
4690         (do_sincos_1): Use fabs instead of if/else.
4691         (do_sincos_2): Likewise.
4692         (__sin): Likewise.
4693         (__cos): Likewise.
4694         (slow2): Likewise.
4695         (sloww): Likewise.
4696         (sloww1): Likewise.  Drop argument M.
4697         (sloww2): Use fabs instead of if/else.
4698         (bsloww): Likewise.
4699         (bsloww1): Likewise.
4700         (bsloww2): Likewise.
4702         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4703         fall through comment.
4704         (do_sincos_1): Likewise.
4706         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4707         Consolidate switch cases 0 and 2.
4709 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4711         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4712         (libm-calls): Remove the above.
4714         * math/s_cexp_template.c: Update using type-generic macros.
4715         * math/s_clog10_template.c: Likewise.
4716         * math/s_cpow_template.c: Likewise.
4717         * math/s_clog_template.c: Likewise.
4718         * math/s_cproj_template.c: Likewise.
4719         * math/s_csqrt_template.c: Likewise.
4721         * math/s_cexp.c: Removed.
4722         * math/s_cexpf.c: Removed.
4723         * math/s_cexpl.c: Removed.
4724         * math/s_clog10.c: Removed.
4725         * math/s_clog10f.c: Removed.
4726         * math/s_clog10l.c: Removed.
4727         * math/s_cpow.c: Removed.
4728         * math/s_cpowf.c: Removed.
4729         * math/s_cpowl.c: Removed.
4730         * math/s_clog.c: Removed.
4731         * math/s_clogf.c: Removed.
4732         * math/s_clogl.c: Removed.
4733         * math/s_cproj.c: Removed.
4734         * math/s_cprojf.c: Removed.
4735         * math/s_cprojl.c: Removed.
4736         * math/s_csqrt.c: Removed.
4737         * math/s_csqrtf.c: Removed.
4738         * math/s_csqrtl.c: Removed.
4740         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4741         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4742         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4743         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4744         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4745         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4747         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4748         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4749         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4750         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4751         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4752         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4753         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4754         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4755         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4756         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4757         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4759         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4760         version.
4762         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4763         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4764         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4765         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4767 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4769         * s_cexp_template.c: Copy of s_cexp.c.
4770         * s_clog_template.c: Copy of s_clog.c.
4771         * s_clog10_template.c: Copy of s_clog10.c.
4772         * s_cpow_template.c: Copy of s_cpow.c.
4773         * s_cproj_template.c: Copy of s_cproj.c.
4774         * s_csqrt_template.c: Copy of s_csqrt.c.
4776 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4778         [BZ #20517]
4779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4780         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4781         exported.
4783 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4785         * math/fetestexceptflag.c: New file.
4786         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4787         Stefan Liebler.
4788         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4789         (fetestexceptflag): New function declaration.
4790         * manual/arith.texi (fetestexceptflag): Document function.
4791         * math/Versions (fetestexceptflag): New libm symbol at version
4792         GLIBC_2.25.
4793         * math/Makefile (libm-support): Add fetestexceptflag.
4794         (tests): Add test-fetestexceptflag.
4795         * math/test-fetestexceptflag.c: New file.
4796         * sysdeps/nacl/libm.abilist: Update.
4797         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4801         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4802         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4803         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4804         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4810         Likewise.
4811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4812         Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4814         Likewise.
4815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4816         Likewise.
4817         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4823         Likewise.
4824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4825         Likewise.
4826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4830 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4832         [BZ #20432]
4833         Avoid strong references to malloc-internal symbols when linking
4834         statically, to support statically interposed mallocs.
4835         * include/libc-symbols.h (call_function_static_weak): New macro.
4836         * malloc/Makefile (tests): Add tst-interpose-nothread,
4837         tst-interpose-thread, tst-interpose-static-nothread,
4838         tst-interpose-static-thread.
4839         (tests-static): Add tst-interpose-static-nothread,
4840         tst-interpose-static-thread.
4841         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4842         tst-interpose-aux-thread.o.
4843         (test-extras): Add tst-interpose-aux-nothread,
4844         tst-interpose-aux-thread.
4845         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4846         tst-interpose-aux-nothread.o.
4847         (tst-interpose-thread, tst-interpose-static-thread): Link with
4848         tst-interpose-aux-thread.o and libthread.
4849         * malloc/tst-interpose-aux-nothread.c: New file.
4850         * malloc/tst-interpose-aux-thread.c: Likewise.
4851         * malloc/tst-interpose-aux.c: Likewise.
4852         * malloc/tst-interpose-aux.h: Likewise.
4853         * malloc/tst-interpose-nothread.c: Likewise.
4854         * malloc/tst-interpose-skeleton.c: Likewise.
4855         * malloc/tst-interpose-static-nothread.c: Likewise.
4856         * malloc/tst-interpose-static-thread.c: Likewise.
4857         * malloc/tst-interpose-thread.c: Likewise.
4858         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4859         * sysdeps/mach/hurd/fork.c (__fork): Only call
4860         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4861         __malloc_fork_unlock_child if defined.
4862         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4864 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4866         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4867         timespec C99 designated initialization.
4869 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4871         [BZ #19946]
4872         Avoid expected SIGALRM signals.
4873         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4874         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4875         (xpthread_create, xpthread_detach, xpthread_join)
4876         (delayed_exit_thread, delayed_exit): New functions.
4877         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4878         (tf): Use xpthread_cond_wait.
4879         (do_test): Likewise.  Replace alarm with delayed_exit.
4880         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4881         (do_test): Call delayed_exit.  Report failure.
4882         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4883         (do_test): Call delayed_exit.
4884         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4885         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4886         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4887         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4888         error.
4889         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4890         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4891         error.
4892         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4893         (do_test): Call delayed_exit.
4894         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4895         (do_test): Call delayed_exit.
4896         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4897         (do_test): Call delayed_exit instead of alarm.  Use
4898         xpthread_mutex_lock.
4899         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4900         (do_test): Call delayed_exit instead of alarm.  Use
4901         xpthread_mutex_lock.
4902         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4903         (do_test): Call delayed_exit instead of alarm.
4904         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4905         (do_test): Call delayed_exit instead of alarm.  Use
4906         xpthread_spin_lock.
4907         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4908         (do_test): Call delayed_exit instead of alarm.  Use
4909         xpthread_join.
4911 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4913         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4914         adjust CFA when allocating register save area on re-aligned
4915         stack.
4917 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4919         * string/tst-cmp.c: New test.
4920         * string/Makefile (tests): Add it.
4922 2016-08-25  Mark Wielaard  <mark@klomp.org>
4924         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4925         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4926         (check_tree_recurse): Use newly defined accessors.
4927         (check_tree): Likewise.
4928         (maybe_split_for_insert): Likewise.
4929         (__tfind): Likewise.
4930         (__tdelete): Likewise.
4931         (trecurse): Likewise.
4932         (tdestroy_recurse): Likewise.
4933         (__tsearch): Likewise. And add asserts for malloc alignment.
4934         (__twalk): Cast root to node in case CHECK_TREE is defined.
4936 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4938         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4940 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4942         * math/Makefile (libm-gen-calls): Add
4943         catan, catanh, ctan, ctanh.
4944         (libm-calls): Remove the above.
4946         * math/s_catan_template.c: Update using type-generic macros.
4947         * math/s_catanh_template.c: Likewise.
4948         * math/s_ctan_template.c: Likewise.
4949         * math/s_ctanh_template.c: Likewise.
4951         * math/s_catanf.c: Removed.
4952         * math/s_catan.c: Removed.
4953         * math/s_catanl.c: Removed.
4954         * math/s_catanhf.c: Removed.
4955         * math/s_catanh.c: Removed.
4956         * math/s_catanhl.c: Removed.
4957         * math/s_ctanf.c: Removed.
4958         * math/s_ctan.c: Removed.
4959         * math/s_ctanl.c: Removed.
4960         * math/s_ctanhf.c: Removed.
4961         * math/s_ctanh.c: Removed.
4962         * math/s_ctanhl.c: Removed.
4964         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4965         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4966         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4967         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4968         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4969         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4971         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4972         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4973         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4974         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4976 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4978         * s_catan_template.c: Copy of s_catan.c.
4979         * s_catanh_template.c: Copy of s_catanh.c.
4980         * s_ctan_template.c: Copy of s_ctan.c.
4981         * s_ctanh_template.c: Copy of s_ctanh.c.
4983 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4985         * math/Makefile (gen-libm-calls): Move
4986         casin, casinh, csin, csinh here.
4987         (libm-calls): Remove the above.
4989         * math/s_casin_template.c: Update using type-generic macros.
4990         * math/s_casinh_template.c: Likewise.
4991         * math/s_csin_template.c: Likewise.
4992         * math/s_csinh_template.c: Likewise.
4993         * math/k_casinh_template.c: Likewise.
4995         * math/s_casinf.c: Removed.
4996         * math/s_casin.c: Removed.
4997         * math/s_casinl.c: Removed.
4998         * math/s_casinh.c: Removed.
4999         * math/s_casinhf.c: Removed.
5000         * math/s_casinhl.c: Removed.
5001         * math/s_csin.c: Removed.
5002         * math/s_csinf.c: Removed.
5003         * math/s_csinl.c: Removed.
5004         * math/s_csinh.c: Removed.
5005         * math/s_csinhf.c: Removed.
5006         * math/s_csinhl.c: Removed.
5007         * math/k_casinh.c: Removed.
5008         * math/k_casinhf.c: Removed.
5009         * math/k_casinhl.c: Removed.
5011         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5012         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5013         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5014         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5016         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5017         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5018         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5019         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5020         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5021         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5022         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5023         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5025         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5026         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5027         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5028         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5030         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5031         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5032         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5033         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5035 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5037         * s_casin_template.c: Copy of s_casin.c.
5038         * s_casinh_template.c: Copy of s_casinh.c.
5039         * s_csin_template.c: Copy of s_csin.c.
5040         * s_csinh_template.c: Copy of s_csinh.c.
5041         * k_casinh_template.c: Copy of k_casinh.c.
5043 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5045         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5047 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5049         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5050         (mul_split) Remove, rename as mul_splitl, remove
5051         redundant float.h include, and include via mul_splitl.h
5053         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5054         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5055         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5056         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5057         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5059         * math/mul_splitl.h: New file.
5061         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5062         Move into mul_split.h, and remove redundant float.h include.
5064         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5065         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5066         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5067         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5069         * math/mul_split.h: New file.
5071 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5073         * math/Makefile (libm-gen-calls): Move
5074         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5075         (libm-calls): Remove above.
5077         * math/s_cacos_template.c: Update using type-generic macros.
5078         * math/s_cacosh_template.c: Likewise.
5079         * math/s_ccos_template.c: Likewise.
5080         * math/s_ccosh_template.c: Likwise.
5082         * math/s_cacosf.c: Removed.
5083         * math/s_cacos.c: Removed.
5084         * math/s_cacosl.c: Removed.
5085         * math/s_cacoshf.c: Removed.
5086         * math/s_cacosh.c: Removed.
5087         * math/s_cacoshl.c: Removed.
5088         * math/s_ccosf.c: Removed.
5089         * math/s_ccos.c: Removed.
5090         * math/s_ccosl.c: Removed.
5091         * math/s_ccoshf.c: Removed.
5092         * math/s_ccosh.c: Removed.
5093         * math/s_ccoshl.c: Removed.
5095         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5096         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5097         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5098         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5099         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5100         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5102         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5103         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5104         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5105         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5107         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5108         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5109         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5110         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5112 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5114         * s_cacos_template.c: Copy of s_cacos.c.
5115         * s_cacosh_template.c: Copy of s_cacosh.c.
5116         * s_ccos_template.c: Copy of s_ccos.c.
5117         * s_ccosh_template.c: Copy of s_ccosh.c.
5119 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5121         * stdlib/tst-strtod-round-skeleton.c:
5122         Refactored from tst-strtod-round.c.
5124         (L_): New macro to apply literal modifier.
5125         (FNPFX): New macro to select str or wcs prefix.
5126         (CHAR): New macro to choose wchar_t or char.
5127         (STRM): New macro to choose printf for tested character type.
5129         (STRTO): New macro to choose appropriate string -> real function.
5130         (FNPFXS): Stringitized version of FNPFX.
5131         (STR): Support for above macro.
5132         (STRX): Likewise.
5134         (TEST): Update with above macros.
5135         (test): Likewise.
5136         (GEN_ONE_TEST): Likewise.
5137         (test_in_one_mode): Likewise.
5139         * stdlib/tst-strtod-round.c: New file.
5140         * wcsmbs/tst-wcstod-round.c: New file.
5142         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5143         (tst-wcstod-round): Add libm depencency for fesetround.
5145 2016-08-19  Zack Weinberg  <zackw@panix.com>
5147         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5149 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5151         [BZ #20477]
5152         * resolv/res_hconf.c (do_init): Use atomic access.
5153         * resolv/res_hconf.h: Add comments.
5154         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5155         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5158 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5160         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5161         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5162         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5163         Likewise.
5165 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5167         [BZ #16907]
5168         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5169         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5170         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5171         (__attribute__): Remove definition.
5173 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5175         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5176         Remove unused sqrtl declaration.
5178 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5180         * math/Makefile: (gen-libm-templates.stmp): New rule.
5181         (libm-calls): Move carg conj cimag and cabs into ...
5182         (gen-libm-calls): New variable.
5183         (generated): Inform Make objects from gen-libm-calls
5184         may be generated.
5186         * sysdeps/generic/math-type-macros.h: New file.
5187         * sysdeps/generic/math-type-macros-float.h: Likewise.
5188         * sysdeps/generic/math-type-macros-double.h: Likewise.
5189         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5190         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5191         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5193         * math/cabs.c: Refactor into
5194         * math/cabs_template.c: new file.
5195         * math/cabsf.c: Removed.
5196         * math/cabsl.c: Removed.
5197         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5198         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5200         * math/carg.c: Refactor into
5201         * math/carg_template.c: new file.
5202         * math/cargf.c: Removed.
5203         * math/cargl.c: Removed.
5204         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5205         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5207         * math/conj.c: Refactor into
5208         * math/conj_template.c: new file.
5209         * math/conjf.c: Removed.
5210         * math/conjl.c: Removed.
5211         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5212         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5214         * math/cimag.c: Refactor into
5215         * math/cimag_template.c: new file.
5216         * math/cimagf.c: Removed.
5217         * math/cimagl.c: Removed.
5218         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5219         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5221         * math/cimag.c: Refactor into
5222         * math/cimag_template.c: new file.
5223         * math/cimagf.c: Removed.
5224         * math/cimagl.c: Removed.
5225         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5226         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5228 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5230         Reduce time to expected nptl/tst-once5 failure.
5231         * nptl/tst-once5.cc (TIMEOUT): Define.
5233 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5235         [BZ #20452]
5236         Avoid additional copies of objects in libc.a in static libraries.
5237         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5238         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5239         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5240         rt-sysdep.
5241         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5242         Add nptl-sysdep.
5243         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5244         Add ptw-sysdep.
5245         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5246         rt-sysdep.
5247         * sysdeps/unix/sysv/linux/alpha/Makefile
5248         (libpthread-shared-only-routines): Add ptw-sysdep,
5249         ptw-sigprocmask, ptw-rt_sigaction.
5250         * sysdeps/unix/sysv/linux/ia64/Makefile
5251         (librt-shared-only-routines): Add rt-sysdep.
5252         * sysdeps/unix/sysv/linux/i386/Makefile
5253         (libpthread-shared-only-routines): Add libc-do-syscall.
5254         * sysdeps/unix/sysv/linux/microblaze/Makefile
5255         (libpthread-shared-only-routines): Add sysdep.
5256         * sysdeps/unix/sysv/linux/powerpc/Makefile
5257         (librt-shared-only-routines): Add rt-sysdep.
5258         (libpthread-shared-only-routines): Add sysdep.
5259         * sysdeps/unix/sysv/linux/s390/Makefile
5260         (librt-shared-only-routines): Add rt-sysdep.
5261         * sysdeps/unix/sysv/linux/sparc/Makefile
5262         (librt-shared-only-routines): Add rt-sysdep.
5263         (libpthread-shared-only-routines): Add sysdep.
5264         * sysdeps/unix/sysv/linux/tile/Makefile
5265         (libpthread-shared-only-routines): Likewise.
5267 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5269         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5270         Mask implicit bit out of unpacked value.
5271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5275         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5277         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5279         * sysdeps/s390/fpu/fesetexcept.c: New file.
5281         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5282         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5283         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5285         * sysdeps/mips/fpu/fesetexcept.c: New file.
5287         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5289         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5291         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5293         * sysdeps/arm/fesetexcept.c: New file.
5295         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5297         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5299         * math/fesetexcept.c: New file.
5300         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5301         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5302         * math/fenv.h: Define
5303         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5304         <bits/libc-header-start.h> instead of including <features.h>.
5305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5306         declaration.
5307         * manual/arith.texi (fesetexcept): Document function.
5308         * math/Versions (fesetexcept): New libm symbol at version
5309         GLIBC_2.25.
5310         * math/Makefile (libm-support): Add fesetexcept.
5311         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5312         * math/test-fesetexcept.c: New file.
5313         * math/test-fesetexcept-traps.c: Likewise.
5314         * sysdeps/nacl/libm.abilist: Update.
5315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5317         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5318         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5319         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5321         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5323         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5324         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5326         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5328         Likewise.
5329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5330         Likewise.
5331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5336         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5337         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5341         Likewise.
5342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5343         Likewise.
5344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5346         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5348 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5350         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5351         New.
5352         (do_test): Apply default_stack_size_in_mb if not set.
5353         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5355 2016-08-15  Andreas Schwab  <schwab@suse.de>
5357         [BZ #20435]
5358         CVE-2016-6323
5359         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5360         as .cantunwind.
5362 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5364         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5365         comment from fraiseexcpt.c.
5367         * math/test-fexcept.c (feraiseexcept_exact): New function.
5368         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5369         (test_except): Likewise.
5371 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5373         [BZ #20455]
5374         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5375         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5376         to be restored.
5378         * math/test-fexcept-traps.c: New file.
5379         * math/test-fexcept.c: Likewise.
5380         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5381         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5382         macro.
5383         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5384         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5386 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5388         * include/atomic.h (atomic_fetch_and_relaxed,
5389         atomic_fetch_and_release, atomic_fetch_or_release,
5390         atomic_fetch_xor_release): New.
5392 2016-08-06  Christian Seiler  <christian@iwakd.de>
5394         [BZ #20444]
5395         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5396         MACH_PORT_NULL.
5398 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5400         * math/s_fdim.c: Avoid alias renamed.
5401         * math/s_fdimf.c: Likewise.
5402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5403         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5404         Add s_fdimf-vis3, s_fdim-vis3.
5405         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5406         (CFLAGS-s_fdim-vis3.c): Likewise.
5407         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5408         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5410 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5413         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5414         Remove s_fdimf-vis3, s_fdim-vis3.
5415         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5416         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5423         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5424         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5426 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5428         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5429         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5430         -Wa,-Av9a -mvis.
5432 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5434         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5435         LIT() to individual constants in simple expressions
5436         after splitting on spaces.
5437         (_apply_lit): Rename replaced version, and use it to
5438         apply to what appears to be a token.
5440         * math/libm-test.inc: Fix many, many issues with
5441         spacing.
5443 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5445         * math/math.h: Move comment about <bits/mathdef.h> definitions
5446         above inclusion of <bits/mathdef.h>.  Do not mention
5447         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5449 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5451         * include/atomic.h (atomic_exchange_relaxed): New.
5453 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5455         * math/e_scalb.c: Do not include <fenv.h>.
5456         (invalid_fn): Do calculation resulting in NaN instead of raising
5457         FE_INVALID and returning a NaN explicitly.
5458         * math/e_scalbf.c: Do not include <fenv.h>.
5459         (invalid_fn): Do calculation resulting in NaN instead of raising
5460         FE_INVALID and returning a NaN explicitly.
5461         * math/e_scalbl.c: Do not include <fenv.h>.
5462         (invalid_fn): Do calculation resulting in NaN instead of raising
5463         FE_INVALID and returning a NaN explicitly.
5465 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5467         * po/de.po: Updated from Translation Project.
5468         * po/fi.po: Likewise.
5469         * po/sv.po: Likewise.
5471 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5473         [BZ #20452]
5474         Use sysdep.o from libc.a in static libraries.
5475         * sysdeps/unix/sysv/linux/i386/Makefile
5476         (libpthread-shared-only-routines): Add sysdep.
5477         (librt-shared-only-routines): Likewise.
5479 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5481         * math/tgmath.h (nextdown): Define if
5482         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5483         (nextup): Likewise.
5485         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5486         macro.
5487         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5488         Document.
5489         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5490         Document macro.
5491         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5492         (exp10f): Likewise.
5493         (exp10l): Likewise.
5494         * math/bits/mathcalls.h (exp10): Declare if
5495         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5497         * manual/arith.texi (nextup): Fix typo in last change.
5499 2016-08-03  Zack Weinberg  <zackw@panix.com>
5501         [BZ #19239]
5502         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5503         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5504         define major, minor, and makedev to issue deprecation warnings on use.
5505         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5506         previously-activated deprecation warnings for these macros and prevent
5507         subsequent inclusions of this header from having any effect.
5508         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5509         including <sys/sysmacros.h>, and undefine it again afterward.
5511 2016-08-03  Zack Weinberg  <zackw@panix.com>
5513         * sysdeps/generic/sys/sysmacros.h: Delete file.
5514         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5515         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5516         * bits/sysmacros.h: ... here; this encoding is now the generic
5517         encoding.  Now defines only the following macros:
5518         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5519         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5520         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5522         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5523         bits/sysmacros.h and the above new macros to generate the
5524         public implementations of major, minor, and makedev.
5525         * misc/tst-makedev.c: New test.
5526         * include/sys/sysmacros.h: New wrapper.
5528         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5529         (routines): Add makedev.
5530         (tests): Add tst-makedev.
5531         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5532         gnu_dev_makedev.
5533         * posix/Makefile (headers): Remove sys/sysmacros.h.
5534         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5536         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5537         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5539         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5540         * sysdeps/unix/sysv/linux/arm/libc.abilist
5541         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5542         * sysdeps/unix/sysv/linux/i386/libc.abilist
5543         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5544         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5545         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5546         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5547         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5548         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5549         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5551         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5557         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5558         * sysdeps/unix/sysv/linux/sh/libc.abilist
5559         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5560         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5563         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5565         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5566         Add GLIBC_2.25.
5568         * include/features.h (__glibc_clang_prereq): New macro.
5569         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5570         (__attribute_deprecated_msg__): New macros.
5572 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5574         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5575         macro.
5576         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5577         * manual/arith.texi (issignaling): Document as ISO from TS
5578         18661-1:2014.
5579         (nextup): Likewise.
5580         (nextupf): Likewise.
5581         (nextupl): Likewise.
5582         (nextdown): Likewise.
5583         (nextdownf): Likewise.
5584         (nextdownl): Likewise.
5585         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5586         macro.
5587         * math/math.h: Define
5588         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5589         <bits/libc-header-start.h> instead of including <features.h>.
5590         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5591         [__USE_GNU].
5592         * math/bits/mathcalls.h (nextdown): Declare if
5593         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5594         (nextup): Likewise.
5595         (__issignaling): Likewise.
5597 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5599         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5600         check, and remove __glibc_likely hint
5601         from FP_INFINITE check.
5602         * s_csinhf.c (__csinhf): Likewise.
5604         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5605         hint from FP_INFINITE check.
5606         * s_csinhl.c (__csinhl): Likewise.
5608 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5610         * math/Makefile (libm-calls): Insert F placeholder into
5611         object names.  Move w_lgamma_compat* routines into
5612         (libm-compat-calls): New variable.
5613         (libm-compat-calls-ldouble-yes): New variable.
5614         (calls): Insert F placeholder.
5615         (generated): Redefine using new type-foreach macro call.
5616         (routines): Likewise.
5618         (types): New variable to hold a list of symbolic names
5619         for each type supported by the target machine.
5620         (libm-routines): Redefine using new types variable.
5621         (type-foreach): macro to replace fooF with the
5622         appropriately suffixed foo for each types.
5624         (type-ldouble-suffix): New variable.
5625         (type-ldouble-routines): Likewise.
5626         (type-ldouble-yes): Likewise.
5627         (type-double-suffix): Likewise.
5628         (type-double-routines): Likewise.
5629         (type-float-suffix): Likewise.
5630         (type-float-routines): Likewise.
5632         (dbl-only-routines): Remove.
5633         (long-c-yes): Likewise.
5634         (long-m-routines): Likewise.
5635         (long-m-support): Likewise.
5636         (long-m-yes): Likewise.
5637         (test-longdouble-yes): Likewise.
5639         (test-float.o): Simplify by increasing the scope of the
5640         recipe which adds libm-test.stmp to the vector types.
5641         (test-ifloat.o): Likewise.
5642         (test-float-finite.o): Likewise.
5643         (test-double.o): Likewise
5644         (test-idouble.o): Likewise.
5645         (test-double-finite.o): Likewise.
5646         (test-ldouble.o): Likewise
5647         (test-ildoubl.o): Likewise.
5648         (test-ldouble-finite.o): Likewise.
5650         (libm-tests): Redefine type tests using foreach and the
5651         list of types in types.
5653         (CPPFLAGS-test-ildoubl.c): Rename to
5654         (CPPFLAGS-test-ildouble.c): New variable
5656         * math/test-ildoubl.c: Rename to
5657         * math/test-ildouble.c: New file.
5659 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5661         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5662         Use fabsl instead of fabs.
5663         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5664         Likewise.
5665         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5666         Add long double suffix to constant to ensure proper
5667         promotion to long double.
5669 2016-08-03  Tom Tromey  <tom@tromey.com>
5671         [BZ #20311]
5672         * nptl_db/Makefile (headers): Add proc_service.h.
5673         * nptl_db/proc_service.h: Add include guard.  Use
5674         __BEGIN/__END_DECLS.
5675         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5676         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5677         arguments.
5680 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5682         [BZ #17730]
5683         Avoid using memalign for TCB allocations.
5684         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5685         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5686         Avoid alignment gap in the TLS_DTV_AT_TP case.
5687         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5688         determine the pointer to free.
5689         * nptl/tst-tls3-malloc.c: New test.
5690         * nptl/Makefile (tests): Add it.
5691         (tst-tls3-malloc): Link with libdl, libpthread.
5692         (LDFLAGS-tst-tls3-malloc): Set.
5693         (tst-tls3-malloc.out): Depend on DSO used in test.
5695 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5697         [BZ #17730]
5698         Avoid using memalign for TLS allocations.
5699         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5700         is_static member with to_free member.
5701         (union dtv): Use struct dtv_pointer.
5702         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5703         dtv_pointer instead of is_static.
5704         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5705         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5706         instead of val.
5707         (allocate_dtv_entry): New function.
5708         (allocate_and_init): Return struct dtv_pointer.  Call
5709         allocate_dtv_entry instead of __libc_memalign.
5710         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5711         instead of val.
5712         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5713         instead of is_static.  Adjust call to allocate_and_init.
5714         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5715         struct dtv_pointer instead of val.
5717 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5719         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5720         (MALLOC_ALIGN_MASK): Move ...
5721         * malloc/malloc-internal.h: ... to here.
5722         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5724 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5726         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5727         (UDP_ENCAP_GTP1U): Likewise.
5729         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5730         (PF_MAX): Update value.
5731         (AF_QIPCRTR): New macro.
5733 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5735         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5736         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5737         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5738         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5739         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5740         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5741         s_truncf-vis3, s_trunc-vis3.
5742         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5743         (CFLAGS-s_ceil-vis3.c): Likewise.
5744         (CFLAGS-s_floorf-vis3.c): Likewise.
5745         (CFLAGS-s_floor-vis3.c): Likewise.
5746         (CFLAGS-s_truncf-vis3.c): Likewise.
5747         (CFLAGS-s_trunc-vis3.c): Likewise.
5748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5750         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5751         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5756         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5757         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5758         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5759         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5761 2016-08-02  David S. Miller  <davem@davemloft.net>
5763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5764         (__nearbyint_vis3): Don't check for sNaN before float register is
5765         loaded with the incoming argument.
5766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5767         (__nearbyintf_vis3): Likewise.
5768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5769         Likewise.
5770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5771         Likewise.
5773         * string/test-strncmp.c (do_test_limit): Make sure the test data
5774         stream is aligned as required for the type "CHAR".
5775         (do_test): Likewise.
5777 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5779         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5780         by beq instructions jumping to the end of the function.
5781         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5782         clobber list. Use "i" constraint instead of "X".
5783         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5784         of "X".
5786 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5788         * bits/libc-header-start.h: New file.
5789         * Makefile (headers): Add bits/libc-header-start.h.
5790         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5791         (__GLIBC_USE): New macro.
5792         * libio/stdio.h: Define
5793         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5794         <bits/libc-header-start.h> instead of including <features.h>.
5795         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5796         (open_memstream): Likewise.
5797         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5798         (__asprintf): Likewise.
5799         (asprintf): Likewise.
5800         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5801         (getdelim): Likewise.
5802         (getline): Likewise.
5803         * string/string.h: Define
5804         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5805         <bits/libc-header-start.h> instead of including <features.h>.
5806         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5807         (strndup): Likewise.
5808         * wcsmbs/wchar.h: Define
5809         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5810         <bits/libc-header-start.h> instead of including <features.h>.
5811         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5812         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5814 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5816         Support linking against compatibility symbols, for use in tests.
5817         * include/libc-symbols.h (symbol_version_reference): New macro.
5818         (symbol_version): Use it.
5819         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5820         (compat_symbol): Use compat_symbol_reference.
5821         (compat_symbol_1, compat_symbol_2): Remove.
5822         (compat_symbol_reference, compat_symbol_reference_1)
5823         (compat_symbol_reference_2): New macro.  Use
5824         symbol_version_reference.
5826 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5828         [BZ #19469]
5829         * malloc/Makefile (CPPFLAGS): Compile tests with
5830         -DTEST_NO_MALLOPT.
5831         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5833 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5835         [BZ #20033]
5836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5837         finite version.
5838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5839         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5840         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5841         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5842         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5843         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5847         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5848         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5849         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5850         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5851         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5852         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5854         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5855         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5856         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5857         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5858         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5859         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5860         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5861         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5862         in zero power.
5864 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5866         [BZ #20370]
5867         * malloc/arena.c (get_free_list): Update comment.  Assert that
5868         arenas on the free list have no attached threads.
5869         (remove_from_free_list): New function.
5870         (reused_arena): Call it.
5872 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5874         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5875         when it is a NaN.
5876         [_IEEE_FP_INEXACT] Remove.
5877         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5878         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5879         when it is a NaN.
5880         [_IEEE_FP_INEXACT] Remove.
5881         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5882         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5883         when it is a NaN.
5884         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5885         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5886         when its absolute value is greater than 0x1.0p52.
5887         [_IEEE_FP_INEXACT] Remove.
5888         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5889         when its absolute value is greater than 0x1.0p23.
5890         [_IEEE_FP_INEXACT] Remove.
5892 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5894         * version.h (RELEASE): Set to "development"
5895         (VERSION): Set to 2.24.90.
5896         * NEWS: Add 2.25 section.
5898         * version.h (RELEASE): Set to "stable"
5899         (VERSION): Set to 2.24.
5900         * include/features.h (__GLIBC_MINOR__): Set to 24.
5902         * NEWS: Add 2.24 fixed bugs.
5903         * po/libc.pot: Regenerate.
5905 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5908         [$(subdir) = math] (libm-sysdep_routines): Remove.
5909         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5910         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5911         s_truncf-vis3, s_trunc-vis3.
5912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5914         file.
5915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5948         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5949         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5950         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5951         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5952         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5953         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5954         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5955         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5956         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5957         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5959 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5961         [BZ #20384]
5962         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5963         test-double-libmvec-sincos-avx-main.o,
5964         test-double-libmvec-sincos-avx2-main.o,
5965         test-double-libmvec-sincos-main.o,
5966         test-float-libmvec-sincosf-avx-main.o,
5967         test-float-libmvec-sincosf-avx2-main.o and
5968         test-float-libmvec-sincosf-main.o.
5969         test-float-libmvec-sincosf-avx512-main.o.
5970         ($(objpfx)test-double-libmvec-sincos): Also link with
5971         $(objpfx)test-double-libmvec-sincos-main.o.
5972         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5973         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5974         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5975         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5976         ($(objpfx)test-float-libmvec-sincosf): Also link with
5977         $(objpfx)test-float-libmvec-sincosf-main.o.
5978         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5979         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5980         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5981         test-double-libmvec-sincos-avx512-main.o and
5982         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5983         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5984         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5985         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5986         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5987         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5988         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5989         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5990         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5991         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5992         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5993         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5994         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5995         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5996         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5997         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5998         -DREQUIRE_AVX2.
5999         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6000         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6001         -DREQUIRE_AVX512F.
6002         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6003         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6004         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6005         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6006         file.
6007         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6008         Likewise.
6009         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6010         Likewise.
6011         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6012         Likewise.
6013         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6014         Likewise.
6015         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6016         Likewise.
6017         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6018         Likewise.
6019         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6020         Likewise.
6022 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6024         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6026 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6028         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6029         and typo in a comment about AT_HWCAP entry.
6031 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6033         * sysdeps/aarch64/libm-test-ulps: Updated.
6035 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6037         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6038         of r13 as it is not restored in mvcle case.
6040 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6042         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6043         Rename "ret" to "__ret".
6044         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6045         inline_syscall5, inline_syscall6): Likewise.
6047 2016-07-19   Will Newton  <will.newton@gmail.com>
6049         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6050         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6051         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6052         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6053         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6055 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6057         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6058         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6059         -mfpmath=387 with $(rtld-CFLAGS).
6060         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6061         $(rtld-CFLAGS).
6063 2016-07-18   Ross Burton  <ross.burton@intel.com>
6064              Khem Raj  <raj.khem@gmail.com>
6066         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6067         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6068         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6069         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6070         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6071         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6072         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6073         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6074         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6075         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6076         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6077         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6078         R_METAG_TLS_DTPOFF): New.
6080 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6081             Matt Clay  <mclay@lycos.com>
6083         [BZ #20357]
6084         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6085         to call __mpsin/__mpcos and to negate values.
6086         * math/auto-libm-test-in: Add test.
6087         * math/auto-libm-test-out: Regenerate.
6089 2016-07-18  Zack Weinberg  <zackw@panix.com>
6091         * grp/Makefile: Don't install the internal header grp-merge.h.
6093 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6095         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6097 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6099         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6101 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6103         [BZ #15368]
6104         * sysdeps/unix/sysv/linux/nptl-signals.h
6105         (__nptl_clear_internal_signals): New function.
6106         (__libc_signal_block_all): Likewise.
6107         (__libc_signal_block_app): Likewise.
6108         (__libc_signal_restore_set): Likewise.
6109         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6110         implementation.
6111         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6112         the cached pid/tid value in pthread structure.
6114 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6116         [BZ #20347]
6117         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6119 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6121         [BZ #20348]
6122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6123         preadv64, pwrite64 and pwritev64.
6125 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6127         [BZ #20350]
6128         * posix/tst-preadwrite.c: Renamed to ...
6129         * posix/tst-preadwrite-common.c: This.
6130         (PREAD): Removed.
6131         (PWRITE): Likewise.
6132         (STRINGIFY): Likewise.
6133         (STRINGIFY2): Likewise.
6134         (do_prepare): Make it static and remove function arguments.
6135         (do_test): Likewise.
6136         (PREPARE): Updated.
6137         (TEST_FUNCTION): New.
6138         (name): Make it static.
6139         (fd): Likewise.
6140         (do_prepare): Use create_temp_file.
6141         (do_test): Renamed to ...
6142         (do_test_with_offset): This.  Make it static and accept offset.
6143         Properly check return value of PWRITE and PREAD.  Return bytes
6144         read.  Don't close fd nor unlink name.
6145         * posix/tst-preadwrite.c: Rewrite.
6146         * posix/tst-preadwrite64.c: Likewise.
6148 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6150         [BZ #20309]
6151         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6152         -mtls-dialect=gnu2 works.
6153         * configure: Regenerated.
6154         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6155         (tests): Add tst-gnu2-tls1.
6156         (modules-names): Add tst-gnu2-tls1mod.
6157         ($(objpfx)tst-gnu2-tls1): New.
6158         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6159         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6160         * elf/tst-gnu2-tls1.c: New file.
6161         * elf/tst-gnu2-tls1mod.c: Likewise.
6162         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6163         bytes for push in the PLT entry to align the stack.
6165 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6167         [BZ #20349]
6168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6170 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6172         [BZ #18707]
6173         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6174         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6176 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6178         * sysdeps/unix/sysv/linux/sysdep.h
6179         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6180         guards.
6181         * misc/tst-preadvwritev-common.c: New file.
6182         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6183         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6184         a check for files larger than 2GB.
6186         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6187         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6188         * sysdeps/unix/sysv/linux/pread.c
6189         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6190         __OFF_T_MATCHES_OFF64_T.
6191         * sysdeps/unix/sysv/linux/pread64.c
6192         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6193         * sysdeps/unix/sysv/linux/preadv.c
6194         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6195         * sysdeps/unix/sysv/linux/preadv64.c
6196         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6197         * sysdeps/unix/sysv/linux/pwrite.c
6198         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6199         * sysdeps/unix/sysv/linux/pwrite64.c
6200         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6201         * sysdeps/unix/sysv/linux/pwritev.c
6202         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6203         * sysdeps/unix/sysv/linux/pwritev64.c
6204         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6206 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6208         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6209         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6211 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6213         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6215 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6217         [BZ #20240]
6218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6219         (CFLAGS-s_modf-ppc32.c): New variable.
6220         (CFLAGS-s_modff-ppc32.c): Likewise.
6221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6222         (CFLAGS-s_modf-ppc64.c): Likewise.
6223         (CFLAGS-s_modff-ppc64.c): Likewise.
6225 2016-07-07  Andreas Schwab  <schwab@suse.de>
6227         [BZ #20263]
6228         * nptl/tst-robust10.c: New test.
6229         * nptl/Makefile (tests): Add tst-robust10.
6231 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6233         [BZ #20263]
6234         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6236 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6238         * sysdeps/s390/linkmap.h (struct link_map_machine):
6239         Remove member gotplt and add member jmprel.
6240         * sysdeps/s390/s390-32/dl-machine.h
6241         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6242         instead of gotplt with &got[3].
6243         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6244         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6246 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6248         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6250 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6252         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6253         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6254         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6255         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6256         * libio/vtables.c (_IO_vtable_check)
6257         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6258         * libio/libioP.h (IO_set_accept_foreign_vtables)
6259         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6261 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6263         [BZ #20314]
6264         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6265         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6266         $(common-objpfx)cmath.
6267         ($(common-objpfx)cstdlib): New target.
6268         ($(common-objpfx)cmath): Likewise.
6270 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6272         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6274 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6276         [BZ #20327]
6277         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6278         are not part of the string.
6280 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6282         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6283         * nptl/tst-cancel4-common.h (fifoname): New variable.
6284         (fifofd): Likewise.
6285         (cl_fifo): New function.
6286         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6287         SIGINT.
6288         (tf_open): Add early cancel test.
6290 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6292         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6294 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6296         * sysdeps/generic/ldsodefs.h
6297         (dl_symbol_visibility_binds_local_p): New inline function.
6298         * elf/dl-addr.c (determine_info): Treat hidden and internal
6299         symbols as local.
6300         * elf/dl-lookup.c (do_lookup_x): Likewise.
6301         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6303 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6305         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6306         invalid exception for a sNaN input.
6307         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6308         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6309         (__nearbyint_vis3): Likewise
6310         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6311         (__nearbyintf_vis3): Likewise
6312         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6313         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6314         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6315         Likewise.
6316         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6317         Likewise.
6319 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6321         [BZ #20139]
6322         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6323         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6324         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6325         2.24 or above.
6326         (HAVE_AVX512_ASM_SUPPORT): Removed.
6327         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6328         * sysdeps/x86_64/configure: Regenerated.
6329         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6330         check unconditional.
6331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6332         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6333         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6334         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6335         Likewise.
6336         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6337         Likewise.
6338         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6339         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6340         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6341         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6342         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6343         Likewise.
6344         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6345         Likewise.
6346         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6347         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6349         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6350         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6351         Likewise.
6352         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6353         Likewise.
6354         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6355         Likewise.
6356         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6357         Likewise.
6358         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6359         Likewise.
6360         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6361         Likewise.
6362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6363         Likewise.
6364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6365         Likewise.
6366         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6367         Likewise.
6368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6369         Likewise.
6370         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6371         Likewise.
6373 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6375         [BZ #20024]
6376         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6377         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6378         of this implementation of vector function.
6379         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6380         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6382         Likewise.
6383         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6384         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6385         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6386         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6387         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6388         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6389         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6390         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6391         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6392         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6393         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6394         for testing vector sincos with fixed ABI.
6395         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6396         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6397         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6398         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6399         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6400         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6401         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6402         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6403         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6404         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6405         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6406         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6407         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6408         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6409         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6410         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6412 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6414         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6416 2016-06-30  Anton Blanchard  <anton@samba.org>
6418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6419         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6420         s_sinf-ppc64.
6421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6424         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6426 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6430         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6431         e_expf-ppc64.
6432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6434         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6435         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6437 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6439         [BZ #20277]
6440         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6441         when SHARED is defined.
6443 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6445         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6446         (index_arch_Prefer_ERMS): Likewise.
6447         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6448         __memcpy_erms for Prefer_ERMS.
6449         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6450         (__memmove_erms): Enabled for libc.a.
6451         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6452         __memmove_erms or Prefer_ERMS.
6453         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6454         __mempcpy_erms for Prefer_ERMS.
6455         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6456         __memset_erms for Prefer_ERMS.
6458 2016-06-30  Andreas Schwab  <schwab@suse.de>
6460         [BZ #20262]
6461         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6462         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6463         of memory.
6465 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6467         [BZ #18645]
6468         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6469         (test-extras): Add tst-cleanupx4aux.
6470         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6471         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6472         tst-cleanupx4aux.o.
6473         * nptl/tst-cleanupx4aux.c: New file.
6475 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6477         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6479 2016-06-29  Andreas Schwab  <schwab@suse.de>
6481         [BZ #20260]
6482         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6483         address before the beginning of the string as an integer to avoid
6484         array-bounds warning.
6486 2016-06-28  Richard Henderson  <rth@redhat.com>
6488         * elf/elf.h (EM_BPF): New.
6489         (EM_NUM): Update.
6490         (R_BPF_NONE, R_BPF_MAP_FD): New.
6492         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6493         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6494         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6495         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6496         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6497         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6498         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6499         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6500         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6501         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6502         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6503         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6504         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6505         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6506         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6507         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6508         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6509         (EM_NUM): Update.
6511 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6513         [BZ #18960]
6514         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6515         Set _nl_current_LC_CATEGORY_used to two instead of one.
6517 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6519         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6520         (do_test): ... this.
6521         (TEST_FUNCTION): New macro.
6522          Include test-skeleton.c.
6523         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6524         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6526 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6528         [BZ #15479]
6529         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6530         floating-point environment rather than just control word.
6531         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6532         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6533         floating-point environment, with "invalid" exceptions merged in,
6534         rather than just control word.
6535         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6536         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6537         "inexact" exceptions.
6539         [BZ #15479]
6540         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6541         floating-point environment rather than just control word.
6542         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6543         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6544         floating-point environment, with "invalid" exceptions merged in,
6545         rather than just control word.
6546         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6547         * math/libm-test.inc (floor_test_data): Do not allow spurious
6548         "inexact" exceptions.
6550         [BZ #15479]
6551         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6552         floating-point environment rather than just control word.
6553         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6554         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6555         floating-point environment, with "invalid" exceptions merged in,
6556         rather than just control word.
6557         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6558         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6559         "inexact" exceptions.
6561 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6563         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6564         __libc_vfork.
6565         (__vfork) [IS_IN (libc)]: Remove alias.
6566         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6567         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6568         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6570 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6572         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6573         of atomic_compare_and_exchange_bool_rel.
6574         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6575         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6576         catomic_compare_and_exchange_bool_rel): Remove.
6577         * sysdeps/aarch64/atomic-machine.h
6578         (atomic_compare_and_exchange_bool_rel): Likewise.
6579         * sysdeps/alpha/atomic-machine.h
6580         (atomic_compare_and_exchange_bool_rel): Likewise.
6581         * sysdeps/arm/atomic-machine.h
6582         (atomic_compare_and_exchange_bool_rel): Likewise.
6583         * sysdeps/mips/atomic-machine.h
6584         (atomic_compare_and_exchange_bool_rel): Likewise.
6585         * sysdeps/microblaze/atomic-machine.h
6586         ( __arch_compare_and_exchange_bool_8_rel,
6587         __arch_compare_and_exchange_bool_16_rel): Likewise.
6588         * sysdeps/powerpc/atomic-machine.h
6589         ( __arch_compare_and_exchange_bool_8_rel,
6590         __arch_compare_and_exchange_bool_16_rel): Likewise.
6591         * sysdeps/powerpc/powerpc32/atomic-machine.h
6592         ( __arch_compare_and_exchange_bool_32_rel,
6593         __arch_compare_and_exchange_bool_64_rel): Likewise.
6594         * sysdeps/powerpc/powerpc64/atomic-machine.h
6595         ( __arch_compare_and_exchange_bool_32_rel,
6596         __arch_compare_and_exchange_bool_64_rel): Likewise.
6597         * sysdeps/tile/atomic-machine.h
6598         (atomic_compare_and_exchange_bool_rel): Likewise.
6600 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6602         [BZ #20296]
6603         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6604         when either argument is a NaN.
6605         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6606         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6608         * math/libm-test.inc (snan_value_ld): New macro.
6609         (isgreater_test_data): Add sNaN tests.
6610         (isgreaterequal_test_data): Likewise.
6611         (isless_test_data): Likewise.
6612         (islessequal_test_data): Likewise.
6613         (islessgreater_test_data): Likewise.
6614         (isunordered_test_data): Likewise.
6615         (nextafter_test_data): Likewise.
6616         (nexttoward_test_data): Likewise.
6617         (remainder_test_data): Likewise.
6618         (remquo_test_data): Likewise.
6619         (significand_test_data): Likewise.
6620         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6622 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6624         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6625         environment macros are defined.
6626         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6628 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6630         [BZ #20191]
6631         Implement vtable verification in libio.
6632         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6633         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6634         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6635         _IO_new_file_init_internal instead of _IO_file_init.
6636         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6637         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6638         * libio/Makefile (routines): Add vtables.
6639         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6640         (_IO_init): Remove, not for internal use.
6641         (_IO_init_internal): Declare, internal replacement for _IO_init.
6642         (_IO_file_init): Remove, not for internal use.
6643         (_IO_new_file_init): Remove, not for internal use.
6644         (_IO_new_file_init_internal): Declare, internal replacement for
6645         _IO_new_file_init.
6646         (_IO_old_file_init): Remove, not for internal use.
6647         (_IO_old_file_init_internal): Declare, internal replacement for
6648         _IO_old_file_init.
6649         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6650         internal use.
6651         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6652         Declare.
6653         (libio_vtable): New macro.
6654         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6655         functions.
6656         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6657         _IO_new_file_init.
6658         (_IO_new_file_init): New externally visible wrapper which disables
6659         vtable verification.
6660         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6661         Define as vtables.
6662         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6663         (_IO_init): New externally visible wrapper which disables
6664         vtable verification.
6665         * libio/iofdopen.c (_IO_new_fdopen): Call
6666         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6667         comment.
6668         * libio/iofopen.c (__fopen_internal): Call
6669         _IO_new_file_init_internal instead of _IO_file_init.
6670         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6671         Define as vtables.
6672         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6673         _IO_new_file_init_internal instead of _IO_file_init.
6674         * libio/iopopen.c (_IO_new_popen): Likewise.
6675         (_IO_proc_jumps): Define as vtable.
6676         * libio/iovdprintf.c (_IO_vdprintf): Call
6677         _IO_new_file_init_internal instead of _IO_file_init.
6678         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6679         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6680         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6681         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6682         _IO_old_file_init.
6683         (_IO_old_file_init): New externally visible wrapper which disables
6684         vtable verification.
6685         (_IO_old_file_jumps): Define as vtable.
6686         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6687         _IO_old_file_init_internal instead of _IO_old_file_init.
6688         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6689         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6690         (_IO_old_proc_jumps): Define as vtable.
6691         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6692         Define as vtables.
6693         * libio/vtables.c: New file.
6694         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6695         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6696         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6697         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6698         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6699         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6700         instead of _IO_init.
6702 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6704         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6706 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6708         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6709         potentially unused.
6711 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6713         * test-skeleton.c (write_message): New function.
6714         * malloc/tst-mallocfork2.c (write_message): Remove.
6715         * debug/tst-longjmp_chk2.c (write_indented): New function.
6716         (write_message): Remove.
6717         (stackoverflow_handler): Call write_indented.
6719 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6721         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6722         "inexact" exceptions after fnstenv.
6723         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6724         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6725         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6727 2015-06-22  Zack Weinberg  <zackw@panix.com>
6729         * sysdeps/generic/bits/hwcap.h: Moved to ...
6730         * bits/hwcap.h: Here.
6732 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6734         * sysdeps/aarch64/memcpy.S (memcpy):
6735         Further tuning for performance.
6737 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6739         [BZ #20284]
6740         * malloc/arena.c (reused_arena): Do not return NULL if we start
6741         out with a non-corrupted arena.
6743 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6745         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6746         * misc/tst-preadvwritev.c: New file.
6747         * misc/tst-preadvwritev64.c: Likewise.
6748         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6749         usage.
6750         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6751         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6752         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6753         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6755 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6757         [BZ #19654]
6758         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6759         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6760         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6761         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6762         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6763         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6764         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6765         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6766         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6767         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6768         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6769         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6770         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6771         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6772         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6773         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6774         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6775         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6776         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6777         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6778         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6779         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6780         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6781         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6782         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6783         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6785 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6787         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6788         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6790 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6792         * sysdeps/aarch64/memcpy.S (memcpy):
6793         Rewrite of optimized memcpy and memmove.
6794         * sysdeps/aarch64/memmove.S (memmove): Remove
6795         memmove code (merged into memcpy.S).
6797 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6799         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6800         * sysdeps/generic/dl-dtv.h: New file.
6801         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6802         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6803         (dtv_t): Remove.
6804         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6805         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6806         (dtv_t): Remove.
6807         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6808         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6809         (dtv_t): Remove.
6810         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6811         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6812         (dtv_t): Remove.
6813         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6814         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6815         (dtv_t): Remove.
6816         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6817         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6818         (dtv_t): Remove.
6819         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6820         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6821         (dtv_t): Remove.
6822         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6823         (dtv_t): Remove.
6824         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6825         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6826         (dtv_t): Remove.
6827         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6828         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6829         (dtv_t): Remove.
6830         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6831         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6832         (dtv_t): Remove.
6833         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6834         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6835         (dtv_t): Remove.
6836         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6837         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6838         (dtv_t): Remove.
6839         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6840         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6841         (dtv_t): Remove.
6842         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6843         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6844         (dtv_t): Remove.
6845         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6846         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6847         (dtv_t): Remove.
6849 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6851         Revert symbol poisoning of  __malloc_initialize_hook.
6852         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6853         poisoning.
6854         * malloc/Makefile: Remove un-poisoning.
6855         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6856         instead of old__malloc_initialize_hook.
6857         * malloc/malloc-hooks.h: Likewise.
6858         * malloc/malloc.c: Likewise.
6859         * malloc/mcheck-init.c: Likewise.
6861 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6863         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6865 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6867         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6868         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6869         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6870         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6872 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6874         * NEWS: Mention addition of nextup and nextdown.
6875         * manual/arith.texi: Document nextup and nextdown.
6876         * manual/libm-err-tab.pl: Add nextup and nextdown.
6877         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6878         * math/Versions (libm): Add GLIBC_2.24.
6879         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6880         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6881         Add new test.
6882         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6883         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6884         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6885         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6886         (nextup_test_data): Likewise.
6887         (nextdown_test_data): Likewise.
6888         * math/s_nextdown.c: New file.
6889         * math/s_nextdownf.c: Likewise.
6890         * math/s_nextdownl.c: Likewise.
6891         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6892         F(nextup): New function.
6893         F(nextdown): Likewise.
6894         * math/tgmath.h: Add nextup and nextdown.
6895         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6896         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6897         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6898         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6899         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6900         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6901         Add nextup and nextdown.
6902         (CFLAGS-nldbl-nextup.c): New variable.
6903         (CFLAGS-nldbl-nextdown.c): Likewise.
6904         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6905         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6906         * sysdeps/nacl/libm.abilist: Update.
6907         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6910         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6911         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6921         Likewise.
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6936 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6938         * manual/pattern.texi: Fix typos & grammar errors.
6940 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6942         * manual/search.texi: Fix typos & grammar errors.
6944 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6946         * manual/message.texi: Fix typos & grammar errors.
6948 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6950         * manual/contrib.texi: Fix spelling typos.
6951         * manual/crypt.texi: Likewise.
6952         * manual/filesys.texi: Likewise.
6953         * manual/locale.texi: Likewise.
6954         * manual/message.texi: Likewise.
6955         * manual/nss.texi: Likewise.
6956         * manual/string.texi: Likewise.
6958 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6960         * manual/locale.texi: Fix typos & grammar errors.
6962 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6964         * manual/charset.texi: Fix typos & grammar errors.
6966 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6968         * manual/string.texi: Fix typos.
6970 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6972         * manual/ctype.texi: Fix typos.
6974 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6976         * manual/memory.texi: Fix various typos & grammar errors.
6978 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6980         [BZ #20255]
6981         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6982         * math/libm-test.inc (fdim_test_data): Add another test.
6984         [BZ #6796]
6985         [BZ #20255]
6986         [BZ #20256]
6987         * math/s_fdim.c: Include <math_private.h>.
6988         (__fdim): Use math_narrow_eval on result.
6989         * math/s_fdimf.c: Include <math_private.h>.
6990         (__fdimf): Use math_narrow_eval on result.
6991         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6992         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6993         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6994         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6995         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6996         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6997         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6998         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6999         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7000         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7001         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7002         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7003         overflow.  Add sNaN tests.
7005         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7006         fpclassify.
7007         * math/s_fdimf.c (__fdimf): Likewise.
7008         * math/s_fdiml.c (__fdiml): Likewise.
7010 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7012         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7013         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7015         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7016         ifunc'ed strcasecmp/strncasecmp.
7017         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7018         [EALIGN]: Removed.
7019         [END]: Likewise.
7020         [__strcasecmp]: Define instead of the above to control symbol name.
7021         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7022         for __strcasecmp_power8.
7023         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7024         for __strncasecmp_power8.
7025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7026         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7027         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7028         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7029         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7030         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7032 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #20252]
7035         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7036         arguments when second argument is a NaN.
7037         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7038         qNaN tests.
7040         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7041         (conj_test_data): Likewise.
7042         (copysign_test_data): Likewise.
7043         (creal_test_data): Likewise.
7044         (fma_test_data): Likewise.
7045         (fmod_test_data): Likewise.
7047         [BZ #20250]
7048         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7049         itself.
7050         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7051         zero input to itself.
7052         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7053         Likewise.
7054         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7055         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7056         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7057         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7058         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7060 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7062         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7063         * nptl/tst-cancel4-common.c: New file.
7064         * nptl/tst-cancel4-common.h: Likewise.
7065         * nptl/tst-cancel4.c: Move common definitions to
7066         tst-cancel4-common.{c,h} file.
7067         * nptl/tst-cancel4_1.c: New test.
7068         * nptl/tst-cancel4_2.c: New test.
7070 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7072         [BZ #20248]
7073         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7074         (write_message): New function.
7075         (stackoverflow_handler): Call it instead of printf, to avoid
7076         excessive stack usage by printf.
7077         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7079 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7081         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7082         (prio_inherit_missing): Remove define.
7083         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7084         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7086         Likewise.
7087         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7088         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7089         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7090         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7091         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7092         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7094 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7096         [BZ #19670]
7097         [BZ #19672]
7099         * io/test-lfs.c (do_prepare): Use xmalloc.
7100         * io/tst-fcntl.c (do_prepare): Likewise.
7101         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7102         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7103         * login/tst-utmp.c (do_prepare): Likewise.
7104         * posix/tst-exec.c (do_prepare): Likewise.
7105         * posix/tst-pathconf.c (prepare): Likewise.
7106         * posix/tst-spawn.c (do_prepare): Likewise.
7107         * posix/tst-truncate.c (do_prepare): Likewise.
7108         * rt/tst-aio.c (do_prepare): Likewise.
7109         * rt/tst-aio64.c (do_prepare): Likewise.
7111 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7113         [BZ #20237]
7114         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7115         (get*ent): Set entidx to NULL during initialization.  If entidx is
7116         NULL, start iteration from the beginning.
7118 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7120         * malloc/malloc.c (musable): Return correct size for dumped fake
7121         mmapped chunk.
7123 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7125         [BZ #20222]
7126         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7127         (_IO_cookie_write): Likewise.
7128         (_IO_cookie_seek): Likewise.
7129         (_IO_cookie_close): Likewise.
7130         (_IO_old_cookie_seek): Likewise.
7131         (set_callbacks): New function.
7132         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7134 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7136         * locale/programs/localedef.c (oldstyle_tables): Remove.
7137         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7139 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7141         [BZ #20240]
7142         * math/Makefile (CFLAGS-s_modf.c): New variable.
7143         (CFLAGS-s_modff.c): Likewise.
7144         (CFLAGS-s_modfl.c): Likewise.
7145         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7147 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7149         [BZ #20215]
7150         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7151         [!__GNUC_PREREQ (3,2)]: Likewise.
7153 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7155         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7156         (msghdr.msg_controllen): Likewise.
7157         (cmsghdr.cmsg_len): Likewise.
7158         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7159         ptw-oldsendmsg.
7160         (CFLAGS-oldrecvmsg.c): Remove rule.
7161         (CFLAGS-oldsendmsg.c): Likewise.
7162         (CFLAGS-recvmsg.c): Add rule.
7163         (CFLAGS-sendmsg.c): Likewise.
7164         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7165         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7166         (CFLAGS-recvmsg.c): Remove rule.
7167         (CFLAGS-sendmsg.c): Likewise.
7168         (CFLAGS-oldrecvmsg.c): Likewise.
7169         (CFLAGS-oldsendmsg.c): Likewise.
7170         (CFLAGS-recvmmsg.c): Likewise.
7171         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7172         to kernel defined interfaces.
7173         (msghdr.msg_controllen): Likewise.
7174         (cmsghdr.cmsg_len): Likewise.
7175         (msghdr.__glibc_reserved1): Remove member.
7176         (msghdr.__glibc_reserved2): Likewise.
7177         (cmsghdr.__glibc_reserved1): Likewise.
7178         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7179         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7180         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7181         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7182         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7183         version.
7184         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7185         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7186         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7187         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7188         Remove recvmsg and sendmsg.
7189         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7190         Likewise.
7191         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7194         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7195         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7200         [libc] (GLIBC_2.24): Likewise.
7201         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7202         Likewise.
7203         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7204         Likewise.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7206         [libc] (GLIBC_2.24): Likewise.
7207         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7212         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7213         Likewise.
7214         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7217         Likewise.
7218         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7219         Likewise.
7220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7221         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7222         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7223         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7224         version for {recv,send,recm,sendm}msg.
7225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7226         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7227         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7228         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7229         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7235         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7236         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7238         Likewise.
7239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7240         Likewise.
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7243         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7244         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7246         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7251         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7255 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7257         [BZ #19564]
7258         Remove __malloc_initialize_hook from the API.
7259         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7260         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7261         #pragma GCC poison.
7262         * malloc/malloc-hooks.h: New file.
7263         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7264         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7265         (old__malloc_initialize_hook): Rename from
7266         __malloc_initialize_hook to evade poisoning.  Turn into compat
7267         symbol.
7268         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7269         __malloc_initialize_hook.
7270         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7271         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7272         * manual/memory.texi (Hooks for Malloc): Remove
7273         __malloc_initialize_hook.  Adjust hook example.
7275 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7277         [BZ #20235]
7278         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7279         itself.
7280         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7281         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7283         [BZ #20234]
7284         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7285         infinity or NaN input to itself.
7287         [BZ #20233]
7288         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7289         to itself.
7291         [BZ #20232]
7292         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7293         itself.
7295 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7297         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7298         __libc_start_main via GOT.
7300 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7302         * sysdeps/x86_64/memcopy.h: New file.
7303         * sysdeps/x86_64/wordcopy.c: Likewise.
7305 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7307         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7308         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7309         <cstdlib>.
7310         (optimization_barrier): New.
7311         (do_test): Use it.  Call quick_exit in the global namespace.
7312         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7313         instead of <cstdlib>, <thread>.
7314         (optimization_barrier): New.
7315         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7316         Call quick_exit in the global namespace.
7317         (do_test): Call optimization_barrier.  Use pthread_create,
7318         pthread_join instead of std::thread.
7320 2016-06-09  Andreas Schwab  <schwab@suse.de>
7322         [BZ #19755]
7323         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7324         new entries in auto-propagate mode.
7325         * nscd/grpcache.c (cache_addgr): Likewise.
7327 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7329         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7330         New functions.
7331         (add_temp_file): Use them.
7333 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7335         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7337 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7339         [BZ #20229]
7340         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7341         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7342         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7344         [BZ #20228]
7345         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7346         itself.
7347         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7348         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7350         [BZ #20227]
7351         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7352         itself.
7353         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7354         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7355         * math/libm-test.inc (log_test_data): Add sNaN tests.
7357         [BZ #20226]
7358         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7359         itself.
7360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7361         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7362         (exp10_test_data): Likewise.
7363         (expm1_test_data): Likewise.
7365         [BZ #20225]
7366         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7367         itself.
7368         * math/s_ldexpf.c (__ldexpf): Likewise.
7369         * math/s_ldexpl.c (__ldexpl): Likewise.
7370         * math/w_scalbln.c (__w_scalbln): Likewise.
7371         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7372         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7373         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7374         (scalbln_test_data): Likewise.
7376         [BZ #20224]
7377         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7378         argument to itself.
7379         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7381 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7383         [BZ #19776]
7384         * sysdeps/x86_64/memcpy.S: Make it dummy.
7385         * sysdeps/x86_64/mempcpy.S: Likewise.
7386         * sysdeps/x86_64/memmove.S: New file.
7387         * sysdeps/x86_64/memmove_chk.S: Likewise.
7388         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7389         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7390         * sysdeps/x86_64/memmove.c: Removed.
7391         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7392         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7393         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7394         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7395         Likewise.
7396         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7397         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7399         memcpy-sse2-unaligned, memmove-avx-unaligned,
7400         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7402         (__libc_ifunc_impl_list): Replace
7403         __memmove_chk_avx512_unaligned_2 with
7404         __memmove_chk_avx512_unaligned.  Remove
7405         __memmove_chk_avx_unaligned_2.  Replace
7406         __memmove_chk_sse2_unaligned_2 with
7407         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7408         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7409         with __memmove_avx512_unaligned.  Replace
7410         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7411         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7412         with __memcpy_chk_avx512_unaligned.  Remove
7413         __memcpy_chk_avx_unaligned_2.  Replace
7414         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7415         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7416         Replace __memcpy_avx512_unaligned_2 with
7417         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7418         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7419         with __mempcpy_chk_avx512_unaligned.  Remove
7420         __mempcpy_chk_avx_unaligned_2.  Replace
7421         __mempcpy_chk_sse2_unaligned_2 with
7422         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7423         Replace __mempcpy_avx512_unaligned_2 with
7424         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7425         Replace __mempcpy_sse2_unaligned_2 with
7426         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7427         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7428         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7429         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7430         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7431         (ENTRY): Removed.
7432         (END): Likewise.
7433         (ENTRY_CHK): Likewise.
7434         (libc_hidden_builtin_def): Likewise.
7435         Don't include ../memcpy.S.
7436         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7437         __memcpy_chk_avx512_unaligned_erms and
7438         __memcpy_chk_avx512_unaligned.  Use
7439         __memcpy_chk_avx_unaligned_erms and
7440         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7441         Default to __memcpy_chk_sse2_unaligned.
7442         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7443         Change function suffix from unaligned_2 to unaligned.
7444         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7445         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7446         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7447         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7448         (ENTRY): Removed.
7449         (END): Likewise.
7450         (ENTRY_CHK): Likewise.
7451         (libc_hidden_builtin_def): Likewise.
7452         Don't include ../mempcpy.S.
7453         (mempcpy): New.  Add a weak alias.
7454         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7455         __mempcpy_chk_avx512_unaligned_erms and
7456         __mempcpy_chk_avx512_unaligned.  Use
7457         __mempcpy_chk_avx_unaligned_erms and
7458         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7459         Default to __mempcpy_chk_sse2_unaligned.
7461 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7463         [BZ #19881]
7464         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7465         into ...
7466         * sysdeps/x86_64/memset.S: This.
7467         (__bzero): Removed.
7468         (__memset_tail): Likewise.
7469         (__memset_chk): Likewise.
7470         (memset): Likewise.
7471         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7472         defined.
7473         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7474         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7475         (__memset_zero_constant_len_parameter): Check SHARED instead of
7476         PIC.
7477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7478         memset-avx2 and memset-sse2-unaligned-erms.
7479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7480         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7481         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7482         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7483         (__bzero): Enabled.
7484         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7485         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7486         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7487         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7488         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7489         (memset): Removed.
7490         (__memset_chk): Likewise.
7491         (MEMSET_SYMBOL): New.
7492         (libc_hidden_builtin_def): Replace __memset_sse2 with
7493         __memset_sse2_unaligned.
7494         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7495         __memset_chk_sse2 and __memset_chk_avx2 with
7496         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7497         Use __memset_chk_sse2_unaligned_erms or
7498         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7499         __memset_chk_avx512_unaligned_erms and
7500         __memset_chk_avx512_unaligned.
7502 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7504         * math/gen-auto-libm-test.c (fp_format_desc): remove
7505         suffix member.
7506         (output_generic_value): Remove usage of suffix member,
7507         and the resulting unuse of the fp_format argument.
7508         (output_for_one_input_case): Remove unused fp_format
7509         parameter.
7511         * math/auto-libm-test-out: Regenerate.
7513         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7514         usage with TEST_COND_ibm128.
7515         (TEST_COND_flt_32): Remove.
7516         (TEST_COND_dbl_64): Remove.
7517         (TEST_COND_ldbl_96_intel): Remove.
7518         (TEST_COND_ldbl_96_m68k): Remove.
7519         (TEST_COND_ldbl_128): Remove.
7521 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7523         * auto-libm-test-in:
7524         Replace flt-32 usage with binary32.
7525         Replace dbl-64 usage with binary64.
7526         Replace ldbl-intel-96 usage with intel96.
7527         Replace ldbl-m68k-96 usage with m68k96.
7528         Replace ldbl-128ibm usage with ibm128.
7529         Replace ldbl-128 usage with binary128.
7531         * auto-libm-test-out: Regenerate.
7533 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7535         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7536         (parse_ulps): Dynamically generate type name matching
7537         string from all_floats.
7538         (get_ulps): Generate the ulps as an array instead.
7539         (output_ulps): Dynamically compose the type based
7540         on the number of supported formats, and print
7541         the indices as type specific helper macros.
7543         * math/libm-test.inc: Remove comment about CHOOSE.
7544         (ulp_data): Generate the type in libm-test-ulps.h.
7545         (ULP_IDX): New macro.
7546         (find_ulps): Update usage of max_ulp.
7548         * math/test-double-vlen2.h (CHOOSE): Remove.
7549         * math/test-double-vlen4.h (CHOOSE): Likewise.
7550         * math/test-double-vlen8.h (CHOOSE): Likewise.
7551         * math/test-float.c (CHOOSE): Likewise.
7552         * math/test-float-finite.c (CHOOSE): Likewise.
7553         * math/test-double.c (CHOOSE): Likewise.
7554         * math/test-double-finite.c (CHOOSE): Likewise.
7555         * math/test-idouble.c (CHOOSE): Likewise.
7556         * math/test-ifloat.c (CHOOSE): Likewise.
7557         * math/test-ildoubl.c (CHOOSE): Likewise.
7558         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7559         * math/test-ldouble.c (CHOOSE): Likewise.
7561         * math/test-float.h (TEST_FLOAT): Remove.
7562         * math/test-double.h (TEST_DOUBLE): Likewise.
7563         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7565 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7567         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7568         (parse_args): Strip C suffix from floating point literals
7569         typed with 'f' and wrap them with LIT().
7571         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7572         (test_ff_f_data_nexttoward): Rename to
7573         (test_fj_f_data): New struct.
7574         (nexttoward_test_data): Relabel tests as
7575         TEST_fj_f instead of TEST_ff_f.
7577 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7579         Emacs bug 23726.
7580         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7581         (__libc_realloc): Correct size computation for dumped fake mmapped
7582         chunks.
7584 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #20219]
7587         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7588         to itself.
7589         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7591         [BZ #20218]
7592         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7593         to itself.
7594         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7596 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7598         [BZ #20195]
7599         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7600         check to ...
7601         (init_cpu_features): Here.
7603 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7605         [BZ #20214]
7606         * sysdeps/unix/sysv/linux/bits/in.h
7607         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7608          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7609         Define to 1.
7610         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7611          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7612         Define to 0.
7613         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7614         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7616 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7618         [BZ #20198]
7619         * stdlib/Makefile (tests): Add tst-quick_exit, and
7620         tst-thread-quick_exit.
7621         [ifeq ($(have-cxx-thread_local),yes)]
7622         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7623         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7624         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7625         (LDLIBS-tst-thread-quick_exit): Likewise.
7626         [ifneq ($(have-cxx-thread_local),yes)]
7627         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7628         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7629         If run_dtors is true call __call_tls_dtors.
7630         (exit): Call __run_exit_handlers with run_dtors set to true.
7631         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7632         definition.
7633         * stdlib/quick_exit.c (quick_exit): Remove function.
7634         (__new_quick_exit): New function.
7635         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7636         function.
7637         * stdlib/tst-quick_exit.cc: New file.
7638         * stdlib/tst-thread-quick_exit.cc: New file.
7639         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7640         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7641         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7642         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7643         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7644         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7645         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7646         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7647         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7648         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7649         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7650         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7651         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7652         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7653         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7654         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7659         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7660         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7661         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7662         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7663         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7666         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7667         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7668         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7670 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7672         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7673         a typo in comments.
7675 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7677         [BZ #20213]
7678         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7679         argument to itself.
7680         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7682 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7684         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7685         required flags.
7686         (CFLAGS-pwritev64.c): Likewise.
7687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7688         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7689         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7690         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7691         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7692         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7693         syscall from auto-generation.
7694         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7695         [WORDSIZE == 64] (pwritev64): Remove macro.
7696         [!PWRITEV] (PWRITEV): Likewise.
7697         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7698         [!PWRITEV] (PWRITE): Likewise.
7699         [!PWRITEV] (OFF_T): Likewise.
7700         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7701         (LO_HI_LONG): Remove macro.
7702         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7703         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7704         (PWRITEV): Remove macro.
7705         (PWRITEV_REPLACEMENTE): Likewise.
7706         (PWRITE): Likewise.
7707         (OFF_T): Likewise.
7708         (pwritev64): New function.
7709         * nptl/tst-cancel4.c (tf_writev): Add test.
7711         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7712         required flags.
7713         (CFLAGS-preadv64.c): Likewise.
7714         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7715         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7716         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7717         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7718         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7719         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7720         syscall from auto-generation.
7721         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7722         [WORDSIZE == 64] (preadv64): Remove macro.
7723         [!PREADV] (PREADV): Likewise.
7724         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7725         [!PREADV] (PREAD): Likewise.
7726         [!PREADV] (OFF_T): Likewise.
7727         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7728         (LO_HI_LONG): Remove macro.
7729         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7730         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7731         (PREADV): Remove macro.
7732         (PREADV_REPLACEMENTE): Likewise.
7733         (PREAD): Likewise.
7734         (OFF_T): Likewise.
7735         (preadv64): New function.
7736         * nptl/tst-cancel4.c (tf_preadv): Add test.
7738 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7740         [BZ #20212]
7741         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7742         argument to itself.
7743         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7745 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7747         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7748         New symbol defined as libc_hidden_def.
7749         (strcasestr): Became a weak alias to __strcasestr.
7750         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7751         according to multi-arch support.  Move __stpncpy hidden
7752         definition from here to...
7753         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7754         symbol stpncpy.
7755         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7756         libc_hidden_builtin_def.
7757         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7758         memset symbol to use when multi-arch support is available.
7760 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7762         * dlfcn/tst-rec-dlopen.c: Include string.h.
7764 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7766         * manual/install.texi: Remove mention of --without-tls
7767         * INSTALL: Regenerate.
7769 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7771         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7772         Remove.
7773         (call_function, interposed_malloc_called): New variables.
7774         (malloc): New function.
7775         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7776         and clear call_function as needed.
7778 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7780         * include/wchar.h (__wmemset): Use __typeof.
7782 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7784         * include/wchar.h (__wmemset): Declare function without typeof.
7786 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7788         [BZ #20205]
7789         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7790         exponent when incrementing negative subnormal with low mantissa
7791         word zero.
7792         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7793         Add another test.
7795 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7797         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7798         __wmemset instead of wmemset.
7800 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7802         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7803         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7804         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7805         __USE_KERNEL_IPV6_DEFS to 0.
7806         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7807         Update comment.
7809 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7811         [BZ #19861]
7812         Do not use IFUNC resolver with potentially unrelocated symbol.
7813         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7814         (DEFINE_FORK): Remove macro and inline definition.
7815         (fork_alias): Renamed from fork_ifunc.
7816         (__fork_alias): Renamed from __fork_ifunc.
7818 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7820         [BZ 19653]
7821         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7822         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7824 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7826         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7827         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7828         i386-linux-gnu).
7829         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7830         Set to no.
7831         * sysdeps/mach/hurd/configure: Refresh.
7833 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7835         [BZ #20178]
7836         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7837         on failure instead of exit.
7839 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7841         [BZ #3629]
7842         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7843         of POSIX.1-2008.
7845 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7847         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7848           Use PLT entry for calling _hurd_self_sigstate.
7850 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7852         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7853         available logical processors with SMT level type sharing L2
7854         cache for Intel processors.
7856 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7858         [BZ #20160]
7859         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7860         argument to itself before returning the result.
7861         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7862         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7863         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7865         Likewise.
7866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7867         Likewise.
7868         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7869         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7870         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7871         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7872         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7873         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7875         [BZ #20160]
7876         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7877         argument to itself before returning the result.
7878         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7879         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7880         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7881         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7882         Likewise.
7883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7884         Likewise.
7885         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7886         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7887         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7888         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7889         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7890         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7892 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7894         * libm-test.inc: Replace usage of M_El with
7895         (lit_e): New macro.
7897 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7899         * libm-test.inc: Replace usage of M_PI_4l with
7900         (lit_pi_4_d): New macro.
7902 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7904         * libm-test.inc: Replace usage of M_PIl with
7905         (lit_pi): New macro.
7907 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7909         * libm-test.inc: Replace usage of M_PI2l with
7910         (lit_pi_2_d): New macro.
7912         * math/test-double.h (LITM): New macro.
7913         * math/test-float.h (LITM): Likewise.
7914         * math/test-ldouble.h (LITM): Likewise.
7916 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7918         * libm-test.inc (M_PI_34l): Rename to
7919         (lit_pi_3_m_4_d): New Macro.
7920         (M_PI_34_LOG10El): Rename to
7921         (lit_pi_3_m_4_ln10_m_d): New Macro.
7922         (M_PI2_LOG10El): Rename to
7923         (lit_pi_2_ln10_m_d):  New Macro.
7924         (M_PI4_LOG10El): Rename to
7925         (lit_pi_4_ln10_m_d):  New Macro.
7926         (M_PI_LOG10El): Rename to
7927         (lit_pi_ln10_d):  New Macro.
7929 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7931         [BZ #20157]
7932         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7933         determine whether to negate low half if [_ARCH_PPCGR], and integer
7934         comparison otherwise.
7935         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7936         determine whether to negate low half.
7938         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7939         (NO_TEST_INLINE_DOUBLE): Likewise.
7940         (TEST_COND_x86_64): Likewise.
7941         (TEST_COND_x86): Likewise.
7942         (M_PI_6l): Likewise.
7944 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7946         * math/libm-test.inc:
7947         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7948         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7949         (TEST_LDOUBLE): Update usage to evaluate as true if
7950         the guarded tests match the property being tested.
7951         (LDBL_MAX_EXP): Change to MAX_EXP.
7952         (LDBL_MIN_EXP): Change to MIN_EXP.
7953         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7954         nexttoward tests.
7956 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7958         * math/libm-test.inc:
7959         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7960         (TYPE_MIN): Likewise.
7961         (TYPE_TRUE_MIN): Likewise.
7962         (TYPE_MAX): Likewise.
7963         (MIN_EXP): Likewise.
7964         (MAX_EXP): Likewise.
7965         (MANT_DIG): Likewise.
7967         (FSTR_MAX): New macro.
7968         (__CONCATX): Likewise.
7969         (QTYPE_STR): Likewise.
7970         (TEST_COND_binary32): Likewise.
7971         (TEST_COND_binary64): Likewise.
7972         (TEST_COND_binary128): Likewise.
7973         (TEST_COND_ibm128): Likewise.
7974         (TEST_COND_intel96): Likewise.
7975         (TEST_COND_m68k96): Likewise.
7977         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7978         (TEST_COND_dbl_64): Likewise.
7979         (TEST_COND_ldbl_96_intel): Likewise.
7980         (TEST_COND_ldbl_96_m68k): Likewise.
7981         (TEST_COND_ldbl_128): Likewise.
7982         (TEST_COND_ldbl_128ibm): Likewise.
7984         (plus_zero): Redefine using LIT macro.
7985         (minus_zero): Likewise.
7986         (plus_infty): Redefine as (INF).
7987         (minux_infty): Redefine as (-INF).
7988         (max_value): Redefine as TYPE_MAX.
7989         (min_value): Redefine as TYPE_MIN.
7990         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7992         (print_float): Refactor to use snprintf to convert FLOAT values
7993         to string. This brings it closer to dropin replacement of strtof
7994         for the TS 18661 defined types.
7995         (update_stats): Likewise.
7996         (print_complex_function_ulps): Likewise.
7997         (print_max_error): Likewise.
7998         (print_complex_max_error): Likewise.
7999         (check_float_internal): Likewise.
8001         * math/test-float.h (PREFIX): New macro.
8002         (LIT): Likewise.
8003         (TYPE_STR): Likewise.
8004         (FTOSTR): Likewise.
8006         * math/test-double.h (PREFIX): New macro.
8007         (LIT): Likewise.
8008         (TYPE_STR): Likewise.
8009         (FTOSTR): Likewise.
8011         * math/test-ldouble.h (PREFIX): New macro.
8012         (LIT): Likewise.
8013         (TYPE_STR): Likewise.
8014         (FTOSTR): Likewise.
8016 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8018         [BZ #20156]
8019         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8020         to itself when zero or not finite.
8021         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8022         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8023         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8024         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8026 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8028         [BZ #20153]
8029         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8030         x * x + x for infinities and NaNs.
8032         [BZ #20151]
8033         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8034         argument to itself before returning result.
8035         (__ieee754_y0l): Likewise.
8036         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8037         (__ieee754_y1l).
8039         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8040         (atan_test_data): Likewise.
8041         (ceil_test_data): Likewise.
8042         (cos_test_data): Likewise.
8043         (cosh_test_data): Likewise.
8044         (erf_test_data): Likewise.
8045         (exp2_test_data): Likewise.
8046         (fabs_test_data): Likewise.
8047         (floor_test_data): Likewise.
8048         (ilogb_test_data): Likewise.
8049         (j0_test_data): Likewise.
8050         (j1_test_data): Likewise.
8051         (jn_test_data): Likewise.
8052         (lgamma_test_data): Likewise.
8053         (lrint_test_data): Likewise.
8054         (llrint_test_data): Likewise.
8055         (logb_test_data): Likewise.
8056         (lround_test_data): Likewise.
8057         (llround_test_data): Likewise.
8058         (nearbyint_test_data): Likewise.
8059         (rint_test_data): Likewise.
8060         (round_test_data): Likewise.
8061         (sin_test_data): Likewise.
8062         (sincos_test_data): Likewise.
8063         (sinh_test_data): Likewise.
8064         (sqrt_test_data): Likewise.
8065         (tan_test_data): Likewise.
8066         (tanh_test_data): Likewise.
8067         (tgamma_test_data): Likewise.
8068         (trunc_test_data): Likewise.
8069         (y0_test_data): Likewise.
8070         (y1_test_data): Likewise.
8071         (yn_test_data): Likewise.
8073         * math/libm-test.inc: Update comment about NaN testing.
8074         (TEST_SNAN): New macro.
8075         (snan_value): Likewise.
8076         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8077         (fpclassify_test_data): Add sNaN tests.
8078         (isfinite_test_data): Likewise.
8079         (isinf_test_data): Likewise.
8080         (isnan_test_data): Likewise.
8081         (isnormal_test_data): Likewise.
8082         (issignaling_test_data): Likewise.
8083         (signbit_test_data): Likewise.
8084         * math/gen-libm-test.pl (%beautify): Add snan_value.
8085         (show_exceptions): Add argument $test_snan.
8086         (parse_args): Handle snan_value as non-finite.  Update call to
8087         show_exceptions.
8088         * math/Makefile (libm-test-no-inline-cflags): Add
8089         -fsignaling-nans.
8091 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8093         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8094         (CFLAGS-oldsendmsg.c): Add rule.
8095         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8096         Correct recvmsg symbol name.
8097         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8098         Likewise.
8100 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8102         * sysdeps/unix/sysv/linux/Makefile
8103         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8104         oldsendmmsg.
8105         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8106         sendmmsg.
8107         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8110         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8112         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8113         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8115         Likewise.
8116         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8117         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8118         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8119         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8120         iovlen and controllen fields to adjust to POSIX specification.
8121         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8123         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8124         and change to correct expected type.
8125         (msghdr.msg_controllen): Likewise.
8126         (cmsghdr.cmsg_len): Likewise.
8127         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8128         expected POSIX assumption about the size.
8129         (msghdr.msg_controllen): Likewise.
8130         (msghdr.__glibc_reserved1): Likewise.
8131         (msghdr.__glibc_reserved2): Likewise.
8132         (cmsghdr.cmsg_len): Likewise.
8133         (cmsghdr.__glibc_reserved1): Likewise.
8134         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8135         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8136         (CFLAGS-sendmsg.c): Remove rule.
8137         (CFLAGS-recvmsg.c): Likewise.
8138         (CFLAGS-oldsendmsg.c): Add rule.
8139         (CFLAGS-oldrecvmsg.c): Likewise.
8140         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8141         recvmsg and sendmsg.
8142         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8143         Likewise.
8144         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8145         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8146         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8147         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8148         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8149         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8150         Likewise.
8151         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8152         Likewise.
8153         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8154         Likewise.
8155         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8156         Likewise.
8157         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8158         Likewise.
8159         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8160         Likewise.
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8162         (GLIBC_2.24): Likewise.
8163         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8164         Likewise.
8165         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8166         Likewise.
8167         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8168         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8171         Likewise.
8172         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8173         Likewise.
8174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8175         (GLIBC_2.24): Likewise.
8176         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8177         Likewise.
8178         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8179         Likewise.
8180         * sysdeps/unix/sysv/linux/Makefile
8181         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8182         (CFLAGS-sendmsg.c): Add rule.
8183         (CFLAGS-recvmsg.c): Likewise.
8184         (CFLAGS-oldsendmsg.c): Likewise.
8185         (CFLAGS-oldrecvmsg.c): Likewise.
8186         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8187         initialization.
8188         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8189         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8190         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8191         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8192         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8193         iovlen and controllen fields to adjust to POSIX specification.
8194         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8195         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8196         added recvmsg and sendmsg.
8197         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8198         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8199         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8200         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8201         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8202         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8203         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8204         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8205         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8206         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8208         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8210         Likewise.
8211         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8213         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8214         Likewise.
8215         Likewise.
8216         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8217         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8218         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8219         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8220         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8221         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8225         Likewise.
8226         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8227         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8229         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8230         from auto-generation.
8231         (sendmsg): Likewise.
8232         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8233         (sendmsg): Likewise.
8234         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8235         (sendmsg): Likewise.
8236         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8237         (sendmsg): Likewise.
8238         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8239         (sendmsg): Likewise.
8240         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8241         (sendmsg): Likewise.
8242         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8243         Likewise.
8244         (sendmsg): Likewise.
8245         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8246         (sendmsg): Likewise.
8247         * sysdeps/unix/sysv/linux/i386/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/kernel-features.h
8257         (__ASSUME_SENDMSG_SYSCALL): Define.
8258         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8259         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8261         Remove.
8262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8263         Likewise.
8264         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8265         Undefine.
8266         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8267         Likewise.
8268         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8270         Remove.
8271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8272         Likewise.
8273         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8274         Undefine.
8275         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8276         Likewise.
8277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8278         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8279         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8280         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8281         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8282         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8283         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8284         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8285         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8287 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8289         * stdlib/gen-tst-strtod-round.c: Add backslash to
8290         compile command in comment.
8291         (printfp): Remove the literal suffix, and define an infinite
8292         value as INF to avoid expansion clash with INFINITY.
8293         (round_str): Remove the literal suffix.
8294         (round_for_all): Likewise, remove the now duplicate ldbl-64
8295         entry, and remove some magic constants.
8297         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8298         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8299         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8300         (_CONCAT): New macro.
8301         (CONCAT): Likewise.
8302         (CHOOSE_ld): Likewise.
8303         (CHOOSE_f): Likewise.
8304         (CHOOSE_d): Likewise.
8305         (FTYPE_MEMBER): Likewise.
8306         (BOOL_MEMBER): Likewise.
8307         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8308         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8309         (_XNTRY): Likewise.
8310         (XNTRY): Likewise.
8311         (_ENTRY): Likewise.
8312         (ENTRY): Likewise.
8313         (test_exactness): Generate members via macro.
8314         (test_results): Likewise.
8315         (test): Update members.
8316         (TEST): Redefine using new macros.
8317         (INF): New macro.
8318         (fetestmodes): New structure.
8319         (do_test): Refactor to be type generic.
8320         (test_in_one_mode): Refactor duplicate code into
8321         (GEN_ONE_TEST): New macro.
8323         * stdlib/tst-strtod-round-data.h: Regenerate.
8325         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8326         Extend to pass additional arbitrary parameters to
8327         generators.
8329 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8331         [BZ #15479]
8332         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8333         floating-point state after first floating-point operation on
8334         input.  Restore full floating-point state instead of just rounding
8335         mode.
8336         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8337         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8338         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8339         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8340         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8342         [BZ #15479]
8343         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8344         floating-point state after first floating-point operation on
8345         input.  Restore full floating-point state instead of just rounding
8346         mode.
8347         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8348         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8349         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8350         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8351         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8353 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8355         [BZ #19727]
8356         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8357         valid high surrogate.
8358         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8359         of an utf16 surrogate.
8360         * iconv/gconv_simple.c (BODY): Likewise.
8361         * iconvdata/bug-iconv12.c: New file.
8362         * iconvdata/Makefile (tests): Add bug-iconv12.
8364 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8366         [BZ #19726]
8367         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8368         outptrp in case of an illegal input.
8369         * iconv/tst-iconv6.c: New file.
8370         * iconv/Makefile (tests): Add tst-iconv6.
8372 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8374         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8375         an error in case of a value in range of an utf16 low surrogate.
8377 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8379         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8380         an error in case of a value in range of an utf16 low surrogate.
8382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8384         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8385         Move to ...
8386         * sysdeps/s390/Makefile: ... here.
8387         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8388         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8389         (BRANCH_ON_COUNT): New define.
8390         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8391         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8392         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8393         run on s390-32, too.
8394         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8395         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8396         run on s390-32, too.
8397         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8398         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8399         run on s390-32, too.
8401 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8403         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8404         etf3eh or new vector loop-variant.
8406 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8408         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8409         etf3eh or new vector loop-variant.
8411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8413         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8414         or new vector loop-variant.
8416 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8418         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8419         Rename to TR_LOOP and usage of tr instead of troo instruction.
8421 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8423         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8426 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8428         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8429         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8430         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8431         New override define.
8432         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8434 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8436         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8437         * sysdeps/s390/configure.ac: Add test for S390 vector register
8438         support in gcc.
8439         * sysdeps/s390/configure: Regenerated.
8441 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8443         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8444         Install file from $(objpfx)gconv-modules.
8445         ($(objpfx)gconv-modules): Concatenate architecture specific file
8446         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8447         * sysdeps/s390/gconv-modules: New file.
8448         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8449         Deleted.
8450         ($(objpfx)gconv-modules-s390): Deleted.
8451         (sysdeps-gconv-modules): New variable.
8453 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8455         [BZ #15479]
8456         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8457         of immediate operand to rounding instruction.
8458         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8459         Likewise.
8460         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8461         Likewise.
8462         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8463         Likewise.
8465 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8467         * math/libm-test.inc (MIN_EXP): Directly define as
8468         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8470 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8472         * math/libm-test.inc (MANT_DIG): Directly define as
8473         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8475 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8477         * stdlib/gen-tst-strtod-round.c (main):
8478           Change usage to more closely match the generated
8479           output.  Add usage and compilation instructions.
8480           (string_to_fp): Add and use FILE* parameter as
8481           output target.
8482           (print_fp): Likewise.
8483           (round_str): Likewise.
8484           (round_for_all): Likewise.
8485         * stdlib/tst-strtod-round.c (tests): Move into
8486         * stdlib/tst-strtod-round-data.h: New file.
8488 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8490         [BZ #15479]
8491         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8492         (__round): Do not force "inexact" exception.
8493         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8494         variable.
8495         (__round): Do not force "inexact" exception.
8496         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8497         (__roundf): Do not force "inexact" exception.
8498         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8499         (__roundl): Do not force "inexact" exception.
8500         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8501         (__roundl): Do not force "inexact" exception.
8502         * math/libm-test.inc (round_test_data): Do not allow spurious
8503         "inexact" exceptions.
8505         [BZ #15479]
8506         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8507         exception in comment.
8508         (huge): Remove variable.
8509         (__floor): Do not force "inexact" exception.
8510         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8511         "inexact" exception in comment.
8512         (huge): Remove variable.
8513         (__floor): Do not force "inexact" exception.
8514         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8515         exception in comment.
8516         (huge): Remove variable.
8517         (__floorf): Do not force "inexact" exception.
8518         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8519         exception in comment.
8520         (huge): Remove variable.
8521         (__floorl): Do not force "inexact" exception.
8523         [BZ #15479]
8524         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8525         exception in comment.
8526         (huge): Remove variable.
8527         (__ceil): Do not force "inexact" exception.
8528         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8529         "inexact" exception in comment.
8530         (huge): Remove variable.
8531         (__ceil): Do not force "inexact" exception.
8532         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8533         (__ceilf): Do not force "inexact" exception.
8534         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8535         exception in comment.
8536         (huge): Remove variable.
8537         (__ceill): Do not force "inexact" exception.
8539 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8541         * config.h.in (BIND_NOW): New.
8542         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8543         * configure: Regenerated.
8544         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8545         indirect branch via the GOT slot.
8547 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8549         [BZ #19765]
8550         * sysdeps/s390/mempcpy.S: New File.
8551         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8552         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8553         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8554         Add mempcpy variants.
8555         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8556         (memcpy): Adjust to be usable from mempcpy entry point.
8557         (__memcpy_mvcle): Likewise.
8558         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8559         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8560         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8561         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8562         (__memcpy_z10): Likewise.
8563         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8565 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8567         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8568         Remove __GI_ symbol.
8569         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8570         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8571         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8572         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8573         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8574         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8576 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8578         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8579         Use cghi instead of chi to compare 64bit value.
8581 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8583         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8584         Jump to 1MB check before executing mvc-loop.
8586 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8588         [BZ #6527]
8589         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8590         unconditionally.
8591         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8593 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8595         * stdlib/tst-strtod6.c (do_test): Use new type generic
8596         invocation of the test function.
8597         (test): Refactor into ...
8598         (TEST_STRTOD): New macro base function.
8600 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8602         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8603         (TEST_STRTOD): New macro.
8604         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8606 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8608         * stdlib/tst-strtod6.c (do_test): Use new type generic
8609         invocation of the test function.
8610         (test): Refactor into ...
8611         (TEST_STRTOD): New macro base function.
8613 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8615         CVE-2016-4429
8616         [BZ #20112]
8617         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8618         payload.
8620 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8622         [BZ #20111]
8623         * bits/sockaddr.h (_SS_SIZE): Define.
8624         * bits/socket.h (_SS_SIZE): Remove.
8625         (_SS_PADSIZE): Adjust to account for all padding.
8626         (struct sockaddr_storage): Update comment.  Avoid implicit
8627         padding.
8628         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8629         (_SS_PADSIZE): Adjust to account for all padding.
8630         (struct sockaddr_storage): Update comment.  Avoid implicit
8631         padding.
8632         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8633         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8634         (_SS_PADSIZE): Adjust to account for all padding.
8635         (struct sockaddr_storage): Update comment.  Avoid implicit
8636         padding.
8637         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8638         __SS_SIZE is 126 in this version.
8639         * inet/tst-sockaddr.c: New file.
8640         * inet/Makefile (tests): Add tst-sockaddr.c
8641         (tst-sockaddr.c): Compile with non-strict aliasing.
8643 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8645         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8646         [XPG3 || XPG4].
8647         (NL_ARGMAX): Also expect for [XPG3].
8648         (NL_LANGMAX): Likewise.
8649         (NL_MSGMAX): Likewise.
8650         (NL_NMAX): Likewise.
8651         (NL_SETMAX): Likewise.
8652         (NL_TEXTMAX): Likewise.
8653         (NZERO): Likewise.
8654         (TMP_MAX): Likewise.
8655         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8656         variable.
8658         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8659         (PF_MAX): Update value.
8660         (AF_KCM): New macro.
8661         (SOL_NETBEUI): Likewise.
8662         (SOL_LLC): Likewise.
8663         (SOL_DCCP): Likewise.
8664         (SOL_NETLINK): Likewise.
8665         (SOL_TIPC): Likewise.
8666         (SOL_RXRPC): Likewise.
8667         (SOL_PPPOL2TP): Likewise.
8668         (SOL_BLUETOOTH): Likewise.
8669         (SOL_PNPIPE): Likewise.
8670         (SOL_RDS): Likewise.
8671         (SOL_IUCV): Likewise.
8672         (SOL_CAIF): Likewise.
8673         (SOL_ALG): Likewise.
8674         (SOL_NFC): Likewise.
8675         (SOL_KCM): Likewise.
8676         (MSG_BATCH): New enum value and macro.
8678 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8680         [BZ #18185]
8681         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8682         sharing L2 cache to 2 for Knights Landing.
8684 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8686         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8687         (FTW_DP): Do not expect for [XPG3 || XPG4].
8688         (FTW_SL): Do not expect for [XPG3].
8689         (FTW_SLN): Likewise.
8690         (FTW_PHYS): Likewise.
8691         (FTW_MOUNT): Likewise.
8692         (FTW_DEPTH): Likewise.
8693         (FTW_CHDIR): Likewise.
8694         (nftw): Likewise.
8695         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8696         variable.
8698 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8700         * manual/errno.texi: Fix various typos & grammar errors.
8702 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8704         * manual/intro.texi: Fix duplicated typo.
8706 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8708         [BZ #13304]
8709         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8710         <float.h>, <math_private.h> and <stdlib.h>.
8711         (add_split): New function.
8712         (mul_split): Likewise.
8713         (ext_val): New typedef.
8714         (store_ext_val): New function.
8715         (mul_ext_val): New function.
8716         (compare): New function.
8717         (add_split_ext): New function.
8718         (__fmal): After checking for Inf, NaN and zero, compute result as
8719         an exact sum of scaled double values in round-to-nearest before
8720         adding those up and adjusting for other rounding modes.
8721         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8722         tests of fma.
8723         * math/auto-libm-test-out: Regenerated.
8725 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8727         [BZ #20119]
8728         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8729         processor level type mask for CPUID with EAX == 11.
8731 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8733         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8734         logical threads if the HTT bit is 0.
8735         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8736         (index_cpu_HTT): Likewise.
8737         (reg_HTT): Likewise.
8739 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8741         [BZ #20115]
8742         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8743         Remove alignments on jump targets.
8745 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8747         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8748         (getpwent): Likewise.
8749         (setpwent): Likewise.
8750         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8751         variable.
8753         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8754         (remque): Likewise.
8755         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8756         variable.
8758 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8760         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8761         not being tested.
8763 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8765         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8766         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8767         call.
8768         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8769         (__condvar_cleanup1): Likewise.
8771 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8773         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8774         New
8775         (__pthread_unwind): Renamed to ...
8776         (PTHREAD_UNWIND): This.
8777         (__pthread_enable_asynccancel): Replace
8778         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8780 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8782         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8783         (CLONE_NEWCGROUP): New macro.
8785         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8786         (Q_GETNEXTQUOTA): New macro.
8788 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8790         [BZ #19907]
8791         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8792         buffer updated by the previous run.
8793         * string/test-memcpy.c (do_one_test): Likewise.
8794         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8795         * string/test-memmove.c (do_one_test): Likewise.
8797 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #20094]
8800         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8801         not [__USE_XOPEN].
8802         (unlockpt): Likewise.
8803         (ptsname): Likewise.
8804         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8805         variable.
8807         [BZ #20076]
8808         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8809         instead of [__USE_UNIX98].
8810         (S_ISSOCK): Likewise.
8811         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8812         variable.
8814         [BZ #20074]
8815         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8816         [__USE_POSIX].
8817         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8818         variable.
8820         [BZ #20051]
8821         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8822         (ttyslot): Do not declare.
8823         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8824         (ttyslot): New prototype.
8825         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8826         variable.
8827         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8829 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8831         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8833 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8835         Fix race condition in tst-mallocfork2, use fewer resources.
8836         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8837         to current process group.
8838         (signal_sender): Yield in the non-sleeping case.
8840 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8842         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8843         (ecvt): Likewise.
8844         (fcvt): Likewise.
8845         (gcvt): Likewise.
8846         (getsubopt): Likewise.
8847         (grantpt): Likewise.
8848         (initstate): Likewise.
8849         (l64a): Likewise.
8850         (mktemp): Likewise.
8851         (mkstemp): Likewise.
8852         (ptsname): Likewise.
8853         (random): Likewise.
8854         (realpath): Likewise.
8855         (setstate): Likewise.
8856         (srandom): Likewise.
8857         (ttyslot): Likewise.
8858         (unlockpt): Likewise.
8859         (valloc): Likewise.
8861         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8862         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8863         variable.
8865 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8867         [BZ #20072]
8868         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8869         init_cpu_features only if SHARED is defined.
8870         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8872 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8874         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8875         non-inclusive caches on Intel processors.
8877 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8879         * malloc/malloc.c (dumped_main_arena_start)
8880         (dumped_main_arena_end): New variables.
8881         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8882         (do_check_chunk): Skip dumped fake mmapped chunks.
8883         (munmap_chunk): Likewise.
8884         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8885         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8886         mmapped chunks.
8887         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8888         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8889         and dumped_main_arena_end to cover the dumped heap.
8891 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8893         * conform/data/time.h-data (getdate_err): Do not expect for
8894         [XPG3].
8895         (getdate): Likewise.
8896         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8897         variable.
8899         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8900         (F_ULOCK): Likewise.
8901         (F_TEST): Likewise.
8902         (F_TLOCK): Likewise.
8903         (useconds_t): Likewise.
8904         (intptr_t): Do not expect for [XPG3] or [XPG4].
8905         (brk): Do not expect for [XPG3]
8906         (fchown): Likewise.
8907         (fchdir): Likewise.
8908         (ftruncate): Likewise.
8909         (getdtablesize): Likewise.
8910         (gethostid): Likewise.
8911         (getpagesize): Likewise.
8912         (getpgid): Likewise.
8913         (getsid): Likewise.
8914         (getwd): Likewise.
8915         (lchown): Likewise.
8916         (lockf): Likewise.
8917         (readlink): Likewise.
8918         (sbrk): Likewise.
8919         (setpgrp): Likewise.
8920         (setregid): Likewise.
8921         (setreuid): Likewise.
8922         (symlink): Likewise.
8923         (sync): Likewise.
8924         (truncate): Likewise.
8925         (ualarm): Likewise.
8926         (usleep): Likewise.
8927         (vfork): Likewise.
8928         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8929         variable.
8931         [BZ #20054]
8932         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8933         not [__USE_UNIX98].
8934         * conform/data/unistd.h-data (gethostname): Do not expect for
8935         [XPG3].
8937         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8938         [!POSIX] (S_IFBLK): Likewise.
8939         [!POSIX] (S_IFCHR): Likewise.
8940         [!POSIX] (S_IFIFO): Likewise.
8941         [!POSIX] (S_IFREG): Likewise.
8942         [!POSIX] (S_IFDIR): Likewise.
8943         [!POSIX] (S_IFLNK): Likewise.
8944         [!POSIX] (S_IFSOCK): Likewise.
8945         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8946         variable.
8947         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8949 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8951         * sysdeps/aarch64/memset.S (__memset):
8952         Rewrite of optimized memset.
8954 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8956         [BZ #19703]
8957         Partially async-signal-safe fork for single-threaded processes.
8958         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8959         variable.  Do not acquire and reset/release malloc and libio locks
8960         in single-threaded processes.
8961         * malloc/tst-mallocfork2.c: New file.
8962         * malloc/Makefile (tests): Add it.
8964 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8966         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8967         argument.  Use scratch buffer instead of extend_alloca.
8968         (gethosts): Use scratch buffer instead of extend_alloca.
8969         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8970         extend_alloca.
8971         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8973 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8975         [BZ #20055]
8976         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8977         instead of [__USE_UNIX98].
8978         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8979         [__USE_UNIX98].
8980         * conform/data/termios.h-data (tcgetsid): Do not expect for
8981         [XPG3].
8982         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8983         variable.
8984         (test-xfail-XPG4/termios.h/conform): Likewise.
8986 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8988         Do not use mcheck in localedef.
8989         * locale/programs/localedef.c (turn_on_mcheck)
8990         (__malloc_initialize_hook): Remove.
8992 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8994         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8995         * sysdeps/s390/s390-64/Makefile: Likewise.
8997 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8999         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9000         Remove ifunc-defines.sym.
9001         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9002         Likewise.
9003         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9004         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9005         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9006         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9007         rtld-global-offsets.sym.
9008         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9009         * sysdeps/x86/cpu-features-offsets.sym: This.
9010         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9011         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9013 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9015         [BZ #20073]
9016         * io/sys/stat.h (fchmod): Declare for
9017         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9018         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9019         variable.
9021         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9022         [XPG3] (S_IFSOCK): Likewise.
9023         [XPG3] (S_ISVTX): Likewise.
9024         [XPG3] (S_ISLNK): Likewise.
9025         [XPG3] (S_ISSOCK): Likewise.
9026         [XPG3] (fchmod): Likewise.
9027         [XPG3] (lstat): Likewise.
9028         [XPG3] (mknod): Likewise.
9030         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9031         [XPG3].  Expect type long and XFAIL for [XPG4].
9032         (st_blocks): Likewise.
9034         [BZ #20044]
9035         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9036         (pthread_atfork): New prototype.
9037         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9038         variable.
9040         [BZ #20043]
9041         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9042         prototype.
9044 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9046         [BZ #20017]
9047         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9048         gmtime.
9050 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9052         [BZ #19994]
9053         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9054         flag in _res.options.
9056 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9058         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9059         [XPG3 || XPG4].
9060         (blksize_t): Likewise.
9061         (clockid_t): Likewise.
9062         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9063         variable.
9064         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9066 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9068         * sysdeps/unix/sysv/linux/s390/init-first.c:
9069         Add VDSO_SYMBOL(getcpu).
9070         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9071         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9072         Add VDSO_SYMBOL(getcpu).
9073         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9074         New define HAVE_GETCPU_VSYSCALL.
9075         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9077 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9079         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9080         instead of <sysdeps/x86_64/cacheinfo.c>.
9081         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9082         * sysdeps/x86/cacheinfo.c: Here.
9084 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9086         * malloc/malloc-internal.h: Adjust header file guard.
9088 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9090         [BZ #19787]
9091         * inet/getnameinfo.c (check_sprintf_result): New function.
9092         (CHECKED_SNPRINTF): New macro.
9093         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9094         to the host buffer.
9095         (gni_host_local): Use checked_copy to copy the host name.
9096         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9097         (gni_serv_local): Use checked_copy to copy the service name.
9098         (getnameinfo): Remove unnecessary truncation of result buffers.
9100 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9102         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9103         in case of inet_ntop failure.
9105 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9107         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9108         avoid long lines.
9109         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9110         variables.
9111         (gni_host_inet, gni_host_local): Add comment.
9112         (gni_host): Add comment.  Use temporary to avoid long lines.
9114 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9116         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9117         registers specifiers where general purpose registers specifiers should
9118         have been used.
9120 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9122         [BZ #19779]
9123         CVE-2016-1234
9124         Avoid copying names of directory entries.
9125         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9126         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9127         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9128         (struct readdir_result): New type.
9129         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9130         (GL_READDIR): New macros.
9131         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9132         (convert_dirent, convert_dirent64): New functions.
9133         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9134         convert_dirent64.  Adjust references to the readdir result.
9135         * sysdeps/unix/sysv/linux/i386/glob64.c:
9136         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9137         * posix/bug-glob2.c (LONG_NAME): Define.
9138         (filesystem): Add LONG_NAME.
9139         (my_DIR): Increase the size of room_for_dirent.
9141 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9143         [BZ #20041]
9144         * misc/sys/select.h (__need_timespec): Only define if
9145         [__USE_XOPEN2K].
9146         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9147         variable.
9148         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9149         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9150         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9152 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9153             Segher Boessenkool  <segher@gcc.gnu.org>
9155         [BZ #20004]
9156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9157         (__novec_swapcontext): Add missing load.
9159 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9161         [BZ #20023]
9162         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9163         <time.h>.
9164         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9165         variable.
9166         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9168 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9171         flags CLONE_VM compare.
9173 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9175         [BZ #20031]
9176         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9177         completely empty.
9179 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9181         [BZ #19573]
9182         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9183         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9184         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9185         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9186         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9187         (hesiod_free_list): Mark as hidden.
9188         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9189         res_set, res_get.
9190         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9191         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9192         (hesiod_init): Remove obsolete res_ninit call.
9193         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9194         (hesiod_bind): Do not call init.
9195         (get_txt_records): Use res_mkquery, res_send instead of
9196         res_nmkquery, res_nsend.
9197         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9198         instead of _nss_hesiod_init.
9199         (_nss_hesiod_initgroups_dyn): Likewise.
9200         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9201         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9202         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9204 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9206         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9207         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9209 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9211         * hesiod/hesiod.h: Remove RCS keyword.
9212         * hesiod/hesiod_p.h: Likewise.
9214         * hesiod/hesiod.c: Likewise.
9216 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9218         [BZ #12450]
9219         * locale/iso-639.def: Add Samogitian/sgs.
9221 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9223         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9225         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9227 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9228             Carlos O'Donell  <carlos@redhat.com>
9230         [BZ #19072]
9231         * grp/Makefile (headers): Add grp-merge.h
9232         (routines): Add grp-merge.
9233         * grp/getgrgid_r.c: Include grp-merge.h.
9234         (DEEPCOPY_FN): Define.
9235         (MERGE_FN): Define.
9236         * grp/getgrname_r.c: Include grp-merge.h.
9237         (DEEPCOPY_FN): Define.
9238         (MERGE_FN): Define.
9239         * grp/grp-merge.c: New file.
9240         * grp/grp-merge.h: New file.
9241         * include/grp-merge.h: New file.
9242         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9243         __copy_grp@GLIBC_PRIVATE.
9244         * manual/nss.texi (Actions in the NSS configuration): Describe
9245         return, continue, and merge.
9246         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9247         (DEEPCOPY_FN): Define.
9248         (MERGE_FN): Define.
9249         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9250         (DEEPCOPY_FN): Define.
9251         (MERGE_FN): Define.
9252         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9253         [!MERGE_FN]: Define __merge_einval.
9254         (CHECK_MERGE): Define.
9255         (REENTRANT_NAME): Process merge if do_merge is true.
9256         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9257         (__nss_getent_r): Likewise.
9258         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9259         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9261 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9263         [BZ #20012]
9264         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9265         length to calculate the buffer to read.
9266         (fmemopen_write): Set the buffer position based on bytes written.
9267         (fmemopen_seek): Return EINVAL for invalid whence modes.
9269         [BZ #19957]
9270         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9271         tst-getpid2.
9272         (test): Add tst-clone2.
9273         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9274         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9275         pid/tid fields for CLONE_VM.
9276         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9277         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9278         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9279         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9280         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9281         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9282         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9283         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9287         Likewise.
9288         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9289         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9290         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9291         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9292         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9293         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9294         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9295         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9297 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9299         [BZ #19642]
9300         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9301         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9302         (gni_serv_local, gni_serv): New functions extracted from
9303         getnameinfo.
9304         (getnameinfo): Call gni_host and gni_serv to perform the
9305         processing.  Always free scratch buffer.
9307 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9309         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9310         remaining bytes in the dest string, with zeros.
9312 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9314         [BZ #20010]
9315         CVE-2016-3706
9316         * sysdeps/posix/getaddrinfo.c
9317         (convert_hostent_to_gaih_addrtuple): New function.
9318         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9319         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9320         AF_INET data.
9322 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9324         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9325         callback function gl_readdir.
9326         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9327         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9328         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9329         memcpy to copy the name.
9330         * manual/pattern.texi (Calling Glob): Document requirements for
9331         implementations of the gl_readdir callback function.
9332         * manual/examples/mkdirent.c: New example.
9333         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9334         per the manual guidance.
9335         * posix/tst-gnuglob.c (my_readdir): Likewise.
9337 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #20014]
9340         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9341         not [__USE_POSIX].
9342         (getchar_unlocked): Likewise.
9343         (putc_unlocked): Likewise.
9344         (putchar_unlocked): Likewise.
9345         (flockfile): Likewise.
9346         (ftrylockfile): Likewise.
9347         (funlockfile): Likewise.
9348         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9349         variable.
9350         (test-xfail-XPG4/stdio.h/conform): Likewise.
9352         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9353         Expect constant.
9354         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9355         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9356         variable.
9357         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9358         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9360         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9361         [__USE_LARGEFILE64] (off64_t): Likewise.
9362         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9363         variable.
9365 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9367         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9369 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9371         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9372         * resolv/res_init.c: Likewise.
9373         * resolv/res_mkquery.c: Likewise.
9375 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9377         * resolv/res_init.c (isascii): Do not define.  Use definition in
9378         <ctype.h>.
9379         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9380         (LOG_AUTH): Remove.
9381         (SPRINTF): Remove, adjust caller.
9382         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9384 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9386         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9387         SUNSECURITY conditional.
9388         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9390 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9392         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9393         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9394         Remove BSD-related preprocessor conditionals.
9395         * conf/portability.h: Remove.
9397 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9399         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9400         * resolv/res_data.c: Likewise.
9402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9404         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9405         * resolv/res_data.c: Remove code conditional on ultrix.
9407 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9409         * resolv/res_init.c (RFC1535): Do not define.  Remove
9410         RFC1535 preprocessor conditionals.
9411         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9412         because there configuration options which make the resolver
9413         behavior different.
9415 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9417         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9418         RESOLVSORT preprocessor conditionals.
9419         * resolv/nss_dns/dns-host.c: Likewise.
9420         * resolv/res_init.c: Likewise.
9422 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9424         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9425         is never defined.
9427 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9429         * inet/inet_lnaof.c: Remove SCSS keyword.
9430         * inet/inet_mkadr.c: Likewise.
9431         * inet/inet_net.c: Likewise.
9432         * inet/inet_netof.c: Likewise.
9433         * inet/rcmd.c: Likewise.
9434         * inet/rexec.c: Likewise.
9435         * inet/ruserpass.c: Likewise.
9437 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9439         * resolv/inet_addr.c: Remove _LIBC conditionals.
9440         * resolv/res_data.c: Likewise.
9441         * resolv/res_init.c: Likewise.
9442         * resolv/res_mkquery.c: Likewise.
9443         * resolv/res_libc.c: Update comment.
9444         * resolv/README: Update.
9446 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9448         * resolv/gethnamaddr.c: Remove SCSS keyword.
9449         * resolv/herror.c: Likewise.
9450         * resolv/inet_addr.c: Likewise.
9451         * resolv/inet_net_ntop.c: Likewise.
9452         * resolv/inet_net_pton.c: Likewise.
9453         * resolv/inet_neta.c: Likewise.
9454         * resolv/inet_ntop.c: Likewise.
9455         * resolv/inet_pton.c: Likewise.
9456         * resolv/ns_date.c: Remove RCS keyword.
9457         * resolv/ns_name.c: Likewise.
9458         * resolv/ns_netint.c: Likewise.
9459         * resolv/ns_parse.c: Likewise.
9460         * resolv/ns_print.c: Likewise.
9461         * resolv/ns_samedomain.c: Likewise.
9462         * resolv/ns_ttl.c: Likewise.
9463         * resolv/nsap_addr.c: Likewise.
9464         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9465         * resolv/res_data.c: Remove RCS keyword.
9466         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9467         * resolv/res_init.c: Likewise.
9468         * resolv/res_mkquery.c: Likewise.
9469         * resolv/res_query.c: Likewise.
9470         * resolv/res_send.c: Likewise.
9472 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9474         * conform/data/stdio.h-data (fdopen): Expect also for
9475         [XPG3 || XPG4].
9477         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9478         (fseeko): Likewise.
9479         (ftello): Likewise.
9480         (ftrylockfile): Likewise.
9481         (funlockfile): Likewise.
9482         (getc_unlocked): Likewise.
9483         (getchar_unlocked): Likewise.
9484         (putc_unlocked): Likewise.
9485         (putchar_unlocked): Likewise.
9487 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9489         [BZ #19868]
9490         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9491         DNS packet syntax checks (which were not needed before).  Skip
9492         over non-PTR records.
9494 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9496         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9497         definition.  Include <stddef.h> instead.
9499 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9501         [BZ #19831]
9502         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9503         function.
9504         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9505         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9507 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9509         [BZ #19862]
9510         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9511         (getanswer_r): Do not call syslog.
9512         (gaih_getanswer_slice): Likewise.
9513         * resolv/gethnamaddr.c (AskedForGot): Remove.
9514         (getanswer): Do not call syslog.
9515         (gethostbyaddr): Likewise.
9517 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9519         * conform/data/signal.h-data (union sigval): Expect also if
9520         [XOPEN2K].
9521         (struct sigevent): Likewise.
9522         (SIGEV_NONE): Likewise.
9523         (SIGEV_SIGNAL): Likewise.
9524         (SIGEV_THREAD): Likewise.
9525         (SIGRTMIN): Likewise.
9526         (SIGRTMAX): Likewise.
9527         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9528         variable.
9529         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9531 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9533         [BZ #19830]
9534         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9535         (gaih_getanswer_slice): Likewise.
9536         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9537         Also check for availability of RR metadata.
9539 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9541         [BZ #19825]
9542         * resolv/res_send.c (send_vc): Remove early *resplen2
9543         initialization.  Set *resplen2 on socket error.  Call
9544         close_and_return_error for other errors.
9546 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9548         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9549         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9550         (SCM_IUCV_TRGCLS): New define.
9552 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9554         [BZ #20005]
9555         * libio/fmemopen.c (fmemopen_write): Update internal position after
9556         write.
9557         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9558         * stdio-common/tst-fmemopen4.c: New file..
9560 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9562         [BZ #19996]
9563         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9564         not [__USE_XOPEN2K].
9565         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9566         variable.
9568         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9569         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9570         variable.
9572         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9573         [__USE_XOPEN2K8].
9574         [__USE_LARGEFILE64] (off64_t): Likewise.
9575         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9576         variable.
9578 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9580         [BZ #19989]
9581         * libio/stdio.h (cuserid): Do not declare if
9582         [__USE_XOPEN2K && !__USE_GNU].
9583         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9584         variable.
9586 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9588         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9589         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9591         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9592         ifunc'ed strcspn.
9593         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9594         [EALIGN]: Removed.
9595         [END]: Likewise
9596         [STRSPN]: Define instead of the above to control symbol name.
9597         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9598         New file.
9599         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9600         Likewise.
9601         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9602         Likewise.
9603         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9604         Likewise.
9605         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9606         [INITIAL_MASK]: New macro.
9607         [STRCSPN]: Likewise.
9608         [UPDATE_MASK]: Likewise.
9609         [USE_AS_STRCSPN]: Lisewise.
9611 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9613         [BZ #19931]
9614         * stdio-common/tst-vfprintf-width-prec.c: New file.
9615         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9616         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9617         (generated): Add mtrace-related files.
9618         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9619         (tst-%-mem.out): New pattern rule, replaces
9620         tst-printf-bz18872-mem.out.
9621         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9622         specifier, deallocate any previously allocated work buffer.
9624 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9626         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9627         Add nop before __startcontext, add explaining comments.
9629 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9631         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9632         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9633         completely different API.
9635         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9636         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9637         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9638         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9639         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9640         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9641         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9642         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9643         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9644         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9646 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9648         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9650 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9652         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9653         when it is the default of 0.
9655 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9657         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9658         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9659         (sysdep_routines): Add new strcasestr targets.
9660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9661         (__libc_ifunc_impl_list): Likewise.
9662         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9663         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9664         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9665         * sysdeps/powerpc/powerpc64/power8/Makefile:
9666         New file to add strcasestr-ppc64 to sysdep_routines.
9667         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9668         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9670 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9672         * benchtests/Makefile (wcsmbs-benchset): Include only for
9673         native builds and runs.
9674         (LOCALES): Likewise.
9675         (bench-build): Build timing-type here instead of the bench
9676         target.  Generate locale only for native builds.
9677         * benchtests/README: Add note for cross-building.
9679         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9681         * benchtests/README: Update README to include instructions on
9682         using bench-build.
9684         * Makefile.in (bench-build): New target.
9685         * Rules (PHONY): Add bench-build target.
9686         * benchtests/Makefile (bench): Depend on bench-build.
9687         (bench-build): New target.
9689 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9691         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9692         profil_reply_port.
9693         (profile_waiter): Do not initialize profil_reply_port.
9694         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9695         frequency instead of tick length in us.
9697 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9699         [BZ #18712]
9700         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9701         (__old_mempcpy_small): Likewise.
9702         (__old_strcpy_small): Likewise.
9703         (__old_stpcpy_small): Likewise.
9704         (__old_strpbrk_c2): Fix compat symbol name.
9705         (__old_strpbrk_c3): Likewise.
9706         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9707         (__mempcpy_small): Remove.
9708         (__strcpy_small): Remove.
9709         (__stpcpy_small): Remove.
9711 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9713         [BZ #19400]
9714         * locale/iso-639.def: Add the Talossan/tzl language.
9716 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9718         [BZ #16983]
9719         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9720         comment.  Add "ln" to strchr check on postal_fmt.
9722 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9724         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9725         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9726         tel_dom_fmt.
9728 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9730         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9731         (sysdep_routines): Added __strlen_power8.
9732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9733         __strlen_power8 entry.
9734         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9735         Implementation for POWER8.
9736         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9737         for __strlen_power8.
9738         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9739         Implementation for POWER8.
9741 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9743         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9745 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9747         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9748         Goldmont and Airmont processors.
9750 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9752         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9753         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9754         (__STRING2_SMALL_GET32): Remove.
9755         (memset): Remove.
9756         (__memset_1): Remove.
9757         (__memset_gc): Remove.
9758         (__mempcpy): Remove.
9759         (mempcpy): Remove.
9760         (__mempcpy_args): Remove.
9761         (strchr): Remove.
9762         (strcpy): Remove.
9763         (strcpy_args): Remove.
9764         (__stpcpy_args): Remove.
9765         (__strcmp_cc): Remove.
9766         (__strcmp_gc): Remove.
9767         (strstr): Remove.
9769 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9771         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9772         * nis/nis_call.c (nis_server_cache_add): Likewise.
9774 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9776         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9778 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9780         * malloc/arena.c (__malloc_fork_lock_parent)
9781         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9782         internal_function attribute.
9784 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9786         * stdio-common/printf_fp.c (__printf_fp_l):
9787         Rename ___printf_fp_l to __printf_fp_l and
9788         remove strong alias. Use libc_hidden_def instead
9789         of ldbl_hidden_def macro.
9791 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9793         Remove malloc hooks from fork handler.  They are no longer needed
9794         because malloc runs right before fork, and no malloc calls from
9795         other fork handlers are not possible anymore.
9796         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9797         declarations.
9798         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9799         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9800         (atfork_recursive_cntr): Remove.
9801         (__malloc_fork_lock_parent): Do not override malloc hooks and
9802         thread_arena.
9803         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9804         thread_arena.
9805         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9806         thread_arena instead of save_arena.
9808 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9810         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9811         (thread_atfork, thread_atfork_static): Remove.
9812         * sysdeps/mach/hurd/malloc-machine.h:
9813         (thread_atfork, thread_atfork_static): Remove.
9815 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9817         [BZ #19431]
9818         Run the malloc fork handler as late as possible to avoid deadlocks.
9819         * malloc/malloc-internal.h: New file.
9820         * malloc/malloc.c: Include it.
9821         * malloc/arena.c (ATFORK_MEM): Remove.
9822         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9823         Update comment.
9824         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9825         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9826         Remove outdated comment.
9827         (ptmalloc_init): Do not call thread_atfork.  Remove
9828         thread_atfork_static.
9829         * malloc/tst-malloc-fork-deadlock.c: New file.
9830         * Makefile (tests): Add tst-malloc-fork-deadlock.
9831         (tst-malloc-fork-deadlock): Link against libpthread.
9832         * manual/memory.texi (Aligned Memory Blocks): Update safety
9833         annotation comments.
9834         * sysdeps/nptl/fork.c (__libc_fork): Call
9835         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9836         __malloc_fork_unlock_child.
9837         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9839 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9841         [BZ #19613]
9842         Remove union wait.
9843         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9844         (w_stopsig, w_stopval): Remove.
9845         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9846         stat_loc argument.
9847         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9848         (__WAIT_STATUS_DEFN): Remove.
9849         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9850         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9851         (wait, wait3, wait4): Use int * for the stat_loc argument.
9852         * posix/wait.c (__wait): Likewise.
9853         * posix/wait3.c (__wait3): Likewise.
9854         * posix/wait4.c (__wait4): Likewise.
9855         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9856         (__WAIT_STATUS_DEFN): Remove.
9857         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9858         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9859         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9860         argument.
9861         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9862         * sysdeps/posix/wait3.c (__wait3): Likewise.
9863         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9864         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9865         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9866         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9867         stat_loc argument.
9868         * manual/process.texi (BSD Wait Functions): Remove union wait.
9870 2016-04-13  Andreas Schwab  <schwab@suse.de>
9872         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9873         (test-extras): Add tst-tlsalign-vars.
9874         * math/Makefile: Wrap long lines.
9875         (libm-vec-test-wrappers): Define.
9876         (test-extras): Add $(libm-vec-test-wrappers).
9877         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9878         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9879         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9880         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9881         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9882         (extra-test-objs): Add corresponding objects.
9884 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9886         [BZ #19928]
9887         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9888         New.
9889         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9890         times of shared cache size.
9891         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9892         (VMOVNT): New.
9893         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9894         (VMOVNT): Likewise.
9895         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9896         (VMOVNT): Likewise.
9897         (VMOVU): Changed to movups for smaller code sizes.
9898         (VMOVA): Changed to movaps for smaller code sizes.
9899         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9900         comments.
9901         (PREFETCH): New.
9902         (PREFETCH_SIZE): Likewise.
9903         (PREFETCHED_LOAD_SIZE): Likewise.
9904         (PREFETCH_ONE_SET): Likewise.
9905         Rewrite to use forward and backward loops, which move 4 vector
9906         registers at a time, to support overlapping addresses and use
9907         non temporal store if size is above the threshold and there is
9908         no overlap between destination and source.
9910 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9912         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9913         Include dl-vdso.
9914         * sysdeps/unix/sysv/linux/mips/Versions: Add
9915         __vdso_clock_gettime.
9916         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9917         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9918         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9919         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9920         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9921         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9922         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9923         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9924         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9926 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9928         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9929         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9931         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9932         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9933         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9936         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9938         syscalls generation.
9939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9940         [__NR_pwrite64] (__NR_write): Remove define.
9941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9942         [__NR_pwrite64] (__NR_write): Remove define.
9943         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9944         Remove define.
9945         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9946         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9947         Remove define.
9948         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9949         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9950         Linux implementation as base.
9951         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9953         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9954         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9956         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9959         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9960         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9961         syscall generation.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9963         [__NR_pread64] (__NR_pread): Remove define.
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9965         [__NR_pread64] (__NR_pread): Likewise.
9966         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9967         define.
9968         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9969         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9970         Remove define.
9971         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9972         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9973         Linux implementation as base.
9974         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9975         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9976         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9978         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9979         definition.
9980         (__ALIGNMENT_COUNT): Likewise.
9981         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9982         (__ALIGNMENT_COUNT): Likewise.
9983         (SYSCALL_LL): New define.
9984         (SYSCALL_LL64): Likewise.
9985         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9986         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9987         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9988         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9991         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9993         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9994         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9995         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9997 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9999         [BZ #19865]
10000         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10001         original buffer before retry.
10003 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10005         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10006         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10007         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10008         GLRO(dl_auxv) list.
10009         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10010         including <ldsodefs.h>.
10011         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10013 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10015         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10016         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10017         $(CPPFLAGS).
10019 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10021         [BZ #17950]
10022         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10023         Add -mfpmath=387.
10025 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10027         * sysdeps/i386/configure.ac: Change == to = when calling test.
10028         * sysdeps/x86_64/configure.ac: Likewise.
10029         * sysdeps/i386/configure: Regenerated.
10030         * sysdeps/x86_64/configure: Likewise.
10032 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10034         [BZ #16137]
10035         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10036         * benchtests/bench-strcoll.c (input_files): Likewise.
10037         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10038         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10039         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10041 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10043         [BZ #19929]
10044         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10045         [__USE_XOPEN2K8 && !__USE_GNU].
10046         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10047         variable.
10049         [BZ #19925]
10050         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10051         define if [!__USE_MISC && __USE_XOPEN2K].
10052         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10053         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10054         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10055         Likewise.
10056         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10057         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10058         variable.
10059         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10061 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10063         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10064         (sysdep_routines): Add new strspn targets.
10065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10066         (__libc_ifunc_impl_list): Add strspn.
10067         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10068         New file.
10069         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10070         Likewise.
10071         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10072         Likewise.
10073         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10074         Likewise.
10076 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10078         * misc/hsearch_r.c: Include <limits.h>.
10080 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10082         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10084 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10086         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10087         (MEMCPY_SYMBOL): New.
10088         (MEMPCPY_SYMBOL): Likewise.
10089         (MEMMOVE_CHK_SYMBOL): Likewise.
10090         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10091         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10092         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10093         Provide alias for memcpy in libc.a and ld.so.
10095 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10097         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10098         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10099         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10100         Disabled fro now.
10101         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10102         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10104 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10106         * benchtests/Makefile (string-benchset): Add memcpy-large,
10107         memmove-large and memset-large.
10108         * benchtests/bench-memcpy-large.c: New file.
10109         * benchtests/bench-memmove-large.c: Likewise.
10110         * benchtests/bench-memmove-large.c: Likewise.
10111         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10113 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10115         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10116         32-bit displacement to avoid long nop between instructions.
10118 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10120         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10121         a comment on VMOVU and VMOVA.
10123 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10125         [BZ #19633]
10126         Use specified locale for number formatting in strfmon_l.
10127         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10128         (__nl_lookup_word): New inline functions.
10129         * include/printf.h (__print_fp_l): Declare.
10130         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10131         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10132         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10133         (___printf_fp): New function.
10134         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10135         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10136         * stdlib/tst-strfmon_l.c (do_test): New test.
10137         * stdlib/Makefile (tests): Add kt.
10138         (LOCALES): Build additional locales.
10139         (tst-strfmon_l.out): Require locales.
10141 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10143         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10144         if not in libc.
10145         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10146         Likewise.
10147         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10148         Likewise.
10149         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10150         Likewise.
10152 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10155         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10156         with unaligned_erms.
10157         (__memmove_erms): Skip if source == destination.
10158         (__memmove_unaligned_erms): Don't check source == destination
10159         first.
10161 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10163         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10164         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10166 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10168         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10169         * string/strspn.c (strspn): Likewise.
10171 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10173         * benchtests/bench-memset.c (do_test): Support 64-byte
10174         alignment.
10175         (test_main): Test 64-byte alignment.
10177 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10179         * benchtests/bench-memmove.c (test_main): Test 64-byte
10180         alignment.
10182 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10184         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10186 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10188         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10189         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10190         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10192         * string/strpbrk.c (strpbrk): Rewrite function.
10193         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10194         (__strpbrk_c2): Likewise.
10195         (__strpbrk_c3): Likewise.
10196         * string/string-inlines.c
10197         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10198         Likewise.
10199         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10200         Likewise.
10202         * string/strspn.c (strcspn): Rewrite function.
10203         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10204         (__strspn_c1): Remove inline function.
10205         (__strspn_c2): Likewise.
10206         (__strspn_c3): Likewise.
10207         * string/string-inlines.c
10208         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10209         compatibility symbol.
10210         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10211         Likewise.
10212         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10213         Likewise.
10214         * string/string-inlines.c: Include generic version.
10216 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10217             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10219         * string/Version (libc): Add GLIBC_2.24.
10220         * string/strcspn.c (strcspn): Rewrite function.
10221         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10222         (__strcspn_c1): Remove inline function.
10223         (__strcspn_c2): Likewise.
10224         (__strcspn_c3): Likewise.
10225         * string/string-inline.c
10226         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10227         compatibility symbol.
10228         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10229         Likewise.
10230         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10231         Likewise.
10232         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10234 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10236         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10237         Use ahi instead of aghi to adjust stack pointer.
10239 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10241         [BZ #19853]
10242         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10243         TEST to take significant digits as second parameter.
10244         [TEST]: Redefine in terms of TEST_N taking 30
10245         significant digits.
10246         (do_test): Add test case to demonstrate precision
10247         failure in the ldbl-128ibm printf.
10248         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10249         (__mpn_extract_long_double): Carry 7 extra intermediate
10250         bits of precision to aide computing difference when
10251         signs differ.
10253 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10255         [BZ #19881]
10256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10257         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10258         memset-avx512-unaligned-erms.
10259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10260         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10261         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10262         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10263         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10264         __memset_sse2_unaligned_erms, __memset_erms,
10265         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10266         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10267         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10268         file.
10269         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10270         Likewise.
10271         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10272         Likewise.
10273         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10274         Likewise.
10276 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10278         [BZ #19776]
10279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10280         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10281         memmove-avx512-unaligned-erms.
10282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10283         (__libc_ifunc_impl_list): Test
10284         __memmove_chk_avx512_unaligned_2,
10285         __memmove_chk_avx512_unaligned_erms,
10286         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10287         __memmove_chk_sse2_unaligned_2,
10288         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10289         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10290         __memmove_avx512_unaligned_erms, __memmove_erms,
10291         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10292         __memcpy_chk_avx512_unaligned_2,
10293         __memcpy_chk_avx512_unaligned_erms,
10294         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10295         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10296         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10297         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10298         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10299         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10300         __mempcpy_chk_avx512_unaligned_erms,
10301         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10302         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10303         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10304         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10305         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10306         __mempcpy_erms.
10307         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10308         file.
10309         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10310         Likwise.
10311         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10312         Likwise.
10313         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10314         Likwise.
10316 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10318         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10319         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10320         (La_s390_64_regs): Likewise.
10321         (La_s390_32_retval): Append vector register lrv_v24.
10322         (La_s390_64_retval): Likeweise.
10323         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10324         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10325         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10326         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10328 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10330         [BZ #19916]
10331         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10332         to create a non-vector/vector version for _dl_runtime_resolve and
10333         _dl_runtime_profile. Move implementation to ...
10334         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10335         (_dl_runtime_resolve) Save and restore fpr/vrs.
10336         (_dl_runtime_profile) Save and restore vrs and fix some issues
10337         if _dl_call_pltexit is called.
10338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10339         Choose the correct resolver function if running on a machine with vx.
10340         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10341         to create a non-vector/vector version for _dl_runtime_resolve and
10342         _dl_runtime_profile. Move implementation to ...
10343         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10344         (_dl_runtime_resolve) Save and restore fpr/vrs.
10345         (_dl_runtime_profile) Save and restore vrs and fix some issues
10346         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10347         Choose the correct resolver function if running on a machine with vx.
10349 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10351         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10353 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10355         [BZ #19509]
10356         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10357         skip_map != NULL.
10358         * elf/tst-dlsym-error.c: New file.
10359         * elf/Makefile (tests): Add tst-dlsym-error.
10360         (tst-dlsym-error): Link against libdl.
10362 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10365         (__ASSUME_FUTIMESAT): Remove macro.
10366         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10368 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10370         [BZ #19879]
10371         CVE-2016-3075
10372         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10373         copy name.
10375 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10377         [BZ #19837]
10378         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10379         error if parse_line fails.
10381 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10383         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10384         (index_cpu_ERMS): Likewise.
10385         (reg_ERMS): Likewise.
10387 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10389         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10390         PER_LINUX_FDPIC): Add.
10392 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10395         memcpy-avx512-no-vzeroupper.
10396         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10397         to ...
10398         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10399         (MEMCPY): Don't define.
10400         (MEMCPY_CHK): Likewise.
10401         (MEMPCPY): Likewise.
10402         (MEMPCPY_CHK): Likewise.
10403         (MEMPCPY_CHK): Renamed to ...
10404         (__mempcpy_chk_avx512_no_vzeroupper): This.
10405         (MEMPCPY_CHK): Renamed to ...
10406         (__mempcpy_chk_avx512_no_vzeroupper): This.
10407         (MEMCPY_CHK): Renamed to ...
10408         (__memmove_chk_avx512_no_vzeroupper): This.
10409         (MEMCPY): Renamed to ...
10410         (__memmove_avx512_no_vzeroupper): This.
10411         (__memcpy_avx512_no_vzeroupper): New alias.
10412         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10414 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10416         [BZ #18858]
10417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10418         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10419         and mempcpy-avx512-no-vzeroupper.
10420         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10421         New.
10422         (MEMPCPY): Likewise.
10423         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10424         (MEMPCPY_CHK): New.
10425         (MEMPCPY): Likewise.
10426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10427         (MEMPCPY): Likewise.
10428         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10429         (MEMPCPY): Likewise.
10430         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10431         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10432         Likewise.
10433         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10434         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10436 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10437              Amit Pawar  <Amit.Pawar@amd.com>
10439         [BZ #19583]
10440         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10441         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10442         processors.  Set Fast_Copy_Backward for AMD Excavator
10443         processors.
10444         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10445         New.
10446         (index_arch_Fast_Unaligned_Copy): Likewise.
10447         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10448         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10450 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10452         [BZ #19791]
10453         * resolv/res_send.c (close_and_return_error): New function.
10454         (send_dg): Initialize *resplen2 after reopen failure.  Call
10455         close_and_return_error for error returns.  On error paths without
10456         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10457         successful return.
10459 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10461         [BZ# 19860]
10462         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10463         zero if the compiler does not provide the AVX512F bit.
10465 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10467         [BZ #19848]
10468         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10469         from 8 to 4.
10470         (__ieee754_powl): Compare integer exponent against 4 not 8.
10471         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10472         from 8 to 4.
10473         (__ieee754_powl): Compare integer exponent against 4 not 8.
10474         * math/auto-libm-test-in: Add more tests of pow.
10475         * math/auto-libm-test-out: Regenerated.
10476         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10479 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10481         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10482         Make code unconditional.
10483         [!__NR_utimensat]: Remove conditional code.
10484         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10485         Make code unconditional.
10486         [!__NR_utimensat]: Remove conditional code.
10487         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10488         Make code unconditional.
10489         [!__NR_utimensat]: Remove conditional code.
10491 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10493         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10494         Make code unconditional.
10496 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10498         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10499         call-clobbered %eax on retry path.
10500         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10502 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10504         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10505         Don't set %rcx twice before "rep movsb".
10507 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10509         [BZ #19583]
10510         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10511         inline.  Check family before setting family, model and
10512         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10513         bits here.
10514         (init_cpu_features): Replace HAS_CPU_FEATURE and
10515         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10516         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10517         for Intel processors with usable AVX2.  Call get_common_indeces
10518         for other processors with family == NULL.
10519         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10520         (CPU_FEATURES_ARCH_P): Likewise.
10521         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10522         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10524 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10526         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10527         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10528         $(shared-thread-library) instead of hardcoding the path to libpthread.
10530 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10532         * sysdeps/unix/sysv/linux/kernel-features.h
10533         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10534         * sysdeps/unix/sysv/linux/getdents.c
10535         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10536         [!have_no_getdents64_defined]: Likewise.
10537         (__GETDENTS): Remove __have_no_getdents64 conditional.
10539 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10541         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10542         Remove macro.
10543         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10544         <kernel-features.h>.
10545         (signalfd) [__NR_signalfd4]: Make code unconditional.
10546         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10548 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10550         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10551         style.
10553 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10555         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10556         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10557         __pthread_unwind.
10558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10559         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10561         (__condvar_cleanup1): Likewise.
10563 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10565         [BZ #19822]
10566         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10567         move it to the final $@ location.
10569 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10571         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10572         access where posix_spawn success and pid argument is null.
10573         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10574         success case.
10576 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10578         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10580         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10582         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10583         and __fcntl.
10584         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10585         __fcntl only.
10586         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10587         adding attribute_hidden to __open and __fcntl.
10589         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10590         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10591         depend on libc-modules.h,
10592         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10594 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10597         Remove macro.
10598         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10599         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10600         entry.
10602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10603         Remove macro.
10604         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10605         include <kernel-features.h>.
10606         [!__ASSUME_FALLOCATE]: Remove conditional code.
10607         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10609 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10611         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10612         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10614         (_ZGVdN4v_cos_avx2): Likewise.
10615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10616         (_ZGVdN4v_cos): Likewise.
10617         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10618         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10620         (_ZGVdN4v_exp_avx2): Likewise.
10621         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10622         (_ZGVdN4v_exp): Likewise.
10623         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10624         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10625         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10626         (_ZGVdN4v_log_avx2): Likewise.
10627         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10628         (_ZGVdN4v_log): Likewise.
10629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10630         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10632         (_ZGVdN4vv_pow_avx2): Likewise.
10633         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10634         (_ZGVdN4vv_pow): Likewise.
10635         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10636         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10638         (_ZGVdN4v_sin_avx2): Likewise.
10639         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10640         (_ZGVdN4v_sin): Likewise.
10641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10642         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10644         (_ZGVdN4vvv_sincos_avx2): Likewise.
10645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10646         (_ZGVdN4vvv_sincos): Likewise.
10647         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10648         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10650         (_ZGVbN4v_cosf_sse4): Likewise.
10651         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10652         (_ZGVdN8v_cosf_avx2): Likewise.
10653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10654         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10656         (_ZGVbN4v_expf_sse4): Likewise.
10657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10658         (_ZGVdN8v_expf_avx2): Likewise.
10659         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10660         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10661         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10662         (_ZGVbN4v_logf_sse4): Likewise.
10663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10664         (_ZGVdN8v_logf_avx2): Likewise.
10665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10666         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10667         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10668         (_ZGVbN4vv_powf_sse4): Likewise.
10669         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10670         (_ZGVdN8vv_powf_avx2): Likewise.
10671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10672         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10673         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10674         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10676         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10678         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10680         (_ZGVbN4v_sinf_sse4): Likewise.
10681         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10682         (_ZGVdN8v_sinf_avx2): Likewise.
10683         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10684         Use JUMPTARGET to call callee.
10685         (WRAPPER_IMPL_SSE2_ff): Likewise.
10686         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10687         (WRAPPER_IMPL_AVX): Likewise.
10688         (WRAPPER_IMPL_AVX_ff): Likewise.
10689         (WRAPPER_IMPL_AVX_fFF): Likewise.
10690         (WRAPPER_IMPL_AVX512): Likewise.
10691         (WRAPPER_IMPL_AVX512_ff): Likewise.
10692         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10693         Likewise.
10694         (WRAPPER_IMPL_SSE2_ff): Likewise.
10695         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10696         (WRAPPER_IMPL_AVX): Likewise.
10697         (WRAPPER_IMPL_AVX_ff): Likewise.
10698         (WRAPPER_IMPL_AVX_fFF): Likewise.
10699         (WRAPPER_IMPL_AVX512): Likewise.
10700         (WRAPPER_IMPL_AVX512_ff): Likewise.
10701         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10703 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10705         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10706         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10707         qualifier.
10708         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10709         internal_function qualifiers.
10711 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10713         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10714         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10715         * math/atest-exp.c (exp_mpn): Mark chk unused.
10716         * math/atest-exp2.c (exp_mpn): Likwise.
10717         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10718         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10720 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10723         Remove macro.
10724         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10725         <kernel-features.h>.
10726         [__NR_ppoll]: Make code unconditional.
10727         [!__ASSUME_PPOLL]: Remove conditional code.
10729         * sysdeps/unix/sysv/linux/kernel-features.h
10730         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10731         (__ASSUME_ACCEPT4): Likewise.
10732         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10733         Define.
10734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10735         Likewise.
10736         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10737         Likewise.
10738         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10739         Likewise.
10740         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10741         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10743         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10744         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10745         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10746         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10747         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10748         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10749         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10750         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10751         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10752         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10753         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10754         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10755         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10756         Likewise.
10757         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10758         Likewise.
10759         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10760         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10761         0x040300].
10762         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10763         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10764         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10765         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10766         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10767         0x030300].
10768         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10769         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10770         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10771         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10772         0x040300].
10773         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10774         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10776         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10777         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10778         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10779         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10780         0x030300].
10781         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10782         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10783         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10784         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10785         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10786         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10787         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10788         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10789         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10790         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10791         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10792         0x040300].
10793         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10795         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10796         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10798         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10799         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10800         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10802         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10804         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10807         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10808         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10809         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10810         Likewise.
10811         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10812         Likewise.
10814 2016-03-15  Andreas Schwab  <schwab@suse.de>
10816         [BZ #19257]
10817         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10818         statp->_u._ext.nscount as loop count.
10820 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10822         * math/test-signgam-finite-c99.c: Also #undef
10823         __LIBC_INTERNAL_MATH_INLINES.
10824         * math/test-signgam-main.c: Likewise.
10826 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10828         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10829         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10830         (MADV_FREE): Likewise.
10831         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10832         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10833         EPOLLEXCLUSIVE.
10835 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10837         * timezone/README: Remove mention of checktab.awk. Mention wiki
10838         SharedSourceFiles.
10840 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10842         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10843         WUNTRACED.
10845 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10847         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10848         order to match the type of p when calling atomic_exchange_acq().
10850 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10852         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10853         cfi_offset calls.
10854         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10855         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10856         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10857         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10858         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10860 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10862         * timezone/checktab.awk: Removed.
10864 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10866         * manual/math.texi (Errors in Math Functions): Document relaxed
10867         accuracy goals for IBM long double.
10868         * math/libm-test.inc (test_exceptions): Always allow spurious
10869         "underflow" and "inexact" exceptions for IBM long double.
10871 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10873         [BZ #19762]
10874         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10875         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10876         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10877         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10878         (bit_arch_*): This for feature array.
10879         (bit_*): Renamed to ...
10880         (bit_cpu_*): This for cpu array.
10881         (index_*): Renamed to ...
10882         (index_arch_*): This for feature array.
10883         (index_*): Renamed to ...
10884         (index_cpu_*): This for cpu array.
10885         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10886         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10887         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10888         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10889         bit_##name with index_cpu_##name and bit_cpu_##name.
10890         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10891         bit_##name with index_arch_##name and bit_arch_##name.
10893 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10895         [BZ #19792]
10896         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10897         Terminate FDE before return label.
10899 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10901         [BZ #19790]
10902         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10903         (rintl): Define as macro.
10904         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10905         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10906         of fesetround.  Ensure results are evaluated before end of scope.
10907         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10908         USE_AS_NEARBYINTL and include s_rintl.c.
10909         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10910         Disable exception traps in new environment.
10911         (libc_feholdsetround_ppc_ctx): Likewise.
10913 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10915         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10916         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10917         (tst_audit10_aux) [__AVX512F__]: ... here.
10919 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10921         * include/sys/auxv.h: New file.
10923 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10925         [BZ #19759]
10926         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10928 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10930         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10931         operand modifier.
10932         (feclearexcept): Likewise.
10934 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10936         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10937         to reflect the entire 32-bit HWCAP.
10938         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10939         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10941 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10943         [BZ #19783]
10944         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10945         $(test-via-rtld-prefix).
10946         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10948 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10950         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10951         union wait.  Report any non-zero exit status as error.
10953 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10955         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10956         configured with --enable-hardcoded-path-in-tests.
10958 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10960         [BZ #19677]
10961         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10962         (__ieee754_remainderl): Put zero low parts in canonical form.
10963         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10964         file.  Based on
10965         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10966         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10967         with wrapper round test-fmodrem-ldbl-128ibm.c.
10968         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10969         file.
10970         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10971         Likewise.
10972         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10973         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10975 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10977         [BZ #19610]
10978         * elf/ldconfig.c (opt_link): Update comment.
10979         (options): Update help string for option -X.
10980         (search_dir): Unlink stale symbolic link only if updating symbolic
10981         links.
10982         * elf/tst-ldconfig-X.sh: New file.
10983         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10984         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10986 2016-03-07  Andreas Schwab  <schwab@suse.de>
10988         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10989         needed arguments.
10991 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10993         [BZ #15333]
10994         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10995         to lstat64.
10997 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10999         * libio/filedoalloc.c (isatty): Remove.
11000         (local_isatty): Add comment.  Call __isatty directly.
11001         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11002         * libio/wfiledoalloc.c (isatty): Remove.
11003         (_IO_wfile_doallocate): Update comment.
11005 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11007         [BZ #19269]
11008         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11009         tst-audit4-aux.o.
11010         (tst-audit10): Depend on tst-audit10-aux.o.
11011         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11012         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11013         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11014         instead of inline AVX code.
11015         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11016         instead of inline AVX512 code.
11017         * sysdeps/x86_64/tst-audit4-aux.c: New file
11018         * sysdeps/x86_64/tst-audit10-aux.c: New file
11020         [BZ #19648]
11021         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11023 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11025         [BZ #14750]
11026         [BZ #10354]
11027         [BZ #18433]
11028         * include/sched.h (__clone): Add hidden prototype.
11029         (__clone2): Likewise.
11030         * include/unistd.h (__dup): Likewise.
11031         * posix/Makefile (tests): Add tst-spawn2.
11032         * posix/tst-spawn2.c: New file.
11033         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11034         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11035         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11036         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11037         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11038         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11039         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11040         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11041         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11042         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11043         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11045         Likewise.
11046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11047         Likewise.
11048         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11049         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11050         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11051         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11052         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11053         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11054         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11055         * sysdeps/unix/sysv/linux/nptl-signals.h
11056         (____nptl_is_internal_signal): New function.
11057         * sysdeps/unix/sysv/linux/spawni.c: New file.
11059         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11060         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11061         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11062         * posix/tst-execvp2.c (do_test): Likewise.
11063         * posix/tst-execvp3.c (do_test): Likewise.
11064         * posix/tst-execvp4.c (do_test): Likewise.
11065         * posix/tst-execvpe1.c: New file.
11066         * posix/tst-execvpe2.c: Likewise.
11067         * posix/tst-execvpe3.c: Likewise.
11068         * posix/tst-execvpe4.c: Likewise.
11069         * posix/tst-execvpe5.c: Likewise.
11070         * posix/tst-execvpe6.c: Likewise.
11072         [BZ #19534]
11073         * posix/execl.c (execl): Remove dynamic memory allocation.
11074         * posix/execle.c (execle): Likewise.
11075         * posix/execlp.c (execlp): Likewise.
11077 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11079         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11080         Replace .text with .text.avx512.
11081         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11082         Likewise.
11084 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11086         * sysdeps/generic/libnsl.abilist: New file.
11087         * sysdeps/generic/libutil.abilist: New file.
11089 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11091         [BZ #19762]
11092         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11093         HAS_ARCH_FEATURE with Fast_Rep_String.
11094         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11095         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11096         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11097         Likewise.
11098         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11099         Likewise.
11100         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11101         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11102         Likewise.
11103         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11104         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11105         Likewise.
11107 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11109         [BZ #19745]
11110         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11111         with *%rax in call.
11113 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11115         [BZ #19745]
11116         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11117         with *__libc_start_main@GOTPCREL(%rip) in call.
11119 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11121         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11122         inside conditional for nonempty $(CXX).
11124         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11125         nonempty.
11127         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11128         to test for empty $(CXX) rather than $(CXX) of "no".
11130 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11132         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11134 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11135             H.J. Lu  <hongjiu.lu@intel.com>
11137         [BZ #18880]
11138         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11139         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11140         enable __memcpy_ssse3_back.
11142 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11144         [BZ #19758]
11145         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11146         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11148 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11150         [BZ #19490]
11151         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11152         (__fentry__): Likewise.
11154 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11156         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11157         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11159 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11161         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11162         __mcount_internal directly.
11163         (C_LABEL(__fentry__)): Likewise.
11164         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11165         directly.
11167 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11169         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11170         (__start_context): Call __setcontext directly.
11172 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11174         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11175         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11176         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11177         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11178         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11179         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11180         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11181         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11182         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11183         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11184         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11185         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11186         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11187         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11188         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11189         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11190         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11192         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11193         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11194         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11195         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11196         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11197         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11198         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11199         Remove conditional code.
11200         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11201         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11202         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11203         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11204         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11205         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11206         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11207         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11208         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11209         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11210         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11211         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11213 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11215         * NEWS (2.23): Fix typo in bug 19048 text.
11217 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11219         [BZ #14259]
11220         * Makeconfig: Rename msgcatdir to localedir.
11221         Rename inst_msgcatdir to inst_localedir.
11222         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11223         * config.make.in: Add localedir.
11224         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11225         (ldd-rewrite): Likewise.
11226         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11227         (install-others): Use inst_localedir.
11228         (CPPFLAGS): Use localedir.
11229         * locale/Makefile (locale-CPPFLAGS): Likewise.
11230         * po/Makefile (mo-installed): Use inst_localedir.
11232         [BZ #19575]
11233         * localedata/charmaps/GB18030: Update comments regarding PAU to
11234         non-PUA mappings.
11236 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11238         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11239         test for header.
11240         * sysdeps/unix/sysv/linux/configure: Regenerated.
11241         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11242         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11243         Remove conditional code.
11244         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11246         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11247         Define to 3.2.0.
11248         (arch_minimum_kernel): Likewise.
11249         * sysdeps/unix/sysv/linux/configure: Regenerated.
11250         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11251         Define to 2.6.32.
11252         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11253         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11254         (arch_minimum_kernel): Define to 2.6.32.
11255         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11256         * README: Document Linux 3.2 requirement.
11257         * manual/install.texi (Linux): Document Linux 3.2 headers
11258         requirement.
11259         * INSTALL: Regenerated.
11261 2016-02-24  Andreas Schwab  <schwab@suse.de>
11263         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11264         if !NO_LONG_DOUBLE.
11266 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11268         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11269         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11271 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11273         [BZ #19512]
11274         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11276 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11278         * posix/tst-dir.c: Include libc-internal.h.
11280 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11282         [BZ #19056]
11283         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11284         * manual/filesys.texi (Reading/Closing Directory): Mention
11285         deprecaion.
11286         * posix/tst-dir.c (main): Disable deprecation warning in test.
11288 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11290         [BZ #19679]
11291         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11292         Renamed to ...
11293         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11294         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11295         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11296         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11297         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11298         * sysdeps/x86_64/dl-trampoline.h
11299         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11300         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11302 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11304         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11306 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11308         * elf/elf.h (R_386_GOT32X): New.
11309         (R_386_NUM): Update.
11310         (R_X86_64_GOTPCRELX: New.
11311         (R_X86_64_REX_GOTPCRELX): New.
11312         (R_X86_64_NUM): Update.
11314 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11316         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11318 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11320         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11321         assign attr->stackaddr to it, and adjust it down when
11322         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11323         [_STACK_GROWS_UP]: Delete assert.
11324         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11325         Implement stack grows up logic.
11326         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11327         stack grows up logic.
11329 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11331         * NEWS: Update with 2.24 template.
11333 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11335         [BZ #19678]
11336         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11337         Ensure +0.0 is returned when taking the next value below the least
11338         positive value.
11340 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11342         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11343         available.  Do not define NO_THREADS.
11344         * malloc/malloc.c: Do not check NO_THREADS.
11345         * malloc/arena.c: Likewise.
11347 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11349         * malloc/malloc.c (__libc_mallinfo): Update comment.
11350         (struct malloc_par): Remove max_total_mem member, it was always 0.
11351         (int_mallinfo): Store 0 into usmblks (no functional change).
11352         * malloc/hooks.c (struct malloc_state): Document that
11353         max_total_mem is always 0.
11354         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11355         always 0.
11356         * manual/memory.texi (Statistics of Malloc): Likewise.
11358 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11360         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11361         * malloc/arena.c (arena_max): Remove.
11362         (heap_trim, _int_new_arena): Do not update arena_max.
11364 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11366         * resolv/res_init.c (res_ninit): Update comment.
11368 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11370         [BZ #19505]
11371         * posix/spawn_int.h: Add headers and include guard.
11372         (__spawn_valid_fd): New function.
11373         * posix/spawn_faction_addopen.c
11374         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11375         * posix/spawn_faction_addclose.c
11376         (posix_spawn_file_actions_addclose): Likewise.
11377         * posix/spawn_faction_adddup2.c
11378         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11379         second file descriptor.
11380         * posix/spawn_valid_fd.c: New file.
11381         * posix/tst-posix_spawn-fd.c: New file.
11382         * posix/Makefile (routines): Add spawn_valid_fd.
11383         (tests): Add tst-posix_spawn-fd.
11385 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11387         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11388         (do_test): Limit the number of arenas, so that we can use fewer
11389         outer threads.  Limit timeout to 3 seconds, in preparation for a
11390         larger TIMEOUT value.
11392 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11394         [BZ #19674]
11395         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11396         sign in overflowing and underflowing results when overflow or
11397         underflow is detected early.  Include sign in result before rather
11398         than after scaling.
11400         [BZ #19603]
11401         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11402         (__ieee754_remainderl): Adjust sign of integer version of low part
11403         when taking absolute value of high part.
11404         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11405         * math/libm-test.inc (remainder_test_data): Add another test.
11406         (remquo_test_data): Likewise.
11408 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11410         [BZ #19602]
11411         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11412         equal high parts and both low parts zero specially.
11413         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11414         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11415         Add test-fmodl-ldbl-128ibm.
11417         [BZ #19595]
11418         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11419         common logic for all cases of shifting subnormal results.  Do not
11420         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11421         exponent to ldbl_insert_mantissa in subnormal case.
11423         [BZ #19594]
11424         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11425         on high and low parts then adjust result and use
11426         ldbl_canonicalize_int if needed.
11428         [BZ #19593]
11429         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11430         on high part and __floor or __ceil on low part then use
11431         ldbl_canonicalize_int if needed.
11433         [BZ #19592]
11434         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11435         high and low parts then use ldbl_canonicalize_int if needed.
11437         [BZ #17899]
11438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11439         New function.
11440         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11441         on high and low parts then use ldbl_canonicalize_int if needed.
11443 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11445         * configure: Regenerated.
11447         * po/libc.pot: Regenerated.
11449         * po/be.po: Updated translation.
11450         * po/bg.po: Likewise.
11451         * po/ca.po: Likewise.
11452         * po/cs.po: Likewise.
11453         * po/da.po: Likewise.
11454         * po/el.po: Likewise.
11455         * po/eo.po: Likewise.
11456         * po/es.po: Likewise.
11457         * po/fi.po: Likewise.
11458         * po/fr.po: Likewise.
11459         * po/gl.po: Likewise.
11460         * po/hr.po: Likewise.
11461         * po/hu.po: Likewise.
11462         * po/ia.po: Likewise.
11463         * po/id.po: Likewise.
11464         * po/it.po: Likewise.
11465         * po/ja.po: Likewise.
11466         * po/lt.po: Likewise.
11467         * po/nb.po: Likewise.
11468         * po/nl.po: Likewise.
11469         * po/pt_BR.po: Likewise.
11470         * po/rw.po: Likewise.
11471         * po/sk.po: Likewise.
11472         * po/sl.po: Likewise.
11473         * po/sv.po: Likewise.
11474         * po/tr.po: Likewise.
11475         * po/zh_CN.po: Likewise.
11476         * po/zh_TW.po: Likewise.
11478         * version.h (RELEAES): Set to "development".
11479         (VERSION): Set to 2.23.90.
11481         * version.h (RELEASE): Set to "stable".
11482         (VERSION): Set to 2.23.
11483         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11485         * NEWS: Updated fixed bugs.
11487 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11488             Wilco Dijkstra  <wdijkstr@arm.com>
11490         [BZ #19462]
11491         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11492         (_STRING_INLINE_unaligned): This.
11493         * include/string.h: Include <string_private.h>.
11494         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11495         _STRING_INLINE_unaligned.
11496         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11497         (_STRING_INLINE_unaligned): New.
11498         * sysdeps/aarch64/string_private.h: New file.
11499         * sysdeps/generic/string_private.h: Likewise.
11500         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11501         * sysdeps/s390/string_private.h: Likewise.
11502         * sysdeps/x86/string_private.h: Likewise.
11503         * sysdeps/m68k/m680x0/m68020/bits/string.h
11504         (_STRING_ARCH_unaligned): Renamed to ...
11505         (_STRING_INLINE_unaligned): This.
11506         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11507         to ...
11508         (_STRING_INLINE_unaligned): This.
11509         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11510         to ...
11511         (_STRING_INLINE_unaligned): This.
11512         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11513         to ...
11514         (_STRING_INLINE_unaligned): This.
11516 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11517             H.J. Lu  <hongjiu.lu@intel.com>
11519         [BZ #19590]
11520         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11521         relocation.
11523 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11525         [BZ #18665]
11526         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11527         *herrno_p.
11528         (gaih_getanswer): Document functional behviour. Return tryagain
11529         if any result is tryagain.
11530         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11531         when freed.
11532         * resolv/res_send.c: Add copyright text.
11533         (__libc_res_nsend): Document that MAXPACKET is expected.
11534         (send_vc): Document. Remove buffer reuse.
11535         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11536         size of the buffer. Add Dprint for truncated UDP buffer.
11538 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11540         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11541         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11542         * INSTALL: Regenerate.
11544 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11545             Jonathan Wakely  <jwakely@redhat.com>
11546             Carlos O'Donell  <carlos@redhat.com>
11548         [BZ 19439]
11549         * math/Makefile (tests): Add test-math-isinff.
11550         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11551         * math/bits/mathcalls.h [__USE_MISC]: Use
11552         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11553         functions not in C++11 and which don't conflict e.g. isinff,
11554         isinfl etc.
11555         * math/test-math-isinff.cc: New file.
11557 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11559         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11561 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11563         [BZ #19529]
11564         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11566 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11568         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11570 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11572         [BZ #19550]
11573         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11574         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11575         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11576         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11577         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11578         New syscall entry.
11579         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11580         New syscall entry.
11581         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11582         syscall entry.
11584 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11586         [BZ #18240]
11587         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11588         unsigned int wraparound.
11590 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11592         [BZ #18240]
11593         * misc/bug18240.c: New test.
11594         * misc/Makefile (tests): Add it.
11596 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11597             Joseph Myers  <joseph@codesourcery.com>
11599         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11600         load in branch delay slot when less than a word of input left.
11602 2016-01-27  Andreas Schwab  <schwab@suse.de>
11604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11605         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11606         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11607         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11609 2016-01-26  David S. Miller  <davem@davemloft.net>
11611         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11613 2016-01-25  David S. Miller  <davem@davemloft.net>
11615         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11616         __sqrtl_finite.
11617         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11618         instead using versioned_symbol.
11619         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11620         of entries.
11622         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11623         __sqrtl_finite to GLIBC_2.23
11625 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11627         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11629 2016-01-25  Andreas Schwab  <schwab@suse.de>
11631         [BZ #17514]
11632         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11633         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11634         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11635         * nptl/tst-mutex-errorcheck.c: New file.
11637 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11639         [BZ #18560]
11640         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11641         (IPCOP_semop): Likewise.
11642         (IPCOP_semget): Likewise.
11643         (IPCOP_semctl): Likewise.
11644         (IPCOP_msgsnd): Likewise.
11645         (IPCOP_msgrcv): Likewise.
11646         (IPCOP_msgget): Likewise.
11647         (IPCOP_msgctl): Likewise.
11648         (IPCOP_shmat): Likewise.
11649         (IPCOP_shmdt): Likewise.
11650         (IPCOP_shmget): Likewise.
11651         (IPCOP_shmctl): Likewise.
11653 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11655         * string/tst-endian.c: Include <libc-internal.h>.
11656         (do_test): Ignore tautological-compare warnings around
11657         "htobeXX (beXXtoh (i)) != i" and
11658         "htoleXX (leXXtoh (i)) != i" if-statements.
11660 2016-01-24  David S. Miller  <davem@davemloft.net>
11662         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11663         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11664         alias.
11665         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11666         __sqrtl_finite.
11668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11670 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11672         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11673         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11674         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11676 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11678         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11679         (thread_func): Use new function to simplify barrier check.
11680         (do_test): Use new function to simplify checking barrier exit
11681         code, and actually join the child thread.
11683 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11685         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11686         semicolon.
11687         (__libc_tend): Likewise.
11688         (__libc_tabort): Likewise.
11690 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11692         * sysdeps/nios2/libm-test-ulps: Update.
11693         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11694         (__gtsf2): Likewise.
11695         (__unorddf2): Likewise.
11696         (__unordsf2): Likewise.
11697         (__ledf2): Likewise.
11699 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11701         * nis/nis_table.c (__follow_path): Disable diagnostic for
11702         uninitialized variable that is a false positive for gcc 4.7.
11703         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11705 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11707         * sysdeps/nacl/lowlevellock-futex.h
11708         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11709         Always evaluate PRIVATE argument.
11711 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11713         [BZ #19490]
11714         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11715         (pthread_cond_broadcast): Use ENTRY/END
11716         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11717         (pthread_cond_signal): Likewise.
11718         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11719         Likewise.
11720         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11721         Likewise.
11722         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11723         Likewise.
11725 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11727         * sysdeps/ieee754/dbl-64/s_finite.c
11728         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11729         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11730         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11731         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11732         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11735         (__gtsf2): Add as optional for libc.so.
11736         (__unordsf2): Likewise.
11737         (__signbit): Remove for libc.so.
11738         (__signbitl): Likewise.
11740 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11742         * iconvdata/bug-iconv11.c (test_ibm93x):
11743         Use %zu printf format specifier for size_t argument.
11745 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11747         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11748         already-recorded ulps.
11749         * sysdeps/arm/libm-test-ulps: Regenerated.
11750         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11751         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11752         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11754 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11755             Paul Pluzhnikov  <ppluzhnikov@google.com>
11757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11758         assembler not supporting AVX-512.
11760 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11762         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11764 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11766         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11767         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11769         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11771         * sysdeps/arm/libm-test-ulps: Regenerated.
11773 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11775         [BZ #19451]
11776         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11778 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11780         [BZ #19486]
11781         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11782         * sysdeps/generic/fix-fp-int-convert-overflow.h
11783         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11784         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11785         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11786         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11787         Likewise.
11788         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11789         Avoid conversions to long int where inexact exceptions
11790         could be raised.
11791         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11792         Likewise.
11793         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11794         Avoid conversions to long long int where inexact exceptions
11795         could be raised.
11796         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11797         Likewise.
11799 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11801         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11802         * configure: Regenerated.
11804 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11806         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11808 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11810         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11811         outside of comment.
11813 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11815         * nptl/tst-barrier1.c: Add description on first line.
11816         * nptl/tst-barrier2.c: Likewise.
11817         * nptl/tst-barrier3.c: Likewise.
11818         * nptl/tst-barrier4.c: Likewise.
11819         * nptl/tst-barrier5.c: Likewise.
11821 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11823         [BZ #18868]
11824         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11826 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11830         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11831         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11832         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11833         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11834         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11835         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11836         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11837         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11838         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11840 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11842         [BZ #13065]
11843         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11844         new implementation.
11845         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11846         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11847         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11848         (BARRIER_IN_THRESHOLD): New macro.
11849         * nptl/pthread_barrierattr_setpshared.c
11850         (pthread_barrierattr_setpshared): Clean up.
11851         * nptl/tst-barrier4.c: Correct comment.
11852         * nptl/tst-barrier5.c: New file.
11853         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11854         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11855         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11856         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11857         * nptl/lowlevelbarrier.sym: Remove.
11858         * nptl/DESIGN-barrier.txt: Remove.
11859         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11860         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11861         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11862         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11863         error.
11864         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11865         implementation.
11867 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11869         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11870         (do_child): Mask SIGRTMIN while thr is running.
11872 2016-01-15  Martin Sebor  <msebor@redhat.com>
11874         [BZ #19432]
11875         * iconvdata/Makefile: Add bug-iconv11.
11876         * iconvdata/bug-iconv11.c: New test.
11877         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11878         * iconvdata/ibm933.c: Same.
11879         * iconvdata/ibm935.c: Same.
11880         * iconvdata/ibm937.c: Same.
11881         * iconvdata/ibm939.c: Same.
11883 2016-01-15  Martin Sebor  <msebor@redhat.com>
11885         [BZ #19443]
11886         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11887         [DEBUG] (_ufc_set_bits): Declare used.
11888         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11889         [DEBUG] (print_all): Declare used.
11890         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11891         operands of the ternary ?: expression to target type.
11892         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11893         calling the undeclared abort.
11894         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11896 2016-01-15  Martin Sebor  <msebor@redhat.com>
11898         [BZ #18755]
11899         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11900         warnings.
11901         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11902         (__gai_create_helper_thread): Same.
11903         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11904         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11905         to suppress -Wmaybe-uninitialized warnings.
11907 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11909         [BZ #19465]
11910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11911         inside if.
11912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11913         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11914         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11916 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11918         [BZ #19466]
11919         * time/tst-mktime2.c (time_t_max): Removed.
11920         (time_t_min): Likewise.
11921         (TYPE_SIGNED): New.
11922         (TYPE_MINIMUM): Likewise.
11923         (TYPE_MAXIMUM): Likewise.
11924         (TIME_T_MIN): Likewise.
11925         (TIME_T_MAX): Likewise.
11926         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11927         and TIME_T_MIN.
11928         (do_test): Likewise.
11930 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11932         [BZ #19467]
11933         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11934         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11936 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11938         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11940 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11942         * benchtests/Makefile (PYTHON): Define.
11943         (bench-func): Use $(PYTHON) to run python scripts.
11944         ($(objpfx)bench-%.c): Likewise.
11946 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11948         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11949         leading slash when `file_name' is "/".
11951 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11953         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11954         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11961         enum constant and macro.
11962         (PTRACE_SETSIGMASK): Likewise.
11963         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11964         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11965         (PTRACE_GETSIGMASK): Likewise.
11966         (PTRACE_SETSIGMASK): Likewise.
11967         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11968         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11969         Likewise.
11970         (PTRACE_SETSIGMASK): Likewise.
11971         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11973         (PTRACE_GETSIGMASK): Likewise.
11974         (PTRACE_SETSIGMASK): Likewise.
11975         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11976         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11977         Likewise.
11978         (PTRACE_SETSIGMASK): Likewise.
11979         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11980         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11981         Likewise.
11982         (PTRACE_SETSIGMASK): Likewise.
11983         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11984         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11985         Likewise.
11986         (PTRACE_SETSIGMASK): Likewise.
11987         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11989 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11990             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11992         [BZ #19439]
11993         * math/bits/mathcalls.h
11994         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11995         prototype.
11996         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11998 2016-01-11  Andreas Schwab  <schwab@suse.de>
12000         [BZ #19253]
12001         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12002         cache when TZDEFRULES was used.
12003         * time/tst-tzname.c: New file.
12004         * time/Makefile (test): Add tst-tzname.
12005         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12006         * timezone/Makefile (test-zones): Add $(posixrules-file).
12007         ($(testdata)/$(posixrules-file)): New rule.
12009 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12011         Fix doc quoting problems with Texinfo 5
12012         Without this change, in the info file output, Texinfo 5 quotes code
12013         in text with undirected single quotes 'like this' and generates
12014         code examples that with many PDF readers cannot be cut out of PDFs
12015         and pasted into code.
12016         * manual/libc.texinfo: Configure the libc manual like the GNU
12017         Emacs manual, by using @documentencoding and setting
12018         txicodequoteundirected and txicodequotebacktick.  This way,
12019         Texinfo 5 quotes code in text with directed single quotes ‘like
12020         this’ and produces examples that can be cut out of PDFs.  This
12021         change causes Texinfo 5 to generate info files that contain UTF-8
12022         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12023         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12025 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12027         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12028         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12029         barriers to their respective compiler built-ins.
12030         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12031         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12032         * sysdeps/powerpc/sysdep.h: Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12034         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12037 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12039         * scripts/config.guess: Revert previous shebang change.
12040         * scripts/config.sub: Likewise.
12041         * scripts/mkinstalldirs: Likewise.
12043 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12045         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12046         PPC_FEATURE2_HAS_IEEE128.
12047         * sysdeps/powerpc/dl-procinfo.c:
12048         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12050 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12052         [BZ #19415]
12053         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12054         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12055         (_dl_lookup_address): Rewrite using function resolver trampoline.
12056         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12057         two bits in address.
12059 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12061         * longlong.h: Change !__SHMEDIA__ to
12062         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12063         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12065 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12066             Joseph Myers  <joseph@codesourcery.com>
12067             Mark Shinwell  <shinwell@codesourcery.com>
12068             Andrew Stubbs  <ams@codesourcery.com>
12069             Rich Felker <dalias@libc.org>
12071         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12073 2016-01-07  Richard Henderson  <rth@redhat.com>
12075         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12077 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12079         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12080         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12081         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12082         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12083         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12085 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12086             Joseph Myers  <joseph@codesourcery.com>
12088         * timezone/private.h: Update from tzcode 2015g.
12089         * timezone/tzfile.h: Likewise.
12090         * timezone/tzselect.ksh: Likewise.
12091         * timezone/zdump.c: Likewise.
12092         * timezone/zic.c: Likewise.
12093         * timezone/ialloc.c: Remove file.
12094         * timezone/scheck.c: Likewise.
12095         * timezone/Makefile (extra-objs): Remove variable.
12096         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12097         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12098         -Wno-maybe-uninitialized.
12099         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12100         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12101         (CFLAGS-ialloc.c): Remove variable.
12102         (CFLAGS-scheck.c): Likewise.
12103         * timezone/README: Update list of files from tzcode.
12105 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12107         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12108         instead of __fxprintf when _LIBC is undefined.
12110 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12112         * catgets/test-gencat.sh: Remove space after shebang.
12113         * conform/GlibcConform.pm: Likewise.
12114         * conform/check-header-lists.sh: Likewise.
12115         * conform/conformtest.pl: Likewise.
12116         * conform/linknamespace.pl: Likewise.
12117         * conform/list-header-symbols.pl: Likewise.
12118         * debug/catchsegv.sh: Likewise.
12119         * elf/genrtldtbl.awk: Likewise.
12120         * elf/tst-pathopt.sh: Likewise.
12121         * elf/tst-rtld-load-self.sh: Likewise.
12122         * grp/tst_fgetgrent.sh: Likewise.
12123         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12124         * iconvdata/gen-8bit-gap.sh: Likewise.
12125         * iconvdata/gen-8bit.sh: Likewise.
12126         * iconvdata/run-iconv-test.sh: Likewise.
12127         * intl/tst-gettext.sh: Likewise.
12128         * intl/tst-gettext2.sh: Likewise.
12129         * intl/tst-gettext4.sh: Likewise.
12130         * intl/tst-gettext6.sh: Likewise.
12131         * intl/tst-translit.sh: Likewise.
12132         * io/ftwtest-sh: Likewise.
12133         * libio/test-freopen.sh: Likewise.
12134         * locale/gen-translit.pl: Likewise.
12135         * malloc/tst-mtrace.sh: Likewise.
12136         * manual/check-safety.sh: Likewise.
12137         * manual/libc-texinfo.sh: Likewise.
12138         * manual/tsort.awk: Likewise.
12139         * manual/xtract-typefun.awk: Likewise.
12140         * nptl/tst-cancel-wrappers.sh: Likewise.
12141         * nptl/tst-tls6.sh: Likewise.
12142         * posix/globtest.sh: Likewise.
12143         * posix/tst-getconf.sh: Likewise.
12144         * posix/wordexp-tst.sh: Likewise.
12145         * scripts/check-c++-types.sh: Likewise.
12146         * scripts/check-local-headers.sh: Likewise.
12147         * scripts/config.guess: Likewise.
12148         * scripts/config.sub: Likewise.
12149         * scripts/cpp: Likewise.
12150         * scripts/cross-test-ssh.sh: Likewise.
12151         * scripts/documented.sh: Likewise.
12152         * scripts/evaluate-test.sh: Likewise.
12153         * scripts/gen-libc-abis: Likewise.
12154         * scripts/gen-sorted.awk: Likewise.
12155         * scripts/list-fixed-bugs.py: Likewise.
12156         * scripts/merge-test-results.sh: Likewise.
12157         * scripts/mkinstalldirs: Likewise.
12158         * scripts/rellns-sh: Likewise.
12159         * scripts/test-installation.pl: Likewise.
12160         * scripts/update-copyrights: Likewise.
12161         * stdio-common/tst-printf.sh: Likewise.
12162         * stdio-common/tst-unbputc.sh: Likewise.
12163         * stdlib/tst-fmtmsg.sh: Likewise.
12164         * stdlib/tst-setcontext3.sh: Likewise.
12165         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12166         * sysdeps/unix/make-syscalls.sh: Likewise.
12168 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12170         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12171         asm stw with atomic_exchange_rel.  Add explanatory comment.
12172         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12173         Likewise.
12175 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12177         [BZ #19122]
12178         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12179         * sysdeps/generic/dl-unistd.h: New file.
12180         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12182 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12184          [BZ #19122]
12185          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12186          * sysdeps/generic/dl-mman.h: New file.
12187          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12189 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12191         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12192         trailing whitespace removed.
12193         * scripts/config.guess: Update to version 2016-01-01.
12194         * scripts/config.sub: Update to version 2016-01-01.
12195         * scripts/move-if-change: Update from gnulib.
12197 2016-01-04  Anton Blanchard  <anton@samba.org>
12199         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12200         for array indices.
12201         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12203 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12205         * NEWS: Update copyright dates.
12206         * catgets/gencat.c (print_version): Likewise.
12207         * csu/version.c (banner): Likewise.
12208         * debug/catchsegv.sh: Likewise.
12209         * debug/pcprofiledump.c (print_version): Likewise.
12210         * debug/xtrace.sh (do_version): Likewise.
12211         * elf/ldconfig.c (print_version): Likewise.
12212         * elf/ldd.bash.in: Likewise.
12213         * elf/pldd.c (print_version): Likewise.
12214         * elf/sotruss.sh: Likewise.
12215         * elf/sprof.c (print_version): Likewise.
12216         * iconv/iconv_prog.c (print_version): Likewise.
12217         * iconv/iconvconfig.c (print_version): Likewise.
12218         * locale/programs/locale.c (print_version): Likewise.
12219         * locale/programs/localedef.c (print_version): Likewise.
12220         * login/programs/pt_chown.c (print_version): Likewise.
12221         * malloc/memusage.sh (do_version): Likewise.
12222         * malloc/memusagestat.c (print_version): Likewise.
12223         * malloc/mtrace.pl: Likewise.
12224         * manual/libc.texinfo: Likewise.
12225         * nptl/version.c (banner): Likewise.
12226         * nscd/nscd.c (print_version): Likewise.
12227         * nss/getent.c (print_version): Likewise.
12228         * nss/makedb.c (print_version): Likewise.
12229         * posix/getconf.c (main): Likewise.
12230         * scripts/test-installation.pl: Likewise.
12231         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12233         * All files with FSF copyright notices: Update copyright dates
12234         using scripts/update-copyrights.
12235         * intl/plural.c: Regenerated.
12236         * locale/programs/charmap-kw.h: Likewise.
12237         * locale/programs/locfile-kw.h: Likewise.
12239 2016-01-02  Helge Deller  <deller@gmx.de>
12241         [BZ #19285]
12242         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12243         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12244         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12245         (MADV_xxK_PAGES): Remove.
12247 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12249         [BZ #15421]
12250         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12251         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12252         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12253         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12255 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12257         [BZ #19408]
12258         * sysdeps/unix/sysv/linux/personality.c: New file.
12259         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12260         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12261         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12262         (sysdep_routines): Add personality.
12263         (tests): Add tst-personality.
12264         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12266         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12267         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12268         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12269         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12270         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12271         Likewise.
12272         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12273         Likewise.
12274         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12275         Likewise.
12276         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12277         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12278         Likewise.
12280 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12282         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12283         (PATH_ARM_SYSTYPE): Remove.
12284         (PATH_CPUINFO): Likewise.
12285         (IO_BASE_FOOTBRIDGE): Likewise.
12286         (IO_SHIFT_FOOTBRIDGE): Likewise.
12287         (struct platform): Likewise.
12288         (init_iosys): Remove compatibility code for 2.4 kernels.
12289         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12291 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12293         * malloc/tst-malloc-thread-fail.c: New file.
12294         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12295         (tst-malloc-thread-fail): Link against libpthread.
12297 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12299         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12300         (get_parser): New function.
12301         (main): New function.
12303 2015-12-29  Rob Wu  <rob@robwu.nl>
12305         [BZ #19369]
12306         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12308 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12310         [BZ #19270]
12311         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12313 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12315         [BZ #15421]
12316         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12318 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12320         [BZ #13690]
12321         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12322         after releasing it.
12323         (__lll_robust_unlock): Likewise.
12324         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12325         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12326         (lll_robust_unlock): Likewise.
12327         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12328         Prevent warnings in callers.
12330 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12332         * malloc/arena.c (list_lock): Update comment.
12334 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12336         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12337         __parse_hwcap_and_convert_at_platform to libc.a.
12339 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12341         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12342         platform and feature support for POWER9.
12343         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12344         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12345         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12346         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12347         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12348         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12349         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12350         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12352 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12354         Harmonize generic stdio-lock support with nptl
12356         This fixes build when _IO_funlockfile is a macro, fixes build where
12357         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12358         stack unwind.
12360         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12361         _IO_release_lock ): Use cleanup attribute on new
12362         _IO_acquire_lock_file variable instead of assuming that
12363         _IO_release_lock will be called.
12364         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12365         _IO_acquire_lock_needs_exceptions_enabled.
12366         (_IO_acquire_lock_clear_flags2): New macro.
12368 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12370         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12372 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12374         [BZ #19182]
12375         * malloc/arena.c (list_lock): Document lock ordering requirements.
12376         (free_list_lock): New lock.
12377         (ptmalloc_lock_all): Comment on free_list_lock.
12378         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12379         (detach_arena): Update comment.  free_list_lock is now needed.
12380         (_int_new_arena): Use free_list_lock around detach_arena call.
12381         Acquire arena lock after list_lock.  Add comment, including FIXME
12382         about incorrect synchronization.
12383         (get_free_list): Switch to free_list_lock.
12384         (reused_arena): Acquire free_list_lock around detach_arena call
12385         and attached threads counter update.  Add two FIXMEs about
12386         incorrect synchronization.
12387         (arena_thread_freeres): Switch to free_list_lock.
12388         * malloc/malloc.c (struct malloc_state): Update comments to
12389         mention free_list_lock.
12391 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12393         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12394         Remove functions.
12395         (sloww, sloww1): Accept argument to offset quadrant.
12396         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12397         quadrant.
12398         (__sin, __cos): Consolidate common code into new functions.
12399         (reduce_sincos_1, do_sincos_1): New functions.
12400         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12403         code to new functions.
12404         (reduce_sincos_2, do_sincos_2): New functions.
12405         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12408         common code for sincos.
12409         (__cos) [!IN_SINCOS]: Likewise.
12410         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12411         New function.
12412         (__sincos): Use it.
12414 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12416         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12417         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12418         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12420 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12422         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12425         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12427         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12428         index_Prefer_No_VZEROUPPER): New feature.
12429         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12430         Prefer_No_VZEROUPPER for Knights Landing.
12432 015-12-18  Torvald Riegel  <triegel@redhat.com>
12434         * math/atest-exp2.c (mp_exp_m1): Remove.
12436 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12438         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12439         syscalls.
12440         (__SYSCALL0): New macro.
12441         (__SYSCALL1): Likewise.
12442         (__SYSCALL2): Likewise.
12443         (__SYSCALL3): Likewise.
12444         (__SYSCALL4): Likewise.
12445         (__SYSCALL5): Likewise.
12446         (__SYSCALL6): Likewise.
12447         (__SYSCALL_CONCAT_X): Likewise.
12448         (__SYSCALL_CONCAT): Likewise.
12449         (__SYSCALL_DIST): Likewise.
12450         (__SYSCALL_CALL): Likewise.
12452 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12454         [BZ #19363]
12455         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12457 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12459         [BZ #19375]
12460         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12461         negative subnormals.
12463 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12466         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12467         (INTERNAL_SYSCALL_NCS): Use it.
12468         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12470 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12472         [BZ #19243]
12473         * malloc/arena.c (get_free_list): Remove assert and adjust
12474         reference count handling.  Add comment about reused_arena
12475         interaction.
12476         (reused_arena): Add comments abount get_free_list interaction.
12477         * malloc/tst-malloc-thread-exit.c: New file.
12478         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12479         (tst-malloc-thread-exit): Link against libpthread.
12481 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12483         [BZ #19367]
12484         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12485         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12487         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12488         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12490 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12492         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12493         Silvermont optimizations for Knights Landing.
12495 2015-12-15  Andreas Schwab  <schwab@suse.de>
12497         [BZ #17197]
12498         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12499         immediately after emitting SI.
12500         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12501         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12502         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12503         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12504         * iconvdata/bug-iconv10.c: New file.
12505         * iconvdata/Makefile (tests): Add bug-iconv10.
12506         ($(objpfx)bug-iconv10.out): New rule.
12508 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12510         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12511         aliasing violation.
12513 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12515         [BZ #18472]
12516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12517         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12518         conditionals for them.
12519         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12520         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12522         sys/kdaemon.h.
12523         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12524         compat-only syscall, obsoleted in glibc 2.23.
12525         (create_module): Likewise.
12526         (get_kernel_syms): Likewise.
12527         (query_module): Likewise.
12528         (uselib): Likewise.
12529         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12531 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12533         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12534         <linux/version.h>.
12535         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12536         conditional code.
12537         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12538         and ioshift_name initialization.
12540 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12542         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12543         Fix indentation.
12545 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12549 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12551         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12553 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12554             Jakub Wilk  <jwilk@debian.org>
12556         [BZ #19347]
12557         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12558         to change the group of the device to the tty group.
12560 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12562         Split large string section; add truncation advice
12563         * manual/examples/strncat.c: Remove.
12564         This example was misleading, as the code would have undefined
12565         behavior if "hello" was longer than SIZE.  Anyway, the manual
12566         shouldn't encourage strncpy+strncat for this sort of thing.
12567         * manual/string.texi (Copying Strings and Arrays): Split into
12568         three sections Copying Strings and Arrays, Concatenating Strings,
12569         and Truncating Strings, as this section was way too long.  All
12570         cross-referenced changed.  Add advice about string-truncation
12571         functions.  Remove misleading strncat example.
12573 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12575         * manual/nss.texi (NSS Modules Interface): Document
12576         NSS_STATUS_NOTFOUND and SUCCESS.
12578 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12580         [BZ 18568]
12581         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12582         201505L, for Unicode 8.
12584 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12586         * locale/C-translit.h: Regenerate.
12588 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12590         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12591         and U+0153.
12593 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12595         [BZ #19351]
12596         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12597         expanding log(1+z), compare z rather than its square with epsilon
12598         to determine when to avoid evaluating the expansion.
12600         [BZ #19350]
12601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12602         Increase overflow threshold.
12604         [BZ #19349]
12605         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12606         when small.
12608         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12610         New macro.
12611         [__LINUX_KERNEL_VERSION >= 0x040300]
12612         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12614         Likewise.
12615         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12616         Likewise.
12617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12618         Likewise.
12619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12620         Likewise.
12621         [__LINUX_KERNEL_VERSION >= 0x040300]
12622         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12623         [__LINUX_KERNEL_VERSION >= 0x040300]
12624         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12625         [__LINUX_KERNEL_VERSION >= 0x040300]
12626         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12627         [__LINUX_KERNEL_VERSION >= 0x040300]
12628         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12629         [__LINUX_KERNEL_VERSION >= 0x040300]
12630         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12631         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12632         Likewise.
12633         [__LINUX_KERNEL_VERSION >= 0x040300]
12634         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12635         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12636         Likewise.
12637         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12638         Likewise.
12639         [__LINUX_KERNEL_VERSION >= 0x040300]
12640         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12642         Likewise.
12643         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12644         Likewise.
12645         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12647         Likewise.
12648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12649         Likewise.
12650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12651         Likewise.
12652         [__LINUX_KERNEL_VERSION >= 0x040300]
12653         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12655         Likewise.
12656         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12657         Likewise.
12658         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12659         Likewise.
12660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12661         Likewise.
12662         [__LINUX_KERNEL_VERSION >= 0x040300]
12663         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12664         [__LINUX_KERNEL_VERSION >= 0x040300]
12665         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12666         [__LINUX_KERNEL_VERSION >= 0x040300]
12667         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12668         [__LINUX_KERNEL_VERSION >= 0x040300]
12669         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12670         [__LINUX_KERNEL_VERSION >= 0x040300]
12671         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12673         Likewise.
12674         [__LINUX_KERNEL_VERSION >= 0x040300]
12675         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12677         Likewise.
12678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12679         Likewise.
12680         [__LINUX_KERNEL_VERSION >= 0x040300]
12681         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12683         Likewise.
12684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12685         Likewise.
12686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12687         (__ASSUME_SOCKET_SYSCALL): Likewise.
12688         (__ASSUME_BIND_SYSCALL): Likewise.
12689         (__ASSUME_CONNECT_SYSCALL): Likewise.
12690         (__ASSUME_LISTEN_SYSCALL): Likewise.
12691         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12692         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12693         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12694         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12695         (__ASSUME_SEND_SYSCALL): Likewise.
12696         (__ASSUME_SENDTO_SYSCALL): Likewise.
12697         (__ASSUME_RECV_SYSCALL): Likewise.
12698         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12699         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12700         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12701         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12702         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12703         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12704         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12705         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12706         Likewise.
12707         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12708         Likewise.
12709         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12710         Likewise.
12711         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12712         Likewise.
12713         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12714         Likewise.
12715         [__LINUX_KERNEL_VERSION >= 0x020625]
12716         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12717         [__LINUX_KERNEL_VERSION >= 0x020625]
12718         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12719         [__LINUX_KERNEL_VERSION >= 0x020625]
12720         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12721         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12722         Likewise.
12723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12724         Likewise.
12725         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12726         Likewise.
12727         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12728         Likewise.
12729         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12730         Likewise.
12731         [__LINUX_KERNEL_VERSION >= 0x020625]
12732         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12733         [__LINUX_KERNEL_VERSION >= 0x020625]
12734         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12735         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12736         Likewise.
12737         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12738         Likewise.
12740 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12742         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12743         record the current if the current ABI and CPU support the FP64
12744         extension.
12745         (has-modd-spreg): Define to record the current if the current ABI and
12746         CPU support 32-bit floating point values in odd FPU registers.
12747         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12748         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12749         $(has-modd-spreg) equals yes.
12750         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12751         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12752         $(has-modd-spreg) equal yes.
12754 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12756         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12757         basename.
12759 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12761         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12762         (bench-string): ... here.
12763         (bench): Add bench-string.
12764         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12765         to *-benchset to reflect what they are.
12766         (benchset): Adjust.
12768         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12769         cos-inputs.
12771 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12773         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12774         __attribute__ ((__simd__)) for vector math function declarations.
12776 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12778         Fix typo in strncat, wcsncat manual entries
12779         * manual/string.texi (Copying and Concatenation): Fix typos in
12780         sample implementations of strncat and wcsncat, by having them use
12781         the old value of the destination length, not the new one.
12783 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12785         [BZ #16961]
12786         [BZ #16962]
12787         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12788         string on the stack for strtod.
12789         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12790         a string on the stack for strtof.
12791         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12792         constructing a string on the stack for strtold.
12793         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12794         __strtold_nan to GLIBC_PRIVATE.
12795         * math/test-nan-overflow.c: New file.
12796         * math/test-nan-payload.c: Likewise.
12797         * math/Makefile (tests): Add test-nan-overflow and
12798         test-nan-payload.
12800 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12802         Consistency about byte vs character in string.texi
12803         * manual/string.texi (String and Array Utilities):
12804         Distinguish more carefully among bytes, multibyte characters,
12805         and wide characters.  Use "byte" when talking about C 'char',
12806         to distinguish it more clearly from multibyte characters.
12807         Say "wide character" or "multibyte character" instead of
12808         "character", when a wide or multibyte character is intended.
12809         Similarly for "multibyte string" versus "string".
12810         Define these terms more carefully.
12812 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12814         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12815         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12816         Likewise.
12817         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12818         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12819         * sysdeps/sh/math_private.h: New file.
12820         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12821         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12822         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12823         long double function name.
12824         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12825         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12826         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12828         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12830         Remove __finitel, __isinfl, and __isnanl.
12831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12832         Likewise.
12833         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12835         Remove __finitel.
12836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12837         Likewise.
12838         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12840 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12842         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12843         installed libmvec_nonshared.a.
12845 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12847         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12848         (sysdep_routines): Likewise.
12849         (sysdep-rtld-routines): Likewise.
12850         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12851         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12852         * sysdeps/powerpc/Versions: Added new
12853         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12854         * sysdeps/powerpc/hwcapinfo.c: New file.
12855         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12856         and parse hwcap, hwcap2 and platform number information.
12857         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12858         to store HWCAP+HWCAP2 and platform number.
12859         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12860         for HWCAP+HWCAP2 and platform number in the TCB.
12861         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12862         the HWCAP, HWCAP2 and platform number in the TCB.
12863         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12864         (TLS_INIT_TP): Included calls to add the hwcap and
12865         at_platform values in the TCB in TP initialization.
12866         (TLS_DEFINE_INIT_TP): Likewise.
12867         (THREAD_GET_HWCAP): New macro.
12868         (THREAD_SET_HWCAP): Likewise.
12869         (THREAD_GET_AT_PLATFORM): Likewise.
12870         (THREAD_SET_AT_PLATFORM): Likewise.
12871         * sysdeps/powerpc/powerpc32/dl-machine.h:
12872         (dl_platform_init): New function that calls
12873         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12874         powerpc32.
12875         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12876         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12877         this functionality, static linking case.
12878         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12879         linking case.
12880         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12881         __parse_hwcap_and_convert_at_platform for the static linking case.
12882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12883         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12884         ABI list for GLIBC 2.23.
12885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12886         Likewise.
12887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12888         Likewise.
12890 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12892         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12893         * configure: Regenerate.
12894         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12895         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12897 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12899         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12900         * iconvdata/ibm933.c: Likewise.
12901         * iconvdata/ibm935.c: Likewise.
12902         * iconvdata/ibm937.c: Likewise.
12903         * iconvdata/ibm939.c: Likewise.
12905 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12907         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12908         pthread_join.
12909         * nptl/tst-cancel21.c (tf): Likewise.
12911 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12913         [BZ #19313]
12914         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12915         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12916         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12917         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12918         Likewise.
12919         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12920         Likewise.
12921         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12922         Likewise.
12923         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12924         Likewise.
12925         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12926         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12927         unsigned long int with __CPU_MASK_TYPE.
12929 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12931         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12933 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12935         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12936         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12937         t512.x.
12938         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12940 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12942         [BZ #19214]
12943         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12944         argument to return extended model.  Update family and model
12945         with extended family and model when family == 0x0f.
12946         (init_cpu_features): Updated.
12948 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12950         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12951         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12953         * sysdeps/mach/hurd/mmap64.c: New file.
12955 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12957         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12958         rights for its main user thread in NEWTASK.
12960 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12962         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12963         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12965 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12967         [BZ #14259]
12968         * Makeconfig: Rename localedir to complocaledir.
12969         Rename inst_localedir to inst_complocaledir.
12970         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12971         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12972         * configure.ac: Use libc_cv_complocaledir.
12973         * configure: Regenerate.
12974         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12975         -DCOMPLOCALEDIR.
12976         * locale/findlocale.c: Use COMPLOCALEDIR.
12977         * locale/loadarchive.c: Likewise.
12978         * locale/programs/locale.c: Likewise.
12979         * locale/programs/localedef.c: Likewise.
12980         * locale/programs/locarchive.c: Likewise.
12981         * localedata/Makefile: Use inst_complocaledir.
12982         * sysdeps/gnu/configure: Regenerate.
12983         * sysdeps/hppa/configure: Regenerate.
12984         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12985         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12987         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12988         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12989         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12990         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12992 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12994         [BZ #19058]
12995         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12996         AS_NEEDED.
12997         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12998         workaround.
12999         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13000         libmvec-static-only-routines): Added new file.
13001         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13003 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13005         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13006         of interrupted RPC instead of restoring it.
13008         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13009         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13010         libc_hidden_def.
13011         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13012         into initialized data instead of common. Define rtld_hidden_data_def.
13013         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13014         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13015         libc_hidden_def.
13016         (if_freenameindex): Add libc_hidden_weak.
13017         (if_nameindex): Add libc_hidden_weak.
13018         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13019         __open64.
13020         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13021         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13022         * sysdeps/mach/nanosleep.c: Include <time.h>
13023         (__nanosleep): Rename to __libc_nanosleep.
13024         (__nanosleep): Add weak_alias.
13025         (nanosleep): Update alias.
13027 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13029         * stdlib/strtod_nan.c: New file.
13030         * stdlib/strtod_nan_double.h: Likewise.
13031         * stdlib/strtod_nan_float.h: Likewise.
13032         * stdlib/strtod_nan_main.c: Likewise.
13033         * stdlib/strtod_nan_narrow.h: Likewise.
13034         * stdlib/strtod_nan_wide.h: Likewise.
13035         * stdlib/strtof_nan.c: Likewise.
13036         * stdlib/strtold_nan.c: Likewise.
13037         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13038         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13039         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13040         * wcsmbs/wcstod_nan.c: Likewise.
13041         * wcsmbs/wcstof_nan.c: Likewise.
13042         * wcsmbs/wcstold_nan.c: Likewise.
13043         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13044         strtold_nan.
13045         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13046         wcstof_nan.
13047         * include/stdlib.h (__strtof_nan): Declare and use
13048         libc_hidden_proto.
13049         (__strtod_nan): Likewise.
13050         (__strtold_nan): Likewise.
13051         (__wcstof_nan): Likewise.
13052         (__wcstod_nan): Likewise.
13053         (__wcstold_nan): Likewise.
13054         * include/wchar.h (____wcstoull_l_internal): Declare.
13055         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13056         (____strtoull_l_internal): Remove declaration.
13057         (STRTOF_NAN): Define macro.
13058         (SET_MANTISSA): Remove macro.
13059         (STRTOULL): Likewise.
13060         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13061         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13062         (STRTOF_NAN): Define macro.
13063         (SET_MANTISSA): Remove macro.
13064         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13065         (SET_MANTISSA): Remove macro.
13066         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13067         macro.
13068         (SET_MANTISSA): Remove macro.
13069         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13070         macro.
13071         (SET_MANTISSA): Remove macro.
13072         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13073         (SET_MANTISSA): Remove macro.
13074         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13075         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13076         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13078         [BZ #19266]
13079         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13080         upper case and lower case letters inside NAN(), not using TOLOWER.
13081         * stdlib/tst-strtod-nan-locale-main.c: New file.
13082         * stdlib/tst-strtod-nan-locale.c: Likewise.
13083         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13084         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13085         Depend on $(gen-locales).
13086         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13087         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13088         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13089         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13090         Depend on $(gen-locales).
13091         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13093 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13095         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13097         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13099         __finitel, __isinfl, and __isnanl.
13100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13101         Likewise.
13102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13104         __finitel.
13105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13106         Likewise.
13107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13109 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13111         * malloc/memusage.c (me): Remove redundant getenv call.
13113 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13115         [BZ #19143]
13116         [BZ #19164]
13117         * nptl/check-cpuset.h: Remove.
13118         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13119         Remove CPU set size check.
13120         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13121         Likewise.
13122         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13123         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13124         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13125         (__pthread_setaffinity_new): Remove CPU set size check.
13126         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13127         (__kernel_cpumask_size): Remove.
13128         (__sched_setaffinity_new): Remove CPU set size check.
13129         * manual/threads.texi (Default Thread Attributes): Remove stale
13130         reference to check_cpuset_attr, determine_cpumask_size in comment.
13131         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13132         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13133         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13134         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13135         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13136         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13137         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13138         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13139         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13140         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13141         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13142         skeleton test file.
13143         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13144         tst-affinity-pid.
13146 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13148         * scripts/update-abilist.sh: New file.
13149         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13150         * Makerules (update-all-abi-%, update-all-abi)
13151         (subdir_update-all-abi): New targets.
13152         * elf/Makefile (update-all-abi): New target.
13154 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13156         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13157         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13158         (__libc_lock_define_initialized): Use it.
13159         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13160         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13161         * malloc/malloc.c (main_arena): Likewise.
13162         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13163         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13165 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13167         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13168         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13169         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13170         (PTRACE_O_MASK): Update value.
13171         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13172         New value in enum __ptrace_setoptions.
13173         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13174         (PTRACE_O_MASK): Update value.
13175         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13176         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13177         (PTRACE_O_MASK): Update value.
13178         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13179         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13180         (PTRACE_O_MASK): Update value.
13181         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13182         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13183         (PTRACE_O_MASK): Update value.
13184         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13185         New value in enum __ptrace_setoptions.
13186         (PTRACE_O_MASK): Update value.
13187         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13188         New value in enum __ptrace_setoptions.
13189         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13190         (PTRACE_O_MASK): Update value.
13192         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13193         New macro.
13194         (PACKET_AUXDATA): Likewise.
13195         (PACKET_ORIGDEV): Likewise.
13196         (PACKET_VERSION): Likewise.
13197         (PACKET_HDRLEN): Likewise.
13198         (PACKET_RESERVE): Likewise.
13199         (PACKET_TX_RING): Likewise.
13200         (PACKET_LOSS): Likewise.
13201         (PACKET_VNET_HDR): Likewise.
13202         (PACKET_TX_TIMESTAMP): Likewise.
13203         (PACKET_TIMESTAMP): Likewise.
13204         (PACKET_FANOUT): Likewise.
13205         (PACKET_TX_HAS_OFF): Likewise.
13206         (PACKET_QDISC_BYPASS): Likewise.
13207         (PACKET_ROLLOVER_STATS): Likewise.
13208         (PACKET_FANOUT_DATA): Likewise.
13209         (PACKET_MR_UNICAST): Likewise.
13211         [BZ #19242]
13212         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13213         (TOUPPER): Likewise.
13214         * stdlib/tst-strtol-locale-main.c: New file.
13215         * stdlib/tst-strtol-locale.c: Likewise.
13216         * stdlib/Makefile (tests): Add tst-strtol-locale.
13217         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13218         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13219         Depend on $(gen-locales).
13220         * wcsmbs/tst-wcstol-locale.c: New file.
13221         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13222         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13223         tr_TR.ISO-8859-9.
13224         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13225         Depend on $(gen-locales).
13227 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13229         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13230         __glibc_likely instead of __builtin_expect.  After falling back to
13231         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13232         system interface to register the code pages as occupied.
13234 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13236         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13237         [!ARM_MATH_PRIVATE_H].
13238         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13239         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13240         [!HPPA_MATH_PRIVATE_H].
13241         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13242         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13243         to [!I386_MATH_PRIVATE_H].
13244         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13245         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13246         Change guard to [!M68K_MATH_PRIVATE_H].
13247         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13248         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13249         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13250         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13251         macro.
13252         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13253         [!MIPS_MATH_PRIVATE_H].
13254         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13255         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13256         [!NIO2_MATH_PRIVATE_H].
13257         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13258         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13259         [!TILE_MATH_PRIVATE_H].
13260         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13262         [BZ #15421]
13263         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13264         initialize with 0 and define as weak alias of __signgam.
13265         * include/math.h [!_ISOMAC] (__signgam): Declare.
13266         * math/Makefile (libm-calls): Add w_lgamma_compat.
13267         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13268         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13269         test-signgam-ullong-init.
13270         (tests-static): Add test-signgam-uchar-static,
13271         test-signgam-uchar-init-static, test-signgam-uint-static,
13272         test-signgam-uint-init-static, test-signgam-ullong-static and
13273         test-signgam-ullong-init-static.
13274         (CFLAGS-test-signgam-uchar.c): New variable.
13275         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13276         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13277         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13278         (CFLAGS-test-signgam-uint.c): Likewise.
13279         (CFLAGS-test-signgam-uint-init.c): Likewise.
13280         (CFLAGS-test-signgam-uint-static.c): Likewise.
13281         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13282         (CFLAGS-test-signgam-ullong.c): Likewise.
13283         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13284         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13285         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13286         * math/Versions (libm): Add GLIBC_2.23.
13287         * math/lgamma-compat.h: New file.
13288         * math/test-signgam-main.c: Likewise.
13289         * math/test-signgam-uchar-init-static.c: Likewise.
13290         * math/test-signgam-uchar-init.c: Likewise.
13291         * math/test-signgam-uchar-static.c: Likewise.
13292         * math/test-signgam-uchar.c: Likewise.
13293         * math/test-signgam-uint-init-static.c: Likewise.
13294         * math/test-signgam-uint-init.c: Likewise.
13295         * math/test-signgam-uint-static.c: Likewise.
13296         * math/test-signgam-uint.c: Likewise.
13297         * math/test-signgam-ullong-init-static.c: Likewise.
13298         * math/test-signgam-ullong-init.c: Likewise.
13299         * math/test-signgam-ullong-static.c: Likewise.
13300         * math/test-signgam-ullong.c: Likewise.
13301         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13302         wrapper of w_lgamma_main.c.
13303         * math/w_lgamma_compat.c: New file.
13304         * math/w_lgamma_compatf.c: Likewise.
13305         * math/w_lgamma_compatl.c: Likewise.
13306         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13307         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13308         defining compatibility symbols.
13309         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13310         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13311         wrapper of w_lgammaf_main.c.
13312         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13313         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13314         defining compatibility symbols.
13315         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13316         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13317         wrapper of w_lgammal_main.c.
13318         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13319         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13320         defining compatibility symbols.
13321         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13322         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13323         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13324         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13325         <lgamma-compat.h>.
13326         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13327         (__ieee754_gamma): Define as alias.
13328         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13329         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13330         <lgamma-compat.h>.
13331         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13332         (__ieee754_gammaf): Define as alias.
13333         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13334         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13335         <lgamma-compat.h>.
13336         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13337         (__ieee754_gammal): Define as alias.
13338         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13339         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13340         <math/w_lgamma_compat.c>.
13341         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13342         Define as alias of __lgamma_compat and use in defining lgammal.
13343         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13344         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13345         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13346         (USE_AS_COMPAT): New macro.
13347         (LGAMMA_OLD_VER): Undefine and redefine.
13348         (lgammal): Do not define here.
13349         (gammal): Only define here if [GAMMA_ALIAS].
13350         * conform/linknamespace.pl (@whitelist): Remove signgam.
13351         * sysdeps/nacl/libm.abilist: Update.
13352         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13353         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13354         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13355         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13356         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13357         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13358         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13359         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13360         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13361         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13362         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13363         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13365         Likewise.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13367         Likewise.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13369         Likewise.
13370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13371         Likewise.
13372         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13373         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13374         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13375         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13376         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13378         Likewise.
13379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13380         Likewise.
13381         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13382         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13383         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13385 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13387         [BZ #16364]
13388         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13389         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13391 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13393         * sysdeps/s390/fpu/bits/mathinline.h:
13394         Use __asm__ [__volatile__] instead of asm [volatile].
13395         * sysdeps/s390/abort-instr.h: Likewise.
13396         * sysdeps/s390/atomic-machine.h: Likewise.
13397         * sysdeps/s390/bits/string.h: Likewise.
13398         * sysdeps/s390/dl-tls.h: Likewise.
13399         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13400         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13401         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13402         * sysdeps/s390/fpu/fesetround.c: Likewise.
13403         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13404         * sysdeps/s390/fpu/s_fma.c: Likewise.
13405         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13406         * sysdeps/s390/memusage.h: Likewise.
13407         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13408         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13409         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13410         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13411         * sysdeps/s390/nptl/tls.h: Likewise.
13412         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13413         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13414         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13415         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13416         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13417         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13418         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13419         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13420         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13421         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13422         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13423         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13424         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13425         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13426         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13427         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13428         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13429         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13430         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13432         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13434         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13436 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13437             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13439         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13440         Add lwarx hint, and use macro for acquire instruction.
13441         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13442         Likewise.
13443         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13444         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13445         update to use new atomic macros.
13447 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13449         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13450         (__lll_trylock_elision): Fix setting of adapt_count.
13451         * sysdeps/unix/sysv/linux/powerpc/htm.h
13452         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13453         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13454         (_ABORT_SYSCALL): Renumber, and clarify definition.
13455         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13457 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13459         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13460         after system headers to prevent MIN/MAX redefinition.  Define
13461         HAVE_ALLOCA to preserve builtin alloca usage.
13463 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13465         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13466         static and don't set or restore rounding.
13467         (__cos)[IN_SINCOS]: Likewise.
13468         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13469         (__sincos): Set and restore rounding mode.  Remove check for infinite
13470         or NaN input.
13472         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13474         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13475         as used.
13477 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13479         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13481 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13483         * config.make.in (have-glob-dat-reloc): New.
13484         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13485         target supports GLOB_DAT relocaton. AC_SUBST.
13486         * configure: Regenerated.
13487         * elf/Makefile (tests): Add tst-prelink.
13488         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13489         (tst-prelink-ENV): New.
13490         ($(objpfx)tst-prelink-conflict.out): Likewise.
13491         ($(objpfx)tst-prelink-cmp.out): Likewise.
13492         * sysdeps/x86/tst-prelink.c: Moved to ...
13493         * elf/tst-prelink.c: Here.
13494         * sysdeps/x86/tst-prelink.exp: Moved to ...
13495         * elf/tst-prelink.exp: Here.
13496         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13497         (tst-prelink-ENV): Removed.
13498         ($(objpfx)tst-prelink-conflict.out): Likewise.
13499         ($(objpfx)tst-prelink-cmp.out): Likewise.
13500         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13502 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #14551]
13505         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13506         (__mpn_construct_long_double): If high part overflows to infinity,
13507         set errno and recompute overflowed result of the correct sign.
13508         * sysdeps/ieee754/ldbl-128ibm/Makefile
13509         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13510         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13511         $(libm).
13512         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13514 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13516         [BZ #15479]
13517         [BZ #19238]
13518         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13519         floating-point state after first operation on input.  Restore full
13520         state rather than just rounding mode.
13521         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13522         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13523         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13525         [BZ #19235]
13526         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13527         add 0.5 to integer arguments.
13528         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13529         Likewise.
13530         (.LC2): New object.
13532 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13534         * scripts/pylintrc (reports): Set to no.
13536 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13538         * elf/dl-load.c (open_verify): Take new argument FD.
13539         Skip __open call if passed FD is not -1.
13540         (_dl_map_object, open_path): Update callers.
13541         * elf/dl-sysdep-open.h: New file.
13542         * elf/dl-load.c: Include it.
13543         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13544         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13545         * sysdeps/nacl/dl-sysdep-open.h: New file.
13546         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13547         from libc to rtld.
13549 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13551         [BZ #19228]
13552         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13553         and restore full floating-point state.
13554         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13555         Likewise.
13556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13557         Likewise.
13558         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13559         Likewise.
13560         * math/test-nearbyint-except-2.c: New file.
13561         * math/Makefile (tests): Add test-nearbyint-except-2.
13563 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13565         [BZ #19178]
13566         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13567         (tst-prelink-ENV): New.
13568         ($(objpfx)tst-prelink-conflict.out): Likewise.
13569         ($(objpfx)tst-prelink-cmp.out): Likewise.
13570         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13571         * sysdeps/x86/tst-prelink.c: New file.
13572         * sysdeps/x86/tst-prelink.exp: Likewise.
13574 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13576         * math/auto-libm-test-in: Add another test of pow.
13577         * math/auto-libm-test-out: Regenerated.
13578         * math/libm-test.inc (pow_test_data): Add another test.
13580 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13582         [BZ #19219]
13583         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13584         weak_alias to nearbyintl.
13586 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13588         * sysdeps/aarch64/bits/string.h: New file.
13589         (_STRING_ARCH_unaligned): Define.
13591 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13593         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13594         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13595         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13596         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13599 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13601         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13602         for original name of the DSO.  Add it to the name list of the DSO
13603         if it is actually given.
13604         (_dl_map_object): Keep track of whether an audit module rewrote
13605         the file name.  If yes, pass the original name to
13606         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13607         debugging is enabled, log the change of the file name.
13608         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13609         _dl_map_object_from_fd.
13610         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13611         * elf/tst-audit11.c: New file
13612         * elf/tst-auditmod11.c: New file.
13613         * elf/tst-audit11mod1.c: New file.
13614         * elf/tst-audit11mod2.c: New file.
13615         * elf/tst-audit11mod2.map: New file.
13616         * elf/tst-audit12.c: New file
13617         * elf/tst-auditmod12.c: New file.
13618         * elf/tst-audit12mod1.c: New file.
13619         * elf/tst-audit12mod2.c: New file.
13620         * elf/tst-audit12mod2.map: New file.
13621         * elf/tst-audit12mod3.c: New file.
13623 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13625         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13626         Don't create weak aliases,
13627         because versioned symbols are created later.
13628         * sysdeps/s390/s390-32/setjmp.S
13629         (setjmp, _setjmp): Remove weak and rename to an unique name
13630         in SHARED case due to existing versioned symbols.
13631         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13632         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13633         (getcontext): Create weak alias only in non SHARED case.
13634         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13636 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13638         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13639         (__ASSUME_*_SYSCALL) Define new macros.
13640         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13641         Remove socketcall syscalls.
13642         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13643         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13644         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13645         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13646         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13647         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13649 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13651         [BZ #12926]
13652         Terminate process on invalid netlink response.
13653         * sysdeps/unix/sysv/linux/netlinkaccess.h
13654         (__netlink_assert_response): Declare.
13655         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13656         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13657         (sysdep_routines): Add netlink_assert_response.
13658         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13659         __netlink_assert_response.
13660         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13661         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13662         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13663         __netlink_assert_response.
13665 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13667         [BZ #19178]
13668         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13669         (RTYPE_CLASS_PLT): Likewise.
13670         (RTYPE_CLASS_COPY): Likewise.
13671         (RTYPE_CLASS_TLS): Likewise.
13672         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13673         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13674         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13675         DL_DEBUG_PRELINK.
13677 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13679         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13680         calls with argument -0.5.
13681         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13683         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13684         (libc_cv_z_nodlopen): Likewise.
13685         (libc_cv_z_initfirst): Likewise.
13686         * configure: Regenerated.
13688 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13690         Simplify abilist format to be line-based.
13691         * scripts/abilist.awk: Collect descriptors in the descs variable.
13692         (emit): Write descs variable and sort it
13693         externally, with sort.
13694         * sysdeps/**/*.abilist: Convert to new format.
13696 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13698         [BZ #11460]
13699         * io/Makefile (routines): Add fts64.
13700         (tests): Add tst-fts and tst-fts-lfs.
13701         (CFLAGS-fts64.c): New.
13702         * io/Versions (GLIBC_2.23): New.
13703         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13704         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13705         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13706         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13707         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13708         (FTSENT64): Likewise.
13709         (fts64_children): Likewise.
13710         (fts64_close): Likewise.
13711         (fts64_open): Likewise.
13712         (fts64_read): Likewise.
13713         (fts64_set): Likewise.
13714         * io/fts64.c: New file.
13715         * io/tst-fts.c: New test.
13716         * io/tst-fts-lfs.c: Likewise.
13717         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13718         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13719         fts64_set.
13720         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13722         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13723         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13724         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13729         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13730         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13731         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13732         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13734         Likewise.
13735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13736         Likewise.
13737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13739         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13740         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13741         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13746         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13747         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13748         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13749         * sysdeps/wordsize-64/fts.c: New file.
13750         * sysdeps/wordsize-64/fts64.c: Likewise.
13751         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13752         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13753         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13754         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13756 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13758         * math/libm-test.inc (NON_FINITE): New macro.
13759         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13760         * math/gen-libm-test.pl (show_exceptions): Add argument
13761         $non_finite.
13762         (parse_args): Update call to show_exceptions.
13763         * math/test-math-finite.h: New file.
13764         * math/test-math-no-finite.h: Likewise.
13765         * math/test-double-finite.c: Likewise.
13766         * math/test-float-finite.c: Likewise.
13767         * math/test-ldouble-finite.c: Likewise.
13768         * math/test-double.c: Include "test-math-no-finite.h".
13769         * math/test-float.c: Include "test-math-no-finite.h".
13770         * math/test-ldouble.c: Include "test-math-no-finite.h".
13771         * math/test-math-inline.h (TEST_FINITE): New macro.
13772         * math/test-math-vector.h (TEST_FINITE): Likewise.
13773         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13774         (libm-tests): Add test-float-finite and test-double-finite.
13775         ($(objpfx)test-float-finite.o): New dependency on
13776         $(objpfx)libm-test.stmp.
13777         ($(objpfx)test-double-finite.o): Likewise.
13778         ($(objpfx)test-ldouble-finite.o): Likewise.
13779         (libm-test-no-inline-cflags): New variable.
13780         (libm-test-finite-cflags): Likewise.
13781         (CFLAGS-test-float-finite.c): Likewise.
13782         (CFLAGS-test-double-finite.c): Likewise.
13783         (CFLAGS-test-ldouble-finite.c): Likewise.
13784         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13785         (CFLAGS-test-double.c): Likewise.
13786         (CFLAGS-test-ldouble.c): Likewise.
13788 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13790         * io/fcntl.c (__fcntl): Add ... to prototype.
13791         * misc/ioctl.c (__ioctl): Likewise.
13792         * misc/syscall.c (syscall): Likewise.
13794 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13796         * scripts/list-fixed-bugs.py: New file.
13798         [BZ #19213]
13799         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13800         returned for argument 1.
13801         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13802         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13803         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13804         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13805         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13806         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13808         [BZ #19211]
13809         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13810         __USE_XOPEN], not if [!__USE_ISOC99].
13811         (lgammaf): Likewise.
13812         (lgammal): Likewise.
13813         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13814         (gammaf): Likewise.
13815         (gammal): Likewise.
13816         * math/test-signgam-finite-c11.c: New file.
13817         * math/test-signgam-finite-c99.c: Likewise.
13818         * math/test-signgam-finite.c: Likewise.
13819         * math/Makefile (tests): Add test-signgam-finite,
13820         test-signgam-finite-c99 and test-signgam-finite-c11.
13821         (CFLAGS-test-signgam-finite.c): New variable.
13822         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13823         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13825         [BZ #19212]
13826         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13827         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13828         500].
13829         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13830         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13831         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13832         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13833         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13834         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13835         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13836         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13837         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13838         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13840         [BZ #19209]
13841         * math/bits/math-finite.h (ldexp): Remove declaration.
13842         (ldexpf): Likewise.
13843         (ldexpl): Likewise.
13845         [BZ #19205]
13846         * math/bits/math-finite.h (acosf): Condition declaration on
13847         [__USE_ISOC99].
13848         (acosl): Likewise.
13849         (acoshf): Likewise.
13850         (acoshl): Likewise.
13851         (asinf): Likewise.
13852         (asinl): Likewise.
13853         (atan2f): Likewise.
13854         (atan2l): Likewise.
13855         (atanhf): Likewise.
13856         (atanhl): Likewise.
13857         (coshf): Likewise.
13858         (coshl): Likewise.
13859         (expf): Likewise.
13860         (expl): Likewise.
13861         (fmodf): Likewise.
13862         (fmodl): Likewise.
13863         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13864         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13865         (j0l): Likewise.
13866         (y0f): Likewise.
13867         (y0l): Likewise.
13868         (j1f): Likewise.
13869         (j1l): Likewise.
13870         (y1f): Likewise.
13871         (y1l): Likewise.
13872         (jnf): Likewise.
13873         (jnl): Likewise.
13874         (ynf): Likewise.
13875         (ynl): Likewise.
13876         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13877         (lgammal_r): Likewise.
13878         (__lgamma_r_finite): New declaration.
13879         (__lgammaf_r_finite): Likewise.
13880         (__lgammal_r_finite): Likewise.
13881         (lgamma): Use __lgamma_r_finite.
13882         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13883         __lgammaf_r_finite.
13884         (lgammal): Condition definition on [__USE_ISOC99].  Use
13885         __lgammal_r_finite.
13886         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13887         __lgamma_r_finite.
13888         (gammaf): Condition definition on [__USE_ISOC99].  Use
13889         __lgammaf_r_finite.
13890         (gammal): Condition definition on [__USE_ISOC99].  Use
13891         __lgammal_r_finite.
13892         (logf): Condition declaration on [__USE_ISOC99].
13893         (logl): Likewise.
13894         (log10f): Likewise.
13895         (log10l): Likewise.
13896         (ldexpf): Likewise.
13897         (ldexpl): Likewise.
13898         (powf): Likewise.
13899         (powl): Likewise.
13900         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13901         __USE_ISOC99].
13902         (remainderf): Condition declaration on [__USE_ISOC99].
13903         (remainderl): Likewise.
13904         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13905         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13906         (scalbl): Likewise.
13907         (sinhf): Condition declaration on [__USE_ISOC99].
13908         (sinhl): Likewise.
13909         (sqrtf): Likewise.
13910         (sqrtl): Likewise.
13912 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13914         * sysdeps/arm/atomic-machine.h
13915         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13916         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13917         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13918         Remove conditional code.
13919         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13920         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13921         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13922         Change conditional to [__ASSEMBLER__].
13923         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13924         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13925         [!__ASSEMBLER__].
13926         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13927         code.
13928         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13929         conditional macro definitions.
13930         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13931         (__arch_compare_and_exchange_val_16_acq): Likewise.
13932         (__arch_compare_and_exchange_val_32_acq): Likewise.
13933         (atomic_exchange_and_add): Likewise.
13934         (atomic_add): Likewise.
13935         (atomic_add_negative): Likewise.
13936         (atomic_add_zero): Likewise.
13937         (atomic_bit_set): Likewise.
13938         (atomic_bit_test_set): Likewise.
13939         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13940         code unconditional.
13941         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13943         * math/test-math-errno.h: New file.
13944         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13945         empty.
13946         (TEST_ERRNO): New macro.
13947         (TEST_EXCEPTIONS): Likewise.
13948         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13949         (TEST_EXCEPTIONS): Likewise.
13950         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13951         * math/test-double.c: Include "test-math-errno.h".
13952         * math/test-float.c: Likewise.
13953         * math/test-ldouble.c: Likewise.
13954         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13955         code unconditional.
13956         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13957         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13958         unconditional.
13959         (test_errno): Only run code if TEST_ERRNO.
13960         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13962 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13964         * nptl/tst-once5.cc: Remove attribution.
13966 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13968         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13969         sqrt, tan, tanh, y0, y1 and yn.
13970         * math/auto-libm-test-out: Regenerated.
13971         * math/libm-test.inc (scalb_test_data): Add more tests.
13972         (scalbn_test_data): Likewise.
13973         (scalbln_test_data): Likewise.
13974         (signbit_test_data): Likewise.
13975         (sin_test_data): Likewise.
13976         (sincos_test_data): Likewise.
13977         (sinh_test_data): Likewise.
13978         (sqrt_test_data): Likewise.
13979         (tan_test_data): Likewise.
13980         (tanh_test_data): Likewise.
13981         (tgamma_test_data): Likewise.
13982         (y0_test_data): Likewise.
13983         (y1_test_data): Likewise.
13984         (yn_test_data): Likewise.
13985         (significand_test_data): Likewise.
13986         * sysdeps/i386/fpu/libm-test-ulps: Update.
13988 2015-11-03  David Kastrup  <dak@gnu.org>
13990         [BZ #18604]
13991         * assert/assert.h (assert): Don't macro-expand failed assertion
13992         expression in error message.
13993         * malloc/malloc.c (assert): Likewise.
13995 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13997         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13998         test.
13999         * configure: Regenerated.
14001 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14003         * math/libm-test.inc (modf_test_data): Add more tests.
14004         (nearbyint_test_data): Likewise.
14005         (nextafter_test_data): Likewise.
14006         (nexttoward_test_data): Likewise.
14007         (pow_test_data): Likewise.
14008         (remainder_test_data): Likewise.
14009         (remquo_test_data): Likewise.
14010         (rint_test_data): Likewise.
14012         [BZ #19201]
14013         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14014         Check for zero remainder in case of large exponents and ensure
14015         correct sign of result in that case.
14016         * math/libm-test.inc (remainder_test_data): Add more tests.
14018         [BZ #6799]
14019         * math/s_nextafter.c: Include <errno.h>.
14020         (__nextafter): Set errno on overflow and underflow.
14021         * math/s_nexttowardf.c: Include <errno.h>.
14022         (__nexttowardf): Set errno on overflow and underflow.
14023         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14024         (__nextafterl): Set errno on overflow and underflow.
14025         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14026         (__nexttoward): Set errno on overflow and underflow.
14027         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14028         (__nexttowardf): Set errno on overflow and underflow.
14029         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14030         (__nextafterf): Set errno on overflow and underflow.
14031         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14032         (__nextafterl): Set errno on overflow and underflow.
14033         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14034         (__nexttoward): Set errno on overflow and underflow.
14035         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14036         (__nexttowardf): Set errno on overflow and underflow.
14037         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14038         (__nextafterl): Set errno on overflow and underflow.
14039         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14040         (__nexttoward): Set errno on overflow and underflow.
14041         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14042         (__nexttowardf): Set errno on overflow and underflow.
14043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14044         (__nexttoward): Set errno on overflow and underflow.
14045         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14046         (__nexttowardf): Set errno on overflow and underflow.
14047         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14048         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14049         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14050         (__nextafterl): Set errno on overflow and underflow.
14051         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14052         setting to be missing on overflow.  Add more tests.
14053         (nexttoward_test_data): Likewise.
14055         * configure.ac (libc_cv_initfini_array): Remove configure test.
14056         * configure: Regenerated.
14058 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14060         [BZ #19189]
14061         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14062         non-finite argument handle arguments with negative sign.
14064         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14065         result from infinite argument.
14066         (j1_test_data): Likewise.
14067         (jn_test_data): Likewise.
14068         (y0_test_data): Likewise.
14069         (y1_test_data): Likewise.
14070         (yn_test_data): Likewise.
14072         [BZ #16171]
14073         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14074         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14075         * math/w_remainderf.c (dremf): Define as weak alias of
14076         __remainderf.
14077         * math/w_remainderl.c (dreml): Define as weak alias of
14078         __remainderl.
14079         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14080         __remainder.
14081         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14082         __remainderf.
14083         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14084         __remainderl.
14085         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14086         weak alias of remainderl.
14087         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14088         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14089         alias of __remainder.
14090         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14091         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14092         strong alias of __remainderl.
14093         (dreml): Use long_double_symbol.
14094         * math/Makefile (libm-calls): Remove w_drem.
14095         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14096         (CFLAGS-nldbl-drem.c): Remove variable.
14097         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14098         * math/w_drem.c: Remove file.
14099         * math/w_dremf.c: Likewise.
14100         * math/w_dreml.c: Likewise.
14101         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14102         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14103         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14105         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14106         * sysdeps/i386/configure: Regenerated.
14107         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14108         * sysdeps/x86_64/configure: Regenerated.
14110         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14111         test.
14112         (libc_cv_visibility_attribute): Likewise.
14113         (libc_cv_protected_data): Test unconditionally.
14114         (libc_cv_broken_visibility_attribute): Remove configure test.
14115         (libc_cv_have_sdata_section): Test unconditionally.
14116         * configure: Regenerated.
14118         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14119         * include/scratch_buffer.h: Include <stddef.h> instead of
14120         <libc-internal.h>.
14121         (struct scratch_buffer): Use max_align_t instead of
14122         libc_max_align_t.
14124 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14126         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14127         instead of extend_alloca.  Change control flow to avoid a goto.
14128         Remove assert which is trivially always true.
14130 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14132         [BZ #16068]
14133         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14134         (FE_ALL_EXCEPT_X86): New macro.
14135         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14136         FE_ALL_EXCEPT.  Ensure precision control is included in
14137         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14138         handle "denormal operand exception" and clear FZ and DAZ bits.
14139         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14140         (FE_ALL_EXCEPT_X86): New macro.
14141         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14142         FE_ALL_EXCEPT.  Ensure precision control is included in
14143         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14144         handle "denormal operand exception" and clear FZ and DAZ bits.
14145         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14146         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14147         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14148         test-fenv-x87 and test-fenv-sse-2.
14149         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14151         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14152         * math/test-double.h (BUILD_COMPLEX): New macro.
14153         * math/test-float.h (BUILD_COMPLEX): Likewise.
14154         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14156         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14157         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14158         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14160         instead of DBL_DENORM_MIN in comment.
14161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14162         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14163         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14164         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14165         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14166         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14168 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14170         [BZ# 19048]
14171         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14172         attached_threads member.
14173         (main_arena): Initialize attached_threads.
14174         * malloc/arena.c (list_lock): Update comment.
14175         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14176         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14177         (deattach_arena): New function.
14178         (_int_new_arena): Initialize arena reference count and deattach
14179         replaced arena.
14180         (get_free_list, reused_arena): Update reference count and deattach
14181         replaced arena.
14182         (arena_thread_freeres): Update arena reference count and only put
14183         unreferenced arenas on the free list.
14185 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14187         [BZ #19181]
14188         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14189         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14190         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14191         * math/test-fenv-clear-main.c: New file.
14192         * math/test-fenv-clear.c: Likewise.
14193         * math/Makefile (tests): Add test-fenv-clear.
14194         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14195         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14196         test-fenv-clear-sse.
14197         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14199         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14200         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14201         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14203 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14205         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14206         static libc.
14208 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14210         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14211         test.
14212         * sysdeps/i386/configure: Regenerated.
14213         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14214         test.
14215         * sysdeps/x86_64/configure: Regenerated.
14216         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14218         memset-avx2 unconditionally instead of conditionally on
14219         [$(config-cflags-avx2) = yes].
14220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14221         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14222         unconditional.
14223         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14224         * sysdeps/x86_64/multiarch/memset_chk.S
14225         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14226         to [IS_IN (libc) && SHARED].
14228 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14230         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14231         configure test.
14232         * sysdeps/arm/configure: Regenerated.
14233         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14234         Define variable if not already defined.
14236         [BZ #17404]
14237         * sysdeps/mips/atomic-machine.h
14238         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14239         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14240         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14242         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14243         unconditional.
14244         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14245         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14246         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14247         unconditional.
14248         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14249         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14250         unconditional.
14251         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14252         * stdlib/setenv.c
14253         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14254         code unconditional.
14255         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14256         Remove conditional code.
14257         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14258         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14259         unconditional.
14260         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14261         code.
14262         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14263         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14264         unconditional.
14265         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14266         code.
14267         * sysdeps/ieee754/ldbl-128/k_tanl.c
14268         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14269         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14270         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14271         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14272         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14273         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14274         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14275         unconditional.
14276         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14277         code.
14278         * sysdeps/ieee754/ldbl-96/k_tanl.c
14279         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14280         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14282         * nptl/tst-initializers1-c11.c: New file.
14283         * nptl/tst-initializers1-gnu11.c: Likewise.
14284         * nptl/Makefile (tests): Add these new tests.
14285         (CFLAGS-tst-initializers1-c11.c): New variable.
14286         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14288         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14289         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14290         instead of -std=gnu99.
14291         * configure.ac (systemtap): Test with -std=gnu11 instead of
14292         -std=gnu99.
14293         * configure: Regenerated.
14294         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14295         in compilation command in comment.
14297         * sysdeps/nptl/configure.ac: Remove file.
14298         * sysdeps/nptl/configure: Remove generated file.
14299         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14300         * configure: Regenerated.
14301         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14302         * config.make.in (have-forced-unwind): Remove variable.
14303         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14304         unconditional.
14305         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14306         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14307         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14308         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14309         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14310         unconditional.
14312 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14314         [BZ #19174]
14315         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14316         .skip_lock_out_of_tbegin_retries.
14317         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14318         (__lll_lock_elision): Likewise, and respect a value of
14319         try_tbegin <= 0.
14321 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14323         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14324         statement.
14326 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14328         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14329         variable.
14330         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14331         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14333         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14334         of -std=c1x -D_ISOC11_SOURCE.
14336         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14337         * configure: Regenerated.
14338         * manual/install.texi (Tools for Compilation): Document
14339         requirement for GCC 4.7 or later.
14340         * INSTALL: Regenerated.
14342 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14344         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14345         on CNT to a conditional jump to 'puntdata'.
14347 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14349         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14350         (libc_cv_gcc_tls_model_attr): Likewise.
14351         * configure: Regenerated.
14353         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14354         * configure: Regenerated.
14355         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14357 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14359         * configure.ac (old_glibc_headers): Remove configure test.
14360         * configure: Regenerated.
14361         * config.make.in (old-glibc-headers): Remove variable.
14362         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14363         (install): Remove dependency on remove-old-headers.
14364         (headers2_0): Remove variable.
14365         (remove-old-headers): Remove rule.
14367         * configure.ac (libc_cv_dot_text): Remove configure test.
14368         (libc_cv_asm_set_directive): Use .text instead of
14369         ${libc_cv_dot_text} in configure test.
14370         * configure: Regenerated.
14372 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14374         [BZ #19168]
14375         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14377 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14379         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14380         not support static linking.
14381         * configure: Regenerate.
14383 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14385         * math/libm-test.inc (check_float_internal): Do not special-case
14386         errors up to 0.5 ulp.
14388         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14389         log2.
14390         * math/auto-libm-test-out: Regenerated.
14391         * math/libm-test.inc (MAX_EXP): New macro.
14392         (ilogb_test_data): Add more tests.
14393         (isfinite_test_data): Likewise.
14394         (isgreater_test_data): Likewise.
14395         (isgreaterequal_test_data): Likewise.
14396         (isinf_test_data): Likewise.
14397         (isless_test_data): Likewise.
14398         (islessequal_test_data): Likewise.
14399         (islessgreater_test_data): Likewise.
14400         (isnan_test_data): Likewise.
14401         (isnormal_test_data): Likewise.
14402         (issignaling_test_data): Likewise.
14403         (isunordered_test_data): Likewise.
14404         (j0_test_data): Likewise.
14405         (j1_test_data): Likewise.
14406         (jn_test_data): Likewise.
14407         (lgamma_test_data): Likewise.
14408         (log_test_data): Likewise.
14409         (log10_test_data): Likewise.
14410         (log1p_test_data): Likewise.
14411         (log2_test_data): Likewise.
14412         (logb_test_data): Likewise.
14413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14415         [BZ #18611]
14416         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14417         avoid excess range and precision on underflow.
14418         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14419         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14420         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14421         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14422         underflow.
14423         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14424         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14425         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14426         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14427         * math/auto-libm-test-in: Do not allow missing errno setting for
14428         tests of j1 and jn.
14429         * math/auto-libm-test-out: Regenerated.
14431 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14433         [BZ #15491]
14434         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14435         floating-point environment instead of clearing all exceptions.
14436         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14437         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14438         merging in "invalid" exceptions from frndint.
14439         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14440         * math/test-nearbyint-except.c: New file.
14441         * math/Makefile (tests): Add test-nearbyint-except.
14443 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14445         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14447         * sysdeps/tile/libm-test-ulps: Regenerated.
14449 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14452         (__NR_sync_file_range2): Assume it is always defined.
14453         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14454         (__NR_sync_file_range): Assume it is always defined.
14456 2015-10-22  Andreas Schwab  <schwab@suse.de>
14458         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14459         INTERNAL_SYSCALL_ERRNO.
14460         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14461         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14462         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14463         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14464         Likewise.
14465         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14467 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14469         * io/tst-fcntl.c (fd): New static variable.
14470         (do_prepare): Open temporary file here....
14471         (do_test): ...not here.
14473         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14475 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14477         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14478         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14479         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14480         Moved before "#ifdef __ASSEMBLER__".
14482 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14484         [BZ #19156]
14485         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14486         arguments very close to 0.
14488 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14490         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14491         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14493 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14495         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14496         New.  Defined for GCC 5 and above when not compiling for
14497         profiling.
14498         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14500         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14501         Renamed to ...
14502         (CFLAGS-epoll_pwait.o): This.
14503         (CFLAGS-mmap.c): Renamed to ...
14504         (CFLAGS-mmap.o): This.
14505         (CFLAGS-mmap64.c): Renamed to ...
14506         (CFLAGS-mmap64.o): This.
14507         (CFLAGS-epoll_pwait.os): New.
14508         (CFLAGS-mmap.os): Likewise.
14509         (CFLAGS-mmap64.os): Likewise.
14510         (CFLAGS-semtimedop.os): Likewise.
14511         (CFLAGS-semtimedop.c): Renamed to ...
14512         (CFLAGS-semtimedop.o): This.
14514 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14516         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14517         warning message.
14519 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14521         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14522         * Makefile ($(objpfx)c++-types-check.out): Filter out
14523         $(+gccwarn-c) instead of -Wstrict-prototypes.
14525         * io/fts.c (fts_open): Convert to prototype-style function
14526         definition.
14527         * malloc/mcheck.c (mcheck): Likewise.
14528         (mcheck_pedantic): Likewise.
14529         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14530         internal_function.
14531         (re_search_internal): Likewise.
14532         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14533         prototype-style function definition.
14534         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14535         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14536         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14537         (xdr_utmpptr): Likewise.
14538         (xdr_utmparr): Likewise.
14539         (xdr_utmpidle): Likewise.
14540         (xdr_utmpidleptr): Likewise.
14541         (xdr_utmpidlearr): Likewise.
14543         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14544         log, log10 and log2.
14545         * math/auto-libm-test-out: Regenerated.
14546         * math/libm-test.inc (fmod_test_data): Add more tests.
14547         (fpclassify_test_data): Likewise.
14548         (frexp_test_data): Likewise.
14549         (hypot_test_data): Likewise.
14550         (ilogb_test_data): Likewise.
14552 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14554         * debug/fortify_fail.c (__fortify_fail): Convert to
14555         prototype-style function definition.  Use internal_function.
14556         * libio/genops.c (save_for_backup): Convert to prototype-style
14557         function definition.
14558         * libio/wgenops.c (save_for_wbackup): Likewise.
14559         * login/grantpt.c (grantpt): Likewise.
14560         * login/ptsname.c (ptsname): Likewise.
14561         (__ptsname_r): Likewise.
14562         * login/unlockpt.c (unlockpt): Likewise.
14563         * mach/msgserver.c (__mach_msg_server): Likewise.
14564         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14565         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14566         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14567         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14568         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14569         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14570         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14571         Likewise.
14572         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14573         internal_function.
14574         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14575         prototype-style function definition.
14576         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14577         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14578         (__pthread_create_2_0): Likewise.
14579         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14580         * nptl/register-atfork.c (__register_atfork): Likewise.
14581         * posix/glob.c (glob): Likewise.
14582         * posix/regcomp.c (re_comp): Likewise.
14583         * posix/regexec.c (re_exec): Likewise.
14584         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14585         [!__STDC__]: Remove conditional code.
14586         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14587         [!__STDC__]: Remove conditional code.
14588         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14589         [!__STDC__]: Remove conditional code.
14590         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14591         [!__STDC__]: Remove conditional code.
14592         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14593         [!__STDC__]: Remove conditional code.
14594         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14595         [!__STDC__]: Remove conditional code.
14596         * stdlib/mul.c [__STDC__]: Make code unconditional.
14597         [!__STDC__]: Remove conditional code.
14598         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14599         [!__STDC__]: Remove conditional code.
14600         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14601         [!__STDC__]: Remove conditional code.
14602         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14603         function definition.
14604         (STRTOF): Likewise.
14605         * stdlib/strtod_l.c (__STRTOF): Likewise.
14606         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14607         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14608         (__strtol_l): Likewise.
14609         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14610         [!__STDC__]: Remove conditional code.
14611         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14612         definition.
14613         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14614         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14615         type.
14616         (__strcasecmp): Convert to prototype-style function definition.
14617         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14618         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14619         type.
14620         (__strncasecmp): Convert to prototype-style function definition.
14621         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14622         * sunrpc/xdr.c (xdr_union): Likewise.
14623         * sunrpc/xdr_array.c (xdr_array): Likewise.
14624         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14625         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14626         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14627         Likewise.
14628         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14629         Likewise.
14630         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14631         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14632         Likewise.
14633         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14634         (LOCALE_PARAM_PROTO): Likewise.
14635         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14636         argument type.
14637         (ut_argument_spec): Remove macro.
14638         (ut_argument_spec_iso): Rename to ut_argument_spec.
14639         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14640         prototype-style function definition.
14641         (memcpy_uppcase): Likewise.
14642         (__strftime_internal): Likewise.
14643         (my_strftime): Likewise.
14644         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14645         (LOCALE_PARAM_DECL): Likewise.
14646         [_LIBC] (LOCALE_PARAM): Include argument type.
14647         (__strptime_internal): Convert to prototype-style function
14648         definition.
14649         (strptime): Likewise.
14650         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14651         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14652         type.
14653         (__wcscasecmp): Convert to prototype-style function definition.
14654         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14655         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14656         type.
14657         (__wcsncasecmp): Convert to prototype-style function definition.
14659         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14660         function definition.
14661         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14662         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14663         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14664         * elf/dl-minimal.c (_itoa): Likewise.
14665         * hurd/hurdmalloc.c (malloc): Likewise.
14666         (free): Likewise.
14667         (realloc): Likewise.
14668         * inet/inet6_option.c (inet6_option_space): Likewise.
14669         (inet6_option_init): Likewise.
14670         (inet6_option_append): Likewise.
14671         (inet6_option_alloc): Likewise.
14672         (inet6_option_next): Likewise.
14673         (inet6_option_find): Likewise.
14674         * io/ftw.c (FTW_NAME): Likewise.
14675         (NFTW_NAME): Likewise.
14676         (NFTW_NEW_NAME): Likewise.
14677         (NFTW_OLD_NAME): Likewise.
14678         * libio/iofwide.c (_IO_fwide): Likewise.
14679         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14680         (_IO_str_init_static): Likewise.
14681         (_IO_str_init_readonly): Likewise.
14682         (_IO_str_overflow): Likewise.
14683         (_IO_str_underflow): Likewise.
14684         (_IO_str_count): Likewise.
14685         (_IO_str_seekoff): Likewise.
14686         (_IO_str_pbackfail): Likewise.
14687         (_IO_str_finish): Likewise.
14688         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14689         (_IO_wstr_overflow): Likewise.
14690         (_IO_wstr_underflow): Likewise.
14691         (_IO_wstr_count): Likewise.
14692         (_IO_wstr_seekoff): Likewise.
14693         (_IO_wstr_pbackfail): Likewise.
14694         (_IO_wstr_finish): Likewise.
14695         * locale/programs/localedef.c (normalize_codeset): Likewise.
14696         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14697         (add_locales_to_archive): Likewise.
14698         (delete_locales_from_archive): Likewise.
14699         * malloc/malloc.c (__libc_mallinfo): Likewise.
14700         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14701         * misc/tsearch.c (__tfind): Likewise.
14702         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14703         * nptl/pthread_attr_getdetachstate.c
14704         (__pthread_attr_getdetachstate): Likewise.
14705         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14706         Likewise.
14707         * nptl/pthread_attr_getinheritsched.c
14708         (__pthread_attr_getinheritsched): Likewise.
14709         * nptl/pthread_attr_getschedparam.c
14710         (__pthread_attr_getschedparam): Likewise.
14711         * nptl/pthread_attr_getschedpolicy.c
14712         (__pthread_attr_getschedpolicy): Likewise.
14713         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14714         Likewise.
14715         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14716         Likewise.
14717         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14718         Likewise.
14719         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14720         Likewise.
14721         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14722         (__pthread_attr_init_2_0): Likewise.
14723         * nptl/pthread_attr_setdetachstate.c
14724         (__pthread_attr_setdetachstate): Likewise.
14725         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14726         Likewise.
14727         * nptl/pthread_attr_setinheritsched.c
14728         (__pthread_attr_setinheritsched): Likewise.
14729         * nptl/pthread_attr_setschedparam.c
14730         (__pthread_attr_setschedparam): Likewise.
14731         * nptl/pthread_attr_setschedpolicy.c
14732         (__pthread_attr_setschedpolicy): Likewise.
14733         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14734         Likewise.
14735         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14736         Likewise.
14737         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14738         Likewise.
14739         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14740         Likewise.
14741         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14742         Likewise.
14743         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14744         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14745         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14746         use internal_function.
14747         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14748         prototype-style function definition.
14749         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14750         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14751         internal_function.
14752         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14753         Convert to prototype-style function definition.
14754         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14755         Likewise.
14756         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14757         Likewise.
14758         (__pthread_mutex_unlock): Likewise.
14759         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14760         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14761         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14762         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14763         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14764         * nss/makedb.c (process_input): Likewise.
14765         * posix/fnmatch.c (__strchrnul): Likewise.
14766         (__wcschrnul): Likewise.
14767         (fnmatch): Likewise.
14768         * posix/fnmatch_loop.c (FCT): Likewise.
14769         * posix/glob.c (globfree): Likewise.
14770         (__glob_pattern_type): Likewise.
14771         (__glob_pattern_p): Likewise.
14772         * posix/regcomp.c (re_compile_pattern): Likewise.
14773         (re_set_syntax): Likewise.
14774         (re_compile_fastmap): Likewise.
14775         (regcomp): Likewise.
14776         (regerror): Likewise.
14777         (regfree): Likewise.
14778         * posix/regexec.c (regexec): Likewise.
14779         (re_match): Likewise.
14780         (re_search): Likewise.
14781         (re_match_2): Likewise.
14782         (re_search_2): Likewise.
14783         (re_search_stub): Likewise.  Use internal_function
14784         (re_copy_regs): Likewise.
14785         (re_set_registers): Convert to prototype-style function
14786         definition.
14787         (prune_impossible_nodes): Likewise.  Use internal_function.
14788         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14789         prototype-style function definition.
14790         (inet_net_pton_ipv4): Likewise.
14791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14792         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14793         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14794         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14795         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14796         Make variadic.
14797         * time/strptime_l.c (localtime_r): Convert to prototype-style
14798         function definition.
14799         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14800         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14801         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14802         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14804         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14805         definition.
14806         (_ufc_doit_r): Likewise.
14807         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14808         (_ufc_output_conversion_r): Likewise.
14809         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14810         * inet/rcmd.c (rcmd_af): Likewise.
14811         (rcmd): Likewise.
14812         (ruserok_af): Likewise.
14813         (ruserok): Likewise.
14814         (ruserok2_sa): Likewise.
14815         (ruserok_sa): Likewise.
14816         (iruserok_af): Likewise.
14817         (iruserok): Likewise.
14818         (__ivaliduser): Likewise.
14819         (__validuser2_sa): Likewise.
14820         * inet/rexec.c (rexec_af): Likewise.
14821         (rexec): Likewise.
14822         * inet/ruserpass.c (ruserpass): Likewise.
14823         * locale/programs/xmalloc.c (xcalloc): Likewise.
14824         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14825         * math/w_drem.c (__drem): Likewise.
14826         * math/w_dremf.c (__dremf): Likewise.
14827         * math/w_dreml.c (__dreml): Likewise.
14828         * misc/daemon.c (daemon): Likewise.
14829         * resolv/res_debug.c (p_fqnname): Likewise.
14830         * stdlib/div.c (div): Likewise.
14831         * string/memcmp.c (memcmp_bytes): Likewise.
14832         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14833         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14835         * crypt/cert.c (main): Convert to prototype-style function
14836         definition.
14837         * io/pipe.c (__pipe): Likewise.
14838         * io/pipe2.c (__pipe2): Likewise.
14839         * misc/futimesat.c (futimesat): Likewise.
14840         * misc/utimes.c (__utimes): Likewise.
14841         * posix/execve.c (__execve): Likewise.
14842         * posix/execvp.c (execvp): Likewise.
14843         * posix/execvpe.c (__execvpe): Likewise.
14844         * posix/fexecve.c (fexecve): Likewise.
14845         * socket/socketpair.c (socketpair): Likewise.
14846         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14847         * stdlib/erand48.c (erand48): Likewise.
14848         * stdlib/erand48_r.c (__erand48_r): Likewise.
14849         * stdlib/jrand48.c (jrand48): Likewise.
14850         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14851         * stdlib/lcong48.c (lcong48): Likewise.
14852         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14853         * stdlib/nrand48.c (nrand48): Likewise.
14854         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14855         * stdlib/seed48.c (seed48): Likewise.
14856         * stdlib/seed48_r.c (__seed48_r): Likewise.
14857         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14858         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14859         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14861 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14863         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14864         * configure: Regenerated.
14865         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14866         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14867         unconditional.
14868         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14869         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14870         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14871         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14872         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14873         unconditional.
14874         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14876         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14877         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14879         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14880         function definition.
14881         * crypt/crypt_util.c (__encrypt_r): Likewise.
14882         * libio/genops.c (_IO_no_init): Likewise.
14883         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14884         (_IO_old_fopencookie): Likewise.
14885         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14886         * libio/iogetline.c (_IO_getline): Likewise.
14887         (_IO_getline_info): Likewise.
14888         * libio/iogetwline.c (_IO_getwline): Likewise.
14889         (_IO_getwline_info): Likewise.
14890         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14891         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14892         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14893         (find_entry): Likewise.
14894         (iterate_table): Likewise.
14895         (lookup): Likewise.
14896         * login/forkpty.c (forkpty): Likewise.
14897         * misc/hsearch_r.c (__hsearch_r): Likewise.
14898         * misc/select.c (__select): Likewise.
14899         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14900         Likewise.
14901         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14902         Likewise.
14903         * nptl/old_pthread_cond_timedwait.c
14904         (__pthread_cond_timedwait_2_0): Likewise.
14905         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14906         * nptl/pthread_barrierattr_getpshared.c
14907         (pthread_barrierattr_getpshared): Likewise.
14908         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14909         Likewise.
14910         * nptl/pthread_mutex_setprioceiling.c
14911         (pthread_mutex_setprioceiling): Likewise.
14912         * nptl/pthread_mutexattr_getprioceiling.c
14913         (pthread_mutexattr_getprioceiling): Likewise.
14914         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14915         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14916         Likewise.
14917         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14918         Likewise.
14919         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14920         Likewise.
14921         * socket/recvfrom.c (__recvfrom): Likewise.
14922         * socket/sendto.c (__sendto): Likewise.
14923         * socket/setsockopt.c (__setsockopt): Likewise.
14924         * stdio-common/_itoa.c (_itoa): Likewise.
14925         * stdio-common/_itowa.c (_itowa): Likewise.
14926         * stdio-common/reg-printf.c (__register_printf_specifier):
14927         Likewise.
14928         (__register_printf_function): Likewise.
14929         * stdio-common/tempname.c (__path_search): Likewise.
14930         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14931         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14932         * stdlib/random_r.c (__initstate_r): Likewise.
14933         * stdlib/setenv.c (__add_to_environ): Likewise.
14934         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14935         * streams/getpmsg.c (getpmsg): Likewise.
14936         * streams/putmsg.c (putmsg): Likewise.
14937         * streams/putpmsg.c (putpmsg): Likewise.
14938         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14939         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14940         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14941         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14942         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14943         * sunrpc/svc_udp.c (cache_get): Likewise.
14944         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14945         * sysdeps/mach/hurd/getcwd.c
14946         (__canonicalize_directory_name_internal): Likewise.
14947         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14948         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14949         * sysdeps/mach/hurd/select.c (__select): Likewise.
14950         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14951         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14952         * sysdeps/sparc/nptl/pthread_barrier_init.c
14953         (__pthread_barrier_init): Likewise.
14954         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14955         (__pthread_cond_timedwait): Likewise.
14956         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14957         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14958         Likewise.
14959         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14960         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14961         Likewise.
14962         * sysvipc/semtimedop.c (semtimedop): Likewise.
14963         * time/setitimer.c (__setitimer): Likewise.
14964         * time/strftime_l.c (emacs_strftime): Likewise.
14966 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14968         * config.make.in (have-ssp): Delete.
14969         (stack-protector): New variable.
14970         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14971         cache test for -fstack-protector-strong.  Export stack_protector to
14972         the best ssp flag.
14973         * configure: Regenerated.
14974         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14975         * nscd/Makefile (CFLAGS-nscd): Likewise.
14976         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14978 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14980         [BZ #19122]
14981         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14982         attribute_hidden.
14984 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14986         [BZ #18743]
14987         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14988         code to...
14989         (ELIDE_LOCK): ...here.
14990         (__get_new_count): New function with part of the code from
14991         __elide_lock that updates the value of adapt_count after a
14992         transaction abort.
14993         (__elided_trylock): Moved this code to...
14994         (ELIDE_TRYLOCK): ...here.
14996 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14998         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14999         * configure: Regenerate.
15000         * INSTALL: Regenerate.
15001         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15002         and tweak grammar.
15004 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15006         * login/programs/pt_chown.c: Include signal.h
15007         (main): Clear any signal mask from the parent process.
15009 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15011         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15012         * configure: Regenerated.
15013         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15014         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15015         $(gnu89-inline-CFLAGS).
15017         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15018         test.
15019         (libc_cv_asm_weakext_directive): Likewise.
15020         * configure: Regenerated.
15021         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15022         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15023         * include/libc-symbols.h
15024         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15025         #error.
15026         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15027         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15029         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15030         prototype-style function definition.
15031         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15032         * sysdeps/i386/ffs.c (__ffs): Likewise.
15033         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15034         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15035         Likewise.
15036         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15037         Likewise.
15038         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15039         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15040         Likewise.
15041         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15042         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15043         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15044         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15045         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15046         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15047         * sysdeps/mach/hurd/access.c (__access): Likewise.
15048         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15049         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15050         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15051         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15052         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15053         (cthread_getspecific): Likewise.
15054         (cthread_setspecific): Likewise.
15055         (__libc_getspecific): Likewise.
15056         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15057         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15058         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15059         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15060         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15061         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15062         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15063         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15064         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15065         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15066         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15067         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15068         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15069         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15070         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15071         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15072         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15073         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15074         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15075         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15076         * sysdeps/mach/hurd/link.c (__link): Likewise.
15077         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15078         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15079         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15080         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15081         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15082         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15083         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15084         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15085         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15086         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15087         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15088         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15089         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15090         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15091         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15092         * sysdeps/mach/hurd/send.c (__send): Likewise.
15093         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15094         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15095         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15096         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15097         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15098         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15099         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15100         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15101         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15102         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15103         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15104         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15105         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15106         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15107         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15108         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15109         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15110         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15111         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15112         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15113         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15114         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15115         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15116         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15117         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15118         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15119         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15120         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15121         * sysdeps/posix/alarm.c (alarm): Likewise.
15122         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15123         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15124         * sysdeps/posix/dup.c (__dup): Likewise.
15125         * sysdeps/posix/dup2.c (__dup2): Likewise.
15126         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15127         (main): Likewise.
15128         * sysdeps/posix/flock.c (__flock): Likewise.
15129         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15130         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15131         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15132         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15133         * sysdeps/posix/isatty.c (__isatty): Likewise.
15134         * sysdeps/posix/killpg.c (killpg): Likewise.
15135         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15136         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15137         * sysdeps/posix/raise.c (raise): Likewise.
15138         * sysdeps/posix/remove.c (remove): Likewise.
15139         * sysdeps/posix/rename.c (rename): Likewise.
15140         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15141         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15142         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15143         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15144         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15145         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15146         * sysdeps/posix/sigset.c (sigset): Likewise.
15147         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15148         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15149         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15150         * sysdeps/posix/time.c (time): Likewise.
15151         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15152         (ttyname): Likewise.
15153         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15154         * sysdeps/posix/utime.c (utime): Likewise.
15155         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15156         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15157         Likewise.
15158         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15159         (pthread_spin_trylock): Likewise.
15160         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15161         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15162         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15163         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15164         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15165         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15166         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15167         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15168         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15169         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15170         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15171         * sysdeps/s390/ffs.c (__ffs): Likewise.
15172         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15173         Likewise.
15174         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15175         Likewise.
15176         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15177         Likewise.
15178         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15179         (pthread_barrier_destroy): Likewise.
15180         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15181         (__pthread_barrier_wait): Likewise.
15182         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15183         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15184         (__pthread_barrier_wait): Likewise.
15185         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15186         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15187         (memcmp_not_common_alignment): Likewise.
15188         (MEMCMP): Likewise.
15189         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15190         (_wordcopy_fwd_dest_aligned): Likewise.
15191         (_wordcopy_bwd_aligned): Likewise.
15192         (_wordcopy_bwd_dest_aligned): Likewise.
15193         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15194         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15195         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15196         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15197         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15198         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15199         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15200         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15201         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15202         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15203         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15204         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15205         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15206         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15207         * sysdeps/unix/stime.c (stime): Likewise.
15208         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15209         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15210         Likewise.  Use internal_function.
15211         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15212         Convert to prototype-style function definition.
15213         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15214         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15215         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15216         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15217         Likewise.  Use internal_function.
15218         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15219         prototype-style function definition
15220         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15221         Likewise.
15222         (__getlogin_r): Likewise.
15223         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15225         (__pthread_cond_broadcast): Likewise.
15226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15227         (__pthread_cond_destroy): Likewise.
15228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15229         (__pthread_cond_init): Likewise.
15230         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15231         (__pthread_cond_signal): Likewise.
15232         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15233         (__pthread_cond_wait): Likewise.
15234         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15235         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15236         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15237         Likewise.
15238         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15239         Likewise.
15240         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15241         Likewise.
15242         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15243         Likewise.
15244         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15246         (__ftruncate64): Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15248         (truncate64): Likewise.
15249         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15250         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15251         (pthread_getcpuclockid): Likewise.
15252         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15253         Likewise.
15254         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15255         Likewise.
15256         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15257         Likewise.
15258         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15259         Likewise.
15260         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15261         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15262         (__libc_sigaction): Likewise.
15263         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15264         Likewise.
15265         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15266         (__sigprocmask): Likewise.
15267         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15268         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15269         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15271         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15272         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15273         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15274         Likewise.
15275         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15276         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15277         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15278         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15280         Likewise.
15281         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15282         (__sigprocmask): Likewise.
15283         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15284         (cfgetispeed): Likewise.
15285         (cfsetospeed): Likewise.
15286         (cfsetispeed): Likewise.
15287         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15288         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15289         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15290         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15291         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15292         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15293         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15294         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15295         Likewise.
15296         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15297         Likewise.
15298         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15299         Likewise.
15300         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15301         Likewise.
15302         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15304 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15306         sunrpc: Rewrite with explicit TLS access using __thread.
15307         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15308         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15309         directly.
15310         (__rpc_thread_variables): Access thread_rpc_vars directly.
15311         Eliminate redundant assignment of the tvp variable.
15313 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15315         malloc: Rewrite with explicit TLS access using __thread.
15316         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15317         (tsd_setspecific, tsd_getspecific): Remove.
15318         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15319         (tsd_setspecific, tsd_getspecific): Likewise.
15320         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15321         (tsd_setspecific, tsd_getspecific): Likewise.
15322         * malloc/arena.c (thread_arena): New TLS variable.
15323         (arena_key): Remove variable.
15324         (arena_get): Use thread_arena.
15325         (arena_lookup): Remove macro.
15326         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15327         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15328         (_int_new_arena, get_free_list, reused_arena)
15329         (arena_thread_freeres): Use thread_arena.
15330         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15331         tsd_getspecific, tsd_setspecific from safety annotations.
15332         (Allocating Cleared Space): Remove arena_lookup from safety
15333         annotations.
15335 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15337         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15338         struct scratch_buffer instead of extend_alloca.
15340 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15342         * sysdeps/unix/sysv/linux/kernel-features.h
15343         (__ASSUME_SOCK_CLOEXEC): Remove.
15344         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15345         (__have_paccept): Remove unused macro.
15346         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15347         * misc/syslog.c (openlog_internal): Remove fallback code for
15348         !__ASSUME_SOCK_CLOEXEC.
15349         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15350         missing SOCK_CLOEXEC.
15351         * nscd/connections.c (have_sock_cloexec): Remove definition.
15352         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15353         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15354         !__ASSUME_SOCK_CLOEXEC.
15355         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15356         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15357         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15358         definition.
15359         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15360         code for !__ASSUME_SOCK_CLOEXEC.
15362 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15364         [BZ #18982]
15365         * manual/stdio.texi (Variable Arguments Output): Add portability
15366         note, explaining that vfprintf clobbers the va_list pointer.
15368 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15370         * math/libm-test.inc (fabs_test_data): Add more tests.
15371         (fdim_test_data): Likewise.
15372         (fma_test_data): Likewise.
15373         (fmax_test_data): Likewise.
15374         (fmin_test_data): Likewise.
15375         (fmod_test_data): Likewise.
15377 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15379         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15380         data.
15382 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15384         * math/libm-test.inc (ceil_test_data): Add more tests and more
15385         expectations for "inexact".
15386         (floor_test_data): Add more tests.
15387         (round_test_data): Likewise.
15388         (trunc_test_data): Likewise.
15390         * crypt/cert.c (good_bye): Convert to prototype-style function
15391         definition.
15392         (get8): Likewise.
15393         (put8): Likewise.
15394         * crypt/crypt-entry.c (crypt): Likewise.
15395         (__fcrypt): Likewise.
15396         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15397         (_ufc_set_bits): Likewise.
15398         (_ufc_clearmem): Likewise.
15399         (__init_des_r): Likewise.
15400         (shuffle_sb): Likewise.
15401         (shuffle_sb): Likewise.
15402         (_ufc_setup_salt_r): Likewise.
15403         (_ufc_mk_keytab_r): Likewise.
15404         (_ufc_dofinalperm_r): Likewise.
15405         (encrypt): Likewise.
15406         (__setkey_r): Likewise.
15407         (setkey): Likewise.
15408         * crypt/md5.c (md5_init_ctx): Likewise.
15409         (md5_read_ctx): Likewise.
15410         (md5_finish_ctx): Likewise.
15411         (md5_stream): Likewise.
15412         (md5_buffer): Likewise.
15413         (md5_process_bytes): Likewise.
15414         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15415         (__sha256_finish_ctx): Likewise.
15416         (__sha256_process_bytes): Likewise.
15417         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15418         (__sha512_finish_ctx): Likewise.
15419         (__sha512_process_bytes): Likewise.
15420         * ctype/isctype.c (__isctype): Likewise.
15421         * debug/backtrace.c (__backtrace): Likewise.
15422         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15423         * debug/fgets_chk.c (__fgets_chk): Likewise.
15424         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15425         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15426         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15427         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15428         * debug/memset_chk.c (__memset_chk): Likewise.
15429         * debug/strcat_chk.c (__strcat_chk): Likewise.
15430         * debug/strncat_chk.c (__strncat_chk): Likewise.
15431         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15432         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15433         * dirent/dirfd.c (dirfd): Likewise.
15434         * dirent/getdents.c (__getdirentries): Likewise.
15435         * dirent/getdents64.c (getdirentries64): Likewise.
15436         * dirent/rewinddir.c (__rewinddir): Likewise.
15437         * dirent/seekdir.c (seekdir): Likewise.
15438         * dirent/telldir.c (telldir): Likewise.
15439         * elf/sln.c (makesymlinks): Likewise.
15440         (makesymlink): Likewise.
15441         * gmon/gmon.c (__moncontrol): Likewise.
15442         (__monstartup): Likewise.
15443         (write_hist): Likewise.
15444         (write_call_graph): Likewise.
15445         (write_bb_counts): Likewise.
15446         * grp/setgroups.c (setgroups): Likewise.
15447         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15448         * inet/inet_net.c (inet_network): Likewise.
15449         * inet/inet_netof.c (inet_netof): Likewise.
15450         * inet/rcmd.c (rresvport_af): Likewise.
15451         (rresvport): Likewise.
15452         * io/access.c (__access): Likewise.
15453         * io/chdir.c (__chdir): Likewise.
15454         * io/chmod.c (__chmod): Likewise.
15455         * io/chown.c (__chown): Likewise.
15456         * io/close.c (__close): Likewise.
15457         * io/creat.c (creat): Likewise.
15458         * io/creat64.c (creat64): Likewise.
15459         * io/dup.c (__dup): Likewise.
15460         * io/dup2.c (__dup2): Likewise.
15461         * io/dup3.c (__dup3): Likewise.
15462         * io/euidaccess.c (__euidaccess): Likewise.
15463         * io/faccessat.c (faccessat): Likewise.
15464         * io/fchmod.c (__fchmod): Likewise.
15465         * io/fchmodat.c (fchmodat): Likewise.
15466         * io/fchown.c (__fchown): Likewise.
15467         * io/fchownat.c (fchownat): Likewise.
15468         * io/fcntl.c (__fcntl): Likewise.
15469         * io/flock.c (__flock): Likewise.
15470         * io/fts.c (fts_load): Likewise.
15471         (fts_close): Likewise.
15472         (fts_read): Likewise.
15473         (fts_set): Likewise.
15474         (fts_children): Likewise.
15475         (fts_build): Likewise.
15476         (fts_stat): Likewise.
15477         (fts_sort): Likewise.
15478         (fts_alloc): Likewise.
15479         (fts_lfree): Likewise.
15480         (fts_palloc): Likewise.
15481         (fts_padjust): Likewise.
15482         (fts_maxarglen): Likewise.
15483         (fts_safe_changedir): Likewise.
15484         * io/getwd.c (getwd): Likewise.
15485         * io/isatty.c (__isatty): Likewise.
15486         * io/lchown.c (__lchown): Likewise.
15487         * io/link.c (__link): Likewise.
15488         * io/linkat.c (linkat): Likewise.
15489         * io/lseek.c (__libc_lseek): Likewise.
15490         * io/mkdir.c (__mkdir): Likewise.
15491         * io/mkdirat.c (mkdirat): Likewise.
15492         * io/mkfifo.c (mkfifo): Likewise.
15493         * io/mkfifoat.c (mkfifoat): Likewise.
15494         * io/open.c (__libc_open): Likewise.
15495         * io/open64.c (__libc_open64): Likewise.
15496         * io/readlink.c (__readlink): Likewise.
15497         * io/readlinkat.c (readlinkat): Likewise.
15498         * io/rmdir.c (__rmdir): Likewise.
15499         * io/symlink.c (__symlink): Likewise.
15500         * io/symlinkat.c (symlinkat): Likewise.
15501         * io/ttyname.c (ttyname): Likewise.
15502         * io/ttyname_r.c (__ttyname_r): Likewise.
15503         * io/umask.c (__umask): Likewise.
15504         * io/unlink.c (__unlink): Likewise.
15505         * io/unlinkat.c (unlinkat): Likewise.
15506         * io/utime.c (utime): Likewise.
15507         * libio/clearerr.c (clearerr): Likewise.
15508         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15509         * libio/feof.c (_IO_feof): Likewise.
15510         * libio/feof_u.c (feof_unlocked): Likewise.
15511         * libio/ferror.c (_IO_ferror): Likewise.
15512         * libio/ferror_u.c (ferror_unlocked): Likewise.
15513         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15514         * libio/fileno.c (__fileno): Likewise.
15515         * libio/fputc.c (fputc): Likewise.
15516         * libio/fputc_u.c (fputc_unlocked): Likewise.
15517         * libio/fputwc.c (fputwc): Likewise.
15518         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15519         * libio/freopen.c (freopen): Likewise.
15520         * libio/freopen64.c (freopen64): Likewise.
15521         * libio/fseek.c (fseek): Likewise.
15522         * libio/fseeko.c (fseeko): Likewise.
15523         * libio/fseeko64.c (fseeko64): Likewise.
15524         * libio/ftello.c (__ftello): Likewise.
15525         * libio/ftello64.c (ftello64): Likewise.
15526         * libio/fwide.c (fwide): Likewise.
15527         * libio/genops.c (_IO_un_link): Likewise.
15528         (_IO_link_in): Likewise.
15529         (_IO_least_marker): Likewise.
15530         (_IO_switch_to_main_get_area): Likewise.
15531         (_IO_switch_to_backup_area): Likewise.
15532         (_IO_switch_to_get_mode): Likewise.
15533         (_IO_free_backup_area): Likewise.
15534         (_IO_switch_to_put_mode): Likewise.
15535         (__overflow): Likewise.
15536         (__underflow): Likewise.
15537         (__uflow): Likewise.
15538         (_IO_setb): Likewise.
15539         (_IO_doallocbuf): Likewise.
15540         (_IO_default_underflow): Likewise.
15541         (_IO_default_uflow): Likewise.
15542         (_IO_default_xsputn): Likewise.
15543         (_IO_sgetn): Likewise.
15544         (_IO_default_xsgetn): Likewise.
15545         (_IO_sync): Likewise.
15546         (_IO_default_setbuf): Likewise.
15547         (_IO_default_seekpos): Likewise.
15548         (_IO_default_doallocate): Likewise.
15549         (_IO_init): Likewise.
15550         (_IO_old_init): Likewise.
15551         (_IO_default_sync): Likewise.
15552         (_IO_default_finish): Likewise.
15553         (_IO_default_seekoff): Likewise.
15554         (_IO_sputbackc): Likewise.
15555         (_IO_sungetc): Likewise.
15556         (_IO_set_column): Likewise.
15557         (_IO_set_column): Likewise.
15558         (_IO_adjust_column): Likewise.
15559         (_IO_get_column): Likewise.
15560         (_IO_init_marker): Likewise.
15561         (_IO_remove_marker): Likewise.
15562         (_IO_marker_difference): Likewise.
15563         (_IO_marker_delta): Likewise.
15564         (_IO_seekmark): Likewise.
15565         (_IO_unsave_markers): Likewise.
15566         (_IO_nobackup_pbackfail): Likewise.
15567         (_IO_default_pbackfail): Likewise.
15568         (_IO_default_seek): Likewise.
15569         (_IO_default_stat): Likewise.
15570         (_IO_default_read): Likewise.
15571         (_IO_default_write): Likewise.
15572         (_IO_default_showmanyc): Likewise.
15573         (_IO_default_imbue): Likewise.
15574         (_IO_iter_next): Likewise.
15575         (_IO_iter_file): Likewise.
15576         * libio/getc.c (_IO_getc): Likewise.
15577         * libio/getwc.c (_IO_getwc): Likewise.
15578         * libio/iofclose.c (_IO_new_fclose): Likewise.
15579         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15580         * libio/iofflush.c (_IO_fflush): Likewise.
15581         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15582         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15583         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15584         * libio/iofgets.c (_IO_fgets): Likewise.
15585         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15586         * libio/iofgetws.c (fgetws): Likewise.
15587         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15588         * libio/iofopen64.c (_IO_fopen64): Likewise.
15589         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15590         (_IO_cookie_write): Likewise.
15591         (_IO_cookie_seek): Likewise.
15592         (_IO_cookie_close): Likewise.
15593         (_IO_cookie_seekoff): Likewise.
15594         (_IO_old_cookie_seek): Likewise.
15595         * libio/iofputs.c (_IO_fputs): Likewise.
15596         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15597         * libio/iofputws.c (fputws): Likewise.
15598         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15599         * libio/iofread.c (_IO_fread): Likewise.
15600         * libio/iofread_u.c (__fread_unlocked): Likewise.
15601         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15602         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15603         * libio/ioftell.c (_IO_ftell): Likewise.
15604         * libio/iofwrite.c (_IO_fwrite): Likewise.
15605         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15606         * libio/iogets.c (_IO_gets): Likewise.
15607         * libio/iopadn.c (_IO_padn): Likewise.
15608         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15609         (_IO_new_popen): Likewise.
15610         (_IO_new_proc_close): Likewise.
15611         * libio/ioputs.c (_IO_puts): Likewise.
15612         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15613         (_IO_seekoff): Likewise.
15614         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15615         (_IO_seekpos): Likewise.
15616         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15617         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15618         * libio/ioungetc.c (_IO_ungetc): Likewise.
15619         * libio/ioungetwc.c (ungetwc): Likewise.
15620         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15621         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15622         * libio/iowpadn.c (_IO_wpadn): Likewise.
15623         * libio/libc_fatal.c (__libc_fatal): Likewise.
15624         * libio/memstream.c (__open_memstream): Likewise.
15625         (_IO_mem_sync): Likewise.
15626         (_IO_mem_finish): Likewise.
15627         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15628         (_IO_old_file_close_it): Likewise.
15629         (_IO_old_file_finish): Likewise.
15630         (_IO_old_file_fopen): Likewise.
15631         (_IO_old_file_attach): Likewise.
15632         (_IO_old_file_setbuf): Likewise.
15633         (_IO_old_do_write): Likewise.
15634         (old_do_write): Likewise.
15635         (_IO_old_file_underflow): Likewise.
15636         (_IO_old_file_overflow): Likewise.
15637         (_IO_old_file_sync): Likewise.
15638         (_IO_old_file_seekoff): Likewise.
15639         (_IO_old_file_write): Likewise.
15640         (_IO_old_file_xsputn): Likewise.
15641         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15642         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15643         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15644         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15645         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15646         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15647         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15648         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15649         (_IO_old_popen): Likewise.
15650         (_IO_old_proc_close): Likewise.
15651         * libio/oldpclose.c (__old_pclose): Likewise.
15652         * libio/pclose.c (__new_pclose): Likewise.
15653         * libio/peekc.c (_IO_peekc_locked): Likewise.
15654         * libio/putc.c (_IO_putc): Likewise.
15655         * libio/putc_u.c (putc_unlocked): Likewise.
15656         * libio/putchar.c (putchar): Likewise.
15657         * libio/putchar_u.c (putchar_unlocked): Likewise.
15658         * libio/putwc.c (putwc): Likewise.
15659         * libio/putwc_u.c (putwc_unlocked): Likewise.
15660         * libio/putwchar.c (putwchar): Likewise.
15661         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15662         * libio/rewind.c (rewind): Likewise.
15663         * libio/setbuf.c (setbuf): Likewise.
15664         * libio/setlinebuf.c (setlinebuf): Likewise.
15665         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15666         * libio/vscanf.c (_IO_vscanf): Likewise.
15667         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15668         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15669         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15670         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15671         (_IO_switch_to_main_wget_area): Likewise.
15672         (_IO_switch_to_wbackup_area): Likewise.
15673         (_IO_wsetb): Likewise.
15674         (_IO_wdefault_pbackfail): Likewise.
15675         (_IO_wdefault_finish): Likewise.
15676         (_IO_wdefault_uflow): Likewise.
15677         (__woverflow): Likewise.
15678         (__wuflow): Likewise.
15679         (__wunderflow): Likewise.
15680         (_IO_wdefault_xsputn): Likewise.
15681         (_IO_wdefault_xsgetn): Likewise.
15682         (_IO_wdoallocbuf): Likewise.
15683         (_IO_wdefault_doallocate): Likewise.
15684         (_IO_switch_to_wget_mode): Likewise.
15685         (_IO_free_wbackup_area): Likewise.
15686         (_IO_switch_to_wput_mode): Likewise.
15687         (_IO_sputbackwc): Likewise.
15688         (_IO_sungetwc): Likewise.
15689         (_IO_adjust_wcolumn): Likewise.
15690         (_IO_init_wmarker): Likewise.
15691         (_IO_wmarker_delta): Likewise.
15692         (_IO_seekwmark): Likewise.
15693         (_IO_unsave_wmarkers): Likewise.
15694         * libio/wmemstream.c (open_wmemstream): Likewise.
15695         (_IO_wmem_sync): Likewise.
15696         (_IO_wmem_finish): Likewise.
15697         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15698         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15699         * locale/programs/simple-hash.c (init_hash): Likewise.
15700         (delete_hash): Likewise.
15701         (insert_entry): Likewise.
15702         (set_entry): Likewise.
15703         (next_prime): Likewise.
15704         (is_prime): Likewise.
15705         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15706         (xmalloc): Likewise.
15707         (xrealloc): Likewise.
15708         * locale/programs/xstrdup.c (xstrdup): Likewise.
15709         * localedata/collate-test.c (xstrcoll): Likewise.
15710         * localedata/xfrm-test.c (xstrcmp): Likewise.
15711         * login/getlogin_r.c (__getlogin_r): Likewise.
15712         * login/getpt.c (__posix_openpt): Likewise.
15713         * login/login_tty.c (login_tty): Likewise.
15714         * login/setlogin.c (setlogin): Likewise.
15715         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15716         (mach_msg_destroy_port): Likewise.
15717         (mach_msg_destroy_memory): Likewise.
15718         * malloc/mcheck.c (flood): Likewise.
15719         * misc/acct.c (acct): Likewise.
15720         * misc/brk.c (__brk): Likewise.
15721         * misc/chflags.c (chflags): Likewise.
15722         * misc/chroot.c (chroot): Likewise.
15723         * misc/fchflags.c (fchflags): Likewise.
15724         * misc/fstab.c (getfsspec): Likewise.
15725         (getfsfile): Likewise.
15726         * misc/fsync.c (fsync): Likewise.
15727         * misc/ftruncate.c (__ftruncate): Likewise.
15728         * misc/ftruncate64.c (__ftruncate64): Likewise.
15729         * misc/getdomain.c (getdomainname): Likewise.
15730         (getdomainname): Likewise.
15731         * misc/gethostname.c (__gethostname): Likewise.
15732         * misc/getpass.c (getpass): Likewise.
15733         * misc/getttyent.c (skip): Likewise.
15734         (value): Likewise.
15735         * misc/gtty.c (gtty): Likewise.
15736         * misc/hsearch.c (hsearch): Likewise.
15737         (hcreate): Likewise.
15738         * misc/hsearch_r.c (__hcreate_r): Likewise.
15739         (__hdestroy_r): Likewise.
15740         * misc/ioctl.c (__ioctl): Likewise.
15741         * misc/mkdtemp.c (mkdtemp): Likewise.
15742         * misc/mkostemp.c (mkostemp): Likewise.
15743         * misc/mkostemp64.c (mkostemp64): Likewise.
15744         * misc/mkostemps.c (mkostemps): Likewise.
15745         * misc/mkostemps64.c (mkostemps64): Likewise.
15746         * misc/mkstemp.c (mkstemp): Likewise.
15747         * misc/mkstemp64.c (mkstemp64): Likewise.
15748         * misc/mkstemps.c (mkstemps): Likewise.
15749         * misc/mkstemps64.c (mkstemps64): Likewise.
15750         * misc/mktemp.c (__mktemp): Likewise.
15751         * misc/preadv.c (preadv): Likewise.
15752         * misc/preadv64.c (preadv64): Likewise.
15753         * misc/pwritev.c (pwritev): Likewise.
15754         * misc/pwritev64.c (pwritev64): Likewise.
15755         * misc/readv.c (__readv): Likewise.
15756         * misc/revoke.c (revoke): Likewise.
15757         * misc/setdomain.c (setdomainname): Likewise.
15758         * misc/setegid.c (setegid): Likewise.
15759         * misc/seteuid.c (seteuid): Likewise.
15760         * misc/sethostid.c (sethostid): Likewise.
15761         * misc/sethostname.c (sethostname): Likewise.
15762         * misc/setregid.c (__setregid): Likewise.
15763         * misc/setreuid.c (__setreuid): Likewise.
15764         * misc/sstk.c (sstk): Likewise.
15765         * misc/stty.c (stty): Likewise.
15766         * misc/syscall.c (syscall): Likewise.
15767         * misc/syslog.c (setlogmask): Likewise.
15768         * misc/truncate.c (__truncate): Likewise.
15769         * misc/truncate64.c (truncate64): Likewise.
15770         * misc/ualarm.c (ualarm): Likewise.
15771         * misc/usleep.c (usleep): Likewise.
15772         * misc/ustat.c (ustat): Likewise.
15773         * misc/writev.c (__writev): Likewise.
15774         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15775         * nptl/old_pthread_cond_broadcast.c
15776         (__pthread_cond_broadcast_2_0): Likewise.
15777         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15778         Likewise.
15779         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15780         Likewise.
15781         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15782         Likewise.
15783         * nptl/pt-raise.c (raise): Likewise.
15784         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15785         Likewise.
15786         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15787         * nptl/pthread_barrierattr_destroy.c
15788         (pthread_barrierattr_destroy): Likewise.
15789         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15790         Likewise.
15791         * nptl/pthread_barrierattr_setpshared.c
15792         (pthread_barrierattr_setpshared): Likewise.
15793         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15794         Likewise.
15795         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15796         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15797         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15798         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15799         Likewise.
15800         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15801         Likewise.
15802         * nptl/pthread_condattr_getpshared.c
15803         (pthread_condattr_getpshared): Likewise.
15804         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15805         Likewise.
15806         * nptl/pthread_condattr_setpshared.c
15807         (pthread_condattr_setpshared): Likewise.
15808         * nptl/pthread_detach.c (pthread_detach): Likewise.
15809         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15810         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15811         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15812         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15813         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15814         Likewise.
15815         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15816         Likewise.
15817         * nptl/pthread_mutex_getprioceiling.c
15818         (pthread_mutex_getprioceiling): Likewise.
15819         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15820         Likewise.
15821         * nptl/pthread_mutexattr_getprotocol.c
15822         (pthread_mutexattr_getprotocol): Likewise.
15823         * nptl/pthread_mutexattr_getpshared.c
15824         (pthread_mutexattr_getpshared): Likewise.
15825         * nptl/pthread_mutexattr_getrobust.c
15826         (pthread_mutexattr_getrobust): Likewise.
15827         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15828         Likewise.
15829         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15830         Likewise.
15831         * nptl/pthread_mutexattr_setprioceiling.c
15832         (pthread_mutexattr_setprioceiling): Likewise.
15833         * nptl/pthread_mutexattr_setprotocol.c
15834         (pthread_mutexattr_setprotocol): Likewise.
15835         * nptl/pthread_mutexattr_setpshared.c
15836         (pthread_mutexattr_setpshared): Likewise.
15837         * nptl/pthread_mutexattr_setrobust.c
15838         (pthread_mutexattr_setrobust): Likewise.
15839         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15840         Likewise.
15841         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15842         Likewise.
15843         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15844         Likewise.
15845         * nptl/pthread_rwlockattr_getkind_np.c
15846         (pthread_rwlockattr_getkind_np): Likewise.
15847         * nptl/pthread_rwlockattr_getpshared.c
15848         (pthread_rwlockattr_getpshared): Likewise.
15849         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15850         Likewise.
15851         * nptl/pthread_rwlockattr_setkind_np.c
15852         (pthread_rwlockattr_setkind_np): Likewise.
15853         * nptl/pthread_rwlockattr_setpshared.c
15854         (pthread_rwlockattr_setpshared): Likewise.
15855         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15856         Likewise.
15857         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15858         Likewise.
15859         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15860         Likewise.
15861         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15862         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15863         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15864         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15865         * nptl/sem_close.c (sem_close): Likewise.
15866         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15867         * nptl/sem_init.c (__old_sem_init): Likewise.
15868         * nptl/sigaction.c (__sigaction): Likewise.
15869         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15870         * posix/_exit.c (_exit): Likewise.
15871         * posix/alarm.c (alarm): Likewise.
15872         * posix/confstr.c (confstr): Likewise.
15873         * posix/fpathconf.c (__fpathconf): Likewise.
15874         * posix/getgroups.c (__getgroups): Likewise.
15875         * posix/getpgid.c (__getpgid): Likewise.
15876         * posix/group_member.c (__group_member): Likewise.
15877         * posix/pathconf.c (__pathconf): Likewise.
15878         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15879         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15880         * posix/setgid.c (__setgid): Likewise.
15881         * posix/setpgid.c (__setpgid): Likewise.
15882         * posix/setuid.c (__setuid): Likewise.
15883         * posix/sleep.c (__sleep): Likewise.
15884         * posix/sysconf.c (__sysconf): Likewise.
15885         * posix/times.c (__times): Likewise.
15886         * posix/uname.c (__uname): Likewise.
15887         * posix/waitid.c (__waitid): Likewise.
15888         * pwd/getpw.c (__getpw): Likewise.
15889         * resolv/base64.c (b64_pton): Likewise.
15890         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15891         * resolv/gethnamaddr.c (Dprintf): Likewise.
15892         (gethostbyname): Likewise.
15893         (gethostbyname2): Likewise.
15894         (gethostbyaddr): Likewise.
15895         (_sethtent): Likewise.
15896         (_gethtbyname): Likewise.
15897         (_gethtbyname2): Likewise.
15898         (_gethtbyaddr): Likewise.
15899         (map_v4v6_address): Likewise.
15900         (map_v4v6_hostent): Likewise.
15901         (addrsort): Likewise.
15902         (ht_sethostent): Likewise.
15903         (ht_gethostbyname): Likewise.
15904         (ht_gethostbyaddr): Likewise.
15905         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15906         (inet_net_ntop_ipv4): Likewise.
15907         * resolv/inet_neta.c (inet_neta): Likewise.
15908         * resolv/inet_ntop.c (inet_ntop): Likewise.
15909         (inet_ntop4): Likewise.
15910         (inet_ntop6): Likewise.
15911         * resolv/inet_pton.c (__inet_pton): Likewise.
15912         (inet_pton4): Likewise.
15913         (inet_pton6): Likewise.
15914         * resolv/res_debug.c (loc_aton): Likewise.
15915         (loc_ntoa): Likewise.
15916         * resource/getpriority.c (__getpriority): Likewise.
15917         * resource/getrusage.c (__getrusage): Likewise.
15918         * resource/nice.c (nice): Likewise.
15919         * resource/setpriority.c (__setpriority): Likewise.
15920         * resource/setrlimit64.c (setrlimit64): Likewise.
15921         * resource/vlimit.c (vlimit): Likewise.
15922         * resource/vtimes.c (vtimes): Likewise.
15923         * rt/aio_error.c (aio_error): Likewise.
15924         * rt/aio_return.c (aio_return): Likewise.
15925         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15926         * signal/kill.c (__kill): Likewise.
15927         * signal/killpg.c (killpg): Likewise.
15928         * signal/raise.c (raise): Likewise.
15929         * signal/sigaction.c (__sigaction): Likewise.
15930         * signal/sigaddset.c (sigaddset): Likewise.
15931         * signal/sigaltstack.c (sigaltstack): Likewise.
15932         * signal/sigandset.c (sigandset): Likewise.
15933         * signal/sigblock.c (__sigblock): Likewise.
15934         * signal/sigdelset.c (sigdelset): Likewise.
15935         * signal/sigempty.c (sigemptyset): Likewise.
15936         * signal/sigfillset.c (sigfillset): Likewise.
15937         * signal/sighold.c (sighold): Likewise.
15938         * signal/sigignore.c (sigignore): Likewise.
15939         * signal/sigintr.c (siginterrupt): Likewise.
15940         * signal/sigisempty.c (sigisemptyset): Likewise.
15941         * signal/sigismem.c (sigismember): Likewise.
15942         * signal/signal.c (signal): Likewise.
15943         * signal/sigorset.c (sigorset): Likewise.
15944         * signal/sigpause.c (__sigpause): Likewise.
15945         * signal/sigpending.c (sigpending): Likewise.
15946         * signal/sigprocmask.c (__sigprocmask): Likewise.
15947         * signal/sigrelse.c (sigrelse): Likewise.
15948         * signal/sigreturn.c (__sigreturn): Likewise.
15949         * signal/sigset.c (sigset): Likewise.
15950         * signal/sigsetmask.c (__sigsetmask): Likewise.
15951         * signal/sigstack.c (sigstack): Likewise.
15952         * signal/sigsuspend.c (__sigsuspend): Likewise.
15953         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15954         * signal/sysv_signal.c (__sysv_signal): Likewise.
15955         * socket/accept.c (accept): Likewise.
15956         * socket/accept4.c (__libc_accept4): Likewise.
15957         * socket/bind.c (__bind): Likewise.
15958         * socket/connect.c (__connect): Likewise.
15959         * socket/getpeername.c (getpeername): Likewise.
15960         * socket/getsockname.c (__getsockname): Likewise.
15961         * socket/getsockopt.c (getsockopt): Likewise.
15962         * socket/listen.c (__listen): Likewise.
15963         * socket/recv.c (__recv): Likewise.
15964         * socket/recvmsg.c (__recvmsg): Likewise.
15965         * socket/send.c (__send): Likewise.
15966         * socket/sendmsg.c (__sendmsg): Likewise.
15967         * socket/shutdown.c (shutdown): Likewise.
15968         * socket/sockatmark.c (sockatmark): Likewise.
15969         * socket/socket.c (__socket): Likewise.
15970         * stdio-common/ctermid.c (ctermid): Likewise.
15971         * stdio-common/cuserid.c (cuserid): Likewise.
15972         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15973         * stdio-common/remove.c (remove): Likewise.
15974         * stdio-common/rename.c (rename): Likewise.
15975         * stdio-common/renameat.c (renameat): Likewise.
15976         * stdio-common/tempname.c (__gen_tempname): Likewise.
15977         * stdio-common/xbug.c (InitBuffer): Likewise.
15978         (AppendToBuffer): Likewise.
15979         (ReadFile): Likewise.
15980         * stdlib/a64l.c (a64l): Likewise.
15981         * stdlib/drand48_r.c (drand48_r): Likewise.
15982         * stdlib/getcontext.c (getcontext): Likewise.
15983         * stdlib/getenv.c (getenv): Likewise.
15984         * stdlib/l64a.c (l64a): Likewise.
15985         * stdlib/llabs.c (llabs): Likewise.
15986         * stdlib/lldiv.c (lldiv): Likewise.
15987         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15988         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15989         * stdlib/putenv.c (putenv): Likewise.
15990         * stdlib/random.c (__srandom): Likewise.
15991         (__initstate): Likewise.
15992         (__setstate): Likewise.
15993         * stdlib/random_r.c (__srandom_r): Likewise.
15994         (__setstate_r): Likewise.
15995         (__random_r): Likewise.
15996         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15997         * stdlib/setcontext.c (setcontext): Likewise.
15998         * stdlib/setenv.c (setenv): Likewise.
15999         (unsetenv): Likewise.
16000         * stdlib/srand48.c (srand48): Likewise.
16001         * stdlib/srand48_r.c (__srand48_r): Likewise.
16002         * stdlib/swapcontext.c (swapcontext): Likewise.
16003         * stdlib/system.c (__libc_system): Likewise.
16004         * stdlib/tst-strtod.c (expand): Likewise.
16005         * stdlib/tst-strtol.c (expand): Likewise.
16006         * stdlib/tst-strtoll.c (expand): Likewise.
16007         * streams/fattach.c (fattach): Likewise.
16008         * streams/fdetach.c (fdetach): Likewise.
16009         * streams/getmsg.c (getmsg): Likewise.
16010         * streams/isastream.c (isastream): Likewise.
16011         * string/ffs.c (__ffs): Likewise.
16012         * string/ffsll.c (ffsll): Likewise.
16013         * string/memcmp.c (memcmp_common_alignment): Likewise.
16014         (memcmp_not_common_alignment): Likewise.
16015         (MEMCMP): Likewise.
16016         * string/memcpy.c (memcpy): Likewise.
16017         * string/memmove.c (MEMMOVE): Likewise.
16018         * string/memset.c (memset): Likewise.
16019         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16020         * string/strchrnul.c (STRCHRNUL): Likewise.
16021         * string/strerror.c (strerror): Likewise.
16022         * string/strndup.c (__strndup): Likewise.
16023         * string/strverscmp.c (__strverscmp): Likewise.
16024         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16025         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16026         (clnttcp_freeres): Likewise.
16027         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16028         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16029         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16030         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16031         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16032         (xdr_callhdr): Likewise.
16033         * sunrpc/rpcinfo.c (udpping): Likewise.
16034         (tcpping): Likewise.
16035         (pstatus): Likewise.
16036         (pmapdump): Likewise.
16037         (brdcst): Likewise.
16038         (deletereg): Likewise.
16039         (getprognum): Likewise.
16040         (getvers): Likewise.
16041         (get_inet_address): Likewise.
16042         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16043         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16044         (svcudp_stat): Likewise.
16045         (svcudp_recv): Likewise.
16046         (svcudp_reply): Likewise.
16047         (svcudp_getargs): Likewise.
16048         (svcudp_freeargs): Likewise.
16049         (svcudp_destroy): Likewise.
16050         * sunrpc/xdr.c (xdr_bytes): Likewise.
16051         (xdr_netobj): Likewise.
16052         (xdr_string): Likewise.
16053         (xdr_wrapstring): Likewise.
16054         * sunrpc/xdr_float.c (xdr_float): Likewise.
16055         (xdr_double): Likewise.
16056         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16057         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16058         * sysvipc/ftok.c (ftok): Likewise.
16059         * sysvipc/msgctl.c (msgctl): Likewise.
16060         * sysvipc/msgget.c (msgget): Likewise.
16061         * sysvipc/msgrcv.c (msgrcv): Likewise.
16062         * sysvipc/msgsnd.c (msgsnd): Likewise.
16063         * sysvipc/semget.c (semget): Likewise.
16064         * sysvipc/semop.c (semop): Likewise.
16065         * sysvipc/shmat.c (shmat): Likewise.
16066         * sysvipc/shmctl.c (shmctl): Likewise.
16067         * sysvipc/shmdt.c (shmdt): Likewise.
16068         * sysvipc/shmget.c (shmget): Likewise.
16069         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16070         * termios/speed.c (cfgetospeed): Likewise.
16071         (cfgetispeed): Likewise.
16072         (cfsetospeed): Likewise.
16073         (cfsetispeed): Likewise.
16074         * termios/tcflow.c (tcflow): Likewise.
16075         * termios/tcflush.c (tcflush): Likewise.
16076         * termios/tcgetattr.c (__tcgetattr): Likewise.
16077         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16078         * termios/tcgetsid.c (tcgetsid): Likewise.
16079         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16080         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16081         * time/adjtime.c (__adjtime): Likewise.
16082         * time/dysize.c (dysize): Likewise.
16083         * time/ftime.c (ftime): Likewise.
16084         * time/getitimer.c (__getitimer): Likewise.
16085         * time/gettimeofday.c (__gettimeofday): Likewise.
16086         * time/gmtime.c (__gmtime_r): Likewise.
16087         (gmtime): Likewise.
16088         * time/localtime.c (__localtime_r): Likewise.
16089         (localtime): Likewise.
16090         * time/offtime.c (__offtime): Likewise.
16091         * time/settimeofday.c (__settimeofday): Likewise.
16092         * time/stime.c (stime): Likewise.
16093         * time/strftime_l.c (tm_diff): Likewise.
16094         (iso_week_days): Likewise.
16095         * time/strptime.c (strptime): Likewise.
16096         * time/time.c (time): Likewise.
16097         * time/timespec_get.c (timespec_get): Likewise.
16098         * time/tzset.c (tzset_internal): Likewise.
16099         (compute_change): Likewise.
16100         (__tz_compute): Likewise.
16101         * wcsmbs/btowc.c (__btowc): Likewise.
16102         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16103         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16104         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16105         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16106         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16107         * wcsmbs/wcscat.c (__wcscat): Likewise.
16108         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16109         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16110         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16111         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16112         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16113         * wcsmbs/wcslen.c (__wcslen): Likewise.
16114         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16115         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16116         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16117         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16118         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16119         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16120         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16121         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16122         * wcsmbs/wcstok.c (wcstok): Likewise.
16123         * wcsmbs/wctob.c (wctob): Likewise.
16124         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16125         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16126         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16127         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16128         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16129         * wcsmbs/wmemset.c (__wmemset): Likewise.
16130         * wctype/wcfuncs.c (__towlower): Likewise.
16131         (__towupper): Likewise.
16133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16134         (lll_unlock_elision): Add adapt_count parameter.
16136 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16138         * sysdeps/nptl/configure.ac: Do not give errors based on the
16139         results of top-level configure tests.
16140         * sysdeps/nptl/configure: Regenerated.
16142         * configure.ac (libc_cv_Bgroup): Remove configure test.
16143         * configure: Regenerated.
16144         * config.make.in (have-Bgroup): Remove variable.
16146         * configure.ac (sizeof_long_double): Remove configure test.
16147         * configure: Regenerated.
16148         * config.make.in (sizeof-long-double): Remove variable.
16150         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16151         * configure: Regenerated.
16152         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16153         variable.
16154         (exceptions): Likewise.
16155         * sysdeps/arm/configure: Regenerated.
16156         * config.make.in (exceptions): Remove variable.
16157         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16158         $(exceptions).
16159         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16160         (CFLAGS-vdprintf_chk.c): Likewise.
16161         (CFLAGS-printf_chk.c): Likewise.
16162         (CFLAGS-fprintf_chk.c): Likewise.
16163         (CFLAGS-vprintf_chk.c): Likewise.
16164         (CFLAGS-vfprintf_chk.c): Likewise.
16165         (CFLAGS-gets_chk.c): Likewise.
16166         (CFLAGS-fgets_chk.c): Likewise.
16167         (CFLAGS-fgets_u_chk.c): Likewise.
16168         (CFLAGS-fread_chk.c): Likewise.
16169         (CFLAGS-fread_u_chk.c): Likewise.
16170         (CFLAGS-wprintf_chk.c): Likewise.
16171         (CFLAGS-fwprintf_chk.c): Likewise.
16172         (CFLAGS-vwprintf_chk.c): Likewise.
16173         (CFLAGS-vfwprintf_chk.c): Likewise.
16174         (CFLAGS-fgetws_chk.c): Likewise.
16175         (CFLAGS-fgetws_u_chk.c): Likewise.
16176         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16177         (CFLAGS-fputc.c): Likewise.
16178         (CFLAGS-fputwc.c): Likewise.
16179         (CFLAGS-freopen64.c): Likewise.
16180         (CFLAGS-freopen.c): Likewise.
16181         (CFLAGS-fseek.c): Likewise.
16182         (CFLAGS-fseeko64.c): Likewise.
16183         (CFLAGS-fseeko.c): Likewise.
16184         (CFLAGS-ftello64.c): Likewise.
16185         (CFLAGS-ftello.c): Likewise.
16186         (CFLAGS-fwide.c): Likewise.
16187         (CFLAGS-genops.c): Likewise.
16188         (CFLAGS-getc.c): Likewise.
16189         (CFLAGS-getchar.c): Likewise.
16190         (CFLAGS-getwc.c): Likewise.
16191         (CFLAGS-getwchar.c): Likewise.
16192         (CFLAGS-iofclose.c): Likewise.
16193         (CFLAGS-iofflush.c): Likewise.
16194         (CFLAGS-iofgetpos64.c): Likewise.
16195         (CFLAGS-iofgetpos.c): Likewise.
16196         (CFLAGS-iofgets.c): Likewise.
16197         (CFLAGS-iofgetws.c): Likewise.
16198         (CFLAGS-iofputs.c): Likewise.
16199         (CFLAGS-iofputws.c): Likewise.
16200         (CFLAGS-iofread.c): Likewise.
16201         (CFLAGS-iofsetpos64.c): Likewise.
16202         (CFLAGS-iofsetpos.c): Likewise.
16203         (CFLAGS-ioftell.c): Likewise.
16204         (CFLAGS-iofwrite.c): Likewise.
16205         (CFLAGS-iogetdelim.c): Likewise.
16206         (CFLAGS-iogetline.c): Likewise.
16207         (CFLAGS-iogets.c): Likewise.
16208         (CFLAGS-iogetwline.c): Likewise.
16209         (CFLAGS-ioputs.c): Likewise.
16210         (CFLAGS-ioseekoff.c): Likewise.
16211         (CFLAGS-ioseekpos.c): Likewise.
16212         (CFLAGS-iosetbuffer.c): Likewise.
16213         (CFLAGS-iosetvbuf.c): Likewise.
16214         (CFLAGS-ioungetc.c): Likewise.
16215         (CFLAGS-ioungetwc.c): Likewise.
16216         (CFLAGS-oldfileops.c): Likewise.
16217         (CFLAGS-oldiofclose.c): Likewise.
16218         (CFLAGS-oldiofgetpos64.c): Likewise.
16219         (CFLAGS-oldiofgetpos.c): Likewise.
16220         (CFLAGS-oldiofsetpos64.c): Likewise.
16221         (CFLAGS-oldiofsetpos.c): Likewise.
16222         (CFLAGS-peekc.c): Likewise.
16223         (CFLAGS-putc.c): Likewise.
16224         (CFLAGS-putchar.c): Likewise.
16225         (CFLAGS-putwc.c): Likewise.
16226         (CFLAGS-putwchar.c): Likewise.
16227         (CFLAGS-rewind.c): Likewise.
16228         (CFLAGS-wfileops.c): Likewise.
16229         (CFLAGS-wgenops.c): Likewise.
16230         (CFLAGS-oldiofopen.c): Likewise.
16231         (CFLAGS-iofopen.c): Likewise.
16232         (CFLAGS-iofopen64.c): Likewise.
16233         (CFLAGS-oldtmpfile.c): Likewise.
16234         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16235         (CFLAGS-fprintf.c): Likewise.
16236         (CFLAGS-printf.c): Likewise.
16237         (CFLAGS-vfwprintf.c): Likewise.
16238         (CFLAGS-vfscanf.c): Likewise.
16239         (CFLAGS-vfwscanf.c): Likewise.
16240         (CFLAGS-fscanf.c): Likewise.
16241         (CFLAGS-scanf.c): Likewise.
16242         (CFLAGS-isoc99_vfscanf.c): Likewise.
16243         (CFLAGS-isoc99_vscanf.c): Likewise.
16244         (CFLAGS-isoc99_fscanf.c): Likewise.
16245         (CFLAGS-isoc99_scanf.c): Likewise.
16246         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16247         (CFLAGS-isoc99_fwscanf.c): Likewise.
16248         (CFLAGS-isoc99_vwscanf.c): Likewise.
16249         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16251         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16252         after mkstemp64.
16253         * login/tst-utmp.c (do_prepare): Likewise.
16254         * rt/tst-aio.c (do_prepare): Likewise.
16255         * rt/tst-aio64.c (do_prepare): Likewise.
16257 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16259         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16260         (__lll_lock_elision): Remove adapt_count decrement...
16261         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16262         (__lll_trylock_elision): Likewise.
16263         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16264         (__lll_unlock_elision): ... to here. And utilize
16265         new adapt_count parameter.
16266         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16267         (__lll_unlock_elision): Update to include adapt_count
16268         parameter.
16269         (lll_unlock_elision): Pass pointer to adapt_count
16270         variable.
16272 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16274         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16275         Add elision adapt_count parameter to list of arguments.
16276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16277         (lll_unlock_elision): Update with new parameter list
16278         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16279         (lll_unlock_elision): Likewise.
16280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16281         (lll_unlock_elision): Likewise.
16283 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16285         [BZ #19122]
16286         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16287         attribute_hidden.
16289         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16290         attribute_hidden.
16291         [IS_IN (rtld)] (__strdup): Likewise.
16292         [IS_IN (rtld)] (__strerror_r): Likewise.
16293         [IS_IN (rtld)] (__strsep_g): Likewise.
16294         [IS_IN (rtld)] (memchr): Likewise.
16295         [IS_IN (rtld)] (memcmp): Likewise.
16296         [IS_IN (rtld)] (memcpy): Likewise.
16297         [IS_IN (rtld)] (memmove): Likewise.
16298         [IS_IN (rtld)] (memset): Likewise.
16299         [IS_IN (rtld)] (rawmemchr): Likewise.
16300         [IS_IN (rtld)] (stpcpy): Likewise.
16301         [IS_IN (rtld)] (strchr): Likewise.
16302         [IS_IN (rtld)] (strcmp): Likewise.
16303         [IS_IN (rtld)] (strlen): Likewise.
16304         [IS_IN (rtld)] (strnlen): Likewise.
16305         [IS_IN (rtld)] (strsep): Likewise.
16307         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16308         attribute_hidden.
16309         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16311         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16312         attribute_hidden.
16313         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16315         * include/setjmp.h (__longjmp): Add attribute_hidden.
16316         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16318         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16319         Add attribute_hidden.
16321         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16322         [IS_IN (rtld)] (__open): Likewise.
16323         [IS_IN (rtld)] (__fcntl): Likewise.
16325         * include/dirent.h (__opendirat): Add attribute_hidden.
16326         (__getdents): Likewise.
16327         (__getdents64): Likewise.
16328         (__alloc_dir): Likewise.
16329         [IS_IN (rtld)] (__closedir): Likewise.
16330         [IS_IN (rtld)] (__fdopendir): Likewise.
16331         [IS_IN (rtld)] (__readdir): Likewise.
16332         [IS_IN (rtld)] (__readdir64): Likewise.
16333         [IS_IN (rtld)] (__rewinddir): Likewise.
16335         * include/dlfcn.h (_dl_catch_error): Moved to ...
16336         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16337         attribute_hidden.
16339         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16340         (_itoa_word): Likewise.
16342         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16343         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16344         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16345         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16346         (_dl_higher_prime_number): Likewise.
16347         (_dl_debug_printf_c): Likewise.
16348         (_dl_signal_cerror): Likewise.
16349         (_dl_receive_error): Likewise.
16350         (_dl_reloc_bad_type): Likewise.
16351         (_dl_resolve_conflicts): Likewise.
16352         (_dl_check_all_versions): Likewise.
16353         (_dl_check_map_versions): Likewise.
16354         (_dl_sort_fini): Likewise.
16355         (_dl_debug_initialize): Likewise.
16356         (_dl_init_paths): Likewise.
16357         (_dl_show_auxv): Likewise.
16358         (_dl_next_ld_env_entry): Likewise.
16359         (_dl_important_hwcaps): Likewise.
16360         (_dl_load_cache_lookup): Likewise.
16361         (_dl_update_slotinfo): Likewise.
16362         (_dl_show_scope): Likewise.
16364         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16365         attribute_hidden.
16366         (_wordcopy_fwd_dest_aligned): Likewise.
16367         (_wordcopy_bwd_aligned): Likewise.
16368         (_wordcopy_bwd_dest_aligned): Likewise.
16370         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16371         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16372         Likewise.
16373         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16374         Likewise.
16375         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16377 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16380         GCC 5 requirement.
16382 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16384         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16385         test.
16386         * sysdeps/i386/configure: Regenerated.
16387         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16388         code unconditional.
16390         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16391         test.
16392         (libc_cv_asm_popsection_directive): Likewise.
16393         * configure: Regenerated.
16394         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16395         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16396         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16397         (__make_section_unallocated): Make definition unconditional.
16398         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16399         Remove conditional definition.
16400         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16401         (__make_section_unallocated): Likewise.
16403         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16404         * configure: Regenerated.
16405         * config.make.in (static-libgcc): Remove variable.
16406         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16407         $(static-libgcc).
16408         (build-module-helper): Likewise.
16410         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16411         * configure: Regenerated.
16413 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16415         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16416         (struct char_buffer): New type.
16417         (char_buffer_start, char_buffer_size, char_buffer_error)
16418         (char_buffer_rewind, char_buffer_add): New functions.
16419         (ADDW): Remove macro, replaced by the char_buffer_add function.
16420         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16421         of extend_alloca.  Make control flow more explicit.
16423 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16425         [BZ #19137]
16426         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16427         Add -fomit-frame-pointer.
16428         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16430 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16432         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16433         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16435         only if !__GNUC_PREREQ (5,0).
16436         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16437         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16438         (INTERNAL_SYSCALL_NCS): Likewise.
16439         (LOADREGS_0): New macro for GCC 5.
16440         (ASMARGS_0): Likewise.
16441         (LOADREGS_1): Likewise.
16442         (ASMARGS_1): Likewise.
16443         (LOADREGS_2): Likewise.
16444         (ASMARGS_2): Likewise.
16445         (LOADREGS_3): Likewise.
16446         (ASMARGS_3): Likewise.
16447         (LOADREGS_4): Likewise.
16448         (ASMARGS_4): Likewise.
16449         (LOADREGS_5): Likewise.
16450         (ASMARGS_5): Likewise.
16451         (LOADREGS_6): Likewise.
16452         (ASMARGS_6): Likewise.
16454 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16456         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16457         -fomit-frame-pointer.
16458         (CFLAGS-mmap64.c): Likewise.
16459         (CFLAGS-semtimedop.c): Likewise.
16460         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16461         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16462         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16463         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16465 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16467         [BZ #18928]
16468         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16469         _dl_pointer_guard member.
16470         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16471         initializer.
16472         (security_init): Always set up pointer guard.
16473         (process_envvars): Do not process LD_POINTER_GUARD.
16475 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16477         [BZ #19134]
16478         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16479         (.LC2): Likewise.
16480         (.LC3): Likewise.
16481         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16483 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16485         [BZ #19129]
16486         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16487         r0 and r1.
16489 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16491         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16493 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16495         * include/stap-probe.h: Fix macro definition formatting.
16497 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16499         [BZ #19074]
16500         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16501         load and store num_ifs.
16503 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16505         [BZ #18822]
16506         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16507         (__sched_getaffinity_new): Add libc_hidden_proto and
16508         libc_hidden_def.
16510 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16512         [BZ #19007]
16513         * scripts/localplt.awk: Also allow GOT references.
16514         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16515         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16516         with "+ REL R_386_GLOB_DAT".
16517         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16518         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16520 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16522         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16523         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16524         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16525         Likewise.
16526         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16527         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16528         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16529         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16530         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16531         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16532         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16533         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16534         Likewise.
16535         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16537 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16539         [BZ #19125]
16540         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16541         <math_private.h> and <stdint.h>.
16542         (__llround): Avoid conversions to and from long long int, and
16543         subtractions, where those might raise spurious exceptions.
16544         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16545         <math_private.h> and <stdint.h>.
16546         (__llroundf): Avoid conversions to and from long long int, and
16547         subtractions, where those might raise spurious exceptions.
16549 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16551         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16552         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16553         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16554         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16555         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16556         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16557         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16558         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16559         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16560         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16561         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16562         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16563         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16564         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16565         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16566         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16567         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16568         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16569         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16570         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16571         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16572         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16573         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16574         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16575         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16576         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16577         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16578         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16579         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16580         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16581         (__xstat64_conv): Likewise.
16582         (__xstat32_conv): Likewise.
16584 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16586         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16587         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16588         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16589         <sysdeps/unix/sysv/linux/sysdep.h>.
16590         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16591         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16592         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16593         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16594         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16595         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16596         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16597         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16598         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16602         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16603         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16604         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16606         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16607         (sysdep-dl-routines): Add sysdep.
16608         [$(subdir) == nptl] (libpthread-routines): Likewise.
16609         [$(subdir) == rt] (librt-routines): Likewise.
16610         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16611         PIC when branching to SYSCALL_ERROR_LABEL.
16612         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16613         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16614         <sysdeps/unix/sysv/linux/sysdep.h>.
16615         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16616         (SYSCALL_ERROR_ERRNO): Removed.
16617         (SYSCALL_ERROR_HANDLER): Changed to empty.
16618         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16619         (__syscall_error): New prototype.
16620         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16621         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16623 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16625         [BZ #19124]
16626         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16627         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16628         _dl_runtime_resolve_avx.
16629         (_dl_runtime_profile_avx512): Make it a hidden alias of
16630         _dl_runtime_profile_avx.
16632 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16634         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16635         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16636         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16637         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16639         [BZ #16422]
16640         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16641         New configure test.
16642         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16643         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16644         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16645         <math_private.h> and <stdint.h>.
16646         (__llrint): Avoid conversions to long long int where those might
16647         raise spurious exceptions.
16648         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16649         <math_private.h> and <stdint.h>.
16650         (__llrintf): Avoid conversions to long long int where those might
16651         raise spurious exceptions.
16653 2015-10-12  Andreas Schwab  <schwab@suse.de>
16655         [BZ #18969]
16656         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16657         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16658         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16659         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16660         $(gen-locales).
16661         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16662         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16663         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16664         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16665         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16666         $(gen-locales).
16667         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16668         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16669         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16670         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16671         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16672         ($(objpfx)tst-ftell-active-handler.out)
16673         ($(objpfx)tst-ftell-append.out)
16674         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16675         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16676         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16677         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16678         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16679         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16680         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16681         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16682         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16683         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16684         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16685         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16686         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16687         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16688         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16689         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16690         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16691         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16692         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16693         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16694         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16695         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16696         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16697         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16698         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16699         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16700         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16701         $(gen-locales).
16702         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16703         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16704         $(gen-locales).
16705         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16706         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16707         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16708         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16709         $(gen-locales).
16710         * libio/tst_wprintf2.c (main): Use explicit locale.
16711         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16713 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16715         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16716         __msg_sig_post.
16717         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16719 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16721         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16722         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16724         * sysdeps/arm/libm-test-ulps: Regenerated.
16726         [BZ #15470]
16727         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16729         [BZ #16399]
16730         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16731         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16732         and <fix-fp-int-convert-overflow.h>.
16733         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16734         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16735         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16736         and <fix-fp-int-convert-overflow.h>.
16737         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16738         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16739         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16740         <fix-fp-int-convert-overflow.h>.
16741         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16742         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16743         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16744         <fix-fp-int-convert-overflow.h>.
16745         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16746         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16747         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16748         and <fix-fp-int-convert-overflow.h>.
16749         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16750         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16751         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16752         <limits.h> and <fix-fp-int-convert-overflow.h>.
16753         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16754         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16755         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16756         and <fix-fp-int-convert-overflow.h>.
16757         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16758         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16759         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16760         and <fix-fp-int-convert-overflow.h>.
16761         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16762         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16763         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16765 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16767         [BZ #18589]
16768         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16769         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16770         $(gen-locales).
16772 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16773             Phil Blundell <pb@pbcl.net>
16775         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16776         * nptl/tst-cancel26.c: New file.
16777         * nptl/tst-cancel27.c: Likewise.
16779 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16781         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16782         __ILP32__ isn't defined.
16783         (lrint): Likewise.
16784         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16785         (lrintf): Likewise.
16786         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16787         (lrintl): Likewise.
16788         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16789         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16790         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16792 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16794         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16795         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16797         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16798         file.
16799         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16800         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16802 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16804         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16805         configure test.
16806         * sysdeps/i386/configure: Regenerated.
16807         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16808         configure test.
16809         * sysdeps/x86_64/configure: Regenerated.
16810         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16811         Make code unconditional.
16813         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16814         test.
16815         * sysdeps/i386/configure: Regenerated.
16816         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16817         test.
16818         * sysdeps/x86_64/configure: Regenerated.
16819         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16820         Make code unconditional.
16821         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16822         Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16824         Likewise.
16825         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16826         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16827         code unconditional.
16828         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16829         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16830         code unconditional.
16831         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16832         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16833         code unconditional.
16834         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16835         code unconditional.
16836         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16837         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16838         code unconditional.
16839         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16840         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16841         code unconditional.
16842         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16843         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16844         code unconditional.
16845         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16846         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16847         code unconditional.
16848         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16849         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16851         [BZ #19095]
16852         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16853         mantissa to long int before shifting left.
16855 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16857         [BZ #19094]
16858         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16859         <limits.h>.
16860         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16861         when result overflows but exception would not result from cast.
16862         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16863         <limits.h>.
16864         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16865         when result overflows but exception would not result from cast.
16866         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16867         <limits.h>.
16868         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16869         when result overflows but exception would not result from cast.
16870         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16871         <limits.h>.
16872         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16873         when result overflows but exception would not result from cast.
16874         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16875         <limits.h>.
16876         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16877         when result overflows but exception would not result from cast.
16878         * math/libm-test.inc (lrint_test_data): Add more tests.
16879         (llrint_test_data): Likewise.
16881 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16883         [BZ #18872]
16884         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16885         Move out from under [$(run-built-tests) = yes] conditional.
16886         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16887         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16889 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16891         [BZ #18589]
16892         * string/Makefile (tests): Add bug-strcoll2.
16893         (LOCALES): Add cs_CZ.UTF-8.
16894         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16896         [BZ #18589]
16897         * string/bug-strcoll2.c: New file.
16898         * locale/categories.def: Revert commit
16899         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16900         * locale/langinfo.h: Likewise.
16901         * locale/localeinfo.h: Likewise.
16902         * locale/C-collate.c: Likewise.
16903         * locale/programs/ld-collate.c (collate_output): Likewise.
16904         * string/strcoll_l.c (STRDIFF): Likewise.
16905         (STRCOLL): Likewise.
16906         * wcsmbs/wcscoll_l.c: Likewise.
16908 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16910         * math/libm-test.inc (lround_test_data): Do not expect the absence
16911         of "inexact" for some tests with non-integer arguments.
16912         (llround_test_data): Likewise.
16914         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16915         test.
16916         (libc_cv_cc_sse2avx): Likewise.
16917         * sysdeps/i386/configure: Regenerated.
16918         * sysdeps/i386/i686/multiarch/Makefile
16919         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16920         [$(subdir) = math].
16921         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16922         code unconditional.
16923         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16924         Likewise.
16925         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16926         Likewise.
16927         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16928         Likewise.
16929         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16930         test.
16931         (libc_cv_cc_sse2avx): Likewise.
16932         * sysdeps/x86_64/configure: Regenerated.
16933         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16934         unconditional.
16935         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16936         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16937         unconditional.
16938         (_dl_runtime_profile)
16939         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16940         conditional code.
16941         * sysdeps/x86_64/fpu/multiarch/Makefile
16942         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16943         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16944         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16945         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16946         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16947         * sysdeps/x86_64/fpu/multiarch/e_log.c
16948         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16949         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16950         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16951         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16952         Likewise.
16953         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16954         Likewise.
16955         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16956         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16957         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16958         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16959         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16960         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16961         (HAVE_SSE2AVX_SUPPORT): Likewise.
16963 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16965         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16966         instead of #pragma optimize.
16968 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16970         [BZ #17195]
16971         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16972         as is similarly done in systrim and _int_free already.
16974 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16976         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16978 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16980         [BZ #19088]
16981         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16982         <limits.h>.
16983         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16984         overflows but exception would not result from cast.
16985         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16986         and <limits.h>.
16987         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16988         overflows but exception would not result from cast.
16989         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16990         <limits.h>.
16991         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16992         overflows but exception would not result from cast.
16993         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16994         <limits.h>.
16995         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16996         overflows but exception would not result from cast.
16997         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16998         <limits.h>.
16999         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17000         overflows but exception would not result from cast.
17001         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17002         <limits.h>.
17003         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17004         overflows but exception would not result from cast.
17005         * math/libm-test.inc (lround_test_data): Add more tests.
17006         (llround_test_data): Likewise.
17008 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17010         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17011         (CFLAGS-ialloc.c): Ditto.
17012         (CFLAGS-scheck.c): Ditto.
17014 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17016         [BZ #19086]
17017         * manual/filesys.texi (Storage Allocation): Fix argument order for
17018         posix_fallocate64.
17020 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17022         [BZ #19085]
17023         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17024         exponent below 48 inside case for non-overflowing exponent.
17025         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17027 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17029         * iconvdata/cp737.h (from_idx): Add const.
17030         * iconvdata/cp775.h (from_idx): Likewise.
17032 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17034         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17035         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17036         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17038         [BZ #19079]
17039         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17040         file, conditioned on [!_LP64].
17041         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17042         [!_LP64] (__lround): Do not define as function or alias.
17043         [!_LP64] (lround): Likewise.
17044         [!_LP64] (__lroundl): Likewise.
17045         [!_LP64] (lroundl): Likewise.
17046         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17047         macro.
17048         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17049         Likewise.
17051 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17053         * math/libm-test.inc (lrint_test_data): Add more tests.
17054         (llrint_test_data): Likewise.
17055         (lround_test_data): Likewise.
17056         (llround_test_data): Likewise.
17058         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17059         (llrint_test_data): Add tests used for lrint.
17061         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17062         test.
17063         * sysdeps/i386/configure: Regenerated.
17064         * sysdeps/i386/i686/multiarch/Makefile
17065         [$(config-cflags-sse4) = yes]: Make code unconditional.
17066         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17067         Likewise.
17068         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17069         Likewise.
17070         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17071         test.
17072         * sysdeps/x86_64/configure: Regenerated.
17073         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17074         Make code unconditional.
17075         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17076         Likewise.
17077         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17078         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17080         * scripts/rpm2dynsym.sh: Remove file.
17082 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17084         * configure.ac (libc_cv_cxx_thread_local): Define.
17085         * configure: Regenerate.
17086         * config.make.in (have-cxx-thread_local): Define.
17087         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17088         (LDLIBS-tst-thread_local1): Define.
17089         (tests): Add tst-thread_local1.
17090         [have-cxx-thread_local != yes] (tests-unsupported): Add
17091         tst-thread_local1.
17092         * nptl/tst-thread_local1.cc: New file.
17094 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17096         [BZ #19078]
17097         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17098         (u_thres): Likewise.
17099         (__expl): Determine whether to call __kernel_standard_l based on
17100         value of result, not argument.
17102         * math/libm-test.inc (scalb_test_data): Add more expectations for
17103         the "inexact" exception.
17105         [BZ #19077]
17106         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17107         0.0L for argument 1.0L.
17109         [BZ #19076]
17110         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17111         constant 0.0L when computing infinite result.
17113 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17115         [BZ #10432]
17116         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17117         malloc_usable_size.
17119 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17121         [BZ #19018]
17122         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17123         Mangle function pointer before storing it.
17124         (__call_tls_dtors): Demangle function pointer before calling it.
17126 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17128         [BZ #19012]
17129         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17130         Clean up on failure.
17132 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17134         [BZ #19071]
17135         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17136         long int variable to store possibly incremented high part of
17137         mantissa.
17138         * math/libm-test.inc (lround_test_data): Add tests used for
17139         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17140         for tests requiring 64-bit long.  Do not condition tests on
17141         [TEST_FLOAT] unnecessarily.
17142         (llround_test_data): Add tests used for lround.  Add another
17143         expectation for the "inexact" exception.  Do not condition tests
17144         on [TEST_FLOAT] unnecessarily.
17146         [BZ #887]
17147         [BZ #19049]
17148         [BZ #19050]
17149         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17150         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17151         <fix-int-fp-convert-zero.h>.
17152         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17153         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17154         <fix-int-fp-convert-zero.h>.
17155         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17156         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17157         <fix-int-fp-convert-zero.h>.
17158         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17159         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17160         <fix-int-fp-convert-zero.h>.
17161         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17162         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17163         <fix-int-fp-convert-zero.h>.
17164         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17165         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17166         <fix-int-fp-convert-zero.h>.
17167         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17168         * sysdeps/ieee754/flt-32/s_erff.c: Include
17169         <fix-int-fp-convert-zero.h>.
17170         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17171         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17172         <fix-int-fp-convert-zero.h>.
17173         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17175         <fix-int-fp-convert-zero.h>.
17176         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17177         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17178         <fix-int-fp-convert-zero.h>.
17179         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17180         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17181         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17182         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17183         file.
17184         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17186 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17188         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17190 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17192         [BZ #19059]
17193         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17194         overflowing computation.
17195         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17196         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17197         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17198         Likewise.
17199         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17200         Likewise.
17201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17202         Likewise.
17203         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17204         Likewise.
17205         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17206         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17207         Likewise.
17208         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17209         Likewise.
17210         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17212         * nss/rewrite_field.c (__nss_rewrite_field): Use
17213         internal_function.
17214         * nss/valid_field.c (__nss_valid_field): Likewise.
17215         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17217 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17219         [BZ #18724]
17220         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17221         (__nss_invalid_field_characters, __nss_valid_field)
17222         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17223         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17224         tst-field.c: New file.
17225         * nss/Makefile (routines): Add valid_field, rewrite_field.
17226         (tests-static): Define unconditionally.
17227         (tests): Include tests-static.
17228         [build-static-nss] (tests-static): Use append.
17229         [build-static-nss] (tests): Remove modification.
17230         * nss/getent.c (print_group): Call putgrent.  Report error.
17231         (print_gshadow): Call putsgent.  Report error.
17232         (print_passwd): Call putpwent.  Report error.
17233         (print_shadow): Call putspent.  Report error.
17234         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17235         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17236         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17237         name, password, directory, shell fields for valid syntax.  Rewrite
17238         GECOS field to match syntax.
17239         * pwd/Makefile (tests): Add tst-putpwent.
17240         * pwd/tst-putpwent.c: New file.
17241         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17242         Check grName, grpasswd, gr_mem fields for valid syntax.
17243         Change loop variable i to size_t.
17244         * grp/Makefile (tests): Add tst-putgrent.
17245         * grp/tst-putgrent.c: New file.
17246         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17247         valid syntax.
17248         * shadow/Makefile (tests): Add tst-putspent.
17249         * shadow/tst-putspent.c: New file.
17250         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17251         sg_mem fields for valid syntax.
17252         * gshadow/Makefile (tests): Add tst-putsgent.
17253         * gshadow/tst-putsgent.c: New file.
17255 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17257         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17258         assembly instructions.
17260 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17262         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17263         prefix from operands.
17265 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17267         [BZ #16347]
17268         [BZ #19046]
17269         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17270         <libc-internal.h>.
17271         (MAXLGM): Do not use diagnostic control macros.
17272         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17273         threshold for ldbl-128ibm.
17274         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17275         instead of multiplying by log then subtracting.
17276         * math/auto-libm-test-in: Add more tests of lgamma.
17277         * math/auto-libm-test-out: Regenerated.
17279         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17280         (TYPE_HEX_DIG): Likewise.
17281         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17282         precisions when printing floating-point numbers.
17283         (check_float_internal): Likewise.
17285 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17287         [BZ #16620]
17288         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17289         of log (10) rounded downward to 48 bits.
17290         (log10_low): Use corresponding low part of log (10).
17292         [BZ #19032]
17293         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17294         compute result as (x - x) / (x - x) not as 0 / 0.
17295         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17296         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17298         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17299         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17300         and expm1.
17301         * math/auto-libm-test-out: Regenerated.
17302         * math/libm-test.inc (acos_test_data): Add more tests.
17303         (asin_test_data): Likewise.
17304         (asinh_test_data): Likewise.
17305         (atan_test_data): Likewise.
17306         (atanh_test_data): Likewise.
17307         (atan2_test_data): Likewise.
17308         (cbrt_test_data): Likewise.
17309         (ceil_test_data): Likewise.
17310         (copysign_test_data): Likewise.
17311         (cos_test_data): Likewise.
17312         (cosh_test_data): Likewise.
17313         (erf_test_data): Likewise.
17314         (erfc_test_data): Likewise.
17315         (exp_test_data): Likewise.
17316         (exp10_test_data): Likewise.
17317         (exp2_test_data): Likewise.
17318         (expm1_test_data): Likewise.
17319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17321 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17323         [BZ #19006]
17324         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17325         to ...
17326         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17327         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17328         to ...
17329         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17330         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17331         to ...
17332         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17333         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17334         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17335         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17336         to ...
17337         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17338         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17339         Moved to ...
17340         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17342         Moved to ...
17343         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17344         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17345         to ...
17346         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17347         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17348         Moved to ...
17349         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17350         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17351         to ...
17352         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17353         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17354         Removed.
17355         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17356         Likewise.
17357         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17358         Likewise.
17359         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17360         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17361         Likewise.
17362         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17363         Likewise.
17364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17365         Likewise.
17366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17367         Likewise.
17368         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17369         Likewise.
17370         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17373         Likewise.
17374         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17375         Likewise.
17376         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17377         Likewise.
17378         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17379         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17380         Likewise.
17381         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17382         Likewise.
17383         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17384         Likewise.
17385         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17388         Likewise.
17389         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17390         Replace ../i486/pthread_cond_timedwait.S with
17391         ../pthread_cond_timedwait.S.
17393 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17395         * math/libm-test.inc (acos_test_data): Refine expectations for
17396         errno and "inexact" exceptions.
17397         (acosh_test_data): Likewise.
17398         (asin_test_data): Likewise.
17399         (asinh_test_data): Likewise.
17400         (atan_test_data): Likewise.
17401         (atanh_test_data): Likewise.
17402         (atan2_test_data): Likewise.
17403         (cbrt_test_data): Likewise.
17404         (ceil_test_data): Likewise.
17405         (copysign_test_data): Likewise.
17406         (cosh_test_data): Likewise.
17407         (erf_test_data): Likewise.
17408         (erfc_test_data): Likewise.
17409         (exp_test_data): Likewise.
17410         (exp10_test_data): Likewise.
17411         (exp2_test_data): Likewise.
17412         (expm1_test_data): Likewise.
17413         (fabs_test_data): Likewise.
17414         (floor_test_data): Likewise.
17415         (fma_test_data): Likewise.
17416         (fmax_test_data): Likewise.
17417         (fmin_test_data): Likewise.
17418         (fmod_test_data): Likewise.
17419         (fpclassify_test_data): Likewise.
17420         (frexp_test_data): Likewise.
17421         (hypot_test_data): Likewise.
17422         (ilogb_test_data): Likewise.
17423         (isgreater_test_data): Likewise.
17424         (isgreaterequal_test_data): Likewise.
17425         (isinf_test_data): Likewise.
17426         (isless_test_data): Likewise.
17427         (islessequal_test_data): Likewise.
17428         (islessgreater_test_data): Likewise.
17429         (isnan_test_data): Likewise.
17430         (isnormal_test_data): Likewise.
17431         (issignaling_test_data): Likewise.
17432         (isunordered_test_data): Likewise.
17433         (j0_test_data): Likewise.
17434         (j1_test_data): Likewise.
17435         (jn_test_data): Likewise.
17436         (lgamma_test_data): Likewise.
17437         (lrint_test_data): Likewise.
17438         (llrint_test_data): Likewise.
17439         (log_test_data): Likewise.
17440         (log10_test_data): Likewise.
17441         (log1p_test_data): Likewise.
17442         (log2_test_data): Likewise.
17443         (logb_test_data): Likewise.
17444         (lround_test_data): Likewise.
17445         (llround_test_data): Likewise.
17446         (modf_test_data): Likewise.
17447         (nearbyint_test_data): Likewise.
17448         (nextafter_test_data): Likewise.
17449         (nexttoward_test_data): Likewise.
17450         (pow_test_data): Likewise.
17451         (remainder_test_data): Likewise.
17452         (remquo_test_data): Likewise.
17453         (rint_test_data): Likewise.
17454         (round_test_data): Likewise.
17455         (signbit_test_data): Likewise.
17456         (sinh_test_data): Likewise.
17457         (sqrt_test_data): Likewise.
17458         (tanh_test_data): Likewise.
17459         (tgamma_test_data): Likewise.
17460         (trunc_test_data): Likewise.
17461         (y0_test_data): Likewise.
17462         (y1_test_data): Likewise.
17463         (yn_test_data): Likewise.
17464         (significand_test_data): Likewise.
17466 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17468         * manual/filesys.texi (Storage Allocation): Document that
17469         posix_fallocate emulation fails when fd is open with O_WRONLY.
17471 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17473         [BZ #19016]
17474         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17475         allow more cases with X^2 + Y^2 >= 0.5.
17476         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17477         normal element in sum instead of special-casing based on values of
17478         arguments.
17479         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17480         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17481         -1 as normal element in sum instead of special-casing based on
17482         values of arguments.
17483         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17484         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17485         (__x2y2m1): Update comment.
17486         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17487         as normal element in sum instead of special-casing based on values
17488         of arguments.
17489         * math/s_clog.c (__clog): Handle more cases using log1p without
17490         hypot.
17491         * math/s_clog10.c (__clog10): Likewise.
17492         * math/s_clog10f.c (__clog10f): Likewise.
17493         * math/s_clog10l.c (__clog10l): Likewise.
17494         * math/s_clogf.c (__clogf): Likewise.
17495         * math/s_clogl.c (__clogl): Likewise.
17496         * math/auto-libm-test-in: Add more tests of clog and clog10.
17497         * math/auto-libm-test-out: Regenerated.
17498         * sysdeps/i386/fpu/libm-test-ulps: Update.
17499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17501 2015-09-28  Martin Sebor  <msebor@redhat.com>
17503         [BZ #18969]
17504         * string/Makefile (LOCALES): Define.
17505         (gen-locales.mk): Include.
17506         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17507         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17508         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17509         on setlocale failure.
17511 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17513         [BZ #18985]
17514         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17515         (__strftime_internal): Likewise.
17516         * time/tst-strftime.c (do_bz18985): New test.
17517         (do_test): Call it.
17519 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17521         [BZ #18956]
17522         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17523         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17524         extracting high part.
17525         * math/auto-libm-test-in: Add another test of pow.
17526         * math/auto-libm-test-out: Regenerated.
17527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17529 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17531         [BZ #18825]
17532         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17533         New macro.
17534         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17535         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17536         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17537         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17538         DBL_NARROW_EVAL, reloading the PIC register as needed.
17539         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17540         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17541         FLT_NARROW_EVAL.  Use separate return path for case when first
17542         argument is NaN.
17543         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17544         DEFINE_LDBL_MIN.
17545         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17546         PIC register.
17547         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17548         math_check_force_underflow_nonneg.
17549         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17550         underflow for subnormal result.
17551         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17552         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17553         math_check_force_underflow_nonneg.
17554         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17555         math_check_force_underflow.
17556         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17557         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17558         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17559         DEFINE_LDBL_MIN.
17560         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17561         * math/auto-libm-test-in: Add more tests of pow.
17562         * math/auto-libm-test-out: Regenerated.
17564 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17566         * nss/bug17079.c (init_test_items): Add diagnostic for
17567         inconsistent entries.
17568         (test_buffer_size): Skip inconsistent entries.
17570 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17572         [BZ #13304]
17573         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17574         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17575         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17577         [BZ #13304]
17578         * sysdeps/microblaze/s_fma.c: New file.
17579         * sysdeps/microblaze/s_fmaf.c: Likewise.
17580         * sysdeps/microblaze/sfp-machine.h: Likewise.
17582 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17584         [BZ #17250]
17585         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17586         member.
17588 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17590         [BZ #18803]
17591         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17592         (MO): New macro.
17593         (__ieee754_hypot) [PIC]: Load PIC register.
17594         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17595         DBL_NARROW_EVAL.
17596         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17597         math_check_force_underflow_nonneg in case where result might be
17598         tiny.
17599         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17600         Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17602         Likewise.
17603         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17604         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17605         * math/auto-libm-test-in: Add more tests of hypot.
17606         * math/auto-libm-test-out: Regenerated.
17608 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17610         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17612 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17614         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17615         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17616         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17617         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17618         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17619         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17620         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17622         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17623         LOAD_PIC_REG.
17625         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17626         (FLT_CHECK_FORCE_UFLOW): Likewise.
17627         (DBL_CHECK_FORCE_UFLOW): Likewise.
17628         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17629         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17630         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17631         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17632         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17633         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17634         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17635         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17636         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17637         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17638         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17639         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17640         (flt_min): Replace with use of DEFINE_FLT_MIN.
17641         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17642         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17643         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17644         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17645         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17646         (flt_min): Replace with use of DEFINE_FLT_MIN.
17647         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17648         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17649         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17650         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17651         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17652         (flt_min): Replace with use of DEFINE_FLT_MIN.
17653         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17654         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17655         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17656         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17657         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17658         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17659         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17660         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17662         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17663         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17664         (flt_min): Replace with use of DEFINE_FLT_MIN.
17665         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17666         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17667         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17668         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17669         main computation.
17670         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17671         (flt_min): Replace with use of DEFINE_FLT_MIN.
17672         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17673         main computation.
17674         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17675         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17676         (MO): New macro.
17677         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17678         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17679         (flt_min): Replace with use of DEFINE_FLT_MIN.
17680         (MO): New macro.
17681         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17682         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17683         (__log1pl): Use MO.
17685         [BZ #19003]
17686         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17687         $(config-cflags-nofma).
17689 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17691         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17693 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17695         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17696         (TWO127): Likewise.
17698         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17699         (min_of_type): Likewise.
17700         (math_check_force_underflow): Likewise.
17701         (math_check_force_underflow_nonneg): Likewise.
17702         (math_check_force_underflow_complex): Likewise.
17703         * math/e_exp2l.c (__ieee754_exp2l): Use
17704         math_check_force_underflow_nonneg.
17705         * math/k_casinh.c (__kernel_casinh): Likewise.
17706         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17707         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17708         * math/s_catan.c (__catan): Use
17709         math_check_force_underflow_complex.
17710         * math/s_catanf.c (__catanf): Likewise.
17711         * math/s_catanh.c (__catanh): Likewise.
17712         * math/s_catanhf.c (__catanhf): Likewise.
17713         * math/s_catanhl.c (__catanhl): Likewise.
17714         * math/s_catanl.c (__catanl): Likewise.
17715         * math/s_ccosh.c (__ccosh): Likewise.
17716         * math/s_ccoshf.c (__ccoshf): Likewise.
17717         * math/s_ccoshl.c (__ccoshl): Likewise.
17718         * math/s_cexp.c (__cexp): Likewise.
17719         * math/s_cexpf.c (__cexpf): Likewise.
17720         * math/s_cexpl.c (__cexpl): Likewise.
17721         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17722         * math/s_clog10.c (__clog10): Likewise.
17723         * math/s_clog10f.c (__clog10f): Likewise.
17724         * math/s_clog10l.c (__clog10l): Likewise.
17725         * math/s_clogf.c (__clogf): Likewise.
17726         * math/s_clogl.c (__clogl): Likewise.
17727         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17728         * math/s_csinf.c (__csinf): Likewise.
17729         * math/s_csinh.c (__csinh): Likewise.
17730         * math/s_csinhf.c (__csinhf): Likewise.
17731         * math/s_csinhl.c (__csinhl): Likewise.
17732         * math/s_csinl.c (__csinl): Likewise.
17733         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17734         * math/s_csqrtf.c (__csqrtf): Likewise.
17735         * math/s_csqrtl.c (__csqrtl): Likewise.
17736         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17737         * math/s_ctanf.c (__ctanf): Likewise.
17738         * math/s_ctanh.c (__ctanh): Likewise.
17739         * math/s_ctanhf.c (__ctanhf): Likewise.
17740         * math/s_ctanhl.c (__ctanhl): Likewise.
17741         * math/s_ctanl.c (__ctanl): Likewise.
17742         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17743         instead of volatile.
17744         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17745         math_check_force_underflow.
17746         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17747         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17748         volatile when forcing underflow.
17749         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17750         math_check_force_underflow_nonneg.
17751         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17752         Likewise.
17753         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17754         math_check_force_underflow.
17755         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17756         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17757         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17758         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17759         math_check_force_underflow_nonneg.
17760         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17761         math_check_force_underflow.
17762         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17764         instead of volatile.
17765         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17766         math_check_force_underflow.
17767         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17768         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17769         math_check_force_underflow_nonneg.
17770         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17771         math_check_force_underflow.
17772         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17773         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17774         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17775         math_check_force_underflow_nonneg.
17776         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17777         Likewise.
17778         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17779         math_check_force_underflow.
17780         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17781         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17782         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17783         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17784         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17785         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17786         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17787         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17788         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17789         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17790         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17791         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17792         Likewise.
17793         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17794         math_check_force_underflow_nonneg.
17795         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17796         Likewise.
17797         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17798         math_check_force_underflow.
17799         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17800         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17801         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17802         Likewise.
17803         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17804         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17805         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17806         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17807         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17808         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17810         instead of volatile.
17811         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17812         math_check_force_underflow.
17813         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17815         math_check_force_underflow.
17816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17817         Likewise.
17818         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17819         Use math_check_force_underflow_nonneg.
17820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17821         math_check_force_underflow.
17822         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17823         Likewise.
17824         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17825         Likewise.
17826         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17827         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17828         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17829         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17830         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17831         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17832         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17833         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17834         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17835         math_check_force_underflow_nonneg.
17836         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17837         math_check_force_underflow.
17838         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17839         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17840         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17841         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17842         math_check_force_underflow_nonneg.
17843         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17844         math_check_force_underflow.
17845         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17846         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17847         instead of volatile.
17848         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17849         math_check_force_underflow.
17851         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17852         * stdlib/strtod_l.c: Include <math_private.h>.
17853         (overflow_value): Use math_narrow_eval.
17854         (underflow_value): Likewise.
17855         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17856         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17857         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17858         (__ieee754_gamma_r): Likewise.
17859         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17860         Likewise.
17861         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17862         Likewise.
17863         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17864         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17865         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17866         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17867         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17868         (__ieee754_gammaf_r): Likewise.
17869         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17870         Likewise.
17871         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17872         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17873         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17874         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17875         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17876         volatile.
17877         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17878         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17879         math_narrow_eval.
17880         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17881         Likewise.
17882         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17883         Likewise.
17884         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17885         Likewise.
17886         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17887         volatile.
17888         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17889         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17890         math_narrow_eval.
17891         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17892         Likewise.
17893         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17894         Likewise.
17896 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17898         * nptl/Versions: Remove ignored symbols.
17900 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17902         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17903         * nss/Makefile (tests): Update.
17905 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17907         * nss/bug18287.c: New file.
17908         * nss/Makefile (tests): Add bug18287.
17910 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17912         * mach/Versions (__mach_host_self_): Add symbol.
17914 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17916         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17917         vm_page_size.
17919 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17921         Really fix sysdeps/i386/fpu/s_scalbn.S build
17923         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17924         (libc: GLIBC_2_22): Remove unused version set.
17926 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17928         * config.make.in (enable-timezone-tools): New variable.
17929         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17930         (enable_timezone_tools): Export to generated files.
17931         * configure: Regenerate.
17932         * INSTALL: Regenerate.
17933         * manual/install.texi (--disable-timezone-tools): Document new flag.
17934         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17935         ifeq ($(enable-timezone-tools),yes) check.
17937 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17939         * timezone/Makefile: Revert previous change.
17941         [BZ #18980]
17942         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17943         (DEFINE_DBL_MIN): Likewise.
17944         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17945         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17946         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17947         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17948         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17949         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17950         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17951         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17952         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17953         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17954         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17955         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17956         (flt_min): Replace with use of DEFINE_FLT_MIN.
17957         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17958         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17959         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17960         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17961         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17962         (flt_min): Replace with use of DEFINE_FLT_MIN.
17963         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17964         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17965         (flt_min): Replace with use of DEFINE_FLT_MIN.
17966         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17967         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17968         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17969         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17970         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17971         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17972         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17973         (__ieee754_pow): Use DBL_NARROW_EVAL.
17974         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17975         (__ieee754_powf): Use FLT_NARROW_EVAL.
17976         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17977         (__ieee754_expf_sse2): Convert double-precision result to single
17978         precision.
17979         * sysdeps/i386/fpu/libm-test-ulps: Update.
17981 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17983         * timezone/Makefile: Ignore unused variable errors due to private.h
17984         (time_t_min) and (time_t_max).
17985         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17986         Likewise.
17988 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17990         [BZ #18981]
17991         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17992         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17993         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17994         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17995         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17996         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17997         (__scalbn): Use DBL_NARROW_EVAL.
17998         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17999         (__scalbnf): Use FLT_NARROW_EVAL.
18001 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18003         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18004         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18005         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18006         * stdio-common/printf_fp.c (___printf_fp):
18007         Use signbit to get the sign. Use isinf macro to allow inlining.
18008         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18009         * stdio-common/printf_size.c (__printf_size): Likewise.
18011 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18013         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18015 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18017         [BZ #18980]
18018         * sysdeps/generic/math_private.h: Include <float.h>.
18019         (math_narrow_eval): New macro.
18020         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18021         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18022         math_narrow_eval on overflowing return value.
18023         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18024         Likewise.
18025         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18026         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18027         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18028         Likewise.
18029         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18031 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18033         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18034         * math/Makefile: Remove isinf_ns.c.
18035         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18036         * math/multc3.c (__multc3): Likewise.
18037         * math/s_casin.c (__casin): Likewise.
18038         * math/s_casinf.c (__casinf): Likewise.
18039         * math/s_casinl.c (__casinl): Likewise.
18040         * math/s_cproj.c (__cproj): Likewise.
18041         * math/s_cprojf.c (__cprojf): Likewise.
18042         * math/s_cprojl.c (__cprofl): Likewise.
18043         * math/s_ctan.c (__ctan): Likewise.
18044         * math/s_ctanf.c (__ctanf): Likewise.
18045         * math/s_ctanh.c (__ctanh): Likewise.
18046         * math/s_ctanhf.c (__ctanhf): Likewise.
18047         * math/s_ctanhl.c (__ctanhl): Likewise.
18048         * math/s_ctanl.c (__ctanl): Likewise.
18049         * math/w_fmod.c (__fmod): Likewise.
18050         * math/w_fmodf.c (__fmodf): Likewise.
18051         * math/w_fmodl.c (_fmodl): Likewise.
18052         * math/w_remainder.c (__remainder): Likewise.
18053         * math/w_remainderf.c (__remainderf): Likewise.
18054         * math/w_remainderl.c (__remainderl): Likewise.
18055         * math/w_scalb.c (__scalb): Likewise.
18056         * math/w_scalbf.c (__scalbf): Likewise.
18057         * math/w_scalbl.c (__scalbl): Likewise.
18058         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18059         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18060         with isinf.
18061         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18062         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18063         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18064         __isinf_nsf with isinf.
18065         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18066         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18067         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18068         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18069         with isinf.
18070         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18071         __isinf_nsl with isinf.
18072         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18073         with isinf.
18074         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18075         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18076         __isinf_nsl with isinf.
18077         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18078         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18079         with isinf.
18081 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18083         * resolv/base64.c (rcsid): Remove unused static.
18084         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18085         static.  (tqpi1): Likewise.
18086         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18087         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18088         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18089         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18091         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18092         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18093         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18094         Likewise.
18096 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18098         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18099         <nptl/pthreadP.h>.
18100         (_longjmp_unwind): Use __libc_ptf_call.
18101         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18103 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18105         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18106         * sysdeps/arm/__longjmp.S: Likewise.
18108 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18110         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18111         Use __builtin_signbit.
18112         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18113         Use __builtin_signbitf.
18114         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18115         Use __builtin_signbitl.
18116         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18117         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18119 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18121         [BZ #15367]
18122         [BZ #17441]
18124         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18125         * math/math.h (fpclassify): Use __builtin_fpclassify when
18126         available.  (signbit): Use __builtin_signbit(f/l).
18127         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18128         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18129         (isinf): Use __builtin_isinf_sign.
18131 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18133         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18134         * benchtests/bench-math-inlines.c: New benchmark.
18135         * benchtests/bench-util.h: New file.
18136         * benchtests/bench-util.c: New file.
18137         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18139 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18141         * elf/tst-dlmopen1.c: Define TEST_SO.
18142         (do_test): Use TEST_SO.
18144         * elf/dl-load.c: Include libc-internal.h.
18145         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18147 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18149         [BZ #17887]
18150         * time/strptime_l.c (__strptime_internal): Make %z accept
18151         [+-]HH:MM time zones.
18153 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18155         [BZ #17886]
18156         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18157         valid time zone.
18159 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18161         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18162         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18163         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18164         (__ASSUME_FDATASYNC): Delete.
18166 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18168         * conform/linknamespace.pl: Require weak undefined symbols to be
18169         in the standard namespace.
18170         (%strong_syms): Rename to %seen_syms.
18171         (%strong_seen): Rename to %seen_where.
18173 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18175         [BZ #18970]
18176         * misc/error.c (error): Replace pthread_setcancelstate with
18177         __pthread_setcancelstate.
18178         (error_at_line): Likewise.
18179         * posix/wordexp.c (parse_comm): Likewise.
18180         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18181         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18182         (__pthread_setcancelstate): This.
18183         (pthread_setcancelstate): Add an alias.
18184         * nptl/nptl-init.c (pthread_functions): Replace
18185         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18186         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18187         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18188         hidden_proto.
18189         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18190         it with hidden_def.
18191         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18192         (pthread_setcancelstate): Renamed to ...
18193         (__pthread_setcancelstate): This.
18194         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18195         __libc_ptf_call with __pthread_setcancelstate.
18197 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18198             Andreas Schwab  <schwab@suse.de>
18200         [BZ #17118]
18201         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18202         result when imaginary part of argument is infinite using sine and
18203         cosine.
18204         * math/s_ctanf.c (__ctanf): Likewise.
18205         * math/s_ctanl.c (__ctanl): Likewise.
18206         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18207         of result when real part of argument is infinite using sine and
18208         cosine.
18209         * math/s_ctanhf.c (__ctanhf): Likewise.
18210         * math/s_ctanhl.c (__ctanhl): Likewise.
18211         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18212         (ctanh_test_data): Add more tests of ctanh.
18214 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18216         [BZ #15384]
18217         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18218         bit-mask as in subtraction.
18219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18220         Likewise.
18221         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18222         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18223         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18225         [BZ #18951]
18226         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18227         underflow exception for small results.
18228         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18229         Likewise.
18230         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18231         Likewise.
18232         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18233         Likewise.
18234         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18235         Likewise.
18236         * math/auto-libm-test-in: Add more tests of tgamma.
18237         * math/auto-libm-test-out: Regenerated.
18239 2015-09-17  Andreas Schwab  <schwab@suse.de>
18241         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18243 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18245         [BZ #18977]
18246         * math/bits/mathcalls.h
18247         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18248         not declare.
18249         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18250         Likewise.
18251         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18252         Likewise.
18253         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18254         Likewise.
18255         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18256         Likewise.
18257         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18258         Likewise.
18259         * conform/data/math.h-data
18260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18261         function.
18262         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18263         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18264         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18266         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18267         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18268         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18269         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18270         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18271         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18272         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18274         [BZ #6803]
18275         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18276         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18277         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18278         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18279         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18280         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18281         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18282         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18283         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18284         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18285         Likewise.
18286         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18287         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18288         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18289         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18290         long_double_symbol calls.
18291         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18292         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18293         strong alias of __ldexpl.
18294         (scalbnl): Define using long_double_symbol.
18295         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18296         Remove alias.
18297         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18298         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18299         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18300         (scalbln_test_data): Add more errno expectations.
18302 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18304         Cache the host port like we cache the task port.  This way we do not
18305         need to call the kernel just to get the port.  Furthermore, we no
18306         longer increase the reference count on every invocation of
18307         `mach_host_self'.
18309         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18310         Protect declarations against the macro expansion.
18311         * mach/mach_init.c (__mach_host_self_): New variable.
18312         (mach_init): Initialize `__mach_host_self_'.
18313         * mach/mach_init.h (__mach_host_self_): New declaration.
18314         (__mach_host_self, mach_host_self): New macros.
18315         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18316         Release reference.
18318 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18320         [BZ #4404]
18321         * po/de.po: Update from Translation Project.
18323         [BZ #16415]
18324         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18325         (__expm1l): Remove code to handle positive infinity and overflow.
18326         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18327         variable.
18328         (__expm1l): Remove code to handle positive infinity and overflow.
18330 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18331             Paul Pluzhnikov  <ppluzhnikov@google.com>
18333         [BZ #18872]
18334         * stdio-common/Makefile (tst-printf-bz18872): New test.
18335         (tst-printf-bz18872-mem.out): Likewise.
18336         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18337         * stdio-common/vfprintf.c: Fix memory leaks.
18339 2015-09-16  Andreas Schwab  <schwab@suse.de>
18341         [BZ #17244]
18342         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18343         Remove extra va_start/va_end calls.
18345         [BZ #17243]
18346         * posix/execl.c (execl): Add missing va_end.
18347         * posix/execle.c (execle): Likewise.
18348         * posix/execlp.c (execlp): Likewise.
18350 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18352         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18353         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18355 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18357         [BZ #18967]
18358         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18359         undefine around includes of <bits/mathcalls.h>.
18360         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18361         not declare function.
18362         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18363         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18364         (scalb): Likewise.
18365         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18366         not define macro.
18367         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18368         variable.
18369         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18370         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18371         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18373         [BZ #18857]
18374         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18375         return non-finite argument without doing ordered comparisons on
18376         it.
18378         [BZ #16296]
18379         * math/fenv.h (fegetround): Use __attribute_pure__.
18380         * include/fenv.h (__fegetround): Likewise.
18382         [BZ #18595]
18383         * math/s_ctan.c (__ctan): Force underflow exception for results
18384         whose real or imaginary part has small absolute value.
18385         * math/s_ctanf.c (__ctanf): Likewise.
18386         * math/s_ctanh.c (__ctanh): Likewise.
18387         * math/s_ctanhf.c (__ctanhf): Likewise.
18388         * math/s_ctanhl.c (__ctanhl): Likewise.
18389         * math/s_ctanl.c (__ctanl): Likewise.
18390         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18391         and ctanh.  Add more tests of ctan and ctanh.
18393         [BZ #15918]
18394         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18395         handling of cases where one argument is an infinity.
18397         [BZ #18875]
18398         [BZ #18966]
18399         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18400         (MO): New macro.
18401         (__ieee754_exp10): For small results, force underflow exception
18402         and remove excess range and precision from return value.
18403         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18404         (MO): New macro.
18405         (__ieee754_exp10f): For small results, force underflow exception
18406         and remove excess range and precision from return value.
18407         * math/auto-libm-test-in: Add more tests of exp10.
18408         * math/auto-libm-test-out: Regenerated.
18410 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18412         [BZ #18875]
18413         [BZ #18961]
18414         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18415         (MO): New macro.
18416         (__ieee754_exp): For small results, force underflow exception and
18417         remove excess range and precision from return value.
18418         (__exp_finite): Likewise.
18419         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18420         (MO): New macro.
18421         (__ieee754_expf): For small results, force underflow exception and
18422         remove excess range and precision from return value.
18423         (__expf_finite): Likewise.
18424         * math/auto-libm-test-in: Add more tests of exp.
18425         * math/auto-libm-test-out: Regenerated.
18427         [BZ #16521]
18428         [BZ #18875]
18429         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18430         small results.
18431         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18432         (MO): New macro.
18433         (__ieee754_exp2): For small results, force underflow exception and
18434         remove excess range and precision from return value.
18435         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18436         (MO): New macro.
18437         (__ieee754_exp2f): For small results, force underflow exception
18438         and remove excess range and precision from return value.
18439         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18440         (MO): New macro.
18441         (__ieee754_exp2l): Force underflow exception for small results.
18442         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18443         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18444         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18445         (MO): New macro.
18446         (__ieee754_exp2l): Force underflow exception for small results.
18447         * math/auto-libm-test-in: Add more tests or exp2.
18448         * math/auto-libm-test-out: Regenerated.
18450 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18452         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18454         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18455         /dev/null.
18457 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18459         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18460         io fs process)): Drop spurious backslash.
18462 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18465         Use sysinfo system call instead of parsing /proc/meminfo.
18466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18467         Likewise.
18469 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18471         [BZ #16985]
18472         * programs/localedef.c (main): Display argv[remaining] when
18473         output_path is NULL.
18475 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18477         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18478         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18479         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18480         tanh.
18481         * math/auto-libm-test-out: Regenerated.
18482         * sysdeps/i386/fpu/libm-test-ulps: Update.
18483         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18484         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18487 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18489         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18490         Use 'override' keyword to freeze the value here, preventing
18491         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18493 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #14912]
18496         * sysdeps/aarch64/bits/atomic.h: Move to ...
18497         * sysdeps/aarch64/atomic-machine.h: ...here.
18498         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18499         _AARCH64_ATOMIC_MACHINE_H.
18500         * sysdeps/alpha/bits/atomic.h: Move to ...
18501         * sysdeps/alpha/atomic-machine.h: ...here.
18502         * sysdeps/arm/bits/atomic.h: Move to ...
18503         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18504         * bits/atomic.h: Move to ...
18505         * sysdeps/generic/atomic-machine.h: ...here.
18506         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18507         * sysdeps/i386/bits/atomic.h: Move to ...
18508         * sysdeps/i386/atomic-machine.h: ...here.
18509         * sysdeps/ia64/bits/atomic.h: Move to ...
18510         * sysdeps/ia64/atomic-machine.h: ...here.
18511         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18512         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18513         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18514         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18515         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18516         * sysdeps/microblaze/bits/atomic.h: Move to ...
18517         * sysdeps/microblaze/atomic-machine.h: ...here.
18518         * sysdeps/mips/bits/atomic.h: Move to ...
18519         * sysdeps/mips/atomic-machine.h: ...here.
18520         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18521         * sysdeps/powerpc/bits/atomic.h: Move to ...
18522         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18523         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18524         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18525         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18526         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18527         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18528         <atomic-machine.h> instead of <bits/atomic.h>.
18529         * sysdeps/s390/bits/atomic.h: Move to ...
18530         * sysdeps/s390/atomic-machine.h: ...here.
18531         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18532         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18533         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18534         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18535         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18536         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18537         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18538         * sysdeps/tile/bits/atomic.h: Move to ...
18539         * sysdeps/tile/atomic-machine.h: ...here.
18540         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18541         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18542         <sysdeps/tile/atomic-machine.h> instead of
18543         <sysdeps/tile/bits/atomic.h>.
18544         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18545         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18546         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18547         <sysdeps/tile/atomic-machine.h> instead of
18548         <sysdeps/tile/bits/atomic.h>.
18549         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18550         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18551         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18552         <sysdeps/arm/atomic-machine.h> instead of
18553         <sysdeps/arm/bits/atomic.h>.
18554         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18555         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18556         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18557         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18558         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18559         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18560         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18561         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18562         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18563         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18564         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18565         * sysdeps/x86_64/bits/atomic.h: Move to ...
18566         * sysdeps/x86_64/atomic-machine.h: ...here.
18567         * include/atomic.h: Include <atomic-machine.h> instead of
18568         <bits/atomic.h>.
18570         * sysdeps/mips/mips32/libm-test-ulps: Update.
18571         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18573         [BZ #18952]
18574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18575         not convert non-integer negative arguments to int to determine the
18576         value of signgam.
18577         * math/auto-libm-test-in: Add more tests of lgamma.
18578         * math/auto-libm-test-out: Regenerated.
18580         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18581         cosh, csqrt, erfc, expm1 and lgamma.
18582         * math/auto-libm-test-out: Regenerated.
18583         * sysdeps/i386/fpu/libm-test-ulps: Update.
18584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18586 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18588         [BZ #2542]
18589         [BZ #2543]
18590         [BZ #2558]
18591         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18592         __lgamma_neg for arguments from -28.0 to -2.0.
18593         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18594         __lgamma_negf for arguments from -15.0 to -2.0.
18595         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18596         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18597         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18598         Call __lgamma_negl for arguments from -33.0 to -2.0.
18599         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18600         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18601         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18602         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18603         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18604         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18605         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18606         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18607         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18608         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18609         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18610         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18611         (__lgamma_neg): Likewise.
18612         (__lgamma_negl): Likewise.
18613         (__lgamma_product): Likewise.
18614         (__lgamma_productl): Likewise.
18615         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18616         * math/auto-libm-test-in: Add more tests of lgamma.
18617         * math/auto-libm-test-out: Regenerated.
18618         * sysdeps/i386/fpu/libm-test-ulps: Update.
18619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18621 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18623         [BZ #18675]
18624         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18626 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18628         [BZ #14912]
18629         * bits/libc-lock.h: Move to ...
18630         * sysdeps/generic/libc-lock.h: ...here.
18631         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18632         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18633         * sysdeps/mach/hurd/libc-lock.h: ...here.
18634         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18635         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18636         * sysdeps/mach/bits/libc-lock.h: Move to ...
18637         * sysdeps/mach/libc-lock.h: ...here.
18638         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18639         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18640         * sysdeps/nptl/libc-lock.h: ...here.
18641         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18642         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18643         * sysdeps/nptl/libc-lockP.h: ...here.
18644         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18645         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18646         <bits/libc-lock.h>.
18647         * dirent/scandir-tail.c: Likewise.
18648         * dlfcn/dlerror.c: Likewise.
18649         * elf/dl-close.c: Likewise.
18650         * elf/dl-iteratephdr.c: Likewise.
18651         * elf/dl-lookup.c: Likewise.
18652         * elf/dl-open.c: Likewise.
18653         * elf/dl-support.c: Likewise.
18654         * elf/dl-writev.h: Likewise.
18655         * elf/rtld.c: Likewise.
18656         * grp/fgetgrent.c: Likewise.
18657         * gshadow/fgetsgent.c: Likewise.
18658         * gshadow/sgetsgent.c: Likewise.
18659         * iconv/gconv_conf.c: Likewise.
18660         * iconv/gconv_db.c: Likewise.
18661         * iconv/gconv_dl.c: Likewise.
18662         * iconv/gconv_int.h: Likewise.
18663         * iconv/gconv_trans.c: Likewise.
18664         * include/link.h: Likewise.
18665         * inet/getnameinfo.c: Likewise.
18666         * inet/getnetgrent.c: Likewise.
18667         * inet/getnetgrent_r.c: Likewise.
18668         * intl/bindtextdom.c: Likewise.
18669         * intl/dcigettext.c: Likewise.
18670         * intl/finddomain.c: Likewise.
18671         * intl/gettextP.h: Likewise.
18672         * intl/loadmsgcat.c: Likewise.
18673         * intl/localealias.c: Likewise.
18674         * intl/textdomain.c: Likewise.
18675         * libidn/idn-stub.c: Likewise.
18676         * libio/libioP.h: Likewise.
18677         * locale/duplocale.c: Likewise.
18678         * locale/freelocale.c: Likewise.
18679         * locale/newlocale.c: Likewise.
18680         * locale/setlocale.c: Likewise.
18681         * login/getutent_r.c: Likewise.
18682         * login/getutid_r.c: Likewise.
18683         * login/getutline_r.c: Likewise.
18684         * login/utmp-private.h: Likewise.
18685         * login/utmpname.c: Likewise.
18686         * malloc/mtrace.c: Likewise.
18687         * misc/efgcvt.c: Likewise.
18688         * misc/error.c: Likewise.
18689         * misc/fstab.c: Likewise.
18690         * misc/getpass.c: Likewise.
18691         * misc/mntent.c: Likewise.
18692         * misc/syslog.c: Likewise.
18693         * nis/nis_call.c: Likewise.
18694         * nis/nis_callback.c: Likewise.
18695         * nis/nss-default.c: Likewise.
18696         * nis/nss_compat/compat-grp.c: Likewise.
18697         * nis/nss_compat/compat-initgroups.c: Likewise.
18698         * nis/nss_compat/compat-pwd.c: Likewise.
18699         * nis/nss_compat/compat-spwd.c: Likewise.
18700         * nis/nss_nis/nis-alias.c: Likewise.
18701         * nis/nss_nis/nis-ethers.c: Likewise.
18702         * nis/nss_nis/nis-grp.c: Likewise.
18703         * nis/nss_nis/nis-hosts.c: Likewise.
18704         * nis/nss_nis/nis-network.c: Likewise.
18705         * nis/nss_nis/nis-proto.c: Likewise.
18706         * nis/nss_nis/nis-pwd.c: Likewise.
18707         * nis/nss_nis/nis-rpc.c: Likewise.
18708         * nis/nss_nis/nis-service.c: Likewise.
18709         * nis/nss_nis/nis-spwd.c: Likewise.
18710         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18711         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18712         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18713         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18714         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18715         * nis/nss_nisplus/nisplus-network.c: Likewise.
18716         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18717         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18718         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18719         * nis/nss_nisplus/nisplus-service.c: Likewise.
18720         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18721         * nis/ypclnt.c: Likewise.
18722         * nptl/libc_pthread_init.c: Likewise.
18723         * nss/getXXbyYY.c: Likewise.
18724         * nss/getXXent.c: Likewise.
18725         * nss/getXXent_r.c: Likewise.
18726         * nss/nss_db/db-XXX.c: Likewise.
18727         * nss/nss_db/db-netgrp.c: Likewise.
18728         * nss/nss_db/nss_db.h: Likewise.
18729         * nss/nss_files/files-XXX.c: Likewise.
18730         * nss/nss_files/files-alias.c: Likewise.
18731         * nss/nsswitch.c: Likewise.
18732         * posix/regex_internal.h: Likewise.
18733         * posix/wordexp.c: Likewise.
18734         * pwd/fgetpwent.c: Likewise.
18735         * resolv/res_hconf.c: Likewise.
18736         * resolv/res_libc.c: Likewise.
18737         * shadow/fgetspent.c: Likewise.
18738         * shadow/lckpwdf.c: Likewise.
18739         * shadow/sgetspent.c: Likewise.
18740         * socket/opensock.c: Likewise.
18741         * stdio-common/reg-modifier.c: Likewise.
18742         * stdio-common/reg-printf.c: Likewise.
18743         * stdio-common/reg-type.c: Likewise.
18744         * stdio-common/vfprintf.c: Likewise.
18745         * stdio-common/vfscanf.c: Likewise.
18746         * stdlib/abort.c: Likewise.
18747         * stdlib/cxa_atexit.c: Likewise.
18748         * stdlib/fmtmsg.c: Likewise.
18749         * stdlib/random.c: Likewise.
18750         * stdlib/setenv.c: Likewise.
18751         * string/strsignal.c: Likewise.
18752         * sunrpc/auth_none.c: Likewise.
18753         * sunrpc/bindrsvprt.c: Likewise.
18754         * sunrpc/create_xid.c: Likewise.
18755         * sunrpc/key_call.c: Likewise.
18756         * sunrpc/rpc_thread.c: Likewise.
18757         * sysdeps/arm/backtrace.c: Likewise.
18758         * sysdeps/generic/ldsodefs.h: Likewise.
18759         * sysdeps/generic/stdio-lock.h: Likewise.
18760         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18761         * sysdeps/i386/backtrace.c: Likewise.
18762         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18763         * sysdeps/m68k/backtrace.c: Likewise.
18764         * sysdeps/mach/hurd/cthreads.c: Likewise.
18765         * sysdeps/mach/hurd/dirstream.h: Likewise.
18766         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18767         * sysdeps/nptl/malloc-machine.h: Likewise.
18768         * sysdeps/nptl/stdio-lock.h: Likewise.
18769         * sysdeps/posix/dirstream.h: Likewise.
18770         * sysdeps/posix/getaddrinfo.c: Likewise.
18771         * sysdeps/posix/system.c: Likewise.
18772         * sysdeps/pthread/aio_suspend.c: Likewise.
18773         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18774         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18775         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18776         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18777         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18778         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18779         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18780         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18781         * sysdeps/unix/sysv/linux/system.c: Likewise.
18782         * sysdeps/x86_64/backtrace.c: Likewise.
18783         * time/alt_digit.c: Likewise.
18784         * time/era.c: Likewise.
18785         * time/tzset.c: Likewise.
18786         * wcsmbs/wcsmbsload.c: Likewise.
18787         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18788         instead of <bits/libc-lock.h> in comment.
18790 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18792         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18793         Only use .set mips2 if the current ISA is below mips2.
18794         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18795         Likewise.
18796         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18797         mips32r2 if the current ISA is below mips32r2.
18798         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18799         (TLS_IE): Updated to use the TLD_RDHWR macro.
18800         (TLS_LE): Likewise.
18801         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18802         __ASSEMBLER__ condition.
18804 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18806         Fix parallel build of before-compile targets.
18808         * sysdeps/mach/Makefile ($(patsubst
18809         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18810         mach-before-compile target.
18811         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18812         io fs process)): Move rule to dedicated hurd-before-compile target.
18814 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18816         Fix rules generating headers in hurd/ and mach/ when initial make call
18817         has subdir= explicitly set.
18819         * sysdeps/mach/Makefile ($(patsubst
18820         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18821         calling $(MAKE).
18822         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18823         io fs process)): Force subdir to hurd when calling $(MAKE).
18824         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18825         subdir to mach when calling $(MAKE).
18827 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18829         Check sysheaders when looking for Mach and Hurd headers
18831         * sysdeps/mach/configure.ac: Add sysheaders check.
18832         * sysdeps/mach/configure: Regenerate.
18833         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18834         * sysdeps/mach/hurd/configure: Regenerate.
18836 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18838         [BZ #18921]
18839         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18840         Fix inverted sense of test of 'o_directory_works' value.
18841         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18842         Bernhard Voelker <mail@bernhard-voelker.de>.
18844 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18846         [BZ #14912]
18847         * bits/linkmap.h: Move to ...
18848         * sysdeps/generic/linkmap.h: ...here.
18849         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18850         * sysdeps/aarch64/linkmap.h: ...here.
18851         * sysdeps/arm/bits/linkmap.h: Move to ...
18852         * sysdeps/arm/linkmap.h: ...here.
18853         * sysdeps/hppa/bits/linkmap.h: Move to ...
18854         * sysdeps/hppa/linkmap.h: ...here.
18855         * sysdeps/ia64/bits/linkmap.h: Move to ...
18856         * sysdeps/ia64/linkmap.h: ...here.
18857         * sysdeps/mips/bits/linkmap.h: Move to ...
18858         * sysdeps/mips/linkmap.h: ...here.
18859         * sysdeps/s390/bits/linkmap.h: Move to ...
18860         * sysdeps/s390/linkmap.h: ...here.
18861         * sysdeps/sh/bits/linkmap.h: Move to ...
18862         * sysdeps/sh/linkmap.h: ...here.
18863         * sysdeps/x86/bits/linkmap.h: Move to ...
18864         * sysdeps/x86/linkmap.h: ...here.
18865         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18867 2015-09-04  Andreas Schwab  <schwab@suse.de>
18869         [BZ #18635]
18870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18871         (__makecontext): Terminate FDE before return label.
18872         (__novec_makecontext): Likewise.
18874 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18876         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18877         first member of struct sv in syscall macro.
18879 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18881         [BZ #14912]
18882         * bits/stdio-lock.h: Move to ...
18883         * sysdeps/generic/stdio-lock.h: ...here.
18884         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18885         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18886         * sysdeps/nptl/stdio-lock.h: ...here.
18887         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18888         * include/libio.h: Include <stdio-lock.h> instead of
18889         <bits/stdio-lock.h>.
18890         * sysdeps/nptl/fork.c: Likewise.
18891         * sysdeps/pthread/flockfile.c: Likewise.
18892         * sysdeps/pthread/ftrylockfile.c: Likewise.
18893         * sysdeps/pthread/funlockfile.c: Likewise.
18895         [BZ #14912]
18896         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18897         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18898         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18899         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18900         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18901         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18902         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18904 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18906         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18907         (test-xfail-tst-protected1b): New variable.
18909 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18911         [BZ #14912]
18912         * bits/libc-tsd.h: Move to ...
18913         * sysdeps/generic/libc-tsd.h: ...here.
18914         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18915         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18916         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18917         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18918         * include/ctype.h: Include <libc-tsd.h> instead of
18919         <bits/libc-tsd.h>.
18920         * include/rpc/rpc.h: Likewise.
18921         * locale/localeinfo.h: Likewise.
18922         * sunrpc/rpc_thread.c: Likewise.
18923         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18924         * sysdeps/nptl/malloc-machine.h: Likewise.
18926         * Makefile (headers): Remove bits/libc-lock.h.
18927         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18929         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18930         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18931         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18932         <bits/stdio-lock.h>.
18933         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18934         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18936 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18938         [BZ #18757]
18939         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18940         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18941         BZ #18757.
18943 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18945         * malloc/mtrace.pl: Filter out NULL entries.
18947 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18949         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18950         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18951         macro.
18953         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18954         (TCP_CC_INFO): Likewise.
18955         (TCP_SAVE_SYN): Likewise.
18956         (TCP_SAVED_SYN): Likewise.
18958 2015-08-31  Brett Neumeier <brett@neumeier.us>
18960         [BZ #18870]
18961         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18963 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18965         [BZ #18873]
18966         Fix broken overflow check in posix_fallocate
18967         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18968         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18969         Fix parenthesization typo.
18971 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18973         [BZ #18887]
18974         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18975         tst-mntent-blank-passno.
18976         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18977         * misc/tst-mntent-blank-corrupt.c: New test.
18978         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18979         * misc/tst-mntent.c (do_test): ... here.
18981 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18983         [BZ #4404]
18984         * po/de.po: Fix SIGALRM typo.
18986 2015-08-28  James Perkins  <james@loowit.net>
18988         * time/tst-strptime2.c (tests): Replace short list of test
18989         strings for strptime %z specifier with code which exhaustively
18990         tests every combination of sign and 0 to 5 digits. Tests for
18991         rejection of invalid strings.
18993 2015-08-28  James Perkins  <james@loowit.net>
18995         [BZ #16141]
18996         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18997         calculation, removing incorrect decimal time rounding, so that
18998         all minute values result in a valid seconds value.
18999         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19000         offset range limits to UTC-99:59 through UTC+99:59 to parse
19001         current and historical use cases.
19002         * time/tst-strptime2.c (tests): Modify and add tests for the
19003         strptime %z input field descriptor, specifically conversion of
19004         minutes to seconds and validating an offset range of -9959 to
19005         +9959.
19007 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19008             Dmitry V. Levin  <ldv@altlinux.org>
19010         [BZ #18877]
19011         * posix/Makefile (tests): Add tst-mmap-offset.
19012         * posix/tst-mmap.c: New file.
19013         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19014         offset calculation for negative values.
19016 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19018         * sysdeps/i386/init-arch.h: New file.
19019         * sysdeps/i386/i586/init-arch.h: Likewise.
19020         * sysdeps/i386/i686/init-arch.h: Likewise.
19021         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19022         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19023         * sysdeps/x86/cpu-features.h (bit_I586): New.
19024         (bit_I686): Likewise.
19025         (bit_CX8): Likewise.
19026         (bit_CMOV): Likewise.
19027         (index_CX8): Likewise.
19028         (index_CMOV): Likewise.
19029         (index_I586): Likewise.
19030         (index_I686): Likewise.
19031         (reg_CX8): Likewise.
19032         (reg_CMOV): Likewise.
19033         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19034         available at compile-time.
19035         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19036         available at compile-time.
19037         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19038         (USE_I686): Likewise.
19040 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19042         * sysdeps/i386/bcopy.S: New file.
19043         * sysdeps/i386/bzero.S: Likewise.
19044         * sysdeps/i386/memcpy.S: Likewise.
19045         * sysdeps/i386/memmove.S: Likewise.
19046         * sysdeps/i386/mempcpy.S: Likewise.
19047         * sysdeps/i386/memset.S: Likewise.
19048         * sysdeps/i386/bzero.c: Removed.
19049         * sysdeps/i386/memset.c: Likewise.
19050         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19051         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19052         * sysdeps/i386/i586/memset_chk.S: Likewise.
19053         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19054         * sysdeps/i386/memcpy_chk.S: Here.
19055         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19056         * sysdeps/i386/memmove_chk.S: Here.
19057         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19058         * sysdeps/i386/mempcpy_chk.S: Likewise.
19059         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19060         * sysdeps/i386/memset_chk.S: Likewise.
19062 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19064         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19065         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19066         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19067         * soft-fp/fmadf4.c: Ditto.
19068         * soft-fp/fmatf4.c: Ditto.
19070 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19072         * sysdeps/i386/i586/Implies: Removed.
19073         * sysdeps/i386/i686/Implies: Likewise.
19075 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19077         * sysdeps/i386/i486/strlen.S: Moved to ...
19078         * sysdeps/i386/strlen.S: Here.
19080 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19082         * sysdeps/i386/i486/strcat.S: Moved to ...
19083         * sysdeps/i386/strcat.S: Here.
19085 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19087         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19088         * sysdeps/i386/pthread_spin_trylock.S: Here.
19089         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19090         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19092 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19094         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19095         * sysdeps/i386/string-inlines.c: Here.
19097 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19099         * sysdeps/i386/i486/htonl.S: Moved ...
19100         * sysdeps/i386/htonl.S: here.
19102 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19104         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19105         * sysdeps/i386/bits/atomic.h: Here.
19107 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19109         * sysdeps/i386/i486/Versions: Removed.
19111 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19113         [BZ #2898]
19114         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19115         Based on patch by Aurelien Jarno.
19117 2015-08-26  Stan Shebs  <stanshebs@google.com>
19119         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19120         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19122 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19124         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19125         * sysdeps/powerpc/dl-procinfo.c:
19126         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19127         feature so it shows when LD_SHOW_AUXV=1.
19129 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19131         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19132         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19133         definition.  ISA 2.07B no longer requires full sync.
19135 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19137         [BZ #18863]
19138         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19139         (si_call_addr): Define.
19140         (si_syscall): Define.
19141         (si_arch): Define.
19143 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19145         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19146         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19147         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19148         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19149         (__memset_zero_constant_len_parameter): New.
19150         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19151         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19152         (__memset_zero_constant_len_parameter): Don't define if
19153         __memset_chk or USE_AS_BZERO are defined.
19155         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19156         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19157         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19159         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19160         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19161         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19162         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19163         comments.
19164         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19165         -mno-mmx for $(all-rtld-routines).
19166         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19167         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19168         i386.
19170 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19172         * sysdeps/generic/unwind.h
19173         (_Unwind_Word): Use __mode__(__unwind_word__)
19174         instead of __mode__(__word__).
19175         (_Unwind_Sword): Likewise.
19177         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19178         (MAX_NEEDED_INPUT): New define.
19179         (MAX_NEEDED_OUTPUT): New define.
19181         * NEWS: New item for IBM z13 string optimizations.
19183         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19184         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19185         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19186         * sysdeps/s390/multiarch/Makefile
19187         (sysdep_routines): Add memrchr functions.
19188         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19189         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19191         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19192         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19193         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19194         * sysdeps/s390/multiarch/Makefile
19195         (sysdep_routines): Add wmemcmp functions.
19196         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19197         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19198         * benchtests/bench-wmemcmp.c: New File.
19199         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19201         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19202         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19203         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19204         * sysdeps/s390/multiarch/Makefile
19205         (sysdep_routines): Add wmemset functions.
19206         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19207         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19208         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19209         * string/test-memset.c: Add wmemset support.
19210         * wcsmbs/test-wmemset.c: New File.
19211         * wcsmbs/Makefile (strop-tests): Add wmemset.
19212         * benchtests/bench-memset.c: Add wmemset support.
19213         * benchtests/bench-wmemset.c: New File.
19214         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19216         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19217         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19218         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19219         * sysdeps/s390/multiarch/Makefile
19220         (sysdep_routines): Add memccpy functions.
19221         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19222         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19223         * string/memccpy.c: Use MEMCCPY if defined.
19225         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19226         * sysdeps/s390/multiarch/memchr.c: Likewise.
19227         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19228         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19229         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19230         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19231         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19232         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19233         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19234         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19236         and rawmemchr functions.
19237         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19238         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19239         and wmemchr.
19240         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19241         * string/test-memchr.c: Add wmemchr support.
19242         * wcsmbs/test-wmemchr.c: New File.
19243         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19244         * benchtests/bench-memchr.c: Add wmemchr support.
19245         * benchtests/bench-wmemchr.c: New File.
19246         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19248         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19249         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19250         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19251         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19252         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19253         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19255         wcscspn functions.
19256         * sysdeps/s390/multiarch/ifunc-impl-list.c
19257         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19258         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19259         * string/test-strcspn.c: Add wcscspn support.
19260         * wcsmbs/test-wcscspn.c: New File.
19261         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19262         * benchtests/bench-strcspn.c: Add wcscspn support.
19263         * benchtests/bench-wcscspn.c: New File.
19264         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19266         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19267         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19268         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19269         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19270         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19271         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19272         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19273         wcspbrk functions.
19274         * sysdeps/s390/multiarch/ifunc-impl-list.c
19275         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19276         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19277         * string/test-strpbrk.c: Add wcspbrk support.
19278         * wcsmbs/test-wcspbrk.c: New File.
19279         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19280         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19281         * benchtests/bench-wcspbrk.c: New File.
19282         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19284         * sysdeps/s390/multiarch/strspn-c.c: New File.
19285         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19286         * sysdeps/s390/multiarch/strspn.c: Likewise.
19287         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19288         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19289         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19290         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19292         wcsspn functions.
19293         * sysdeps/s390/multiarch/ifunc-impl-list.c
19294         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19295         * string/test-strspn.c: Add wcsspn support.
19296         * wcsmbs/test-wcsspn.c: New File.
19297         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19298         * benchtests/bench-strspn.c: Add wcsspn support.
19299         * benchtests/bench-wcsspn.c: New File.
19300         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19302         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19303         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19304         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19305         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19306         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19307         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19308         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19309         wcsrchr functions.
19310         * sysdeps/s390/multiarch/ifunc-impl-list.c
19311         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19312         * benchtests/bench-wcsrchr.c: New File.
19313         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19315         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19316         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19317         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19318         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19319         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19320         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19322         wcschrnul functions.
19323         * sysdeps/s390/multiarch/ifunc-impl-list.c
19324         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19325         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19326         * string/test-strchr.c: Add wcschrnul support.
19327         * wcsmbs/test-wcschrnul.c: New File.
19328         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19329         * benchtests/bench-strchr.c: Add wcschrnul support.
19330         * benchtests/bench-wcschrnul.c: New File.
19331         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19333         * sysdeps/s390/multiarch/strchr-c.c: New File.
19334         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19335         * sysdeps/s390/multiarch/strchr.c: Likewise.
19336         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19337         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19338         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19340         wcschr functions.
19341         * sysdeps/s390/multiarch/ifunc-impl-list.c
19342         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19343         * string/strchr.c (STRCHR): Define and use macro.
19344         * benchtests/bench-wcschr.c: New File.
19345         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19347         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19348         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19349         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19350         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19351         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19352         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19353         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19354         wcsncmp functions.
19355         * sysdeps/s390/multiarch/ifunc-impl-list.c
19356         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19357         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19358         * benchtests/bench-strncmp.c: Add wcsncmp support.
19359         * benchtests/bench-wcsncmp.c: New File.
19360         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19362         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19363         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19364         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19365         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19366         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19367         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19368         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19370         wcscmp functions.
19371         * sysdeps/s390/multiarch/ifunc-impl-list.c
19372         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19373         * string/strcmp.c (STRCMP): Define and use macro.
19374         * benchtests/bench-wcscmp.c: New File.
19375         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19376         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19377         instead of _HAVE_STRING_ARCH_memchr.
19379         * sysdeps/s390/multiarch/strncat-c.c: New File.
19380         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19381         * sysdeps/s390/multiarch/strncat.c: Likewise.
19382         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19383         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19384         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19385         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19386         wcsncat functions.
19387         * sysdeps/s390/multiarch/ifunc-impl-list.c
19388         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19389         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19390         * string/test-strncat.c: Add wcsncat support.
19391         * wcsmbs/test-wcsncat.c: New File.
19392         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19393         * benchtests/bench-strncat.c: Add wcsncat support.
19394         * benchtests/bench-wcsncat.c: New File.
19395         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19397         * sysdeps/s390/multiarch/strcat-c.c: New File.
19398         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19399         * sysdeps/s390/multiarch/strcat.c: Likewise.
19400         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19401         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19402         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19404         wcscat functions.
19405         * sysdeps/s390/multiarch/ifunc-impl-list.c
19406         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19407         * string/strcat.c (STRCAT): Define and use macro.
19408         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19409         * string/test-strcat.c: Add wcscat support.
19410         * wcsmbs/test-wcscat.c: New File.
19411         * wcsmbs/Makefile (strop-tests): Add wcscat.
19412         * benchtests/bench-strcat.c: Add wcscat support.
19413         * benchtests/bench-wcscat.c: New File.
19414         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19416         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19417         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19418         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19419         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19420         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19421         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19423         wcpncpy functions.
19424         * sysdeps/s390/multiarch/ifunc-impl-list.c
19425         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19426         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19427         * string/test-stpncpy.c: Add wcpncpy support.
19428         * wcsmbs/test-wcpncpy.c: New File.
19429         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19430         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19431         * benchtests/bench-wcpncpy.c: New File.
19432         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19434         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19435         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19436         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19437         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19438         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19439         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19440         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19441         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19442         wcsncpy functions.
19443         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19444         * sysdeps/s390/multiarch/ifunc-impl-list.c
19445         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19446         * string/test-strncpy.c: Add wcsncpy support.
19447         * wcsmbs/test-wcsncpy.c: New File.
19448         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19449         * benchtests/bench-strncpy.c: Add wcsncpy support.
19450         * benchtests/bench-wcsncpy.c: New File.
19451         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19453         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19454         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19455         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19456         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19457         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19458         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19459         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19460         wcpcpy functions.
19461         * string/stpcpy.c: Use STPCPY if defined.
19462         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19463         * sysdeps/s390/multiarch/ifunc-impl-list.c
19464         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19465         * string/test-stpcpy.c: Add wcpcpy support.
19466         * wcsmbs/test-wcpcpy.c: New File.
19467         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19468         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19469         * benchtests/bench-wcpcpy.c: New File.
19470         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19472         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19473         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19474         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19475         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19476         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19477         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19478         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19480         wcscpy functions.
19481         * sysdeps/s390/multiarch/ifunc-impl-list.c
19482         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19483         * benchtests/bench-wcscpy.c: New File.
19484         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19486         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19487         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19488         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19489         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19490         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19491         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19492         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19493         wcsnlen functions.
19494         * sysdeps/s390/multiarch/ifunc-impl-list.c
19495         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19496         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19497         * string/test-strnlen.c: Add wcsnlen support.
19498         * wcsmbs/test-wcsnlen.c: New File.
19499         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19500         * benchtests/bench-strnlen.c: Add wcsnlen support.
19501         * benchtests/bench-wcsnlen.c: New File.
19502         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19504         * sysdeps/s390/multiarch/Makefile: New File.
19505         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19506         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19507         * sysdeps/s390/multiarch/strlen.c: Likewise.
19508         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19509         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19510         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19511         * string/strlen.c (STRLEN): Define and use macro.
19512         * sysdeps/s390/multiarch/ifunc-impl-list.c
19513         (IFUNC_VX_IMPL): New macro function.
19514         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19515         * benchtests/Makefile (wcsmbs-bench): New variable.
19516         (string-bench-all): Added wcsmbs-bench.
19517         * benchtests/bench-wcslen.c: New File.
19519         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19520         s390_vx_libc_ifunc2): New macro function.
19522         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19523         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19524         assembler support.
19525         * sysdeps/s390/configure: Regenerated.
19527         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19528         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19530         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19531         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19532         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19534         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19535         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19537         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19538         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19539         (memcmp, bcmp): Use __memcmp_default as alias source.
19540         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19541         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19542         Rename to __memcmp_default.
19543         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19544         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19545         (memcpy): Use __memcpy_default as alias source.
19546         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19547         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19548         Rename to __memcpy_default.
19549         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19550         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19551         (memset): Use __memset_default as alias source.
19552         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19553         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19554         Rename to __memset_default.
19555         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19556         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19557         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19558         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19559         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19560         (memcmp, bcmp): Use __memcmp_default as alias source.
19561         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19562         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19563         Rename to __memcmp_default.
19564         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19565         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19566         (memcpy): Use __memcpy_default as alias source.
19567         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19568         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19569         Rename to __memcpy_default.
19570         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19571         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19572         (memset): Use __memset_default as alias source.
19573         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19574         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19575         Rename to __memset_default.
19576         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19577         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19579         [BZ #18610]
19580         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19581         __ieee_instruction_pointer to __unused.
19582         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19583         __ieee_instruction_pointer.
19584         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19585         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19586         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19587         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19588         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19589         Mark dxc-field as reserved.
19591 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19593         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19594         if the weak reference is not null.
19596 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19598         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19600         [BZ #11214]
19601         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19603 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19605         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19606         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19607         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19608         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19609         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19610         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19611         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19612         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19613         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19614         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19615         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19616         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19617         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19618         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19619         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19620         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19621         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19622         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19624 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19626         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19627         register other than r0 for tabort, it has special meaning.
19628         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19629         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19630         transaction before starting syscall.
19632 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19634         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19636 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19638         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19640         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19641         * sysdeps/x86_64/rtld-memset.S: Likewise.
19642         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19643         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19644         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19645         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19647         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19649 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19651         * debug/strcpy_chk.c: Improve performance.
19652         * debug/stpcpy_chk.c: Likewise.
19653         * sysdeps/x86_64/strcpy_chk.S: Remove.
19654         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19656         [BZ #18240]
19657         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19659 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19661         [BZ #15128]
19662         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19663         ifuncmain8.
19664         (modules-names): Add ifuncmod8.
19665         ($(objpfx)ifuncmain8): New rule.
19666         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19667         <cpuid.h>.
19668         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19669         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19670         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19671         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19672         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19673         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19674         * sysdeps/x86_64/ifuncmain8.c: New file.
19675         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19676         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19677         Removed.
19678         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19679         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19680         Change rtld_savespace_sse to __glibc_unused2.
19681         (RTLD_CHECK_FOREIGN_CALL): Removed.
19682         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19683         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19684         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19686 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19688         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19690 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19692         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19693         Unconditionally set __fpcr to avoid uninialized warning.
19694         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19696 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19698         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19699         is corrupt.
19701         * malloc/arena.c (arena_get2): Drop unused argument.
19702         (arena_lock): Adjust.
19703         (arena_get_retry): Likewise.
19705 2015-08-24  Andreas Schwab  <schwab@suse.de>
19707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19708         Don't define.
19709         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19710         (__ASSUME_IPC64): Don't undef.
19711         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19712         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19713         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19714         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19715         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19716         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19717         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19718         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19719         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19720         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19721         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19722         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19723         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19724         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19725         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19726         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19727         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19728         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19729         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19730         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19731         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19733 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19735         * manual/Makefile (install): Only build manual when perl is available.
19737 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19740         '#undef memcpy' by '#undef memchr'.
19742 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19744         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19745         memchr not point to the internal __GI_memchr implementation.
19747 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19749         * timezone/Makefile (CFLAGS-zdump.c): Remove
19750         -Wno-strict-prototypes.
19751         (CFLAGS-zic.c): Likewise.
19752         (CFLAGS-ialloc.c): Likewise.
19753         (CFLAGS-scheck.c): Likewise.
19755         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19756         -Wno-error=undef.
19758 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19760         * i386/i686/multiarch/strcasestr-c.c: Removed.
19761         * x86_64/multiarch/strcasestr.c: Likewise.
19762         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19763         Remove strcasestr.
19765 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19767         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19770         variables for high and low parts before possibly modifying them.
19772 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19774         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19775         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19776         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19777         of "multiarch/init-arch.h".
19778         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19779         * sysdeps/x86/init-arch.h: This.
19781 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19783         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19784         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19786 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19788         [BZ #17787]
19789         * manual/macros.texi: Add twoexp macro.
19790         * manual/filesys.texi: Fix exponents.
19791         * manual/llio.texi: Likewise.
19792         * manual/stdio.texi: Likewise.
19794 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19796         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19797         incorrect use.
19799 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19801         [BZ #18370]
19802         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19803         whose real or imaginary part has small absolute value.
19804         * math/s_csqrtf.c (__csqrtf): Likewise.
19805         * math/s_csqrtl.c (__csqrtl): Likewise.
19806         * math/auto-libm-test-in: Add more tests of csqrt.
19807         * math/auto-libm-test-out: Regenerated.
19808         * sysdeps/i386/fpu/libm-test-ulps: Update.
19810 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19812         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19813         __ppc_set_ppr_very_low): New functions.
19814         * manual/platform.texi: Add documentation about
19815         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19817 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19819         * string/stpncpy.c (stpncpy): Improve performance using
19820         __strnlen/memcpy/memset.
19822 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19824         [BZ #18796]
19825         * scripts/test-installation.pl: Don't add -lmvec to build options if
19826         libmvec wasn't built.
19828 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19830         [BZ #14341]
19831         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19832         case when there is a gap between DT_REL and DT_JMPREL sections.
19833         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19834         (LDFLAGS-tst-split-dynreloc): New.
19835         (tst-split-dynreloc-ENV): Likewise.
19836         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19837         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19839 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19841         [BZ #18822]
19842         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19843         attribute_hidden.
19844         (__xstat64_conv): Likewise.
19845         (__xstat32_conv): Likewise.
19847 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19849         [BZ #18822]
19850         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19851         Don't load %ebx when calling __setcontext.  Call __setcontext
19852         with HIDDEN_JUMPTARGET.
19853         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19854         libc_hidden_def.
19856 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19858         * sysdeps/i386/i686/Makefile
19859         [$(subdir) == string] (sysdep_routines): Moved to ...
19860         * sysdeps/i386/Makefile: Here.
19861         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19862         * sysdeps/i386/cacheinfo.c: Here.
19863         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19864         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19865         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19866         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19868 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19870         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19871         __i586__ is defined.
19872         (HAS_I686): Defined to 1 if __i686__ is defined.
19874 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19876         * elf/Makefile [$(have-z-execstack) = yes]
19877         (CPPFLAGS-tst-execstack.c): New variable.
19879         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19880         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19881         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19882         UTMPX || _HAVE_UT_TV].
19883         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19884         UTMPX || _HAVE_UT_TV - 0].
19886 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19888         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19889         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19890         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19892 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19894         * sysdeps/powerpc/dl-procinfo.c:
19895         (_dl_powerpc_cap_flags): Added missing strings for some
19896         hwcap features.
19897         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19899 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19901         Port the 0x7efe...feff pattern to GCC 6.
19902         See Steve Ellcey's bug report in:
19903         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19904         * string/memrchr.c (MEMRCHR):
19905         * string/rawmemchr.c (RAWMEMCHR):
19906         * string/strchr.c (strchr):
19907         * string/strchrnul.c (STRCHRNUL):
19908         Rewrite code to avoid issues with signed shift overflow.
19910 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19912         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19913         whether cpuid is available only if HAS_CPUID is 0.
19914         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19915         (HAS_I586): Likewise.
19916         (HAS_I686): Likewise.
19918 2015-08-18  Zack Weinberg  <zackw@panix.com>
19920         * misc/Versions (libc): Add GLIBC_2.23.
19922 2015-08-18  Alan Modra  <amodra@gmail.com>
19924         [BZ #18421]
19925         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19926         .Lp__global.
19927         (_start): Load %dp via .Lp__global.
19928         [!SHARED]: Use .section .rodata.
19930 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19932         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19933         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19935 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19937         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19938         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19942         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19943         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19945 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19947         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19948         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19950 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19952         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19953         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19955 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19957         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19958         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19960 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19962         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19964 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19966         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19967         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19968         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19969         (__ASSUME_LWS_CAS): Delete.
19971 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19973         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19974         * sysdeps/hppa/configure: Regenerated.
19975         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19976         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19977         * sysdeps/hppa/nptl/tls.h: Likewise.
19979 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19981         [BZ #18823]
19982         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19983         for scaling up small arguments.
19984         * math/s_csqrtf.c (__csqrtf): Likewise.
19985         * math/s_csqrtl.c (__csqrtl): Likewise.
19986         * math/auto-libm-test-in: Add more tests of csqrt.
19987         * math/auto-libm-test-out: Regenerated.
19989 2015-08-17  Andreas Schwab  <schwab@suse.de>
19991         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19992         version set GLIBC_2.19.
19994 2015-08-16  Zack Weinberg  <zackw@panix.com>
19996         [BZ #18681]
19997         * misc/regexp.h: This interface is no longer supported.
19998         Remove all contents, leaving only an #error directive.
19999         * misc/regexp.c (loc1, loc2, locs, step, advance):
20000         Demote to compatibility symbols.
20002 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20004         [BZ #18084]
20005         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20006         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20007         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20008         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20009         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20010         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20011         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20012         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20013         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20015 2015-08-15  Zack Weinberg  <zackw@panix.com>
20017         [BZ #18795]
20018         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20019         buffer length is known to be too large, not if it's known to be
20020         small enough.
20021         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20022         overflow at runtime, involving a length parameter, twice: once
20023         with a compile-time constant length parameter, once without.
20025 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20027         [BZ #18824]
20028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20029         scaling x * y up instead of down.
20030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20032         * math/auto-libm-test-in: Add more tests of fma.
20033         * math/auto-libm-test-out: Regenerated.
20035 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20039 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20041         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20042         unnecessary movq.
20043         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20044         Likewise.
20046 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20048         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20049         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20050         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20051         and tgamma.
20052         * math/auto-libm-test-out: Regenerated.
20053         * sysdeps/i386/fpu/libm-test-ulps: Update.
20054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20056         [BZ #16520]
20057         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20058         (__tanh): Force underflow exception for arguments with small
20059         absolute value.
20060         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20061         (__tanhf): Force underflow exception for arguments with small
20062         absolute value.
20063         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20064         (__tanhl): Force underflow exception for arguments with small
20065         absolute value.
20066         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20067         (__tanhl): Force underflow exception for arguments with small
20068         absolute value.
20069         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20070         (__tanhl): Force underflow exception for arguments with small
20071         absolute value.
20072         * math/auto-libm-test-in: Add more tests of tanh.
20073         * math/auto-libm-test-out: Regenerated.
20074         * sysdeps/i386/fpu/libm-test-ulps: Update.
20076 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20078         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20079         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20081 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20083         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20084         <cpuid.h>.
20086 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20088         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20089         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20093         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20094         Remove $(objpfx)init-arch.o.
20095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20096         init-arch.
20097         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20098         (INIT_ARCH_EXT): Defined as empty.
20099         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20100         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20101         __init_cpu_features call.  Replace HAS_XXX with
20102         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20103         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20105         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20106         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20108         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20109         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20110         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20112         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20113         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20114         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20115         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20116         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20118         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20119         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20124         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20125         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20126         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20127         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20128         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20130         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20132         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20133         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20136         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20137         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20139 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20141         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20142         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20143         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20144         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20145         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20146         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20147         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20148         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20149         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20150         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20151         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20152         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20153         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20154         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20155         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20156         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20159         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20164         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20167         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20170         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20172         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20173         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20175         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20180         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20183         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20185 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20187         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20188         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20189         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20190         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20191         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20192         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20193         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20194         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20195         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20197         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20198         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20199         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20200         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20201         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20202         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20203         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20204         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20205         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20206         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20208         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20209         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20210         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20211         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20212         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20213         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20214         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20215         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20216         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20217         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20218         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20219         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20220         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20222         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20223         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20224         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20225         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20226         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20227         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20228         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20229         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20231 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20233         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20234         (dl_platform_init): Call init_cpu_features.
20235         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20236         * sysdeps/i386/i686/cacheinfo.c
20237         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20238         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20239         * sysdeps/i386/i686/multiarch/Versions: Removed.
20240         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20241         Removed.
20242         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20243         * sysdeps/unix/sysv/linux/x86/Makefile
20244         (libpthread-sysdep_routines): Remove init-arch.
20245         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20246         <sysdeps/x86_64/dl-procinfo.c> instead of
20247         sysdeps/generic/dl-procinfo.c>.
20248         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20249         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20250         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20251         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20252         [$(subdir) == elf] (tests-static): Add
20253         tst-get-cpu-features-static.
20254         * sysdeps/x86/Versions: New file.
20255         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20256         * sysdeps/x86/cpu-features.c: Likewise.
20257         * sysdeps/x86/cpu-features.h: Likewise.
20258         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20259         * sysdeps/x86/libc-start.c: Likewise.
20260         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20261         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20262         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20263         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20264         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20265         Assume USE_MULTIARCH is defined and don't check it.
20266         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20267         (is_amd): Likewise.
20268         (max_cpuid): Likewise.
20269         (intel_check_word): Likewise.
20270         (__cache_sysconf): Don't call __init_cpu_features.
20271         (__x86_preferred_memory_instruction): Removed.
20272         (init_cacheinfo): Don't call __init_cpu_features. Replace
20273         __cpu_features with GLRO(dl_x86_cpu_features).
20274         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20275         (dl_platform_init): Call init_cpu_features.
20276         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20277         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20278         * sysdeps/x86_64/multiarch/Versions: Removed.
20279         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20280         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20281         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20282         Removed.
20283         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20285 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20287         [BZ #18820]
20288         * libio/Makefile (test-fmemopen-mem): New test.
20289         * libio/test-fmemopen.c (do_bz18820): New test.
20290         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20291         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20293 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20295         [BZ #16734]
20296         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20297         (FREE_BUF): Delete.
20298         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20299         * libio/genops.c (_IO_setb): Use malloc and free directly.
20300         (_IO_default_doallocate, _IO_default_finish): Likewise.
20301         ( _IO_unbuffer_all): Likewise.
20302         ( libc_freeres_fn): Likewise.
20303         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20304         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20305         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20306         (_IO_wdefault_doallocate): Likewise.
20308 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20310         [BZ #18086]
20311         * sysdeps/posix/nice.c (nice): Restore old errno.
20312         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20314 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20316         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20318 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20320         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20321         __bcopy and add a weak_alias to bcopy.
20322         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20323         for static build.
20325         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20326         cleanup macro usage.
20327         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20328         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20330         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20332         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20333         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20334         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20335         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20336         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20338         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20340         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20343         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20344         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20345         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20347         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20348         libc_hidden_def.
20349         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20351         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20352         (sysdep_routines): Add strstr-ppc64.
20353         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20355 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20357         [BZ #18778]
20358         * elf/Makefile (tests): Add Add tst-nodelete2.
20359         (modules-names): Add tst-nodelete2mod.
20360         (tst-nodelete2mod.so-no-z-defs): New.
20361         ($(objpfx)tst-nodelete2): Likewise.
20362         ($(objpfx)tst-nodelete2.out): Likewise.
20363         (LDFLAGS-tst-nodelete2): Likewise.
20364         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20365         out of loop through all loaded libraries.
20366         * elf/tst-nodelete2.c: New file.
20367         * elf/tst-nodelete2mod.c: Likewise.
20368         * elf/tst-znodelete-zlib.cc: Delete.
20370 2015-08-11  Andreas Schwab  <schwab@suse.de>
20372         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20373         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20374         (__openat64_nocancel): Likewise.
20376 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20378         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20379         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20380         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20381         * math/auto-libm-test-out: Regenerated.
20382         * sysdeps/i386/fpu/libm-test-ulps: Update.
20383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20385 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20387         [BZ #18790]
20388         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20389         threshold for returning +/- 1.
20390         * math/auto-libm-test-in: Add more tests of tanh.
20391         * math/auto-libm-test-out: Regenerated.
20392         * sysdeps/i386/fpu/libm-test-ulps: Update.
20394 2015-08-10  Andreas Schwab  <schwab@suse.de>
20396         [BZ #18781]
20397         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20398         MORE_OFLAGS to oflag.
20399         * io/test-lfs.c (do_test): Test openat64.
20401 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #18789]
20404         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20405         smaller threshold for returning the argument.
20406         * math/auto-libm-test-in: Add more tests of sinh.
20407         * math/auto-libm-test-out: Regenerated.
20408         * sysdeps/i386/fpu/libm-test-ulps: Update.
20410 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20412         [BZ #18674]
20413         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20414         break.
20416 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20418         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20419         (generated): Don't add $(addprefix z.,$(tzfiles)).
20421 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20423         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20424         * scripts/sysd-rules.awk: Likewise.
20426 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20428         * iconvdata/tst-tables.sh: Change echo -n to printf.
20429         * nss/db-Makefile: Likewise.
20430         * posix/tst-getconf.sh: Likewise.
20431         * stdio-common/tst-unbputc.sh: Likewise.
20433 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20435         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20436         MADV_*_PAGES defines behind this feature check.
20438 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20440         [BZ #18480]
20441         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20442         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20443         Define.
20444         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20445         LOAD_REGS_5, LOAD_REGS_6): Update.
20446         (INTERNAL_SYSCALL): Update using new LOAD defines.
20447         (INTERNAL_SYSCALL_NCS): Likewise.
20448         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20450 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20452         [BZ #16734]
20453         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20455 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20457         [BZ #17905]
20458         * catgets/Makefile (tst-catgets-mem): New test.
20459         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20460         * catgets/open_catalog.c (__open_catalog): Likewise.
20461         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20463 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20465         [BZ #18787]
20466         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20467         clobber registers.
20468         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20469         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20470         Cast return to __typeof (oldval).
20472 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20474         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20475         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20476         and delete sys/syscall.h include.
20478 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20480         [BZ #16517]
20481         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20482         (tan): Force underflow exception for arguments with small absolute
20483         value.
20484         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20485         (__kernel_tanf): Force underflow exception for arguments with
20486         small absolute value.
20487         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20488         (__kernel_tanl): Force underflow exception for arguments with
20489         small absolute value.
20490         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20491         (__kernel_tanl): Force underflow exception for arguments with
20492         small absolute value.
20493         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20494         (__kernel_tanl): Force underflow exception for arguments with
20495         small absolute value.
20496         * math/auto-libm-test-in: Add more tests of tan.
20497         * math/auto-libm-test-out: Regenerated.
20499 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20501         Fix sysdeps/i386/fpu/s_scalbn.S build
20503         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20505 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20507         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20509 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20511         Fix gcrt0.o compilation
20513         When static-start-installed-name is different from
20514         start-installed-name, we must not use the shared objects.
20516         * csu/Makefile
20517         (extra-objs): Add gmon-start.o when building shared library and
20518         $(static-start-installed-name) is different from
20519         $(start-installed-name).
20520         $(objpfx)g$(static-start-installed-name): When building shared
20521         library and $(static-start-installed-name) is different from
20522         $(static-start-installed-name), revert to non-shared rule,
20523         i.e. using $(objpfx)% and gmon-start.o.
20525 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20527         [BZ #16519]
20528         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20529         (__ieee754_sinh): Force underflow exception for arguments with
20530         small absolute value.
20531         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20532         (__ieee754_sinhf): Force underflow exception for arguments with
20533         small absolute value.
20534         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20535         (__ieee754_sinhl): Force underflow exception for arguments with
20536         small absolute value.
20537         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20538         (__ieee754_sinhl): Force underflow exception for arguments with
20539         small absolute value.
20540         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20541         (__ieee754_sinhl): Force underflow exception for arguments with
20542         small absolute value.
20543         * math/auto-libm-test-in: Add more tests of sinh.
20544         * math/auto-libm-test-out: Regenerated.
20545         * sysdeps/i386/fpu/libm-test-ulps: Update.
20547 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20549         * libio/oldfileops.c: Include unistd.h.
20551 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20553         * stdlib/isomac.c: Include ctype.h.
20555 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20557         * dirent/tst-seekdir.c (main): Converted to ...
20558         (do_test): ... this.
20559         (TEST_FUNCTION): New macro.
20560         Include test-skeleton.c.
20561         * elf/tst-dlmodcount.c (main): Converted to ...
20562         (do_test): ... this.
20563         (TEST_FUNCTION): New macro.
20564         Include test-skeleton.c.
20565         * elf/tst-order-main.c (main): Converted to ...
20566         (do_test): ... this.
20567         (TEST_FUNCTION): New macro.
20568         Include test-skeleton.c.
20569         * elf/tst-pie2.c (main): Converted to ...
20570         (do_test): ... this.
20571         (TEST_FUNCTION): New macro.
20572         Include test-skeleton.c.
20573         * inet/tst-ether_aton.c (main): Converted to ...
20574         (do_test): ... this.
20575         (TEST_FUNCTION): New macro.
20576         Include test-skeleton.c.
20577         * misc/tst-mntent.c (main): Converted to ...
20578         (do_test): ... this.
20579         (TEST_FUNCTION): New macro.
20580         Include test-skeleton.c.
20581         * misc/tst-tsearch.c (main): Converted to ...
20582         (do_test): ... this.
20583         (TEST_FUNCTION): New macro.
20584         Include test-skeleton.c.
20585         * posix/tst-regexloc.c (main): Converted to ...
20586         (do_test): ... this.
20587         (TEST_FUNCTION): New macro.
20588         Include test-skeleton.c.
20589         * resolv/tst-aton.c (main): Converted to ...
20590         (do_test): ... this.
20591         (TEST_FUNCTION): New macro.
20592         Include test-skeleton.c.
20593         * stdio-common/test-fwrite.c (main): Converted to ...
20594         (do_test): ... this.
20595         (TEST_FUNCTION): New macro.
20596         Include test-skeleton.c.
20597         * stdio-common/tst-ferror.c (main): Converted to ...
20598         (do_test): ... this.
20599         (TEST_FUNCTION): New macro.
20600         Include test-skeleton.c.
20601         * stdio-common/tst-printf.c (main): Converted to ...
20602         (do_test): ... this.
20603         (TEST_FUNCTION): New macro.
20604         Include test-skeleton.c.
20605         * stdio-common/tst-printfsz.c (main): Converted to ...
20606         (do_test): ... this.
20607         (TEST_FUNCTION): New macro.
20608         Include test-skeleton.c.
20609         * stdlib/tst-strtod.c (main): Converted to ...
20610         (do_test): ... this.
20611         (TEST_FUNCTION): New macro.
20612         Include test-skeleton.c.
20613         * string/tst-strlen.c (main): Converted to ...
20614         (do_test): ... this.
20615         (TEST_FUNCTION): New macro.
20616         Include test-skeleton.c.
20617         * string/tst-svc.c (main): Converted to ...
20618         (do_test): ... this.
20619         (TEST_FUNCTION): New macro.
20620         Include test-skeleton.c.
20621         * time/tst-strptime.c (main): Converted to ...
20622         (do_test): ... this.
20623         (TEST_FUNCTION): New macro.
20624         Include test-skeleton.c.
20625         * timezone/tst-timezone.c (main): Converted to ...
20626         (do_test): ... this.
20627         (TEST_FUNCTION): New macro.
20628         Include test-skeleton.c.
20630 2015-08-05  Zack Weinberg  <zackw@panix.com>
20632         * misc/regexp.h: Update comments.
20634 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20636         [BZ #18635]
20637         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20638         before return label.
20640 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20642         [BZ #18661]
20643         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20644         when calling __errno_location.
20645         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20646         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20648 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20650         [BZ #18661]
20651         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20652         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20653         __gettimeofday.
20655 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20657         [BZ #18661]
20658         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20659         (__start_context): Don't use pop to restore %rdi so that stack
20660         is aligned to 16 bytes when calling __setcontext.
20662 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20664         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20665         only for libc.
20666         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20668 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20670         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20671         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20672         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20674 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20676         * string/memccpy.c (memccpy):
20677         Improve performance by using memchr/memcpy/__mempcpy.
20679 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20681         * string/strncpy.c (strncpy):
20682         Improve performance by using __strnlen/memcpy.
20684 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20686         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20687         Optimize to avoid an unnecessary FPCR read.
20689 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20691         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20692         Optimize to reduce FPCR/FPSR accesses.
20694 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20696         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20697         dead->data[category] != NULL.
20699 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20701         [BZ #18647]
20702         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20703         and |x| close to 1, use absolute value of x when computing log.
20704         * math/auto-libm-test-in: Add more tests of pow.
20705         * math/auto-libm-test-out: Regenerated.
20707 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20709         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20710         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20711         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20713 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20715         [BZ #18525]
20716         * locales/km_KH: Remove timezone definition.
20717         * locales/lo_LA: Likewise.
20718         * locales/my_MM: Likewise.
20719         * locales/nan_TW@latin: Likewise.
20720         * locales/th_TH: Likewise.
20721         * locales/uk_UA: Likewise.
20723 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20725         [BZ #18265]
20726         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20727         (wcsncat): Likewise.
20728         (wcscmp): Likewise.
20729         (wcsncmp): Likewise.
20731 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20733         * test-skeleton.c (usage): New function.
20734         (main): Call usage when opt is '?'.
20736 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20738         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20739         before first use.
20741 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20743         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20744         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20745         in there too.
20747 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20749         * version.h (RELEASE): Set to "development".
20750         (VERSION): Set to "2.22.90"
20752         * version.h (RELEASE): Set to "stable".
20753         (VERSION): Set to "2.22"
20754         * include/features.h (__GLIBC_MINOR__): Set to 22.
20756 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20758         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20759         Restructure macro to avoid "value computed is not used" warning.
20760         (atomic_compare_and_exchange_val_acq): Likewise.
20762 2015-08-04  Andreas Schwab  <schwab@suse.de>
20764         [BZ #18635]
20765         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20766         ret.
20767         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20769 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20771         * po/pl.po: Updated translation.
20772         * po/uk.po: Likewise.
20773         * po/fi.po: Likewise.
20774         * po/ko.po: Likewise.
20775         * po/ru.po: Likewise.
20776         * po/vi.po: Likewise.
20778 2015-07-31  Zack Weinberg  <zackw@panix.com>
20780         [BZ #18681]
20781         * regexp.h: Add unconditional #warning stating that this header
20782         will be removed soon.  Revise banner comment to match.
20783         (compile): Consistently use ERROR instead of RETURN to report
20784         errors (partial fix for bz#18681).
20785         * regexp.c: Don't include regexp.h. Remove some unnecessary
20786         declarations.
20788 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20790         * po/libc.pot: Regenerated.
20792 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20794         [BZ #18740]
20795         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20796         float-vlen4-arch-ext-cflags): Removed.
20797         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20798         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20800 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20802         [BZ #14113]
20803         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20804         aligned to __aligned__.
20805         (pthread_cond_t, pthread_rwlock_t): Likewise.
20807 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20809         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20811 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20813         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20814         (struct sigaction): Change sa_flags from a long to an int, and add
20815         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20817 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20819         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20820         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20821         sysdeps/generic/sysdep.h include.
20822         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20823         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20824         sysdeps/hppa/sysdep.h.
20825         (ENTRY, PSEUDO): Undefine before defining.
20827 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20829         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20830         from scratch to use INTERNAL_SYSCALL.
20832 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20834         [BZ #18078]
20835         * scripts/check-localplt.awk: Support alternate relocations.
20836         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20837         sections.
20838         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20839         malloc entries with + REL R_386_GLOB_DAT.
20840         * sysdeps/x86_64/localplt.data: New file.
20842 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20844         [BZ #18731]
20845         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20846         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20847         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20849 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20851         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20853 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20855         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20856         directly in terms of __sync_fetch_and_add and delete (int) cast.
20858 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20860         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20861         the -D_ASM_IA64_CURRENT_H flag.
20863 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20865         [BZ #18641]
20866         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20868 2015-07-27  Andreas Schwab  <schwab@suse.de>
20870         * conform/conformtest.pl (checknamespace): Filter out string
20871         literals while tokenizing.
20873 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20875         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20876         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20877         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20879 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20881         * nptl/tst-join7mod.c: Add #include <string.h>.
20883 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20885         * sysdeps/nios2/libm-test-ulps: Update.
20887 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20889         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20890         Fix order of arguments to the rt_sigprocmask syscall.
20891         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20892         Likewise.
20894 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20896         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20898 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20900         [BZ #18457]
20901         * nptl/Makefile (tests): New test case tst-join7.
20902         (modules-names): New test case module tst-join7mod.
20903         * nptl/tst-join7.c: New file.
20904         * nptl/tst-join7mod.c: New file.
20905         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20906         all translation units in libc.so, libpthread.so and rtld.
20908 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20912 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20915         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20916         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20919         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20920         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20922         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20923         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20924         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20926         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20927         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20929         implementation.
20931 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20933         [BZ #17711]
20934         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20935         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20936         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20937         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20938         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20939         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20941 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20943         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20944         instead of just saying load lock in the comments.
20946 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20948         * sysdeps/unix/Subdirs: Moved ...
20949         * sysdeps/posix/Subdirs: ... here.
20950         * login/pty.h (struct termios, struct winsize): Add forward decls.
20951         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20952         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20953         * sysdeps/arm/nacl/libc.abilist: Updated.
20954         * sysdeps/nacl/libutil.abilist: New file.
20956         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20957         (SIGWINCH): New macro.
20959         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20960         * sysdeps/arm/nacl/libc.abilist: Add it.
20962 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20964         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20966 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20968         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20969         Swap __glibc_reserved0 and sa_flags order.
20971 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20973         [BZ #18657]
20974         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20975         are pending TLS destructor calls.
20976         * include/link.h (struct link_map): Add concurrency note for
20977         L_TLS_DTOR_COUNT.
20978         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20979         Don't touch the link map flag.  Atomically increment
20980         l_tls_dtor_count.
20981         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20982         Avoid taking the load lock and don't touch the link map flag.
20983         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20984         * stdlib/Makefile (tests): Use it.
20985         * stdlib/tst-tls-atexit.c (do_test): dlopen
20986         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20987         to allow tst-tls-atexit-nodelete test case to use it.
20989 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20991         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20992         to bits/types.h.
20993         (msgqnum_t): New typedef.
20994         (msglen_t): Likewise.
20995         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20996         and msg_qbytes type to msglen_t.
20998 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21000         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21001         pad0 to __glibc_reserved0.
21002         (struct stat64): Likewise.
21004 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21006         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21007         Change sa_flags from a long to an int and add __glibc_reserved0 before
21008         it for padding.
21010 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21012         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21013         anonymous by deleting "siginfo" name.
21015 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21017         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21018         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21019         rather than __nacl_irt_filename.
21020         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21022         * NEWS: New item for arm-nacl port.
21023         * sysdeps/arm/nacl/libc.abilist: New file.
21024         * sysdeps/nacl/ld.abilist: New file.
21025         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21026         * sysdeps/nacl/libanl.abilist: New file.
21027         * sysdeps/nacl/libcrypt.abilist: New file.
21028         * sysdeps/nacl/libdl.abilist: New file.
21029         * sysdeps/nacl/libm.abilist: New file.
21030         * sysdeps/nacl/libpthread.abilist: New file.
21031         * sysdeps/nacl/libresolv.abilist: New file.
21032         * sysdeps/nacl/librt.abilist: New file.
21034 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21036         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21037         __startcontext to initialize the new context.
21038         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21039         up CFI directive to forbid further backtracing.
21041 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21043         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21044         reference.
21045         * charmaps/ANSI_X3.4-1968: Likewise.
21046         * charmaps/BS_4730: Likewise.
21047         * charmaps/BS_VIEWDATA: Likewise.
21048         * charmaps/CP1250: Likewise.
21049         * charmaps/CP1251: Likewise.
21050         * charmaps/CP1252: Likewise.
21051         * charmaps/CP1253: Likewise.
21052         * charmaps/CP1254: Likewise.
21053         * charmaps/CP1255: Likewise.
21054         * charmaps/CP1256: Likewise.
21055         * charmaps/CSN_369103: Likewise.
21056         * charmaps/EBCDIC-DK-NO: Likewise.
21057         * charmaps/GB_1988-80: Likewise.
21058         * charmaps/GREEK-CCITT: Likewise.
21059         * charmaps/GREEK7: Likewise.
21060         * charmaps/INIS-8: Likewise.
21061         * charmaps/ISIRI-3342: Likewise.
21062         * charmaps/ISO_2033-1983: Likewise.
21063         * charmaps/ISO_5427-EXT: Likewise.
21064         * locales/POSIX: Likewise.
21065         * locales/ar_SA: Likewise.
21066         * locales/be_BY: Likewise.
21067         * locales/be_BY@latin: Likewise.
21068         * locales/ca_ES: Likewise.
21069         * locales/cs_CZ: Likewise.
21070         * locales/da_DK: Likewise.
21071         * locales/de_BE: Likewise.
21072         * locales/de_CH: Likewise.
21073         * locales/de_LU: Likewise.
21074         * locales/en_AU: Likewise.
21075         * locales/en_BW: Likewise.
21076         * locales/en_CA: Likewise.
21077         * locales/en_DK: Likewise.
21078         * locales/en_GB: Likewise.
21079         * locales/en_IE: Likewise.
21080         * locales/en_NZ: Likewise.
21081         * locales/en_ZA: Likewise.
21082         * locales/en_ZW: Likewise.
21083         * locales/es_AR: Likewise.
21084         * locales/es_BO: Likewise.
21085         * locales/es_CL: Likewise.
21086         * locales/es_CO: Likewise.
21087         * locales/es_DO: Likewise.
21088         * locales/es_EC: Likewise.
21089         * locales/es_ES: Likewise.
21090         * locales/es_HN: Likewise.
21091         * locales/es_MX: Likewise.
21092         * locales/es_PA: Likewise.
21093         * locales/es_PE: Likewise.
21094         * locales/es_PY: Likewise.
21095         * locales/es_SV: Likewise.
21096         * locales/es_US: Likewise.
21097         * locales/es_UY: Likewise.
21098         * locales/es_VE: Likewise.
21099         * locales/et_EE: Likewise.
21100         * locales/fa_IR: Likewise.
21101         * locales/fo_FO: Likewise.
21102         * locales/fr_CA: Likewise.
21103         * locales/fr_CH: Likewise.
21104         * locales/gv_GB: Likewise.
21105         * locales/he_IL: Likewise.
21106         * locales/hr_HR: Likewise.
21107         * locales/id_ID: Likewise.
21108         * locales/is_IS: Likewise.
21109         * locales/it_CH: Likewise.
21110         * locales/iw_IL: Likewise.
21111         * locales/kl_GL: Likewise.
21112         * locales/ko_KR: Likewise.
21113         * locales/kw_GB: Likewise.
21114         * locales/lg_UG: Likewise.
21115         * locales/lt_LT: Likewise.
21116         * locales/lv_LV: Likewise.
21117         * locales/mi_NZ: Likewise.
21118         * locales/nhn_MX: Likewise.
21119         * locales/nl_BE: Likewise.
21120         * locales/pl_PL: Likewise.
21121         * locales/sk_SK: Likewise.
21122         * locales/sl_SI: Likewise.
21123         * locales/sv_FI: Likewise.
21124         * locales/tl_PH: Likewise.
21125         * locales/tr_TR: Likewise.
21126         * locales/vi_VN: Likewise.
21128 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21130         [BZ #17475]
21131         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21132         of tu_IN and bh_IN.
21134 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21136         [BZ #18694]
21137         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21138         bits/wordsize.h.
21139         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21141 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21143         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21144         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21145         (spawn_thread): New function.
21146         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21147         (do_test): ... here.  Use IS_LOADED to test for its
21148         availability.
21150 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21152         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21154 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21156         [BZ #18696]
21157         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21158         si_addr_bnd.
21159         (si_lower): New.
21160         (si_upper): Likewise.
21162 2015-07-16  David S. Miller  <davem@davemloft.net>
21164         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21166 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21168         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21169         buffer.
21170         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21171         fail output information.
21173 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21176         and strstr-ppc64..
21177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21178         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21179         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21180         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21181         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21183 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21185         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21186         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21187         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21188         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21190 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21192         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21193         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21194         rtld_hidden_proto.
21195         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21197 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21199         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21200         the test can fail.
21202         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21204         [BZ #18676]
21205         * elf/tst-nodelete-opened.c: New test case.
21206         * elf/tst-nodelete-opened-lib.c: New test case module.
21207         * elf/Makefile (tests, modules-names): Use them.
21208         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21209         early.
21211 2015-07-15  David S. Miller  <davem@davemloft.net>
21213         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21214         futex-intenal.h
21215         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21216         * sysdeps/sparc/sparc64/Makefile: Likewise.
21217         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21218         Remove space from macro define.
21219         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21221 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21223         [BZ #17475]
21224         * locale/iso-639.def: Update Bhili and Tulu language codes as
21225         per iso639-3.
21227 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21229         * elf/tst-leaks1.c (main): Converted to ...
21230         (do_test): ... this.
21231         (TEST_FUNCTION): New macro.
21232         Include test-skeleton.c.
21233         * localedata/tst-langinfo.c (main): Converted to ...
21234         (do_test): ... this.
21235         (TEST_FUNCTION): New macro.
21236         Include test-skeleton.c.
21237         * math/test-fpucw.c (main): Converted to ...
21238         (do_test): ... this.
21239         (TEST_FUNCTION): New macro.
21240         Include test-skeleton.c.
21241         * math/test-tgmath.c (main): Converted to ...
21242         (do_test): ... this.
21243         (TEST_FUNCTION): New macro.
21244         Include test-skeleton.c.
21245         * math/test-tgmath2.c (main): Converted to ...
21246         (do_test): ... this.
21247         (TEST_FUNCTION): New macro.
21248         Include test-skeleton.c.
21249         * setjmp/tst-setjmp.c (main): Converted to ...
21250         (do_test): ... this.
21251         (TEST_FUNCTION): New macro.
21252         Include test-skeleton.c.
21253         * stdio-common/tst-sscanf.c (main): Converted to ...
21254         (do_test): ... this.
21255         (TEST_FUNCTION): New macro.
21256         Include test-skeleton.c.
21257         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21258         (do_test): ... this.
21259         (TEST_FUNCTION): New macro.
21260         Include test-skeleton.c.
21262         * elf/tst-audit9.c (main): Converted to ...
21263         (do_test): ... this.
21264         (TEST_FUNCTION): New macro.
21265         Include test-skeleton.c.
21267 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21269         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21271 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21273         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21274         New variable.
21276 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21278         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21280 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21282         * sysdeps/generic/dl-fileid.h: New file.
21283         * sysdeps/posix/dl-fileid.h: New file.
21284         * sysdeps/nacl/dl-fileid.h: New file.
21285         * include/link.h: Include <dl-fileid.h>.
21286         (struct link_map): Replace l_dev and l_ino with l_file_id.
21287         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21288         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21289         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21291 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21295 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21297         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21298         Add iff $CXX is set.
21299         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21300         Likewise.
21301         (tst-nodelete-zmodiff): Likewise.
21302         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21304 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21306         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21308 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21310         * sysdeps/aarch64/fpu/math_private.h
21311         (define math_opt_barrier): Add AArch64 version.
21312         (math_force_eval): Likewise.
21314 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21316         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21318 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21320         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21321         %ld with %jd and cast to intmax_t.
21322         (do_test_length_zero): Likewise.
21324 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21326         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21328 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21330         * sysdeps/tile/libm-test-ulps: Regenerated.
21332         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21333         Comment out the whole function, not just its body.
21335 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21337         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21338         locks.
21340         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21342 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21344         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21345         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21347 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21349         * sysdeps/nptl/futex-internal.h: New file.
21350         * sysdeps/nacl/futex-internal.h: New file.
21351         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21352         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21353         error checking.
21354         (setxid_unmark_thread): Likewise.
21355         (__nptl_setxid): Likewise.
21356         (__wait_lookup_done): Likewise.
21357         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21358         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21359         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21360         * nptl/pthread_once.c (clear_once_control): Likewise.
21361         (__pthread_once_slow): Likewise.
21362         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21363         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21364         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21365         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21366         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21367         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21368         Likewise.
21369         (__pthread_rwlock_rdlock): Likewise.
21370         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21371         Likewise.
21372         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21373         Likewise.
21374         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21375         Likewise.
21376         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21377         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21378         Likewise.
21379         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21380         __ASSUME_PRIVATE_FUTEX check.
21381         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21382         Check that shared futexes are supported.
21383         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21384         wrappers with error checking.
21385         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21386         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21387         * nptl/pthread_barrierattr_setpshared.c
21388         (pthread_barrierattr_setpshared): Check that shared futexes are
21389         supported.
21390         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21391         Likewise.
21392         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21393         Likewise.
21394         * nptl/sem_init.c (futex_private_if_supported): Remove.
21395         (__new_sem_init): Adapt and check that shared futexes are supported.
21396         * nptl/sem_open.c (sem_open): Likewise.
21397         * nptl/sem_post.c (futex_wake): Remove.
21398         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21399         (do_futex_wait): Use futex wrappers with error checking.
21400         * nptl/sem_wait.c: Include lowlevellock.h.
21401         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21402         Use futex_supports_pshared.
21403         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21404         Use futex wrappers with error checking.
21405         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21406         Likewise.
21407         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21408         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21409         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21410         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21411         (futex_wake): Likewise.
21412         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21413         (do_futex_wait): Use futex wrappers with error checking.
21414         (__new_sem_wait_slow): Update EINTR handling.
21415         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21417 2015-07-09  Martin Sebor  <msebor@redhat.com>
21419         [BZ #18435]
21420         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21421         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21422         * nptl/Makefile (test-xfail-tst-once5): Define.
21424 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21426         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21427         * elf/dl-minimal.c: For readability, reorder some definitions and
21428         introduce more page breaks.  Include <stdio.h>.
21429         (__libc_fatal): New function.
21431         * include/unistd.h: Add rtld_hidden_proto for _exit.
21432         * posix/_exit.c: Add rtld_hidden_def.
21433         * sysdeps/mach/hurd/_exit.c: Likewise.
21434         * sysdeps/nacl/_exit.c: Likewise.
21435         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21436         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21438 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21441         bndmov encoding with zero displacement.
21443 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21444             H.J. Lu  <hongjiu.lu@intel.com>
21446         [BZ #18134]
21447         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21448         * sysdeps/i386/configure: Regenerated.
21449         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21450         (_dl_runtime_profile): Save and restore Intel MPX return bound
21451         registers when calling _dl_call_pltexit.  Add
21452         PRESERVE_BND_REGS_PREFIX before return.
21453         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21454         (LRV_BND1_OFFSET): Likewise.
21455         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21456         lrv_bnd1.
21457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21458         typo in bndmov encoding.
21459         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21460         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21461         branch instructions to preserve bounds.
21463 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21466         [GLIBC_2.22]: Add fmemopen.
21468 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21470         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21471         returns an error, also try to use host port from __mach_host_self for
21472         the __vm_wire call.
21473         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21475 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21477         [BZ #18400]
21478         [BZ #18648]
21479         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21480         Fix pr_uid and pr_gid members.
21481         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21482         definition to elf_greg_t.
21484 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21486         [BZ #18383]
21487         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21488         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21489         * sysdeps/arm/configure: Regenerated.
21490         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21491         (test-xfail-tst-tlsalign-static): Variable removed.
21493         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21494         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21495         rather than explicit 'ln -s'.
21497         * resolv/rpc/netdb.h: New file.
21498         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21500 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21502         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21503         length buffers.
21504         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21505         test-skeleton.c.
21507         [BZ #6544]
21508         [BZ #11216]
21509         [BZ #12836]
21510         [BZ #13151]
21511         [BZ #13152]
21512         [BZ #14292]
21513         * include/stdio.h (fmemopen): Remove hidden prototype.
21514         (__fmemopen): Add new hidden prototype.
21515         * libio/Makefile: Add oldfmemopen object.
21516         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21517         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21518         compliance.
21519         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21520         symbol compatibility.
21521         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21522         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21523         fmemopen.
21524         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21525         on append and read mode.
21526         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21527         fmemopen.
21528         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21529         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21530         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21531         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21532         Likewise.
21533         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21534         [GLIBC_2.22]: Likewise.
21535         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21536         Likewise.
21537         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21538         Likewise.
21539         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21540         [GLIBC_2.22]: Likewise.
21541         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21542         [GLIBC_2.22]: Likewise.
21543         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21544         [GLIBC_2.22]: Likewise.
21545         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21546         [GLIBC_2.22]: Likewise.
21547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21548         [GLIBC_2.22]: Likewise.
21549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21550         [GLIBC_2.22]: Likewise.
21551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21552         [GLIBC_2.22]: Likewise.
21553         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21554         Likewise.
21555         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21556         Likewise.
21557         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21558         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21559         [GLIBC_2.22]: Likewise.
21560         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21561         [GLIBC_2.22]: Likewise.
21562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21563         [GLIBC_2.22]: Likewise.
21564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21565         [GLIBC_2.22]: Likewise.
21566         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21567         Likewise.
21568         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21573         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21575 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21577         [BZ #18643]
21578         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21579         IPV6_PATHMTU, and IPV6_DONTFRAG.
21581 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21583         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21584         and _IO_UNBUFFERED.
21585         * libio/oldfileops.c: Likewise.
21586         * libio/wfileops.c: Likewise.
21588 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21590         * nscd/selinux.c: Delete selinux/flask.h include.
21592 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21594         [BZ #18641]
21595         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21596         (putpwent): Likewise.
21597         (getpwnam): Likewise.
21598         (getpwent_r): Likewise.
21599         (getpwuid_r): Likewise.
21600         (getpwnam_r): Likewise.
21601         (fgetpwent_r): Likewise.
21603 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21605         [BZ #18557]
21606         * inet/rcmd.c (__validuser2_sa): Check user first to
21607         short-circuit host check.
21609 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21610             Mikhail Ilin  <m.ilin@samsung.com>
21612         [BZ #17833]
21613         * elf/Makefile (tests): Add tst-nodelete.
21614         (modules-names): Add tst-nodelete-uniquemod.
21615         (tst-nodelete-uniquemod.so-no-z-defs): New.
21616         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21617         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21618         ($(objpfx)tst-nodelete): Likewise.
21619         ($(objpfx)tst-nodelete.out): Likewise.
21620         (LDFLAGS-tst-nodelete): Likewise.
21621         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21622         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21623         implement forced object deletion.
21624         (_dl_close): Pass false to _dl_close_worker.
21625         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21626         * elf/tst-nodelete.cc: New file.
21627         * elf/tst-nodeletelib.cc: Likewise.
21628         * elf/tst-znodeletelib.cc: Likewise.
21629         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21631 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21633         [BZ #18508]
21634         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21635         Depend on $(libdl).
21636         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21637         is not called infinitely times.
21638         (backtrace_helper): New function.
21639         (trace_arg): New struct.
21640         (st1): Enlarge stack size.
21641         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21642         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21643         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21644         Likewise.
21646 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21648         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21650 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21652         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21653         Include sys/types.h instead of bits/types.h.
21654         Remove inclusion of bits/wordsize.h.
21656 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21658         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21659         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21660         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21661         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21662         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21663         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21665 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21667         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21668         link-defines.sym.
21669         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21670         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21671         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21672         and LR_SIZE.
21673         * sysdeps/i386/link-defines.sym: New file.
21675 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21677         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21678         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21679         ($(objpfx)tst-audit3): New rule.
21680         ($(objpfx)tst-audit3.out): Likewise.
21681         * sysdeps/i386/tst-audit3.c: New file.
21682         * sysdeps/i386/tst-audit3.h: Likewise.
21683         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21684         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21686 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21688         [BZ #18633]
21689         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21690         pointer in C code.
21691         (__strcat_c): Likewise.
21692         (__strcat_g): Likewise.
21694 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21696         [BZ #18592]
21697         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21699 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21701         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21702         New function.  (__ieee754_sqrtf): New function.
21703         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21704         New function.
21705         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21706         New function.
21708 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21710         * sysdeps/ieee754/support.c: Remove unused file.
21712 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21714         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21715         registers instead of d ones so the layout is kernel abi compatible.
21716         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21717         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21718         Likewise.
21720 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21722         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21724 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21726         [BZ #18619]
21727         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21728         and return argument in case of subnormal argument.
21730 2015-07-01  Martin Sebor  <msebor@redhat.com>
21732         [BZ #18435]
21733         * nptl/Makefile: Add tst-once5.cc.
21734         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21735         Remove macro redefinitions.
21736         * nptl/tst-once5.cc: New test.
21738 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21740         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21742         * sysdeps/arm/libm-test-ulps: Regenerated.
21744         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21747 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21749         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21750         lll_lock_wait_private and lll_futex_wake probes.
21752         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21753         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21754         Likewise.
21755         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21756         atomic_spin_nop.
21757         * sysdeps/x86_64/bits/atomic.h: Likewise.
21758         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21759         to atomic_spin_nop and move ...
21760         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21761         ... here and ...
21762         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21763         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21764         atomic_spin_nop instead of BUSY_WAIT_NOP.
21765         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21766         Likewise.
21767         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21768         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21769         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21770         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21771         instead of atomic_delay.
21773 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21775         [BZ #18613]
21776         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21777         X_ADJ not X when adjusting exponent.
21778         (__ieee754_gamma_r): Do intermediate computations in
21779         round-to-nearest then adjust overflowing and underflowing results
21780         as needed.
21781         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21782         of X_ADJ not X when adjusting exponent.
21783         (__ieee754_gammaf_r): Do intermediate computations in
21784         round-to-nearest then adjust overflowing and underflowing results
21785         as needed.
21786         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21787         log of X_ADJ not X when adjusting exponent.
21788         (__ieee754_gammal_r): Do intermediate computations in
21789         round-to-nearest then adjust overflowing and underflowing results
21790         as needed.  Use 1.0L not 1.0f as numerator of division.
21791         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21792         log of X_ADJ not X when adjusting exponent.
21793         (__ieee754_gammal_r): Do intermediate computations in
21794         round-to-nearest then adjust overflowing and underflowing results
21795         as needed.  Use 1.0L not 1.0f as numerator of division.
21796         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21797         of X_ADJ not X when adjusting exponent.
21798         (__ieee754_gammal_r): Do intermediate computations in
21799         round-to-nearest then adjust overflowing and underflowing results
21800         as needed.  Use 1.0L not 1.0f as numerator of division.
21801         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21802         to auto-libm-test-in.
21803         (tgamma_test): Use ALL_RM_TEST.
21804         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21805         tests of tgamma with spurious-overflow.
21806         * math/auto-libm-test-out: Regenerated.
21807         * math/gen-libm-have-vector-test.sh: Do not check for START.
21808         * sysdeps/i386/fpu/libm-test-ulps: Update.
21809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21811         [BZ #18612]
21812         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21813         arguments, just return 0.5 times the argument, with underflow
21814         forced as needed.
21815         * math/auto-libm-test-in: Add more tests of j1.
21816         * math/auto-libm-test-out: Regenerated.
21818         [BZ #16559]
21819         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21820         (__ieee754_j1): Force underflow exception for small results.
21821         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21822         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21823         (__ieee754_j1f): Force underflow exception for small results.
21824         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21825         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21826         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21827         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21828         (__ieee754_j1l): Force underflow exception for small results.
21829         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21830         * math/auto-libm-test-in: Add more tests of j1 and jn.
21831         * math/auto-libm-test-out: Regenerated.
21833         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21834         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21835         (PF_MPLS): Likewise.
21836         (AF_IB): Likewise.
21837         (AF_MPLS): Likewise.
21838         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21839         value and macro.
21840         (MS_RMT_MASK): Include MS_LAZYTIME.
21842 2015-06-26  Mel Gorman  <mgorman@suse.de>
21844         [BZ #18502]
21845         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21846         already minimal.
21848 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21850         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21851         (DT_MIPS_NUM): Update.
21852         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21853         DT_MIPS_RLD_MAP_REL.
21855 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21857         [BZ #16559]
21858         [BZ #18602]
21859         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21860         round-to-nearest internally then recompute results that
21861         underflowed to zero in the original rounding mode.
21862         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21863         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21866         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21867         * sysdeps/i386/fpu/libm-test-ulps: Update.
21868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21870 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21872         * NEWS: Fixed description of link with vector math library.
21874 2015-06-25  Andreas Schwab  <schwab@suse.de>
21876         [BZ #18549]
21877         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21878         * libio/test-fmemopen.c (do_test): Add test for it.
21880 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21882         [BZ #17841]
21883         * Makeconfig (no-pie-ldflag): New.
21884         (+link): Set to $(+link-pie) if default to PIE.
21885         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21886         * config.make.in (build-pie-default): New.
21887         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21888         is default.  AC_SUBST.
21889         * configure: Regenerated.
21890         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21892 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21894         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21895         to 'unsigned int'.
21897         * resolv/gai_misc.h (struct waitlist): Change type of field
21898         counterp to 'volatile unsigned int *'.
21899         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21900         FUTEXADDR and OLDVAL.
21901         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21902         Give local variable TOTAL type 'volatile unsigned int'.
21903         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21904         * resolv/gai_suspend.c (gai_suspend):
21905         Give local variable CNTR type 'unsigned int'.
21907         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21908         counterp to 'volatile unsigned int *'.
21909         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21910         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21911         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21912         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21913         Give local variable TOTAL type 'volatile unsigned int'.
21914         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21916 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21918         [BZ #18383]
21919         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21920         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21921         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21922         comment for i386/x86-64.
21923         (test-xfail-tst-tlsalign-extern-static): Removed.
21925 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21927         * math/test-double.h: New file.
21928         * math/test-float.h: Likewise.
21929         * math/test-ldouble.h: Likewise.
21930         * math/test-math-inline.h: Likewise.
21931         * math/test-math-no-inline.h: Likewise.
21932         * math/test-math-scalar.h: Likewise.
21933         * math/test-math-vector.h: Likewise.
21934         * math/test-vec-loop.h: Remove file.  Contents moved into
21935         test-math-vector.h.
21936         * math/libm-test.inc (MATHCONST): Do not document macro.
21937         * math/test-double.c: Include test-double.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_DOUBLE): Likewise.
21947         (TEST_MATHVEC): Likewise.
21948         (__NO_MATH_INLINES): Likewise.
21949         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
21959         (TEST_MATHVEC): Likewise.
21960         (__NO_MATH_INLINES): Likewise.
21961         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21962         and test-math-scalar.h.
21963         (FUNC): Remove macro.
21964         (FUNC_TEST): Likewise.
21965         (FLOAT): Likewise.
21966         (MATHCONST): Likewise.
21967         (PRINTF_EXPR): Likewise.
21968         (PRINTF_XEXPR): Likewise.
21969         (PRINTF_NEXPR): Likewise.
21970         (TEST_DOUBLE): Likewise.
21971         (TEST_MATHVEC): Likewise.
21972         (TEST_INLINE): Likewise.
21973         (__NO_MATH_INLINES): Likewise.
21974         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21975         test-math-scalar.h.
21976         (FUNC): Remove macro.
21977         (FUNC_TEST): Likewise.
21978         (FLOAT): Likewise.
21979         (MATHCONST): Likewise.
21980         (PRINTF_EXPR): Likewise.
21981         (PRINTF_XEXPR): Likewise.
21982         (PRINTF_NEXPR): Likewise.
21983         (TEST_FLOAT): Likewise.
21984         (TEST_MATHVEC): Likewise.
21985         (TEST_INLINE): Likewise.
21986         (__NO_MATH_INLINES): Likewise.
21987         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21988         and test-math-scalar.h.
21989         (FUNC): Remove macro.
21990         (FUNC_TEST): Likewise.
21991         (FLOAT): Likewise.
21992         (MATHCONST): Likewise.
21993         (PRINTF_EXPR): Likewise.
21994         (PRINTF_XEXPR): Likewise.
21995         (PRINTF_NEXPR): Likewise.
21996         (TEST_LDOUBLE): Likewise.
21997         (TEST_MATHVEC): Likewise.
21998         (TEST_INLINE): Likewise.
21999         (__NO_MATH_INLINES): Likewise.
22000         * math/test-ldouble.c: Include test-ldouble.h,
22001         test-math-no-inline.h and test-math-scalar.h.
22002         (FUNC): Remove macro.
22003         (FUNC_TEST): Likewise.
22004         (FLOAT): Likewise.
22005         (MATHCONST): Likewise.
22006         (PRINTF_EXPR): Likewise.
22007         (PRINTF_XEXPR): Likewise.
22008         (PRINTF_NEXPR): Likewise.
22009         (TEST_LDOUBLE): Likewise.
22010         (TEST_MATHVEC): Likewise.
22011         (__NO_MATH_INLINES): Likewise.
22012         * math/test-double-vlen2.h: Include test-double.h,
22013         test-math-no-inline.h and test-math-vector.h.
22014         (FLOAT): Remove macro.
22015         (FUNC): Likewise.
22016         (MATHCONST): Likewise.
22017         (PRINTF_EXPR): Likewise.
22018         (PRINTF_XEXPR): Likewise.
22019         (PRINTF_NEXPR): Likewise.
22020         (TEST_DOUBLE): Likewise.
22021         (TEST_MATHVEC): Likewise.
22022         (__NO_MATH_INLINES): Likewise.
22023         (CNCT): Likewise.
22024         (CONCAT): Likewise.
22025         (WRAPPER_NAME): Likewise.
22026         (WRAPPER_DECL): Likewise.
22027         (WRAPPER_DECL_ff): Likewise.
22028         (WRAPPER_DECL_fFF): Likewise.
22029         (VECTOR_WRAPPER): Likewise.
22030         (VECTOR_WRAPPER_ff): Likewise.
22031         (VECTOR_WRAPPER_fFF): Likewise.
22032         (VEC_LEN): New macro.
22033         * math/test-double-vlen4.h: Include test-double.h,
22034         test-math-no-inline.h and test-math-vector.h.
22035         (FLOAT): Remove macro.
22036         (FUNC): Likewise.
22037         (MATHCONST): Likewise.
22038         (PRINTF_EXPR): Likewise.
22039         (PRINTF_XEXPR): Likewise.
22040         (PRINTF_NEXPR): Likewise.
22041         (TEST_DOUBLE): Likewise.
22042         (TEST_MATHVEC): Likewise.
22043         (__NO_MATH_INLINES): Likewise.
22044         (CNCT): Likewise.
22045         (CONCAT): Likewise.
22046         (WRAPPER_NAME): Likewise.
22047         (WRAPPER_DECL): Likewise.
22048         (WRAPPER_DECL_ff): Likewise.
22049         (WRAPPER_DECL_fFF): Likewise.
22050         (VECTOR_WRAPPER): Likewise.
22051         (VECTOR_WRAPPER_ff): Likewise.
22052         (VECTOR_WRAPPER_fFF): Likewise.
22053         (VEC_LEN): New macro.
22054         * math/test-double-vlen8.h: Include test-double.h,
22055         test-math-no-inline.h and test-math-vector.h.
22056         (FLOAT): Remove macro.
22057         (FUNC): Likewise.
22058         (MATHCONST): Likewise.
22059         (PRINTF_EXPR): Likewise.
22060         (PRINTF_XEXPR): Likewise.
22061         (PRINTF_NEXPR): Likewise.
22062         (TEST_DOUBLE): Likewise.
22063         (TEST_MATHVEC): Likewise.
22064         (__NO_MATH_INLINES): Likewise.
22065         (CNCT): Likewise.
22066         (CONCAT): Likewise.
22067         (WRAPPER_NAME): Likewise.
22068         (WRAPPER_DECL): Likewise.
22069         (WRAPPER_DECL_ff): Likewise.
22070         (WRAPPER_DECL_fFF): Likewise.
22071         (VECTOR_WRAPPER): Likewise.
22072         (VECTOR_WRAPPER_ff): Likewise.
22073         (VECTOR_WRAPPER_fFF): Likewise.
22074         (VEC_LEN): New macro.
22075         * math/test-float-vlen4.h: Include test-float.h,
22076         test-math-no-inline.h and test-math-vector.h.
22077         (FLOAT): Remove macro.
22078         (FUNC): Likewise.
22079         (MATHCONST): Likewise.
22080         (PRINTF_EXPR): Likewise.
22081         (PRINTF_XEXPR): Likewise.
22082         (PRINTF_NEXPR): Likewise.
22083         (TEST_FLOAT): Likewise.
22084         (TEST_MATHVEC): Likewise.
22085         (__NO_MATH_INLINES): Likewise.
22086         (CNCT): Likewise.
22087         (CONCAT): Likewise.
22088         (WRAPPER_NAME): Likewise.
22089         (WRAPPER_DECL): Likewise.
22090         (WRAPPER_DECL_ff): Likewise.
22091         (WRAPPER_DECL_fFF): Likewise.
22092         (VECTOR_WRAPPER): Likewise.
22093         (VECTOR_WRAPPER_ff): Likewise.
22094         (VECTOR_WRAPPER_fFF): Likewise.
22095         (VEC_LEN): New macro.
22096         * math/test-float-vlen8.h: Include test-float.h,
22097         test-math-no-inline.h and test-math-vector.h.
22098         (FLOAT): Remove macro.
22099         (FUNC): Likewise.
22100         (MATHCONST): Likewise.
22101         (PRINTF_EXPR): Likewise.
22102         (PRINTF_XEXPR): Likewise.
22103         (PRINTF_NEXPR): Likewise.
22104         (TEST_FLOAT): Likewise.
22105         (TEST_MATHVEC): Likewise.
22106         (__NO_MATH_INLINES): Likewise.
22107         (CNCT): Likewise.
22108         (CONCAT): Likewise.
22109         (WRAPPER_NAME): Likewise.
22110         (WRAPPER_DECL): Likewise.
22111         (WRAPPER_DECL_ff): Likewise.
22112         (WRAPPER_DECL_fFF): Likewise.
22113         (VECTOR_WRAPPER): Likewise.
22114         (VECTOR_WRAPPER_ff): Likewise.
22115         (VECTOR_WRAPPER_fFF): Likewise.
22116         (VEC_LEN): New macro.
22117         * math/test-float-vlen16.h: Include test-float.h,
22118         test-math-no-inline.h and test-math-vector.h.
22119         (FLOAT): Remove macro.
22120         (FUNC): Likewise.
22121         (MATHCONST): Likewise.
22122         (PRINTF_EXPR): Likewise.
22123         (PRINTF_XEXPR): Likewise.
22124         (PRINTF_NEXPR): Likewise.
22125         (TEST_FLOAT): Likewise.
22126         (TEST_MATHVEC): Likewise.
22127         (__NO_MATH_INLINES): Likewise.
22128         (CNCT): Likewise.
22129         (CONCAT): Likewise.
22130         (WRAPPER_NAME): Likewise.
22131         (WRAPPER_DECL): Likewise.
22132         (WRAPPER_DECL_ff): Likewise.
22133         (WRAPPER_DECL_fFF): Likewise.
22134         (VECTOR_WRAPPER): Likewise.
22135         (VECTOR_WRAPPER_ff): Likewise.
22136         (VECTOR_WRAPPER_fFF): Likewise.
22137         (VEC_LEN): New macro.
22138         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22139         test-vec-loop.h.
22140         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22142         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22143         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22144         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22145         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22146         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22148 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22150         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22151         (__getlogin_r): ... this.
22153 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22155         [BZ #18594]
22156         * math/s_ccosh.c (__ccosh): Compare with least normal value
22157         instead of comparing class with FP_SUBNORMAL.
22158         * math/s_ccoshf.c (__ccoshf): Likewise.
22159         * math/s_ccoshl.c (__ccoshl): Likewise.
22160         * math/s_cexp.c (__cexp): Likewise.
22161         * math/s_cexpf.c (__cexpf): Likewise.
22162         * math/s_cexpl.c (__cexpl): Likewise.
22163         * math/s_csin.c (__csin): Likewise.
22164         * math/s_csinf.c (__csinf): Likewise.
22165         * math/s_csinh.c (__csinh): Likewise.
22166         * math/s_csinhf.c (__csinhf): Likewise.
22167         * math/s_csinhl.c (__csinhl): Likewise.
22168         * math/s_csinl.c (__csinl): Likewise.
22169         * math/s_ctan.c (__ctan): Likewise.
22170         * math/s_ctanf.c (__ctanf): Likewise.
22171         * math/s_ctanh.c (__ctanh): Likewise.
22172         * math/s_ctanhf.c (__ctanhf): Likewise.
22173         * math/s_ctanhl.c (__ctanhl): Likewise.
22174         * math/s_ctanl.c (__ctanl): Likewise.
22175         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22176         csin, csinh, ctan and ctanh.
22177         * math/auto-libm-test-out: Regenerated.
22178         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22179         * sysdeps/i386/fpu/libm-test-ulps: Update.
22180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22182 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22184         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22185         return value is wrong, print the expected value too.
22187 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22189         [BZ #18585]
22190         * elf/readlib.c (is_gdb_python_file): New.
22191         (process_file): Don't issue errors on filenames with -gdb.py
22192         suffix.
22194 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22196         * math/auto-libm-test-in: Add more tests of csin and csinh.
22197         * math/auto-libm-test-out: Regenerated.
22198         * math/libm-test.inc (csin_test_data): Remove tests moved to
22199         auto-libm-test-in.
22200         (csinh_test_data): Likewise.
22202         [BZ #18593]
22203         * math/s_csin.c (__csin): Negate before rather than after possibly
22204         overflowing multiplication.
22205         * math/s_csinf.c (__csinf): Likewise.
22206         * math/s_csinh.c (__csinh): Likewise.
22207         * math/s_csinhf.c (__csinhf): Likewise.
22208         * math/s_csinhl.c (__csinhl): Likewise.
22209         * math/s_csinl.c (__csinl): Likewise.
22210         * math/auto-libm-test-in: Add some tests of csin and csinh.
22211         * math/auto-libm-test-out: Regenerated.
22212         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22213         (csinh_test_data): Likewise.
22214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22216         [BZ #18586]
22217         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22218         underflow exception for small results.
22220 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22222         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22223         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22224         variable and included header.
22225         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22226         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22227         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22228         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22229         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22232         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22233         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22234         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22235         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22236         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22237         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22238         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22239         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22240         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22242 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22244         [BZ #16526]
22245         [BZ #16538]
22246         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22247         (__sin): Force underflow exception for arguments with small
22248         absolute value.
22249         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22250         (__kernel_sinf): Force underflow exception for arguments with
22251         small absolute value.
22252         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22253         (__kernel_sincosl): Force underflow exception for arguments with
22254         small absolute value.
22255         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22256         (__kernel_sinl): Force underflow exception for arguments with
22257         small absolute value.
22258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22259         (__kernel_sincosl): Force underflow exception for arguments with
22260         small absolute value.
22261         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22262         (__kernel_sinl): Force underflow exception for arguments with
22263         small absolute value.
22264         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22265         (__kernel_sinl): Force underflow exception for arguments with
22266         small absolute value.
22267         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22268         (__kernel_sinf): Force underflow exception for arguments with
22269         small absolute value.
22270         * math/auto-libm-test-in: Add more tests of sin and sincos.
22271         * math/auto-libm-test-out: Regenerated.
22273         [BZ #18245]
22274         [BZ #18583]
22275         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22276         (__kernel_standard_l): Use feholdexcept and fesetenv around
22277         conversion to double instead of special-casing overflow and
22278         underflow.
22279         * math/libm-test.inc (fmod_test_data): Add more tests.
22280         (remainder_test_data): Likewise.
22281         (sqrt_test_data): Likewise.
22283 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22285         [BZ #17403]
22286         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22287         atomic_read_barrier, atomic_write_barrier): Define.
22288         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22289         atomic_read_barrier, atomic_write_barrier): Define.
22291 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22293         * math/Makefile [$(PERL) != no]
22294         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22295         dependency on libm-test.stmp below the inclusion of Rules.
22297 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22299         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22301         and included header.
22302         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22303         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22304         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22305         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22306         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22310         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22311         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22312         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22313         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22314         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22315         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22316         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22317         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22318         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22319         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22320         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22322 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22324         [BZ #18371]
22325         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22326         intermediate but not final result might underflow.
22327         * math/s_csqrtf.c (__csqrtf): Likewise.
22328         * math/s_csqrtl.c (__csqrtl): Likewise.
22329         * math/auto-libm-test-in: Add more tests of csqrt.
22330         * math/auto-libm-test-out: Regenerated.
22331         * sysdeps/i386/fpu/libm-test-ulps: Update.
22333         [BZ #18219]
22334         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22335         threshold on absolute value of exponent for which scaling is used.
22336         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22337         * math/auto-libm-test-in: Add more tests of exp2.
22338         * math/auto-libm-test-out: Regenerated.
22340 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22342         [BZ #17977]
22343         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22344         when initializing interface list, based on the bug analysis
22345         and the patch proposed by Eric Newton.
22346         * resolv/tst-res_hconf_reorder.c: New test.
22347         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22348         tst-res_hconf_reorder.
22349         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22350         and $(shared-thread-library).
22351         (tst-res_hconf_reorder-ENV): New variable.
22353         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22354         in comment.
22356 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22358         [BZ #16353]
22359         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22360         (__expm1): Force underflow exception for arguments with small
22361         absolute value.
22362         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22363         (__expm1f): Force underflow exception for arguments with small
22364         absolute value.
22365         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22366         (__expm1): Force underflow exception for arguments with small
22367         absolute value.
22368         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22369         (__expm1f): Force underflow exception for arguments with small
22370         absolute value.
22371         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22372         Check for small arguments before calling __expm1.
22373         * math/auto-libm-test-in: Do not mark underflow exceptions as
22374         possibly missing for bug 16353.
22375         * math/auto-libm-test-out: Regenerated.
22377 2015-06-22  Andreas Schwab  <schwab@suse.de>
22379         [BZ #18513]
22380         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22381         PTR queries.
22383 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22385         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22387         * string/strcoll_l.c: Remove unused struct element idxnow.
22389 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22391         [BZ #18569]
22392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22393         underflow and return argument in case of subnormal argument.
22394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22395         Likewise.
22396         * math/auto-libm-test-in: Add more tests of expm1.
22397         * math/auto-libm-test-out: Regenerated.
22399         [BZ #16361]
22400         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22401         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22402         tiny results.
22403         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22404         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22405         tiny results.
22406         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22407         mark underflow exceptions as possibly missing for bug 16361.
22408         * math/auto-libm-test-out: Regenerated.
22410 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22412         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22413         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22414         Remove variable.
22415         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22416         (test-xfail-XOPEN2K8/utmpx.h/conform).
22418         * conform/conformtest.pl ($xerrors): New variable.
22419         (note_error): New function.
22420         (compiletest): New argument $xfail.  Use not_error.
22421         (runtest): Likewise.
22422         (top level): Handle xfail- lines.  Update calls to compiletest and
22423         runtest.  Handle xfail- and optional- in headers listed with
22424         allow-header.
22425         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22426         (O_EXEC): Likewise.
22427         (O_SEARCH): Likewise.
22428         * conform/data/stropts.h-data (ioctl): Likewise.
22429         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22430         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22431         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22432         (msghdr.msg_controllen): Likewise.
22433         (cmsghdr.cmsg_len): Likewise.
22434         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22435         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22436         variable.
22437         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22438         (test-xfail-XPG4/stropts.h/conform): Likewise.
22439         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22440         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22441         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22442         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22443         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22444         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22445         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22446         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22447         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22448         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22449         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22450         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22451         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22452         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22453         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22454         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22455         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22456         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22457         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22459 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22461         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22462         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22463         definitions for proper unfolding of __MATHDECL_VEC.
22465 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22467         * benchtests/bench-strcoll.c:
22468         Include string.h.
22469         (main): Remove unused variable res.
22471 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22473         * timezone/Makefile (%/UTC %/Universal):
22474         Generate test-result files for UTC and Universal.
22476 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22478         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22480 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22482         [BZ #16350]
22483         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22484         for arguments with small absolute value.
22485         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22486         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22487         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22488         (__asinh): Force underflow exception for arguments with small
22489         absolute value.
22490         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22491         (__asinhf): Force underflow exception for arguments with small
22492         absolute value.
22493         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22494         (__asinhl): Force underflow exception for arguments with small
22495         absolute value.
22496         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22497         (__asinhl): Force underflow exception for arguments with small
22498         absolute value.
22499         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22500         (__asinhl): Force underflow exception for arguments with small
22501         absolute value.
22502         * math/auto-libm-test-in: Do not mark underflow exceptions as
22503         possibly missing for bug 16350.
22504         * math/auto-libm-test-out: Regenerated.
22506         * include/bits/ipc.h: Remove file.
22507         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22508         variable.
22509         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22510         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22511         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22512         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22513         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22514         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22515         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22516         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22517         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22519         * math/auto-libm-test-in: Remove spurious underflow allowance for
22520         tests of cexp.
22521         * math/auto-libm-test-out: Regenerated.
22523         [BZ #18558]
22524         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22525         unconditional definition.
22526         (MCAST_BLOCK_SOURCE): Likewise.
22527         (MCAST_UNBLOCK_SOURCE): Likewise.
22528         (MCAST_LEAVE_GROUP): Likewise.
22529         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22530         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22531         (MCAST_MSFILTER): Likewise.
22532         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22533         Remove variable.
22534         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22535         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22536         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22537         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22538         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22540 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22542         * NEWS: Mention addition of x86_64 vector sincosf.
22543         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22544         * math/test-float-vlen4.h: Likewise.
22545         * math/test-float-vlen8.h: Likewise.
22546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22547         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22548         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22549         * sysdeps/x86_64/fpu/Versions: New versions added.
22550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22551         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22552         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22553         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22554         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22555         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22556         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22557         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22558         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22559         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22560         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22561         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22562         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22563         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22564         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22565         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22566         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22567         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22568         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22569         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22570         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22572         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22573         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22575         * NEWS: Mention addition of x86_64 vector sincos.
22576         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22577         * math/math.h (__MATHDECL_VEC): New macro.
22578         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22579         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22580         declaration under condition.
22581         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22582         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22583         TEST_VEC_LOOP change.
22584         * math/test-double-vlen4.h: Likewise.
22585         * math/test-double-vlen8.h: Likewise.
22586         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22587         * math/test-float-vlen4.h: Likewise.
22588         * math/test-float-vlen8.h: Likewise.
22589         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22590         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22591         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22592         * sysdeps/x86_64/fpu/Versions: New versions added.
22593         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22594         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22595         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22598         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22600         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22602         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22603         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22604         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22605         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22606         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22607         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22608         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22609         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22610         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22613         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22614         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22615         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22616         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22618         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22619         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22620         redirections for powf.
22621         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22622         * sysdeps/x86_64/fpu/Versions: New versions added.
22623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22624         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22625         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22626         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22628         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22629         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22631         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22632         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22633         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22634         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22635         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22636         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22637         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22638         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22639         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22640         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22641         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22642         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22643         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22644         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22645         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22646         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22647         * math/test-float-vlen16.h: Fixed 2 argument macro.
22648         * math/test-float-vlen4.h: Likewise.
22649         * math/test-float-vlen8.h: Likewise.
22650         * NEWS: Mention addition of x86_64 vector powf.
22652 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22654         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22655         and redefine.
22656         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22657         and redefine.
22658         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22659         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22660         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22662         [BZ #18553]
22663         * resource/getpriority.c (getpriority): Rename to __getpriority
22664         and define as weak alias of __getpriority.
22665         * resource/setpriority.c (setpriority): Rename to __setpriority
22666         and define as weak alias of __setpriority.
22667         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22668         __getpriority and define as weak alias of __getpriority.
22669         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22670         __setpriority and define as weak alias of __setpriority.
22671         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22672         strong name.
22673         (setpriority): Use __setpriority as strong name.
22674         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22675         __getpriority and define as weak alias of __getpriority.
22676         * include/sys/resource.h (__getpriority): Declare.  Use
22677         libc_hidden_proto.
22678         (__setpriority): Likewise.
22679         (getpriority): Don't use libc_hidden_proto.
22680         (setpriority): Likewise.
22681         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22682         getpriority.  Call __setpriority instead of setpriority.
22683         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22684         Remove variable.
22686         [BZ #18547]
22687         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22688         as weak alias of __getttynam.  Use prototype function definition.
22689         Call __setttyent, __getttyent and __endttyent instead of
22690         setttyent, getttyent and endttyent.
22691         (getttyent): Rename to __getttyent and define as weak alias of
22692         __getttyent.  Call __setttyent instead of setttyent.  Call
22693         __fgets_unlocked instead of fgets_unlocked.
22694         (setttyent): Rename to __setttyent and define as weak alias of
22695         __setttyent.
22696         (endttyent): Rename to __endttyent and define as weak alias of
22697         __endttyent.
22698         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22699         (__setttyent): Likewise.
22700         (__endttyent): Likewise.
22701         (getttyent): Don't use libc_hidden_proto.
22702         (setttyent): Likewise.
22703         (endttyent): Likewise.
22704         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22705         __endttyent instead of setttyent, getttyent and endttyent.
22706         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22707         Remove variable.
22709         [BZ #18546]
22710         * socket/recv.c (__recv): Use libc_hidden_def.
22711         * socket/socket.c (__socket): Likewise.
22712         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22713         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22714         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22715         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22716         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22717         libc_hidden_def.
22718         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22719         libc_hidden_weak.
22720         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22721         Use libc_hidden_proto.
22722         (__recv): Likewise.
22723         * socket/Versions (libc): Export __recv and __socket at version
22724         GLIBC_PRIVATE.
22725         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22726         instead of recv.
22727         (init_mq_netlink): Call __socket instead of socket.
22728         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22729         Remove variable.
22731         [BZ #18545]
22732         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22733         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22734         hidden_weak.
22735         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22736         define as alias of __mq_timedsend.  Use hidden_weak.
22737         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22738         __mq_timedsend as strong name.
22739         (mq_timedreceive): Use __mq_timedreceive as strong name.
22740         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22741         (__mq_timedreceive): Likewise.
22742         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22743         __mq_timedreceive instead of mq_timedreceive.
22744         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22745         instead of mq_timedsend.
22746         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22747         Remove variable.
22749         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22750         hidden_def and hidden_weak instead of libc_hidden_def and
22751         libc_hidden_weak.
22752         (top level): Refer to hidden_def in comment.
22753         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22754         macro.  Use it instead of libc_hidden_def.
22755         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22756         specify __GI_* name explicitly.
22757         (mq_timedreceive): Likewise.
22758         (mq_setattr): Likewise.
22760         [BZ #18544]
22761         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22762         __pthread_barrier_init and define as weak alias of
22763         __pthread_barrier_init.
22764         * sysdeps/sparc/nptl/pthread_barrier_init.c
22765         (pthread_barrier_init): Likewise.
22766         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22767         __pthread_barrier_wait and define as weak alias of
22768         __pthread_barrier_wait.
22769         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22770         (pthread_barrier_wait): Likewise.
22771         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22772         (pthread_barrier_wait): Likewise.
22773         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22774         (pthread_barrier_wait): Likewise.
22775         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22776         (pthread_barrier_wait): Likewise.
22777         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22778         __pthread_barrier_wait at version GLIBC_PRIVATE.
22779         * include/pthread.h (__pthread_barrier_init): Declare.
22780         (__pthread_barrier_wait): Likewise.
22781         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22782         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22783         (helper_thread): Likewise.
22784         (init_mq_netlink): Call __pthread_barrier_init instead of
22785         pthread_barrier_init.
22787         [BZ #18542]
22788         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22789         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22790         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22791         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22792         vswscanf.
22793         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22794         Remove variable.
22796         [BZ #18540]
22797         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22798         strong alias of _IO_fflush.  Use libc_hidden_def.
22799         * libio/iofflush_u.c (fflush_unlocked): Rename to
22800         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22801         Use libc_hidden_weak.
22802         * include/stdio.h (__fflush_unlocked): Declare.  Use
22803         libc_hidden_proto.
22804         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22805         fflush_unlocked.
22806         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22807         Remove variable.
22809         [BZ #18539]
22810         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22811         define as weak alias of __addseverity.
22812         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22813         Remove variable.
22814         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22815         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22816         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22818         [BZ #18536]
22819         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22820         (__tfind): Likewise.
22821         (__tdelete): Likewise.
22822         (__twalk): Likewise.
22823         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22824         __twalk to GLIBC_PRIVATE.
22825         * include/search.h (__tsearch): Use libc_hidden_proto.
22826         (__tfind): Likewise.
22827         (__tdelete): Likewise.
22828         (__twalk): Likewise.
22829         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22830         Call __tdelete instead of tdelete.
22831         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22832         tfind.  Call __tsearch instead of tsearch.
22833         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22834         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22835         Remove variable.
22836         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22838         [BZ #18534]
22839         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22840         (dprintf): Define as a weak alias of __dprintf, not a strong
22841         alias.
22842         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22843         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22844         dprintf.
22845         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22846         Remove variable.
22847         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22848         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22850         [BZ #18533]
22851         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22852         not a strong alias.
22853         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22854         Remove variable.
22856         [BZ #18532]
22857         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22858         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22859         (in6addr_loopback): Rename to __in6addr_loopback and define as
22860         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22861         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22862         libc_hidden_proto.
22863         (__in6addr_any): Likewise.
22864         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22865         in6addr_any.
22866         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22867         variable.
22868         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22870 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22872         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22873         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22874         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22875         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22876         redirections for pow.
22877         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22878         * sysdeps/x86_64/fpu/Versions: New versions added.
22879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22880         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22881         build of SSE, AVX2 and AVX512 IFUNC versions.
22882         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22883         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22884         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22885         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22886         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22887         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22888         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22889         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22890         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22891         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22892         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22893         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22894         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22895         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22896         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22897         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22899         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22900         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22901         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22902         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22903         * NEWS: Mention addition of x86_64 vector pow.
22905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22906         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22907         redirections for expf.
22908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22909         * sysdeps/x86_64/fpu/Versions: New versions added.
22910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22912         build of SSE, AVX2 and AVX512 IFUNC versions.
22913         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22914         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22915         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22916         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22917         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22918         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22919         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22920         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22921         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22922         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22923         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22924         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22925         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22926         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22927         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22928         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22931         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22932         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22933         * NEWS: Mention addition of x86_64 vector expf.
22935         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22936         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22937         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22938         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22939         redirections for exp.
22940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22941         * sysdeps/x86_64/fpu/Versions: New versions added.
22942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22944         build of SSE, AVX2 and AVX512 IFUNC versions.
22945         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22946         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22947         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22949         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22950         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22951         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22952         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22953         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22954         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22955         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22956         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22957         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22958         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22959         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22960         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22961         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22962         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22963         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22964         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22965         * NEWS: Mention addition of x86_64 vector exp.
22967         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22968         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22969         redirections for logf.
22970         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22971         * sysdeps/x86_64/fpu/Versions: New versions added.
22972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22973         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22974         build of SSE, AVX2 and AVX512 IFUNC versions.
22975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22976         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22977         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22978         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22979         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22980         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22981         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22982         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22983         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22984         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22985         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22986         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22987         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22988         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22989         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22990         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22991         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22992         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22993         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22994         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22995         * NEWS: Mention addition of x86_64 vector logf.
22997         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22998         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22999         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23000         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23001         redirections for log.
23002         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23003         * sysdeps/x86_64/fpu/Versions: New versions added.
23004         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23005         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23006         build of SSE, AVX2 and AVX512 IFUNC versions.
23007         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23008         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23009         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23010         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23011         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23012         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23013         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23014         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23015         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23016         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23017         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23018         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23019         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23020         test.
23021         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23022         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23023         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23024         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23025         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23026         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23027         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23028         * NEWS: Mention addition of x86_64 vector log.
23030 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23032         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23033         cfi_adjust_cfa_offset argument.
23034         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23035         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23037         [BZ #18034]
23038         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23039         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23040         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23041         ordering using ldar.
23042         (_dl_tlsdesc_dynamic): Likewise.
23043         (_dl_tlsdesc_return_lazy): Likewise.
23044         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23045         relaxed atomics instead of volatile and synchronize with release store.
23046         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23047         volatile.
23048         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23050 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23053         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23054         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23055         * sysdeps/x86_64/fpu/Versions: New versions added.
23056         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23057         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23058         build of SSE, AVX2 and AVX512 IFUNC versions.
23059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23060         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23061         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23062         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23063         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23064         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23065         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23066         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23067         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23068         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23069         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23070         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23071         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23072         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23073         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23074         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23075         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23077         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23078         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23079         * NEWS: Mention addition of x86_64 vector sinf.
23081 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23083         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23084         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23085         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23086         Remove variable.
23087         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23088         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23090 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23092         [BZ #18530]
23093         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23094         strong alias of _IO_fputs.  Use libc_hidden_def.
23095         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23096         and define as weak alias of __fputs_unlocked.  Use
23097         libc_hidden_weak.
23098         * include/stdio.h (__fputs_unlocked): Declare.  Use
23099         libc_hidden_proto.
23100         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23101         fputs_unlocked.
23103         [BZ #18529]
23104         * resolv/netdb.h [__USE_POSIX]: Change condition to
23105         [__USE_XOPEN2K].
23106         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23107         not expect.
23108         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23109         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23110         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23111         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23112         [XPG4 || UNIX98] (AI_ALL): Likewise.
23113         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23114         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23115         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23116         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23117         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23118         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23119         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23120         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23121         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23122         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23123         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23124         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23125         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23126         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23127         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23128         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23129         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23130         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23131         [XPG4 || UNIX98] (gai_strerror): Likewise.
23132         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23133         [XPG4 || UNIX98] (getnameinfo): Likewise.
23135         [BZ #18528]
23136         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23137         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23138         __USE_XOPEN2K8].
23139         (getgrent): Likewise.
23140         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23141         expect.
23142         [XPG3 || POSIX2008] (endgrent): Likewise.
23143         [XPG3] (setgrent): Likewise.
23144         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23145         variable.
23146         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23148         [BZ #18527]
23149         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23150         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23151         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23152         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23153         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23154         * include/unistd.h (__getlogin_r): Declare.  Use
23155         libc_hidden_proto.
23156         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23157         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23158         variable.
23159         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23160         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23161         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23163 2015-06-12  Martin Sebor  <msebor@redhat.com>
23165         [BZ #18512]
23166         * Makerules (check-install-supported): New target.
23167         (install): Add check-install-supported as a dependency.
23168         * manual/install.texi (Installing the C Library): Document
23169         that overriding prefix and exec_prefix is not supported.
23170         Mention DESTDIR.
23171         * INSTALL: Regenerate from the above.
23173 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23175         [BZ #18519]
23176         * posix/Versions (libc): Export __libc_pread at version
23177         GLIBC_PRIVATE.
23178         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23179         instead of pread.
23180         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23181         variable.
23183         [BZ #18522]
23184         * misc/efgcvt_r.c
23185         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23186         (cvt_symbol): Use weak_alias instead of strong_alias.
23187         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23188         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23189         Remove variable.
23190         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23191         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23193         [BZ #18520]
23194         * inet/herrno.c (h_errno): Rename to __h_errno.
23195         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23196         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23197         to __h_errno instead of h_errno.
23198         * nptl/herrno.c (h_errno): Rename to __h_errno.
23199         (__h_errno_location): Refer to __h_errno not h_errno.
23200         * resolv/Versions (h_errno): Rename to __h_errno.
23201         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23202         Remove variable.
23203         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23205 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23207         * configure.ac: More strict check for AVX512 assembler support.
23208         * configure: Regenerated.
23210         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23211         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23212         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23213         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23215         * sysdeps/x86_64/fpu/Versions: New versions added.
23216         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23217         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23218         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23221         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23222         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23223         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23224         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23225         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23226         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23227         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23228         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23229         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23230         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23231         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23232         test.
23233         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23234         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23235         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23236         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23237         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23238         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23239         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23240         * NEWS: Mention addition of x86_64 vector sin.
23242 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23244         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23245         comment.
23247 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23249         [BZ #18479]
23250         * nptl/pt-interp.c: New file.
23251         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23252         Add pt-interp.
23253         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23254         $(common-objpfx)runtime-linker.h.
23256 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23258         * Makeconfig (+interp): Remove unused variable.
23259         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23260         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23261         $(elf-objpfx)runtime-linker.h.
23262         ($(elf-objpfx)runtime-linker.h): Rename to
23263         $(common-objpfx)runtime-linker.h and move ...
23264         * Makerules [$(build-shared) = yes]: ... here.
23265         * elf/interp.c: Include <runtime-linker.h> instead of
23266         <elf/runtime-linker.h>.
23268 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23270         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23271         (__gettimeofday_syscall): Remove vsyscall fallback.
23272         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23273         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23274         Add syscall fallback function.
23275         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23276         if vDSO is not present.
23277         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23278         fallback function.
23279         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23280         present.
23281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23282         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23284 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23286         [BZ #18497]
23287         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23288         of wcscmp.
23289         (wcscmp): Define as weak alias of WCSCMP.
23290         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23291         wcscoll.
23292         (USE_HIDDEN_DEF): Define.
23293         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23294         __wcscoll.  Don't use libc_hidden_weak.
23295         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23296         wcscmp.
23297         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23298         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23299         __GI_wcscmp.
23300         (weak_alias): Undefine and redefine.
23301         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23302         __wcscmp and define as weak alias of __wcscmp.
23303         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23304         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23305         (__wcscoll): Likewise.
23306         (wcscmp): Don't use libc_hidden_proto.
23307         (wcscoll): Likewise.
23308         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23309         wcscoll.
23310         * posix/regexec.c (check_node_accept_bytes): Likewise.
23311         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23312         variable.
23313         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23314         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23316         [BZ #18507]
23317         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23318         __fstatvfs and define as weak alias of __fstatvfs.  Use
23319         libc_hidden_weak.
23320         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23321         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23322         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23323         Define as alias of __fstatvfs, not fstatvfs.
23324         (fstatvfs64): Likewise.
23325         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23326         Define as alias of __statvfs, not statvfs.
23327         (statvfs64): Likewise.
23328         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23329         Remove variable.
23331 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23334         (HAVE_GETCPU_VSYSCALL): Define.
23335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23336         (HAVE_GETCPU_VSYSCALL): Likewise.
23337         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23338         * sysdeps/unix/sysv/linux/sched_getcpu.c
23339         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23340         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23341         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23342         prototype.
23343         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23344         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23345         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23347         Define.
23348         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23349         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23350         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23351         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23353 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23355         * sysdeps/x86_64/fpu/Makefile: New file.
23356         * sysdeps/x86_64/fpu/Versions: New file.
23357         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23358         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23359         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23360         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23361         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23362         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23363         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23364         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23365         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23366         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23367         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23368         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23369         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23370         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23371         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23372         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23373         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23374         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23375         * sysdeps/x86_64/configure: Regenerated.
23376         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23377         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23378         * manual/install.texi (Configuring and compiling): Document
23379         --disable-mathvec.
23380         * INSTALL: Regenerated.
23381         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23383         * math/Makefile: Added rules for vector tests.
23384         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23385         declaration under condition.
23386         * math/test-double-vlen2.h: New file.
23387         * math/test-double-vlen4.h: New file.
23388         * math/test-double-vlen8.h: New file.
23389         * math/test-vec-loop.h: Added initialization macro.
23390         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23391         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23392         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23393         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23394         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23395         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23396         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23397         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23398         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23399         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23400         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23402         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23403         * sysdeps/x86_64/fpu/Versions: New versions added.
23404         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23405         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23407         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23408         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23409         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23410         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23411         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23413         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23414         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23415         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23416         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23417         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23418         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23420         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23421         * NEWS: Mention addition of x86_64 vector cosf.
23423         * math/Makefile: Added CFLAGS for new tests.
23424         * math/test-float-vlen16.h: New file.
23425         * math/test-float-vlen4.h: New file.
23426         * math/test-float-vlen8.h: New file.
23427         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23428         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23430         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23431         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23432         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23433         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23434         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23435         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23436         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23437         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23439 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23441         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23442         * locale/programs/ld-ctype.c: Likewise.
23444 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23446         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23447         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23448         bit_ZMM16_31_state): New macro.
23449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23450         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23452 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23454         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23456 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23458         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23460 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23462         [BZ #18498]
23463         * libio/memstream.c (open_memstream): Rename to __open_memstream
23464         and define as weak alias of __open_memstream.
23465         * include/stdio.h (__open_memstream): Declare.  Use
23466         libc_hidden_proto.
23467         (open_memstream): Don't use libc_hidden_proto.
23468         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23469         open_memstream.
23470         * posix/getopt.c (_getopt_internal_r): Likewise.
23471         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23472         variable.
23473         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23474         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23475         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23477         [BZ #18496]
23478         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23479         instead of wcrtomb.
23481         [BZ #18483]
23482         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23483         [__USE_XOPEN2K8].  Remove redundant #endif.
23484         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23485         Remove redundant #if.
23486         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23487         Remove variable.
23488         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23489         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23491         [BZ #18495]
23492         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23493         (__iswlower): Likewise.
23494         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23495         (__iswlower): Likewise.
23496         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23497         instead of towlower.
23498         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23499         instead of iswlower.  Call __towupper instead of towupper.
23500         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23501         instead of iswalnum.
23503 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23505         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23506         errors to stderr.
23508 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23510         [BZ #15661]
23511         [BZ #17322]
23512         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23513         Check for overflow properly.  Check for O_APPEND.  Ignore large
23514         file system block sizes.  Add comments about problems.
23515         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23516         * manual/filesys.texi (Storage Allocation): New node.
23518 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23520         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23521         cancellable syscalls.
23522         (SYS_ify): Add guard to no redefine it.
23523         (INLINE_SYSCALL): Likewise.
23524         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23525         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23526         SYSCALL_CANCEL instead.
23527         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23528         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23529         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23530         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23531         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23532         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23533         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23534         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23535         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23536         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23537         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23538         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23539         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23540         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23541         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23543         Likewise.
23544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23545         (__libc_pread64): Likewise.
23546         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23547         (__libc_preadv): Likewise.
23548         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23549         (__libc_readv64): Likewise.
23550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23551         (__libc_pwrite): Likewise.
23552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23553         (__libc_pwrite64): Likewise.
23554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23555         (__libc_pwritev): Likewise.
23556         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23557         (__libc_pwritev64): Likewise.
23558         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23559         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23560         (sync_file_range): Likewise.
23561         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23562         Likewise.
23563         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23564         Likewise.
23565         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23566         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23567         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23568         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23569         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23570         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23571         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23572         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23574         Likewise.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23576         (__libc_read64): Likewise.
23577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23578         Likewise.
23579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23580         Likewise.
23581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23582         Likewise.
23583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23584         Likewise.
23585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23586         (__libc_pread64): Likewise.
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23588         Likewise.
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23590         (__libc_pwrite64): Likewise.
23591         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23592         (sync_file_range): Likewise.
23593         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23594         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23595         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23596         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23597         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23598         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23599         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23600         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23601         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23602         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23603         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23604         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23605         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23606         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23607         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23608         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23609         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23610         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23611         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23612         Likewise.
23613         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23614         Likewise.
23615         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23616         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23617         Likewise.
23618         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23619         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23620         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23621         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23622         Likewise.
23623         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23624         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23625         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23626         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23629 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23631         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23632         Include dl-vdso.
23633         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23634         Use VDSO routines for gettimeofday, clock_gettime if
23635         available.
23636         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23637         Declare VDSO symbols.
23638         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23639         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23640         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23641         * sysdeps/unix/sysv/linux/arm/Versions: Add
23642         __vdso_clock_gettime.
23644 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23646         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23647         be an inline implementation regardless of library is built within.
23648         (open_not_cancel_2): Likewise.
23649         (__read_nocancel): Likewise.
23650         (__write_nocancel): Likewise.
23651         (openat_not_cancel): Likewise.
23652         (openat_not_cancel_3): Likewise.
23653         (openat64_not_cancel): Likewise.
23654         (openat64_not_cancel_3): Likewise.
23655         (__close_nocancel): Likewise.
23656         (pause_not_cancel): Likewise.
23657         (nanosleep_not_cancel): Likewise.
23658         (sigsuspend_not_cancel): Likewise.
23660 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23662         [BZ #14958]
23663         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23664         wake-up.
23665         (__pthread_rwlock_rdlock_slow): Likewise.
23666         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23667         Likewise.
23668         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23669         Likewise.
23670         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23671         * nptl/tst-rwlock16.c: New file.
23672         * nptl/Makefile (tests): Add new test.
23674 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23676         [BZ #18324]
23677         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23678         missing wake-up of readers.
23679         * nptl/tst-rwlock15.c: New file.
23680         * nptl/Makefile (tests): Add new test.
23682 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23684         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23685         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23686         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23687         and __nacl_supply_interface_rtld.
23688         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23689         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23690         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23691         Add __nacl_supply_interface_rtld.
23692         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23694 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23696         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23697         isfinite.
23698         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23699         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23701 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23703         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23704         __signbit* with standard C99 macros.
23705         * math/e_exp10l.c: Likewise.
23706         * math/e_exp2l.c: Likewise.
23707         * math/e_scalb.c: Likewise.
23708         * math/e_scalbf.c: Likewise.
23709         * math/e_scalbl.c: Likewise.
23710         * math/s_ldexp.c: Likewise.
23711         * math/s_ldexpf.c: Likewise.
23712         * math/s_ldexpl.c: Likewise.
23713         * math/w_atan2.c: Likewise.
23714         * math/w_atan2f.c: Likewise.
23715         * math/w_atan2l.c: Likewise.
23716         * math/w_cosh.c: Likewise.
23717         * math/w_coshf.c: Likewise.
23718         * math/w_coshl.c: Likewise.
23719         * math/w_exp10.c: Likewise.
23720         * math/w_exp10f.c: Likewise.
23721         * math/w_exp10l.c: Likewise.
23722         * math/w_exp2.c: Likewise.
23723         * math/w_exp2f.c: Likewise.
23724         * math/w_exp2l.c: Likewise.
23725         * math/w_fmod.c: Likewise.
23726         * math/w_fmodf.c: Likewise.
23727         * math/w_fmodl.c: Likewise.
23728         * math/w_hypot.c: Likewise.
23729         * math/w_hypotf.c: Likewise.
23730         * math/w_hypotl.c: Likewise.
23731         * math/w_jnl.c: Likewise.
23732         * math/w_lgamma.c: Likewise.
23733         * math/w_lgamma_r.c: Likewise.
23734         * math/w_lgammaf.c: Likewise.
23735         * math/w_lgammaf_r.c: Likewise.
23736         * math/w_lgammal.c: Likewise.
23737         * math/w_lgammal_r.c: Likewise.
23738         * math/w_pow.c: Likewise.
23739         * math/w_powf.c: Likewise.
23740         * math/w_powl.c: Likewise.
23741         * math/w_remainder.c: Likewise.
23742         * math/w_remainderf.c: Likewise.
23743         * math/w_remainderl.c: Likewise.
23744         * math/w_scalb.c: Likewise.
23745         * math/w_scalbf.c: Likewise.
23746         * math/w_scalbl.c: Likewise.
23747         * math/w_scalbln.c: Likewise.
23748         * math/w_scalblnf.c: Likewise.
23749         * math/w_scalblnl.c: Likewise.
23750         * math/w_sinh.c: Likewise.
23751         * math/w_sinhf.c: Likewise.
23752         * math/w_sinhl.c: Likewise.
23753         * math/w_tgamma.c: Likewise.
23754         * math/w_tgammaf.c: Likewise.
23755         * math/w_tgammal.c: Likewise.
23756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23757         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23758         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23759         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23760         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23761         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23762         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23763         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23764         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23765         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23766         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23767         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23768         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23770         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23771         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23772         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23773         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23775         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23776         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23777         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23781         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23782         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23783         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23784         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23785         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23786         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23787         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23788         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23789         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23790         * stdio-common/printf_fp.c: Likewise.
23791         * stdio-common/printf_fphex.c: Likewise.
23792         * stdio-common/printf_size.c: Likewise.
23794 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23796         [BZ #18470]
23797         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23798         strnlen.
23799         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23800         Remove variable.
23801         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23802         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23803         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23804         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23805         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23806         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23807         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23808         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23809         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23810         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23812         [BZ #18468]
23813         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23814         weak alias of __wmemchr.  Use libc_hidden_weak.
23815         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23816         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23817         instead of wmemchr.
23819 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23821         [BZ #18383]
23822         * elf/tst-tlsalign-extern.c: New file.
23823         * elf/tst-tlsalign-extern-static.c: New file.
23824         * elf/tst-tlsalign-vars.c: New file.
23825         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23826         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23827         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23828         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23829         (test-xfail-tst-tlsalign-extern-static): New variable.
23831 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23833         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23834         Use variable name _sc_err instead of err.
23835         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23836         instead of ret.
23837         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23838         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23839         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23840         (INLINE_SYSCALL): Likewise.
23842         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23843         * include/string.h (__strnlen): Use libc_hidden_proto.
23844         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23845         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23846         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23847         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23848         (libc_hidden_def): Undefine and redefine.
23849         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23850         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23851         __GI_strnlen.
23852         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23853         libc_hidden_def.
23854         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23856         [BZ #18469]
23857         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23858         weak alias of __towlower.  Use libc_hidden_weak.
23859         (towupper): Rename to __towupper and define as weak alias of
23860         __towupper.  Use libc_hidden_weak.
23861         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23862         (__towupper): Likewise.
23863         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23864         __towlower instead of towlower.
23866 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23868         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23869         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23871 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23873         * sysdeps/aarch64/libm-test-ulps: Update.
23875 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23877         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23878         Define.
23879         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23881         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23882         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23883         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23884         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23885         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23887 2015-06-01  Martin Sebor  <msebor@redhat.com>
23889         [BZ #18116]
23890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23891         (__setcontext): Use extended four-operand version of mtsf whenever
23892         possible.
23893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23894         (__novec_swapcontext): Likewise.
23896 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23898         * benchtests/scripts/compare_bench.py: New file.
23899         * benchtests/scripts/import_bench.py (mean): New function.
23900         (split_list): Likewise.
23901         (do_for_all_timings): Likewise.
23902         (compress_timings): Likewise.
23904         * benchtests/scripts/import_bench.py: New file.
23905         * benchtests/scripts/validate_benchout.py: Import import_bench
23906         instead of jsonschema.
23907         (validate_bench): Remove function.
23908         (main): Use import_bench.
23910 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23912         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23913         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23915 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23919 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23921         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23922         set THREAD_SELF->tid to a magic value and futex-wake it.
23923         Pass its address to the thread_exit system call.
23924         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23925         bit is clear.
23926         * sysdeps/nacl/lowlevellock.h: New file.
23927         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23929         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23930         Add TIMEOUT to current time, don't subtract it.
23932 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23934         [BZ #2981]
23935         [BZ #18422]
23936         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23937         ($(objpfx)tst-audit2.out): Also depend on
23938         $(objpfx)tst-auditmod9b.so.
23939         * elf/tst-audit2.c: Include <dlfcn.h>.
23940         (calloc_called): New.
23941         (calloc): Allow to be called more than once.
23942         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23944 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23946         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23947         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23949 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23951         * stdlib/monetary.h: Fix comment.
23953 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23955         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23956         Avoid using variables in #defines that might cause shadowing.
23957         (INTERNAL_VSYSCALL_CALL): Likewise.
23959 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23961         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23963         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23964         * nptl/lll_timedlock_wait.c: ... to this new file.
23965         * nptl/Makefile (libpthread-routines): Add it.
23966         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23967         * nptl/lll_timedwait_tid.c: ... to this new file.
23968         * nptl/Makefile (libpthread-routines): Add it.
23969         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23970         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23971         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23972         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23973         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23974         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23975         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23976         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23977         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23978         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23980 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23982         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23983         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23984         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23986         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23988         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23990         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23991         * sysdeps/unix/sysv/linux/tile/sysdep.h
23992         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23993         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23994         using vDSO syscall macro.
23996 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23998         [BZ #17293]
23999         * uk_UA: Fix sorting order for Ukrainian locale
24001 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24003         * stdlib/monetary.h: Fix comment.
24005 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24007         [BZ #18234]
24008         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24009         st_mtim and st_ctim members.
24010         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24011         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24012         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24013         (struct stat64): Likewise.
24014         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24015         (struct stat64): Likewise.
24016         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24017         (struct stat64): Likewise.
24019 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24021         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24022         Define and include sysdep-vdso.h.
24023         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24024         Likewise.
24025         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24026         Likewise.
24027         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24028         Define with VDSO_SYMBOL and use PTR_MANGLE.
24029         (__vdso_clock_gettime): Likewise.
24030         (__vdso_clock_getres): Likewise.
24031         (_libc_vdso_platform_setup): Likewise.
24032         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24033         Likewise.
24034         (_libc_vdso_platform_setup): Likewise.
24035         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24036         Likewise.
24037         (__vdso_clock_gettime): Likewise.
24038         (__vdso_clock_getres): Likewise.
24039         (__vdso_get_tbfreq): Likewise.
24040         (__vdso_getcpu): Likewise.
24041         (__vdso_time): Likewise.
24042         (__vdso_sigtramp_rt64): Likewise.
24043         (__vdso_signtramp32): Likewise.
24044         (__vdso_sigtramp_rt32): Likewise.
24045         (_libc_vdso_platform_setup): Likewise.
24046         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24047         Likewise.
24048         (__vdso_clock_gettime): Likewise.
24049         (__vdso_clock_getres): Likewise.
24050         (_libc_vdso_platform_setup): Likewise.
24051         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24052         Likewise.
24053         (__vdso_clock_gettime): Likewise.
24054         (_libc_vdso_platform_setup): Likewise.
24055         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24056         Likewise.
24057         (__vdso_getcpu): Likewise.
24058         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24059         Use VDSO_SYMBOL macro to define.
24060         (__vdso_clock_gettime): Likewise.
24061         (__vdso_clock_getres): Likewise.
24062         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24063         Likewise.
24064         (__vdso_clock_gettime): Likewise.
24065         (__vdso_clock_getres): Likewise.
24066         (__vdso_get_tbfreq): Likewise.
24067         (__vdso_getcpu): Likewise.
24068         (__vdso_time): Likewise.
24069         (__vdso_sigtramp_rt64): Likewise.
24070         (__vdso_signtramp32): Likewise.
24071         (__vdso_sigtramp_rt32): Likewise.
24072         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24073         Likewise.
24074         (__vdso_clock_gettime): Likewise.
24075         (__vdso_clock_getres): Likewise.
24076         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24077         Likewise.
24078         (__vdso_clock_gettime): Likewise.
24079         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24080         Likewise.
24081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24082         macro.
24083         (INTERNAL_VSYSCALL): Likewise.
24084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24085         Remove macro.
24086         (INTERNAL_VSYSCALL): Likewise.
24087         (INTERNAL_VSYSCALL_NCS): Likewise.
24088         (INTERNAL_VSYSCALL_CALL): New macro.
24089         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24091         Likewise.
24092         (INTERNAL_VSYSCALL): Likewise.
24093         (INTERNAL_VSYSCALL_NCS): Likewise.
24094         (INTERNAL_VSYSCALL_CALL): New macro.
24095         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24097         (INLINE_VSYSCALL): Remove macro.
24098         (INTERNAL_VSYSCALL): Remove macro.
24099         (INTERNAL_VSYSCALL_NCS): Remove macro.
24100         (INTERNAL_VSYSCALL_CALL): New macro.
24101         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24102         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24103         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24104         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24105         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24107         (INLINE_VSYSCALL): Remove macro.
24108         (INTERNAL_VSYSCALL): Likewise.
24109         (INTERNAL_VSYSCALL_NCS): Likewise.
24110         (INTERNAL_VSYSCALL_CALL): New macro.
24111         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24112         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24113         PTR_DEMANGLE on vDSO pointer.
24114         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24115         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24116         macro.
24117         (INTERNAL_SYSCALL): Likewise.
24118         (INTERNAL_VSYSCALL_NCS): Remove macro.
24119         (INTERNAL_VSYSCALL_CALL): New macro.
24120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24121         Remove macro.
24122         (INTERNAL_VSYSCALL): Likewise.
24123         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24124         sysdep-vdso.h instead of libc-vdso.h.
24125         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24126         definition.
24127         (INLINE_VSYSCALL): Likewise.
24128         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24129         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24130         definition.
24131         (INLINE_VSYSCALL): Likewise.
24132         (INTERNAL_VSYSCALL): Likewise.
24133         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24134         * sysdeps/unix/sysv/linux/timespec_get.c
24135         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24136         (timespec_get): Use ANSI prototype.
24137         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24138         and definition for Linux.
24140 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24142         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24143         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24145 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24147         [BZ #2981]
24148         [BZ #18410]
24149         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24150         for missing DT_PLTRELSZ.
24152 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24154         Remove obsolete aliases that broke 'locale -a'
24155         [BZ #18412]
24156         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24157         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24158         breaking some applications that use 'locale -a' output.
24159         Change the encoding of this file from Latin-1 to ASCII to avoid
24160         other potential problems with people grepping this file.
24162 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24164         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24165         -fasynchronous-unwind-tables.
24166         (CFLAGS-sendto.c): Likewise.
24167         (CFLAGS-sendmsg.c): Likewise.
24168         (CFLAGS-connect.c): Likewise.
24169         (CFLAGS-recvmsg.c): Likewise.
24170         (CFLAGS-recvfrom.c): Likewise.
24171         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24172         (SOCKETCALL): New macro: non-cancellable socketcall.
24173         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24174         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24175         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24176         * sysdeps/unix/sysv/linux/accept.c: New file.
24177         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24178         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24179         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24180         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24181         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24182         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24183         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24184         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24185         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24186         * sysdeps/unix/sysv/linux/send.c: Likewise.
24187         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24188         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24189         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24190         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24191         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24192         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24193         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24194         prototype.
24195         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24196         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24197         instead of __internal_xxx function.
24198         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24199         prototype.
24200         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24201         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24202         instead of __internal_xxx function.
24203         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24204         prototype.
24205         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24206         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24207         instead of __internal_xxx function.
24208         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24209         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24210         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24211         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24212         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24213         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24214         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24215         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24216         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24217         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24218         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24219         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24220         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24221         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24222         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24223         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24224         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24225         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24226         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24227         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24230         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24231         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24232         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24233         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24234         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24235         * sysdeps/unix/sysv/linux/send.S: Likewise.
24236         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24237         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24238         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24239         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24240         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24241         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24242         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24243         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24244         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24245         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24246         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24247         socketcall is implemented in GLIBC.
24249 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24251         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24252         (__fma): Ignore uninitialized warnings around packing.
24253         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24254         (__fmaf): Ignore uninitialized warnings around packing.
24255         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24256         (__fmal): Ignore uninitialized warnings around packing.
24258         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24259         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24260         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24261         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24263         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24264         switch statement into default case.
24265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24267         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24268         a conditional in forcing "inexact".
24269         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24270         Likewise.
24272 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24274         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24275         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24276         for each INTERNAL_SYSCALL use.
24278 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24280         [BZ #438]
24281         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24282         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24283         variable.
24285         [BZ #18444]
24286         * string/basename.c (basename): Rename to __basename and define as
24287         weak alias of __basename.  Use libc_hidden_weak.
24288         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24289         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24290         __basename instead of basename.
24291         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24292         Remove variable.
24293         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24295 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24297         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24298         (_IO_JUMPS_FILE_plus): New.
24299         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24300         _IO_CAST_FIELD_ACCESS.
24301         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24302         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24303         * libio/freopen.c (freopen): Likewise.
24304         * libio/freopen64.c (freopen64): Likewise.
24305         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24306         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24307         * libio/iofwide.c (_IO_fwide): Likewise.
24308         * libio/memstream.c (open_memstream): Likewise.
24309         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24310         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24311         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24313 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24316         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24317         NADJ.
24318         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24319         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24320         NADJ.
24321         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24322         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24323         NADJ.
24325         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24326         (p == 4) case.
24328         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24329         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24330         Remove variable.
24331         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24332         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24333         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24335 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24337         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24338         Adjust jump table label generation macros.
24340 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24342         * stdio-common/vfprintf.c (vfprintf): Move local variables
24343         args_malloced, specs, specs_malloced, and the code after
24344         do_positional to the printf_positional function.
24345         (printf_positional): New function.
24347 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24349         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24350         function.
24351         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24352         STEP4_TABLE, process_arg): Move macro definitions
24353         out of the vfprintf function.  (Cosmetic change only.)
24355 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24357         * benchtests/Makefile (stdio-common-bench): Define.
24358         (benchset): Add stdio-common-bench.
24359         * sprintf-inputs: New file.
24360         * sprintf-source.c: New file.
24362 2015-05-21  Andreas Schwab  <schwab@suse.de>
24364         [BZ #13028]
24365         [BZ #17053]
24366         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24367         of struct __res_state.
24368         * resolv/res_send.c (__libc_res_nsend): Likewise.
24369         (get_nsaddr): New function.
24370         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24371         statp directly.
24373 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24375         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24376         -D_POSIX_C_SOURCE=199506L.
24378         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24380         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24381         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24382         Do not mention otherwise.
24383         [POSIX] (_XOPEN_VERSION): Do not expect.
24384         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24385         [POSIX] (_POSIX2_C_BIND): Likewise.
24386         [POSIX] (_POSIX2_VERSION): Likewise.
24387         [POSIX] (_XOPEN_XPG2): Likewise.
24388         [POSIX] (_XOPEN_XPG3): Likewise.
24389         [POSIX] (_XOPEN_XPG4): Likewise.
24390         [POSIX] (_XOPEN_UNIX): Likewise.
24391         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24392         [POSIX] (_POSIX_BARRIERS): Likewise.
24393         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24394         [POSIX] (_POSIX_CPUTIME): Likewise.
24395         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24396         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24397         [POSIX] (_POSIX_SHELL): Likewise.
24398         [POSIX] (_POSIX_SPAWN): Likewise.
24399         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24400         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24401         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24402         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24403         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24404         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24405         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24406         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24407         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24408         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24409         [POSIX] (_POSIX2_PBS): Likewise.
24410         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24411         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24412         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24413         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24414         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24415         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24416         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24417         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24418         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24419         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24420         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24421         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24422         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24423         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24424         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24425         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24426         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24427         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24428         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24429         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24430         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24431         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24432         [POSIX] (_SC_2_C_BIND): Likewise.
24433         [POSIX] (_SC_2_C_VERSION): Likewise.
24434         [POSIX] (_SC_2_PBS): Likewise.
24435         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24436         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24437         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24438         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24439         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24440         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24441         [POSIX] (_SC_BARRIERS): Likewise.
24442         [POSIX] (_SC_BASE): Likewise.
24443         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24444         [POSIX] (_SC_DEVICE_IO): Likewise.
24445         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24446         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24447         [POSIX] (_SC_FD_MGMT): Likewise.
24448         [POSIX] (_SC_FIFO): Likewise.
24449         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24450         [POSIX] (_SC_FILE_LOCKING): Likewise.
24451         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24452         [POSIX] (_SC_IOV_MAX): Likewise.
24453         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24454         [POSIX] (_SC_NETWORKING): Likewise.
24455         [POSIX] (_SC_PAGE_SIZE): Likewise.
24456         [POSIX] (_SC_PASS_MAX): Likewise.
24457         [POSIX] (_SC_PIPE): Likewise.
24458         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24459         [POSIX] (_SC_REGEXP): Likewise.
24460         [POSIX] (_SC_SHELL): Likewise.
24461         [POSIX] (_SC_SIGNALS): Likewise.
24462         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24463         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24464         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24465         [POSIX] (_SC_USER_GROUPS): Likewise.
24466         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24467         [POSIX] (_SC_STREAMS): Likewise.
24468         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24469         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24470         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24471         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24472         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24473         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24474         [POSIX] (_PC_FILESIZEBITS): Likewise.
24475         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24476         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24477         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24478         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24479         [POSIX] (uid_t): Likewise.
24480         [POSIX] (gid_t): Likewise.
24481         [POSIX] (off_t): Likewise.
24482         [POSIX] (pid_t): Likewise.
24483         [POSIX] (cuserid): Allow.
24484         (_SC_2_CHAR_TERM): Require constant.
24485         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24486         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24487         variable.
24489 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24491         * sysdeps/nacl/pthread-pids.h: New file.
24492         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24493         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24495         * nptl/pthread-pids.h: New file.
24496         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24497         * nptl/nptl-init.c: Include <pthread-pids.h>.
24498         (__pthread_initialize_minimal_internal):
24499         Call __pthread_initialize_pids instead of set_tid_address syscall.
24501         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24502         * sysdeps/posix/usleep.c: ... here.
24504 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24506         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24507         call_pselect6 object.
24508         [$(subdir) = io]: Remove call_sync_file_range object.
24509         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24510         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24511         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24512         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24514 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24516         * math/s_cproj.c: Add include "math_private.h".
24517         * math/s_cprojf.c: Likewise.
24518         * math/s_cprojl.c: Likewise.
24520 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24522         [BZ #18244]
24523         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24524         high mantissa bit when testing whether P is a NaN.
24525         * math/libm-test.inc (remainder_test_data): Add more tests.
24526         (remquo_test_data): Likewise.
24528         [BZ #18049]
24529         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24530         below -32, return the argument, with underflow if subnormal.
24531         * math/auto-libm-test-in: Add more tests of atanh.
24532         * math/auto-libm-test-out: Regenerated.
24534 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24536         [BZ #18434]
24537         * nptl/tst-sem15.c: New file.
24538         * nptl/Makefile (tests): Add it.
24539         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24540         s/<</>>/ to fix typo in EOVERFLOW check.
24541         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24543 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24545         * manual/strings.texi (envz_remove): Fix typo in safety
24546         annotations.
24548 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24549             Steve Ellcey  <sellcey@imgtec.com>
24551         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24552         in order to avoid strict alias warnings.
24553         (iruserok_af): Ditto for ra.
24555 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24557         [BZ #17581]
24558         * malloc/hooks.c
24559         (magicbyte): Convert to a function and avoid returning 0x01.
24560         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24561         (mem2chunk_check): Fix unsigned comparisons to zero.
24562         Hoist defs of sz and magic.
24564 2015-05-19  Richard Henderson  <rth@redhat.com>
24566         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24568         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24570 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24572         [BZ #16159]
24573         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24574         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24575         (reused_arena): Find a non-corrupt arena.
24576         (heap_trim): Pass arena to unlink.
24577         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24578         malloc_printerr.
24579         (top_check): Likewise.
24580         (free_check): Likewise.
24581         (realloc_check): Likewise.
24582         * malloc/malloc.c (malloc_printerr): Add arena argument.
24583         (unlink): Likewise.
24584         (munmap_chunk): Adjust.
24585         (ARENA_CORRUPTION_BIT): New macro.
24586         (arena_is_corrupt): Likewise.
24587         (set_arena_corrupt): Likewise.
24588         (sysmalloc): Use mmap if there are no usable arenas.
24589         (_int_malloc): Likewise.
24590         (__libc_malloc): Don't fail if arena_get returns NULL.
24591         (_mid_memalign): Likewise.
24592         (__libc_calloc): Likewise.
24593         (__libc_realloc): Adjust for additional argument to
24594         malloc_printerr.
24595         (_int_free): Likewise.
24596         (malloc_consolidate): Likewise.
24597         (_int_realloc): Likewise.
24598         (_int_memalign): Don't touch corrupt arenas.
24599         * malloc/tst-malloc-backtrace.c: New test case.
24601         * Makefile (summarize-tests): Fix return value on success.
24603         * manual/string.texi (Envz Functions): Add envz_remove.
24605 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24607         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24608         (invalid_name): New function, broken out of ...
24609         (__opendirat): ... here.  Call it.
24610         (need_isdir_precheck): New function, broken out of ...
24611         (__opendirat): ... here.  Call it.
24612         Use __fxstatat64, not __xstatat64.
24613         (opendir_oflags): New function, broken out of ...
24614         (__opendirat): ... here.  Call it.
24615         (opendir_tail): New function, broken out of ...
24616         (__opendirat): ... here.  Call it.
24617         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24618         opendir_tail, rather than punting to __opendirat.
24619         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24621 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24623         * .gitignore: Ignore generated *.pyc.
24625 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24627         * include/stdio.h: Define __need_wint_t.
24628         * test-skeleton.c: Avoid `for' loop initial declaration.
24629         * nptl/tst-initializers1.c: Use test-skeleton.c.
24631 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24633         [BZ #18418]
24634         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24636 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24638         [BZ #16352]
24639         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24640         (__ieee754_atanh): Force underflow exception for results with
24641         small absolute value.
24642         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24643         (__ieee754_atanhf): Force underflow exception for results with
24644         small absolute value.
24645         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24646         (__ieee754_atanh): Force underflow exception for results with
24647         small absolute value.
24648         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24649         (__ieee754_atanhf): Force underflow exception for results with
24650         small absolute value.
24651         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24652         (__ieee754_atanhl): Force underflow exception for results with
24653         small absolute value.
24654         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24655         (__ieee754_atanhl): Force underflow exception for results with
24656         small absolute value.
24657         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24658         (__ieee754_atanhl): Force underflow exception for results with
24659         small absolute value.
24660         * math/auto-libm-test-in: Do not allow missing underflow
24661         exceptions from atanh.
24662         * math/auto-libm-test-out: Regenerated.
24664         [BZ #18221]
24665         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24666         2**-28 as threshold for returning x or +/- 1/x.
24667         * math/auto-libm-test-in: Add more tests of tan.
24668         * math/auto-libm-test-out: Regenerated.
24670         [BZ #18220]
24671         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24672         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24673         * math/auto-libm-test-in: Add another test of lgamma.
24674         * math/auto-libm-test-out: Regenerated.
24676 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24678         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24679         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24680         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24681         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24682         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24683         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24684         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24687         (log1): Use fabs.  (my_log2): Use fabs.
24688         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24689         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24691         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24692         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24693         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24694         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24695         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24696         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24697         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24698         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24700 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24702         [BZ #18217]
24703         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24704         as threshold for returning 1 - x.
24705         * math/auto-libm-test-in: Add more tests of erfc.
24706         * math/auto-libm-test-out: Regenerated.
24708 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24710         [BZ #18196]
24711         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24712         threshold for large arguments.
24713         * math/auto-libm-test-in: Add another test of atan.
24714         * math/auto-libm-test-out: Regenerated.
24716         [BZ #16339]
24717         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24718         (__log1p): Force underflow exception for results with small
24719         absolute value.
24720         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24721         (__log1pf): Force underflow exception for results with small
24722         absolute value.
24723         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24724         (__log1p): Force underflow exception for results with small
24725         absolute value.
24726         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24727         (__log1pf): Force underflow exception for results with small
24728         absolute value.
24729         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24730         (__log1pl): Force underflow exception for results with small
24731         absolute value.
24732         * math/auto-libm-test-in: Do not allow missing underflow
24733         exceptions from log1p.
24734         * math/auto-libm-test-out: Regenerated.
24736 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24737             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24739         [BZ #16704]
24740         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24742 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24744         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24745         (libmvec): New variable.
24746         * configure.ac: Added option for mathvec build.
24747         * configure: Regenerated.
24748         * mathvec/Depend: New file.
24749         * mathvec/Makefile: New file.
24750         * shlib-versions: Added libmvec.
24751         * math/Makefile: Added rule for libm.so installation.
24753         * bits/math-vector.h: New file.
24754         * bits/libm-simd-decl-stubs.h: New header.
24755         * math/Makefile (headers): Added new header
24756         libm-simd-decl-stubs.h.
24757         * math/math.h (__MATHCALL_VEC): New macro.
24759         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24760         for conditions in testing functions.
24761         * math/Makefile: Added call of libm-have-vector-test.sh.
24762         * math/libm-test.inc (HAVE_VECTOR): New macros.
24764         * math/libm-test.inc: START refactored.
24765         * math/test-double.c (TEST_MATHVEC): Add define.
24766         * math/test-float.c: Likewise.
24767         * math/test-idouble.c: Likewise.
24768         * math/test-ifloat.c: Likewise.
24769         * math/test-ildoubl.c: Likewise.
24770         * math/test-ldouble.c: Likewise.
24771         * sysdeps/generic/math-tests-arch.h
24772         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24773         architecture check.
24775         * math/test-double.c (FUNC_TEST): New macro.
24776         * math/test-float.c: Likewise.
24777         * math/test-idouble.c: Likewise.
24778         * math/test-ifloat.c: Likewise.
24779         * math/test-ildoubl.c: Likewise.
24780         * math/test-ldouble.c: Likewise.
24781         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24783 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24785         * sysdeps/nacl/fdopendir.c: New file.
24787         * dirent/scandir-tail.c: New file.
24788         * dirent/scandir64-tail.c: New file.
24789         * dirent/Makefile (routines): Add them.
24790         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24791         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24792         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24793         [!SCANDIR] (SCANDIR_TAIL): New macro.
24794         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24795         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24796         (SCANDIRAT): Macro removed.
24797         (SCANDIR_TAIL): New macro.
24798         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24799         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24800         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24801         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24802         (READDIR): Macro removed.
24803         (SCANDIR_TAIL): New macro.
24804         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24805         (SCANDIR_TAIL): New macro.
24807         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24808         * dirent/scandir-cancel.c: ... to this new file.
24809         * dirent/Makefile (routines): Add it.
24810         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24811         * sysdeps/unix/sysv/linux/i386/scandir64.c
24812         (SKIP_SCANDIR_CANCEL): Macro removed.
24813         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24815         * dirent/tst-scandir.c: New file.
24816         * dirent/tst-scandir64.c: New file.
24817         * dirent/Makefile (tests): Add them.
24819 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24821         [BZ #18409]
24822         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24824 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24826         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24827         list.
24829 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24831         * benchtests/bench-strcoll.c: New benchmark.
24832         * benchtests/Makefile: Generate locales and run benchmark.
24833         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24834         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24835         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24836         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24837         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24838         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24839         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24840         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24841         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24842         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24843         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24844         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24845         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24846         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24847         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24848         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24849         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24850         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24851         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24852         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24853         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24854         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24855         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24856         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24858 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24860         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24861         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24863 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24865         * posix/uname-values.h: New file.
24866         * posix/uname.c: Include that instead of <config-name.h>.
24867         * sysdeps/nacl/uname-values.h: New file.
24868         * sysdeps/arm/nacl/uname-values.h: New file.
24870 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24872         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24873         splitting into fields.
24875 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24877         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24878         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24879         * locale/localeinfo.h: Add enum collation_encoding_type.
24880         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24881         * programs/ld-collate.c (collate_output): Add encoding type info.
24882         * string/strcoll_l.c (STRDIFF): New function.
24883         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24884         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24886 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24888         [BZ #18397]
24889         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24890         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24891         <fpu_control.h> instead of <math/fpu_control.c>.
24892         * sysdeps/mips/mips32/fpu/Makefile: New file.
24894 2015-05-11  Andreas Schwab  <schwab@suse.de>
24896         [BZ #18007]
24897         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24898         nss_endgrent.
24899         (_nss_compat_endgrent): Call nss_endgrent.
24900         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24901         nss_endpwent.
24902         (_nss_compat_endpwent): Call nss_endpwent.
24903         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24904         needent, call nss_setspent only if non-zero.
24905         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24906         (internal_endspent): Don't call nss_endspent.
24907         (_nss_compat_endspent): Call nss_endspent.
24908         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24909         Remove.  All uses removed.
24910         (internal_setent): Remove parameter stayopen, add parameter
24911         stream.  Use it instead of global variable.
24912         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24913         (internal_endent, internal_getent): Add parameter stream.  Use it
24914         instead of global variable.
24915         (CONCAT(_nss_files_end,ENTNAME))
24916         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24917         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24918         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24919         uses removed.
24920         (internal_setent, internal_endent): Add parameter stream.  Use it
24921         instead of global variable.
24922         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24923         stream.
24924         (get_next_alias): Add parameter stream.
24925         (_nss_files_getaliasent_r): Pass global stream.
24926         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24927         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24928         (_nss_files_gethostbyname4_r): Pass local stream to
24929         internal_setent, internal_getent and internal_endent.  Remove
24930         locking.
24932 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24934         * tst-strfmon1.c (tests): Update expected currency symbol.
24936 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24938         * sysdeps/nacl/gethostname.c: New file.
24940 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24942         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24943         and sinh.
24944         * math/auto-libm-test-out: Regenerated.
24945         * sysdeps/i386/fpu/libm-test-ulps: Update.
24946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24948 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24950         [BZ #18125]
24951         * stdlib/tst-setcontext3.c: New file.
24952         * stdlib/tst-setcontext3.sh: New file.
24953         * stdlib/Makefile (tests): Add tst-setcontext3.
24954         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24955         to verify test program created output file.
24956         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24957         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24958         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24959         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24961 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24963         [BZ #18383]
24964         * elf/tst-tlsalign.c: New file.
24965         * elf/tst-tlsalign-static.c: New file.
24966         * elf/tst-tlsalign-lib.c: New file.
24967         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24968         (tests-static): Add tst-tlsalign-static.
24969         (modules-names): Add tst-tlsalign-lib.
24970         (test-xfail-tst-tlsalign): New variable.
24971         (test-xfail-tst-tlsalign-static): New variable.
24973         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24974         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24976 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24978         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24979         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24986         * sysdeps/aarch64/libm-test-ulps: Update.
24988 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24990         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24991         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24992         * math/auto-libm-test-out: Regenerated.
24993         * sysdeps/i386/fpu/libm-test-ulps: Update.
24994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24996 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24998         [BZ #18265]
24999         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25000         (wcsncpy): Likewise.
25002 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25004         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25005         Assume __ASSUME_FALLOCATE is always true.
25006         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25007         (__posix_fallocate64_l64): Likweise.
25008         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25009         (posix_fallocate): Likewise.
25010         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25011         (__posix_fallocate64_l64): Likewise.
25012         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25013         [!__ASSUME_FALLOCATE]: Add comment.
25015 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25017         * sysdeps/unix/sysv/linux/i386/Makefile
25018         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25019         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25020         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25021         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25022         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25023         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25024         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25026 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25028         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25029         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25030         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25037         * math/auto-libm-test-in: Add more tests of tgamma.
25038         * math/auto-libm-test-out: Regenerated.
25039         * sysdeps/i386/fpu/libm-test-ulps: Update.
25040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25042         * math/auto-libm-test-in: Add more tests of tanh.
25043         * math/auto-libm-test-out: Regenerated.
25044         * sysdeps/i386/fpu/libm-test-ulps: Update.
25045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25047         * math/auto-libm-test-in: Add more tests of tan.
25048         * math/auto-libm-test-out: Regenerated.
25049         * sysdeps/i386/fpu/libm-test-ulps: Update.
25050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25052         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25053         * math/auto-libm-test-out: Regenerated.
25054         * sysdeps/i386/fpu/libm-test-ulps: Update.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057         * math/auto-libm-test-in: Add another test of pow.
25058         * math/auto-libm-test-out: Regenerated.
25059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25061         * math/auto-libm-test-in: Add more tests of lgamma.
25062         * math/auto-libm-test-out: Regenerated.
25063         * sysdeps/i386/fpu/libm-test-ulps: Update.
25064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25066         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25067         log1p.
25068         * math/auto-libm-test-out: Regenerated.
25069         * sysdeps/i386/fpu/libm-test-ulps: Update.
25070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25072 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25074         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25075         Elf64_Chdr structs and ELFCOMPRESS constants.
25077 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25079         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25080         expm1.
25081         * math/auto-libm-test-out: Regenerated.
25082         * sysdeps/i386/fpu/libm-test-ulps: Update.
25083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25085         * math/auto-libm-test-in: Add more tests of erf and erfc.
25086         * math/auto-libm-test-out: Regenerated.
25087         * sysdeps/i386/fpu/libm-test-ulps: Update.
25088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25090 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25092         * config.h.in (HAVE_AARCH64_BE): Add.
25094 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25096         * math/auto-libm-test-in: Add more tests of csqrt.
25097         * math/auto-libm-test-out: Regenerated.
25098         * sysdeps/i386/fpu/libm-test-ulps: Update.
25099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25102         * math/auto-libm-test-out: Regenerated.
25103         * sysdeps/i386/fpu/libm-test-ulps: Update.
25104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25106         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25108 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25110         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25111         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25113         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25114         (euidaccess, eaccess): Define as weak aliases.
25116         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25117         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25118         but __suseconds_t is often 'long int' so some sources assume that
25119         type is being used (e.g. they use %ld to print tv_usec).
25121 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25123         [BZ #18007]
25124         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25125         (CVE-2014-8121)
25126         * nss/tst-nss-getpwent.c: New file.
25127         * nss/Makefile (tests): Add new test.
25129 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25131         [BZ #18346]
25132         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25133         exponents less than 48 as cases where high part of mantissa needs
25134         examining to determine whether argument is integral.
25135         * math/libm-test.inc (round_test_data): Add more tests.
25137 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25139         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25141 2015-04-27  David S. Miller  <davem@davemloft.net>
25143         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25144         __tls_get_addr.
25145         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25147 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25149         [BZ#18333]
25150         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25152 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25154         [BZ#18333]
25155         * time/tzset.c (parse_tzname): Return error on memory allocation
25156         failure.
25157         * test-skeleton.c (struct temp_name_list): Change type of name
25158         member to non-const.
25159         (add_temp_file): Create a copy of the file name.
25160         (delete_temp_files): Deallocate memory.
25161         (create_temp_file): Add comment.
25163 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25165         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25166         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25168 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25170         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25171         * sysdeps/arm/configure: Regenerated.
25173 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25175         [BZ #17715]
25176         * time/tzfile.c (__tzfile_read): Check for large values of
25177         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25178         * time/tzset.c (__tzstring_len): New function, based on the old
25179         __tzstring function.
25180         (__tzstring): Call __tzstring_len.
25181         (parse_tzname): New helper function extracted from
25182         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25183         the input string.
25184         (parse_offset): New helper function extracted from
25185         __tzset_parse_tz.  Replace switch with fallthrough with
25186         initialization before sscanf.
25187         (parse_rule): Likewise.
25188         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25189         new-style function definition.
25190         * timezone/Makefile (tests): Add tst-tzset.
25191         (tst-tzset.out): Dependencies on time zone files.
25192         (tst-tzset-ENV): Set TZDIR.
25193         (testdata/XT%): Copy crafted time zone files.
25194         * timezone/README: Mention crafted time zone files.
25195         * timezone/testdata/XT1, timezone/testdata/XT2,
25196         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25197         files.
25198         * timezone/tst-tzset.c: New test.
25200 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25202         * Makeconfig (+gccwarn): Remove -Winline.
25204 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25206         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25208 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25210         * NEWS: Mention sysconf() cache information support for s390.
25211         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25213 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25215         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25216         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25217         (__nearbyint): Likewise.
25218         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25219         (copysignl): Likewise.
25221 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25223         [BZ #18287]
25224         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25225         based on padding.  (CVE-2015-1781)
25227 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25229         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25230         libc-vdso.h.
25231         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25232         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25233         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25234         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25235         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25236         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25237         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25238         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25239         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25240         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25241         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25242         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25243         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25244         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25245         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25246         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25247         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25248         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25249         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25250         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25251         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25252         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25253         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25255 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25257         * stdlib/setenv.c (__add_to_environ):
25258         Dump core quickly if setenv (..., NULL, ...) is called.
25259         This time, do it the right way, and pacify GCC with a pragma.
25261 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25263         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25264         IMAP->l_prev cannot be null, and #if out the code for the contrary
25265         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25266         believe that NS (&_dl_ns[NSID]) could point outside the array.
25268         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25269         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25270         before using NSID as an index.
25272 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25274         [BZ #17825]
25275         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25276         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25277         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25279 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25281         Add preliminary port to Google Native Client on ARM.
25282         * abi-tags (.*-.*-nacl.*): New entry.
25283         * sysdeps/arm/nacl: New directory.
25284         * sysdeps/nacl: New directory.
25286 2015-04-16  David S. Miller  <davem@davemloft.net>
25288         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25289         lowlevellock-futex.h
25291 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25293         * sysdeps/tile/configure.ac: New file.
25294         * sysdeps/tile/configure: Regenerated.
25296 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25298         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25299         conditionals for weak_alias and libc_hidden_weak.
25300         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25301         libc_hidden_weak and weak_alias.
25302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25303         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25304         and weak_alias for static one.
25306 2015-04-15  David S. Miller  <davem@davemloft.net>
25308         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25310 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25312         [BZ #18206]
25313         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25314           Use signed comparision instead of substraction to avoid
25315           overflow bug.
25316         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25317           Take the sign of ret.
25318         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25319           Do not expect precise return values. Only the sign matters.
25320         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25321         * wcsmbs/test-wcsncmp.c: New File.
25322         * string/test-strncmp.c: Add wcsncmp support.
25324 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25326         [BZ #6792]
25327         * math/w_log1p.c: New file.
25328         * math/w_log1pf.c: Likewise.
25329         * math/w_log1pl.c: Likewise.
25330         * math/Makefile (libm-calls): Add w_log1p.
25331         * math/s_log1pl.c (log1pl): Remove weak_alias.
25332         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25333         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25334         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25335         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25336         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25337         [NO_LONG_DOUBLE] (log1pl): Likewise.
25338         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25339         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25340         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25341         (log1p): Remove long_double_symbol.
25342         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25343         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25344         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25345         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25346         remove weak_alias for corresponding log1p function.
25347         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25348         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25349         * sysdeps/ia64/fpu/w_log1p.c: New file.
25350         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25351         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25352         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25354 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25356         [BZ #18247]
25357         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25358         decimal exponent by 1.
25359         * stdlib/tst-strtod-round-data: Add more tests.
25360         * stdlib/tst-strtod-round.c (tests): Regenerated.
25362 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25364         * math/auto-libm-test-in: Add more tests of clog and clog10.
25365         * math/auto-libm-test-out: Regenerated.
25366         * sysdeps/i386/fpu/libm-test-ulps: Update.
25367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25369 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25371         * Makeconfig (module-cppflags): Exclude all .v.i files.
25372         (skip-module-cppflags): Variable removed.
25374         * configure.ac (libc_config_ok): Initialize before reading
25375         preconfigure scripts, not after.
25376         * configure: Regenerated.
25378         * test-skeleton.c (TIMEOUT): Move #define to top level.
25379         (main): Grok environment variable TEST_DIRECT.  If set, print
25380         test expectation details into that file and then behave as if
25381         given --direct.
25383 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25385         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25386         warning on 32-bit.
25388 2015-04-08  David S. Miller  <davem@davemloft.net>
25390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25392 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25394         * math/auto-libm-test-in: Add more tests of atanh.
25395         * math/auto-libm-test-out: Regenerated.
25396         * sysdeps/i386/fpu/libm-test-ulps: Update.
25397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25399         * math/auto-libm-test-in: Add more tests of atan.
25400         * math/auto-libm-test-out: Regenerated.
25401         * sysdeps/i386/fpu/libm-test-ulps: Update.
25402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25404 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25406         * elf/pldd.c (main): Rewrite to use struct
25407         scratch_buffer instead of extend_alloca.
25408         * elf/pldd-xx.c (find_maps): Likewise.
25409         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25410         <alloca.h>.
25411         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25412         scratch_buffer instead of extend_alloca.
25413         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25414         grp/compat-initgroups.c.
25415         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25416         Rewrite to use struct scratch_buffer instead of extend_alloca.
25417         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25418         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25420 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25422         * math/auto-libm-test-in: Add more tests of cbrt.
25423         * math/auto-libm-test-out: Regenerated.
25424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25426         * math/auto-libm-test-in: Add more tests of cabs.
25427         * math/auto-libm-test-out: Regenerated.
25428         * sysdeps/i386/fpu/libm-test-ulps: Update.
25429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25431         [BZ #18210]
25432         [BZ #18211]
25433         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25434         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25435         computations.
25436         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25437         clog10.
25438         * math/auto-libm-test-out: Regenerated.
25439         * sysdeps/i386/fpu/libm-test-ulps: Update.
25440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25442         [BZ #18197]
25443         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25444         (atan): Set FE_TONEAREST mode for internal computations.
25445         * math/auto-libm-test-in: Add more tests of atan.
25446         * math/auto-libm-test-out: Regenerated.
25448 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25450         [BZ #17930]
25451         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25453 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25455         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25457 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25459         * include/scratch_buffer.h: New file.
25460         * malloc/scratch_buffer_grow.c: Likewise.
25461         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25462         * malloc/scratch_buffer_set_array_size.c: Likewise.
25463         * malloc/tst-scratch_buffer.c: Likewise.
25464         * malloc/Makefile (routines): Add scratch_buffer_grow.
25465         (tests): Add test case.
25466         * malloc/Versions (GLIBC_PRIVATE): Export
25467         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25468         __libc_scratch_buffer_set_array_size.
25470 2015-04-06  Richard Henderson  <rth@redhat.com>
25472         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25473         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25475         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25476         unsigned int before printing.
25478 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25480         [BZ #17596]
25481         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25482         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25484 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25486         * include/libc-internal.h (libc_max_align_t): Define.
25488 2015-04-02  Andreas Schwab  <schwab@suse.de>
25490         [BZ #16850]
25491         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25493 2015-04-02  Mel Gorman  <mgorman@suse.de>
25495         [BZ #17195]
25496         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25497         as well as the main arena.
25499 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25501         [BZ #18185]
25502         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25503         sharing L2 cache to 2 for Silvermont/Knights Landing.
25505 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25507         [BZ #17711]
25508         * config.make.in (have-protected-data): New.
25509         * configure.ac: Check linker support for protected data symbol.
25510         * configure: Regenerated.
25511         * elf/Makefile (modules-names): Add tst-protected1moda and
25512         tst-protected1modb if $(have-protected-data) is yes.
25513         (tests): Add tst-protected1a and tst-protected1b if
25514         $(have-protected-data) is yes.
25515         ($(objpfx)tst-protected1a): New.
25516         ($(objpfx)tst-protected1b): Likewise.
25517         (tst-protected1modb.so-no-z-defs): Likewise.
25518         * elf/tst-protected1a.c: New file.
25519         * elf/tst-protected1b.c: Likewise.
25520         * elf/tst-protected1mod.h: Likewise.
25521         * elf/tst-protected1moda.c: Likewise.
25522         * elf/tst-protected1modb.c: Likewise.
25524 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25526         [BZ #17711]
25527         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25528         indicates it is called from do_lookup_x on relocation against
25529         protected data, skip the data definion in the executable from
25530         copy reloc.
25531         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25532         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25533         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25534         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25535         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25536         otherwise to 0.
25537         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25538         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25539         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25540         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25541         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25542         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25544 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25546         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25547         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25549 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25551         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25552         THREAD_SETMEM_NC.
25553         * sysdeps/x86_64/nptl/tls.h: Ditto.
25555 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25557         * dlfcn/tststatic.c (main): Converted to ...
25558         (do_test): ... this.
25559         (TEST_FUNCTION): New macro.
25560         Include test-skeleton.c.
25562 2015-03-26  Alan Modra  <amodra@gmail.com>
25564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25565         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25566         zero for undefined weak.
25567         (elf_machine_plt_conflict): Similarly.
25569 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25571         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25572         atanh.
25573         * math/auto-libm-test-out: Regenerated.
25574         * sysdeps/i386/fpu/libm-test-ulps: Update.
25575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577         * math/auto-libm-test-in: Add another test of asin.
25578         * math/auto-libm-test-out: Regenerated.
25579         * sysdeps/i386/fpu/libm-test-ulps: Update.
25580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25582         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25583         Remove macro.
25584         (LLL_EBX_REG): Likewise.
25585         (LLL_ENTER_KERNEL): Likewise.
25587         * math/auto-libm-test-in: Add more tests of asin.
25588         * math/auto-libm-test-out: Regenerated.
25589         * sysdeps/i386/fpu/libm-test-ulps: Update.
25590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25592         [BZ #18138]
25593         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25594         libc_do_syscall_args): New structure.
25595         (INTERNAL_SYSCALL_MAIN_0): New macro.
25596         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25597         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25598         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25599         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25600         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25601         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25602         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25603         Replace conditional definitions by conditional definitions of ....
25604         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25605         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25606         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25607         (libpthread-sysdep_routines): Add libc-do-syscall.
25608         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25609         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25610         to __NR_futex not 240.
25612 2015-03-25  Alan Modra  <amodra@gmail.com>
25614         * NEWS: Advertise TLS optimization.
25615         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25616         (DT_PPC_NUM): Increment.
25617         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25618         (CHECK_STATIC_TLS): Use here.
25619         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25620         TLS descriptors.
25621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25622         * sysdeps/powerpc/dl-tls.c: New file.
25623         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25624         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25625         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25626         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25631 2015-03-25  Alan Modra  <amodra@gmail.com>
25633         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25634         for overlapping .opd entries" to "support...".
25635         * sysdeps/powerpc/powerpc64/configure: Regenerate
25637 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25639         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
25645         * math/auto-libm-test-out: Regenerated.
25646         * sysdeps/i386/fpu/libm-test-ulps: Update.
25647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25649 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25651         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25652         * math/auto-libm-test-out: Regenerated.
25653         * sysdeps/i386/fpu/libm-test-ulps: Update.
25654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25656         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25659         * math/auto-libm-test-in: Add more tests of log2.
25660         * math/auto-libm-test-out: Regenerated.
25661         * sysdeps/i386/fpu/libm-test-ulps: Update.
25662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25664 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25666         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25667         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25668         _IO_IS_APPENDING bit in READ_WRITE instead.
25670 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25672         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25673         (__determine_cpumask_size): Replace extend_alloca with a
25674         variable-length array.  Do not treat res == 0 as an error.
25676 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25678         [BZ #18100]
25679         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25680         and integer overflow.
25681         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25682         (main): Add integer overflow tests.
25683         * manual/pattern.texi (Calling Wordexp): Document additional use
25684         for WRDE_SYNTAX.
25686 2015-03-23  Alan Modra  <amodra@gmail.com>
25688         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25689         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25690         and false branch of conditional.
25691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25692         Likewise.
25694 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25696         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25697         libc-modules.h
25698         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25699         unused declaration of _hurd_intr_rpc_msg_in_trap.
25700         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25701         defined instead of whether it is non-zero.
25702         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25703         input constraint instead of both input and output constraint.  Use ecx
25704         clobber instead of %ecx.
25705         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25706         mutex_unlock): Use a statement expression instead of an expression list.
25707         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25708         type to vm_size_t instead of vm_address_t.
25709         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25710         defined instead of whether it is non-zero.
25711         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25712         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25713         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25714         comparisons with mapaddr.
25715         * nscd/nscd-client.h: Include <time.h>.
25716         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25717         9th parameter to __vm_region instead of int.
25718         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25719         * scripts/check-local-headers.sh (exclude): Add device/,
25720         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25721         cthreads.h.
25723 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25725         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25726         to account for alignment padding.
25727         * sysdeps/arm/memmove.S: Likewise.
25729 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25731         * sysdeps/unix/sysv/linux/generic/README: New file.
25733 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25735         [BZ #18138]
25736         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25737         (futex_abstimed_wait)
25738         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25739         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25740         of lll_futex_timed_wait.
25742 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25744         [BZ #17542]
25745         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25747 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25749         [BZ #17090]
25750         [BZ #17620]
25751         [BZ #17621]
25752         [BZ #17628]
25753         * NEWS: Update.
25754         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25755         entries with Static TLS too.  Skip entries past the end of the
25756         allocated DTV, from Alan Modra.
25757         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25758         Static TLS DTV entry set up from...
25759         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25760         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25761         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25762         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25763         for Static TLS.
25764         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25765         that the slot we find is associated with the given map before
25766         using its generation count.
25767         * nptl_db/db_info.c: Include ldsodefs.h.
25768         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25769         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25770         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25771         (link_map::l_tls_offset): New struct field.
25772         (dtv_t::counter): Likewise.
25773         (rtld_global): New struct.
25774         (_rtld_global): New rtld variable.
25775         (dl_tls_dtv_slotinfo_list): New rtld global field.
25776         (dtv_slotinfo_list): New struct.
25777         (dtv_slotinfo): Likewise.
25778         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25779         (td_lookup): Rename to...
25780         (td_mod_lookup): ... this.  Use new mod parameter instead of
25781         LIBPTHREAD_SO.
25782         * nptl_db/td_thr_tlsbase.c: Include link.h.
25783         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25784         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25785         addresses even if the DTV is out of date or missing them.
25786         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25787         index zero-length arrays.
25788         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25789         (td_lookup): Make it a macro implemented in terms of...
25790         (td_mod_lookup): ... this declaration.
25791         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25792         (DB_MAIN_VARIABLE): Likewise.
25794 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25796         [BZ #18134]
25797         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25799 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25801         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25803 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25805         [BZ #18128]
25806         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25807         (atomic_add, atomic_increment_and_test)
25808         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25810 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25812         * stdlib/setenv.c (__add_to_environ):
25813         Dump core quickly if setenv (..., NULL, ...) is called.
25815 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25817         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25818         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25819         all the necessary asm magic in one place.
25820         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25821         using those.
25823 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25825         [BZ #14906]
25826         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25827         traced file mtime. Use consistent log message.
25828         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25829         (register_traced_file): Call install_watches. Always set mtime.
25830         (invalidate_cache): Iterate over all trace files. Call install_watches.
25831         (inotify_check_files): Don't inline. Handle watching parent
25832         directories and configuration file movement in and out.
25833         (handle_inotify_events): New function.
25834         (main_loop_poll): Call handle_inotify_events.
25835         (main_loop_epoll): Likewise.
25836         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25837         (struct traced_file): Use array of inotify fds. Add parent directory,
25838         and basename.
25839         (struct database_dyn): Remove unused file_mtime.
25840         (init_traced_file): New inline function.
25841         (define_traced_file): New macro.
25842         * nss/nss_db/db-init.c: Use define_traced_file.
25843         (_nss_db_init): Use init_traced_file.
25844         * nss/nss_files/files-init.c: Use define_traced_file.
25845         (_nss_files_init): Use init_traced_file.
25847 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25849         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25850         [_LIBC]: Do not include <stdlib.h>.
25851         [!_LIBC] (abort): Remove declaration.
25852         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25853         _FP_STATIC_ASSERT instead of conditionally calling abort.
25854         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25855         (_FP_EXTEND_CNAN): Likewise.
25856         (FP_TRUNC): Likewise.
25857         (__FP_CLZ): Likewise.
25858         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25860 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25862         * manual/string.texi (XPG basename): Fix prototype.
25864 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25866         [BZ #18080]
25867         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25868         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25869         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25870         (__setcontext): Likewise.
25871         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25872         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25873         Call rt_sigprocmask syscall one time to set new signal mask
25874         and retrieve the current signal mask instead of two calls.
25875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25876         (__swapcontext): Likewise.
25877         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25878         * stdlib/tst-setcontext2.c: New file.
25880 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25882         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25884 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25886         [BZ #18093]
25887         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25888         the wrong size.
25890 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25892         [BZ #18043]
25893         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25895 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25897         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25898         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25899         Remove define.
25900         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25901         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25902         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25903         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25904         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25905         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25906         define.
25907         * nptl_db/td_symbol_list.c (td_lookup): Remove
25908         HAVE_ASM_GLOBAL_DOT_NAME code.
25909         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25910         HAVE_ASM_GLOBAL_DOT_NAME check.
25911         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25912         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25913         (DOT_LABEL): Remove define.
25914         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25915         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25916         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25917         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25918         (__TLS_GET_ADDR): Likewise.
25919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25920         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25922 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25924         [BZ #18111]
25925         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25926         (_FPU_SETCW): Initialize cw from fpsr before storing.
25927         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25928         (fesetexceptflag): Rewrite using fpu_control.h.
25929         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25931 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25933         [BZ #18110]
25934         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25935         asms.
25936         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25938 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25940         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25941         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25942         abort.
25943         (_FP_FMA): Likewise.
25944         (_FP_DIV): Likewise.
25946 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25948         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25949         with 0 in that case.
25950         * Makefile (summarize-tests): New canned sequence, factored out of
25951         commands for targets tests and xtests.  Display summary lines that
25952         don't start with PASS: or XFAIL: rather than ones that do start with
25953         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25954         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25955         do start with ERROR: or FAIL:.
25956         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25957         (except for [$(build-shared) = yes]).
25958         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25959         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25960         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25961         * nptl/Makefile: Revert 2015-03-04 changes.
25962         [$(CXX) empty] (tests-unsupported): New variable.
25963         * debug/Makefile: Likewise.
25965         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25966         gnulib file.  Replace __attribute with __attribute__ throughout.
25968 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25970         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25972 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25974         [BZ #18104]
25975         * math/auto-libm-test-in: Add another test of pow.
25976         * math/auto-libm-test-out: Regenerated.
25978 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25980         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25981         $(config-cflags-nofma).
25983 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25985         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25986         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25987         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25988         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25989         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25990         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25991         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25992         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25993         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25994         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25995         Add comment on closing #endif.
25997 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25999         * posix/wordexp.c (CHAR_IN_SET): New macro.
26000         (parse_param): Use it.
26002 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26004         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26006 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26008         [BZ #18043]
26009         * posix/wordexp.c (parse_param): Fix buffer overflow.
26010         * posix/wordexp-test.c (test_case): Add test case.
26012 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26014         [BZ #18042]
26015         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26016         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26018 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26020         [BZ #18043]
26021         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26022         (do_bz18043): Delete.
26023         (at_page_end): New.
26024         (testit): Refactor to have words at the edge of unreadable page.
26026 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26028         [BZ #16734]
26029         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26030         Cleanup read-only streams as well.
26031         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26033 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26035         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26036         <bits/libc-lockP.h>
26038 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26040         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26041         on [__KERNEL__].
26042         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26043         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26044         * soft-fp/op-common.h (_FP_DECL): Likewise.
26046 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26048         * elf/ifuncdep2.c (global): Replace
26049         __attribute__((visibility("protected"))) with
26050         asm (".protected global").
26051         * elf/ifuncmod1.c (global): Likewise.
26052         * elf/ifuncmod5.c (global): Likewise.
26054 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26056         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26057         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26059 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26061         * manual/install.texi (Configuring and compiling):
26062         Document test-wrapper-env-only.
26063         * INSTALL: Regenerated.
26065 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26067         [BZ #18043]
26068         * posix/wordexp.c (parse_param): Fix buffer overflow.
26069         * posix/wordexp-test.c (do_bz18043): Add test case.
26071 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26073         * time/tst-strptime2.c (do_test): Ensure failing tests are
26074         reported correctly.
26075         * time/tst-strptime3.c (do_test): Likewise.
26077 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26079         Fix aio_error thread-safety.
26080         * sysdeps/pthread/aio_error.c: New file
26081         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26082         synchronization.
26084 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26086         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26087         (group_number, vfprintf): Use it.
26088         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26089         (JUMP, REF): Use it.
26090         (WORK_BUFFER_SIZE): New enum constant.
26091         (process_arg, vfprintf): Use it.
26093 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26095         * manual/errno.texi (Error Messages): Complete example function
26096         by adding missing #define.
26097         (program_invocation_name): Add statement indicating GNU
26098         extension and reference which header file declares the variable.
26099         (program_invocation_short_name): Likewise.
26101 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26103         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26104         compatibility note.
26106 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26108         * Makeconfig (test-wrapper-env-only): New variable.
26109         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26110         then use that with $(test-wrapper-env-only) rather than using
26111         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26113 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26115         [BZ #18082]
26116         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26117         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26118         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26119         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26120         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26121         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26122         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26123         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26124         Likewise.
26125         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26126         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26127         Likewise.
26128         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26129         Likewise.
26130         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26131         Likewise.
26132         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26133         Likewise.
26134         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26135         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26136         Likewise.
26137         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26138         Likewise.
26139         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26140         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26142 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26144         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26145         (ETH_ALEN): New macro.
26146         (struct ether_addr): Use it for length of ether_addr_octet.
26148         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26149         (setdb): Don't call __nss_configure_lookup for "rpc".
26150         (do_test): Don't call test_rpc.
26151         (output_rpcent, test_rpc): Functions moved ...
26152         * sunrpc/test-rpcent.c: ... to this new file.
26153         * sunrpc/Makefile (tests): Add it.
26155         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26156         __xpg_sigpause.
26157         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26158         * nptl/tst-signal6.c: Likewise.
26159         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26160         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26162         * configure.ac (libc_cv_cxx_link_ok): New check.
26163         Reset CXX to empty if it fails to link.
26164         * configure: Regenerated.
26165         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26166         bug-atexit3-lib only if $(CXX) is nonempty.
26167         * nptl/Makefile (tests): Likewise for tst-cancel24.
26168         (tests, tests-static): Likewise for tst-cancel24-static.
26169         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26170         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26171         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26172         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26174 2015-03-04  Andreas Schwab  <schwab@suse.de>
26176         [BZ #17631]
26177         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26178         for non-GCC compilers.
26179         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26180         Likewise.
26182 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26184         [BZ #17776]
26185         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26186         integer before bitwise and assembly operations.
26187         (feclearexcept): Likewise.
26188         * math/test-fenvinline.c: New file.
26189         * math/Makefile: Add test-fenvinline test.
26191 2015-03-03  Alan Modra  <amodra@gmail.com>
26193         [BZ #16512]
26194         * scripts/localplt.awk: Strip off symbol version.
26195         * NEWS: Mention bug fix.
26197 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26199         * sysdeps/pthread/timer_routines.c
26200         (timer_free_list, thread_free_list, thread_active_list): Make static.
26202 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26204         [BZ #17779]
26205         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26206         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26207         Undefine.
26208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26209         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26210         Likewise.
26211         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26212         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26213         Likewise.
26215 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26217         [BZ #18036]
26218         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26219         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26221 2015-03-02  Andreas Schwab  <schwab@suse.de>
26223         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26224         variable name.
26226 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26228         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26229         Return error status.
26231 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26233         [BZ #15969]
26234         * locale/findlocale.c (_nl_find_locale): Introduce const
26235         version of loc_name and drop unsafe type casts.
26237 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26239         * dlfcn/tststatic2.c (main): Converted to ...
26240         (do_test): ... this.
26241         (TEST_FUNCTION): New macro.
26242         Include test-skeleton.c.
26244 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26246         [BZ #17711]
26247         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26248         (tests-pie): Add vismain.
26249         (CFLAGS-vismain.c): New.
26250         * elf/vismain.c: Add comments for PIE requirement.
26252 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26254         [BZ #18046]
26255         [BZ #18047]
26256         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26257         0x1p-56L as threshold for just returning the argument.
26258         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26259         0x1p-32L as threshold for just returning the argument.
26260         * math/auto-libm-test-in: Add more tests of atanh.
26261         * math/auto-libm-test-out: Regenerated.
26262         * sysdeps/i386/fpu/libm-test-ulps: Update.
26263         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26265 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26267         * string/bcopy.c (bcopy): Call memmove for performance.
26269 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26271         * string/bzero.c (__bzero): Call memset for performance.
26273 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26275         [BZ #18068]
26276         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26277         to 00100000.
26279 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26281         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26283 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26285         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26286         (__kernel_standard): Use CSTR macro when setting exc.name.
26287         * sysdeps/ieee754/Makefile [$(subdir) = math]
26288         (CFLAGS-k_standard.c): Remove variable.
26290         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26291         setting p and q from "else if" to "else".
26292         (qzero): Likewise.
26293         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26294         (qone): Likewise.
26295         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26296         (qzerof): Likewise.
26297         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26298         (qonef): Likewise.
26299         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26300         (qzero): Likewise.
26301         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26302         (qone): Likewise.
26304         [BZ #18038]
26305         [BZ #18039]
26306         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26307         return pi/2 for arguments below 0x1p-113L.
26308         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26309         return pi/2 for arguments below 0x1p-106L.
26310         * math/auto-libm-test-in: Add more tests of acos.
26311         * math/auto-libm-test-out: Regenerated.
26313         [BZ #16351]
26314         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26315         (MO): New macro.
26316         (__ieee754_asin): Force underflow exception for results with small
26317         absolute value.
26318         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26319         (MO): New macro.
26320         (__ieee754_asinf): Force underflow exception for results with
26321         small absolute value.
26322         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26323         (__ieee754_asin): Force underflow exception for results with small
26324         absolute value.
26325         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26326         (__ieee754_asinf): Force underflow exception for results with
26327         small absolute value.
26328         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26329         (__ieee754_asinl): Force underflow exception for results with
26330         small absolute value.
26331         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26332         (__ieee754_asinl): Force underflow exception for results with
26333         small absolute value.
26334         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26335         (__ieee754_asinl): Force underflow exception for results with
26336         small absolute value.
26337         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26338         Include <math.h>.
26339         * math/auto-libm-test-in: Do not mark underflow exceptions as
26340         possibly missing for bug 16351.
26341         * math/auto-libm-test-out: Regenerated.
26343         [BZ #18030]
26344         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26345         of power of 2 down when low part has opposite sign.
26346         * math/libm-test.inc (logb_test_data): Add more tests.
26348 2015-02-26  Andreas Schwab  <schwab@suse.de>
26350         [BZ #18032]
26351         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26352         over collating symbol inside a bracket expression.  Minor cleanup.
26353         * posix/tst-fnmatch3.c (do_test): Add test case.
26355 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26357         [BZ #18029]
26358         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26359         Adjust exponent of power of 2 down when low part has opposite
26360         sign.
26361         * math/libm-test.inc (ilogb_test_data): Add more tests.
26363 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26365         [BZ #15969]
26366         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26367         the previous change.
26369         [BZ #15969]
26370         * locale/findlocale.c (_nl_find_locale): Retry archive search
26371         after alias expansion.
26373 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26375         * iconv/tst-iconv3.c (main): Converted to ...
26376         (do_test): ... this.
26377         (TEST_FUNCTION): New macro.
26378         Include test-skeleton.c.
26380         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26381         (convert): Make function static.
26382         (test_unalign): Likewise.  Add const to argument pointee types.
26383         (main): Replace with static function do_test.
26384         Print "Succeeded." only if RET is zero.
26385         (TEST_FUNCTION): New macro.
26386         Include test-skeleton.c.
26388         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26389         returns a null pointer.
26391 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26393         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26394         to __memcpy_ppc only for static builds.
26396 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26398         [BZ #18020]
26399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26400         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26401         * math/auto-libm-test-in: Add more tests of asinh.
26402         * math/auto-libm-test-out: Regenerated.
26403         * sysdeps/i386/fpu/libm-test-ulps: Update.
26404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26406 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26408         [BZ #15850]
26409         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26410         and ip6_mtuinfo definitions here.
26411         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26412         in this define too.  Update comment.
26414 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26416         * elf/sprof.c (load_shobj): Tweak error message to match others.
26418 2015-02-24  Kevin Easton  <kevin@guarana.org>
26420         [BZ #16145] (partial fix)
26421         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26422         to reduce lock contention.
26424 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26426         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26427         (struct timex): Update time comment.
26428         (ADJ_SETOFFSET): Define.
26430 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26432         [BZ #18019]
26433         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26434         2**56 not 2**28 as threshold for log (2x) formula.
26435         * math/auto-libm-test-in: Add more tests of acosh.
26436         * math/auto-libm-test-out: Regenerated.
26437         * sysdeps/i386/fpu/libm-test-ulps: Update.
26438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26440 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26442         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26443         parenthesis around the buf assignment.
26444         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26446 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26448         [BZ #16783]
26449         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26450         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26451         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26452         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26453         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26454         * math/libm-test.inc (scalb_test_data): Add more tests.
26456 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26458         [BZ #17916]
26459         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26460         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26462 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26464         [BZ #17523]
26465         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26466         * io/bits/fcntl2.h (open): Use it.
26467         (openat): Likewise.
26468         * io/open.c (__libc_open): Likewise.
26469         * io/open64.c (__libc_open64): Likewise.
26470         * io/open64_2.c (__open64_2): Likewise.
26471         * io/open_2.c (__open_2): Likewise.
26472         * io/openat.c (__openat): Likewise.
26473         * io/openat64.c (__openat64): Likewise.
26474         * io/openat64_2.c (__openat64_2): Likewise.
26475         * io/openat_2.c (__openat_2): Likewise.
26476         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26477         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26478         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26479         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26480         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26481         (__open_nocancel): Likewise.
26482         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26483         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26484         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26486 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26488         [BZ #14841]
26489         * resolv/gethnamaddr.c (getanswer): Skip logging if
26490         RES_USE_DNSSEC is set.
26491         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26493 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26495         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26497 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26499         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26500         201304L, for Unicode 7.
26502 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26504         [BZ #17836]
26505         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26506         shared library.  Add gmon-start.os otherwise.
26507         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26508         $(objpfx)gmon-start.os if builing shared library.
26509         ($(objpfx)g$(static-start-installed-name)): Likewise.
26511 2015-02-23  Andreas Schwab  <schwab@suse.de>
26513         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26515 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26517         [BZ #17269]
26518         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26519         (enlarge_userbuf): Likewise.
26521 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26523         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26524         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26525         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26526         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26528 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26530         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26531         expression inside statement expression.
26533 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26535         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26536         <sysdeps/nptl/lowlevellock.h> and remove macros and
26537         functions that are now defined there.
26538         (SYS_futex): Remove.
26539         (lll_compare_and_swap): Remove.
26540         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26542 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26544         [BZ #17999]
26545         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26546         instead of scandirat.
26547         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26548         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26549         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26550         __scandirat.
26551         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26552         (__scandirat): Declare.  Use libc_hidden_proto.
26553         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26554         Remove variable.
26555         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26557 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26559         [BZ #15319]
26560         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26561         (MO): New macro.
26562         (__ieee754_atan2): For results with small absolute value, force
26563         underflow exception and remove excess range and precision from
26564         return value.
26565         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26566         (MO): New macro.
26567         (__ieee754_atan2f): For results with small absolute value, force
26568         underflow exception and remove excess range and precision from
26569         return value.
26570         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26571         (MO): New macro.
26572         (__atan): For results with small absolute value, force underflow
26573         exception and remove excess range and precision from return value.
26574         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26575         (MO): New macro.
26576         (__atanf): For results with small absolute value, force underflow
26577         exception and remove excess range and precision from return value.
26578         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26579         <math.h>.
26580         (__ieee754_atan2): Force underflow exception for results with
26581         small absolute value.
26582         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26583         <math_private.h>.
26584         (atan): Force underflow exception for results with small absolute
26585         value.
26586         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26587         (__atanf): Force underflow exception for results with small
26588         absolute value.
26589         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26590         <math.h>.
26591         (__atanl): Force underflow exception for results with small
26592         absolute value.
26593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26594         (__atanl): Force underflow exception for results with small
26595         absolute value.
26596         * sysdeps/x86/fpu/bits/mathinline.h
26597         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26598         (__ieee754_atan2): Only define inline for long double.
26599         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26600         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26601         * math/auto-libm-test-in: Do not mark underflow exceptions as
26602         possibly missing for bug 15319.  Add more tests of atan2.
26603         * math/auto-libm-test-out: Regenerated.
26604         * math/libm-test.inc (casin_test_data): Do not mark underflow
26605         exceptions as possibly missing for bug 15319.
26606         (casinh_test_data): Likewise.
26607         * sysdeps/i386/fpu/libm-test-ulps: Update.
26609 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26611         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26612         * sysdeps/mips/bits/endian.h: Fix comments.
26614 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26616         [BZ #17996]
26617         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26618         (hdestroy_r): Likewise.
26619         (hsearch_r): Likewise.
26620         (__hcreate_r): Declare and use libc_hidden_proto.
26621         (__hdestroy_r): Likewise.
26622         (__hsearch_r): Likewise.
26623         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26624         (hcreate): Call __hcreate_r instead of hcreate_r.
26625         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26626         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26627         as weak alias of __hcreate_r.
26628         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26629         __hdestroy_r.
26630         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26631         __hsearch_r.
26632         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26633         Remove variable.
26634         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26635         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26636         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26637         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26639 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26642         arena_lock into a single arena_get.
26644 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26646         * dl-reloc.c: Inlucde libc-internal.h.
26647         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26648         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26649         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26650         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26651         (grow_heap): Likewise.
26652         * malloc/malloc.c: Include libc-internal.h.
26653         (do_check_malloc): Call powerof2.
26654         (sysmalloc): Use pagesize. Call ALIGN_UP.
26655         (systrim): Use pagesize.
26656         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26657         (__libc_valloc): Use pagesize.
26658         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26660 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26662         [BZ #17991]
26663         * include/sys/resource.h (__getrlimit64): Declare.  Use
26664         libc_hidden_proto.
26665         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26666         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26667         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26668         getrlimit64.
26669         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26670         __getrlimit64.
26671         [!getrlimit64] (getrlimit64): Define as weak alias of
26672         __getrlimit64.  Use libc_hidden_weak.
26673         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26674         using __getrlimit64 not __new_getrlimit64.
26675         (__GI_getrlimit64): Likewise.
26676         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26677         Likewise.
26678         (__GI_getrlimit64): Likewise.
26679         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26681         (getrlimit): Add __getrlimit64 alias.
26682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26683         Likewise.
26684         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26685         Remove variable.
26686         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26687         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26689 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26691         * libio/fileops.c: Add missing sys/mman.h
26692         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26694 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26696         * manual/math.texi (Errors in Math Functions): Clarify goals
26697         regarding inexact and underflow exceptions.
26699 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26701         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26702         * sysdeps/mips/memset.S: Ditto.
26704 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26706         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26708 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26710         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26711         (__v1longjmp): Remove versioned symbol.
26712         (__v1siglongjmp): Remove alias and versioned symbol.
26713         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26714         (__v2siglongjmp): Likewise.
26716 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26718         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26720 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26722         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26724 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26726         [BZ #17987]
26727         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26728         zero result does not depend on the sign resulting from
26729         subtraction.
26730         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26731         Likewise.
26732         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26733         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26734         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26735         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26736         * math/libm-test.inc (remquo_test_data): Add more tests.
26738 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26740         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26741         Problem reported by J William Piggott.
26743 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26745         [BZ #17978]
26746         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26747         products 4 * y and 2 * y where those would overflow.
26748         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26749         Likewise.
26750         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26751         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26752         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26753         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26754         * math/libm-test.inc (remquo_test_data): Add more tests.
26756         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26758         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26759         [defined _COMPILING_NEWLIB].
26760         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26761         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26763         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26764         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26766 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26768         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26769         acquired.
26771 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26773         [BZ #17792]
26774         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26775         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26776         HOST_STACK_END_ADDR): Likewise.
26778 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26780         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26781         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26782         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26784 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26786         * sysdeps/generic/c++-types.data: New file.
26787         * sysdeps/generic/ld.abilist: New file.
26788         * sysdeps/generic/libBrokenLocale.abilist: New file.
26789         * sysdeps/generic/libanl.abilist: New file.
26790         * sysdeps/generic/libc.abilist: New file.
26791         * sysdeps/generic/libcrypt.abilist: New file.
26792         * sysdeps/generic/libdl.abilist: New file.
26793         * sysdeps/generic/libm.abilist: New file.
26794         * sysdeps/generic/libpthread.abilist: New file.
26795         * sysdeps/generic/libresolv.abilist: New file.
26796         * sysdeps/generic/librt.abilist: New file.
26798 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26800         [BZ #17569]
26801         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26802         Compute absolute value of x as modified by fmod, not original
26803         value of x.
26804         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26805         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26806         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26807         RUN_TEST_ffI_f1_mod8.
26808         (remquo_test_data): Add more tests.
26810 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26812         * sysdeps/init_array/pt-crti.S: New file.
26814 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26816         [BZ #17967]
26817         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26818         __builtin_fmaf instead of relying on contraction of a * b + c.
26820 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26822         [BZ #17969]
26823         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26824         node.
26826 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26828         [BZ #17964]
26829         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26830         __builtin_fma instead of relying on contraction of a * b + c.
26832 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26834         * Makeconfig (ASFLAGS): Add -Werror=undef.
26835         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26836         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26837         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26839         * Makeconfig (after-link): New variable.
26840         (+link-pie, +link-pie-tests): Use it.
26841         (+link-static, +link-static-tests): Likewise.
26842         (+link, +link-tests): Likewise.
26843         * Makerules (build-module, build-module-asneeded): Likewise.
26844         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26845         Likewise.
26846         * elf/Makefile ($(objpfx)ld.so): Likewise.
26848 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26850         [BZ #17965]
26851         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26852         both struct timeval and struct timespec.
26854 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26856         [BZ #16560]
26857         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26858         and redefine.
26859         (__ieee754_exp2l): Do not multiply small fractional parts by
26860         M_LN2l.
26861         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26862         small argument.
26863         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26864         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26865         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26866         * math/auto-libm-test-in: Add more tests of exp2.
26867         * math/auto-libm-test-out: Regenerated.
26869 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26871         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26872         unaligned path.
26874 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26876         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26877         little endian.
26879 2015-02-12  Andreas Schwab  <schwab@suse.de>
26881         [BZ #15790]
26882         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26883         Filter out elision flags from value returned in kind.
26884         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26885         * nptl/tst-pthread-mutexattr.c: New file.
26887 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26889         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26890         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26891         into gnu-gnu, and update comment to refer to abi-tags.
26893 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26895         [BZ #15467]
26896         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26897         (__sincos): Set errno to EDOM for infinite argument.
26898         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26899         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26900         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26901         (__sincosl): Set errno to EDOM for infinite argument.
26902         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26903         (__sincosl): Set errno to EDOM for infinite argument.
26904         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26905         (__sincosl): Set errno to EDOM for infinite argument.
26906         * math/libm-test.inc (sincos_test_data): Test errno setting.
26908 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26910         * string/strxfrm_l.c: Remove #define STRCMP.
26911         * string/strcoll_l.c: Remove #define STRLEN.
26912         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26913         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26915 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26917         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26918         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26919         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26920         * sysdeps/mips/mips64/Makefile: ... here.
26921         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26922         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26923         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26924         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26925         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26926         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26927         * sysdeps/mips/mips64/n64/Implies: Likewise.
26929 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26931         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26932         <sys/time.h>, <string.h>, and <errno.h>.
26933         (dest_offset, dest_address, value, zero): Remove unused variables.
26934         (ldouble): Remove typedef.
26935         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26936         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26937         1).  Fix code style.
26938         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26939         (check): Function removed.
26940         (CHECK): New macro.
26941         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26942         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26943         Don't call set_sigaction_FP and remove_sigaction_FP here.
26944         (ldouble_test): Just use 'long double' as macro argument, no need for
26945         the 'ldouble' typedef.
26946         (do_test): Set up SIGFPE handler at start, using plain signal rather
26947         than sigaction.  Fix code style.
26949 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26951         [BZ #17949]
26952         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26953         jump label.
26955 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26957         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26958         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26960         * sysdeps/powerpc/configure.ac: Remove file.
26961         * sysdeps/powerpc/configure: Likewise.
26963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26964         [sysdep_routines]: Remove wordcopy-power6 object.
26965         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26966         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26967         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26968         (__memmove_ppc32): Likewise.
26969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26970         file.
26971         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26972         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26973         Remove preprocessor.
26975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26976         [sysdep_routines]: Remove wide chars objects.
26977         [wcsmbs]: New rule for wide char objects.
26979         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26980         Remove wordcopy-power6 obejct.
26981         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26982         Use local call for wordcopy and memcpy symbols.
26983         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26985         implementation for loader.
26986         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26988         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26989         Remove wordcopy-power7 object.
26990         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26992         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26993         (_wordcopy_fwd_dest_aligned): Likewise.
26994         (_wordcopy_bwd_aligned): Likewise.
26995         (_wordcopy_bwd_dest_aligned): Likewise.
26997         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26998         Rewrite to call __memmove_ppc instead of include default
26999         implementation.
27001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27002         Remove wide chars objects.
27003         [wcsmbs]: New rule for wide char objects.
27005 2015-02-09  Andreas Schwab  <schwab@suse.de>
27007         [BZ #17912]
27008         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27009         in terms of __O_DIRECTORY.
27011 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27013         * time/getdate.c: Include <stdbool.h>.
27014         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27015         call PTR_MANGLE.
27016         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27017         PTR_DEMANGLE.
27019 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27021         Add ersatz _Static_assert on older C hosts
27022         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27023         pre-C11 C platform that is not known to support _Static_assert.
27025 2015-02-07  Richard Braun  <rbraun@sceen.net>
27027         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27028         sigstate.
27029         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27031 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27033         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27034         priority against unexistent AIO_PRIO_DELTA_MAX.
27035         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27036         instead of int.
27037         * misc/fchflags.c (fchflags): Likewise.
27038         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27039         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27040         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27041         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27042         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27043         Declare macros.
27044         [__USE_MISC] (chflags, fchflags): Declare functions.
27045         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27046         EINVAL when nfds is greater than FD_SETSIZE.
27047         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27048         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27049         45.
27050         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27051         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27052         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27053         MACH_RCV_TIMED_OUT.
27054         * hurd/hurd/signal.h (_hurd_self_sigstate,
27055         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27056         Explicit casts from void *.
27057         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27058         * abi-tags: Rename gnu-gnu os into gnu.
27060         [BZ #4719]
27061         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27062         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27063         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27064         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27065         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27066         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27068         [BZ #17944]
27069         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27070         duplicates ADDR->sun_path with sockaddr LEN limitation.
27071         * sysdeps/mach/hurd/connect.c: Include <string.h>
27072         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27073         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27074         * sysdeps/mach/hurd/sendto.c: Likewise.
27075         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27076         implementing it by hand.
27078 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27080         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27081         Use sfi_breg on ldr.
27082         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27083         Likewise.
27085         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27086         it's defined.
27087         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27088         Test SIGSETXID only if it's defined.
27090         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27092         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27093         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27095         * nptl/tst-align2.c: Moved ...
27096         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27097         * nptl/Makefile (tests): Remove tst-align2.
27098         * sysdeps/unix/sysv/linux/Makefile
27099         [$(subdir) = nptl] (tests): Add tst-align-clone.
27100         * nptl/tst-getpid1.c: Moved ...
27101         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27102         * nptl/tst-getpid2.c: Moved ...
27103         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27104         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27105         * sysdeps/unix/sysv/linux/Makefile
27106         [$(subdir) = nptl] (tests): ... here.
27107         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27108         * sysdeps/unix/sysv/linux/Makefile
27109         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27111         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27112         Drop trailing \n from perror argument.  Use return rather than exit.
27114         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27115         on [SA_SIGINFO].
27116         * nptl/tst-cancel21.c (do_test): Likewise.
27117         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27118         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27119         [!SA_SIGINFO]: Make it a stub test.
27121         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27122         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27124         * posix/tst-getlogin.c: Move to ...
27125         * login/tst-getlogin.c: ... here.
27126         * posix/Makefile (tests): Move tst-getlogin to ...
27127         * login/Makefile (tests): ... here.
27129         * libio/tst-atime.c (do_test): Move local variables SV and E
27130         inside [ST_NOATIME] conditional.
27132         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27134         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27136         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27137         (wait_code): New function replaces macro.
27138         Call nanosleep rather than syscall.
27140         * nptl/pt-system.c: Rewritten.  Put everything under
27141         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27142         Use IFUNC to redirect when possible.
27144         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27145         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27146         Use IFUNC to redirect when possible.
27148         * nptl/pt-fork.c: Rewritten.  Put everything under
27149         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27150         Use IFUNC to redirect when possible.
27151         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27153         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27154         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27155         unconditionally nowadays.  This included the only reference to
27156         __vdso_clock_gettime that appears outside libc proper.
27157         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27158         Remove version set (containing only __vdso_clock_gettime).
27159         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27160         Add attribute_hidden.
27161         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27162         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27163         libc_hidden_data_def.
27164         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27165         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27167         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27168         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27169         setrpcent, and getrpcport to ...
27170         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27171         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27172         getrpcbynumber_r, and getrpcent_r to ...
27173         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27174         * inet/getrpcbyname.c: Moved ...
27175         * sunrpc/getrpcbyname.c: ... here.
27176         * inet/getrpcbyname_r.c: Moved ...
27177         * sunrpc/getrpcbyname_r.c: ... here.
27178         * inet/getrpcbynumber.c: Moved ...
27179         * sunrpc/getrpcbynumber.c: ... here.
27180         * inet/getrpcbynumber_r.c: Moved ...
27181         * sunrpc/getrpcbynumber_r.c: ... here.
27182         * inet/getrpcent.c: Moved ...
27183         * sunrpc/getrpcent.c: ... here.
27184         * inet/getrpcent_r.c: Moved ...
27185         * sunrpc/getrpcent_r.c: ... here.
27186         * inet/Makefile (routines): Move those to ...
27187         * sunrpc/Makefile (routines): ... here.
27188         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27189         the $(subdirs) list.
27190         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27191         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27192         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27193         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27195         * elf/Makefile (routines): Include $(all-dl-routines), not just
27196         $(dl-routines).
27197         (rtld-routines): Likewise.  Use = rather than :=.
27198         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27199         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27200         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27201         * sysdeps/arm/Makefile: Likewise.
27202         * sysdeps/i386/Makefile: Likewise.
27203         * sysdeps/x86_64/Makefile: Likewise.
27204         * sysdeps/hppa/Makefile [$(subdir) = elf]
27205         (sysdep_routines, sysdep-rtld-routines): Don't add
27206         $(sysdep-dl-routines) to these.
27207         * sysdeps/ia64/Makefile: Likewise.
27208         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27209         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27210         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27211         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27212         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27213         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27214         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27215         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27216         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27217         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27218         these; sysdep-dl-routines alone is enough.
27220 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27222         [BZ #17932]
27223         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27224         where multiplication results in zero and third argument is finite
27225         and nonzero.
27226         * math/auto-libm-test-in: Add more tests of fma.
27227         * math/auto-libm-test-out: Regenerated.
27229         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27230         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27231         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27232         (_FP_CMP_EQ): Likewise.
27233         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27235         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27236         extra argument CHECK_NAN.  Redefine as wrapper around
27237         _FP_EXTEND_CNAN.
27239 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27241         * version.h (RELEASE): Set to "stable".
27242         (VERSION): Set to "2.21"
27243         * include/features.h (__GLIBC_MINOR__): Set to 21.
27245         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27247 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27248             Paul Eggert  <eggert@cs.ucla.edu>
27250         [BZ #16618]
27251         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27253         size in bytes. Store needed elements in wpmax. Use needed size
27254         in bytes for extend_alloca.
27256 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27258         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27259         binutls 2.25, and texinfo 5.2.
27260         * INSTALL: Regenerate.
27261         * sysdeps/nios2/configure: Regenerate.
27262         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27263         * manual/contrib.texi: Update.
27264         * po/be.po: Update.
27265         * po/bg.po: Update.
27266         * po/ca.po: Update.
27267         * po/cs.po: Update.
27268         * po/da.po: Update.
27269         * po/de.po: Update.
27270         * po/el.po: Update.
27271         * po/eo.po: Update.
27272         * po/es.po: Update.
27273         * po/fi.po: Update.
27274         * po/fr.po: Update.
27275         * po/gl.po: Update.
27276         * po/hr.po: Update.
27277         * po/hu.po: Update.
27278         * po/ia.po: Update.
27279         * po/id.po: Update.
27280         * po/it.po: Update.
27281         * po/ja.po: Update.
27282         * po/ko.po: Update.
27283         * po/lt.po: Update.
27284         * po/nb.po: Update.
27285         * po/nl.po: Update.
27286         * po/pl.po: Update.
27287         * po/pt_BR.po: Update.
27288         * po/ru.po: Update.
27289         * po/rw.po: Update.
27290         * po/sk.po: Update.
27291         * po/sl.po: Update.
27292         * po/sv.po: Update.
27293         * po/tr.po: Update.
27294         * po/uk.po: Update.
27295         * po/vi.po: Update.
27296         * po/zh_CN.po: Update.
27297         * po/zh_TW.po: Update.
27299         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27300         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27301         * sysdeps/hppa/dl-irel.h: Remove #warning.
27302         * sysdeps/hppa/entry.h: Provide prototype for
27303         __canonicalize_funcptr_for_compare and cast argument.
27304         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27305         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27306         * sysdeps/hppa/sotruss-lib.c: New file.
27307         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27308         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27309         (atomic_compare_and_exchange_bool_acq): Likewise.
27310         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27311         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27313         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27314         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27315         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27317 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27319         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27320         called function in non-PIC case.
27322 2015-01-31  David S. Miller  <davem@davemloft.net>
27324         * sysdeps/sparc/sparc32/bits/atomic.h
27325         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27326         unlock not after it.
27327         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27328         volatile register usage warnings from the compiler.
27330         * sysdeps/sparc/nptl/sem_init.c: Delete.
27331         * sysdeps/sparc/nptl/sem_post.c: Delete.
27332         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27333         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27334         * sysdeps/sparc/sparc32/sem_init.c: New file.
27335         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27336         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27337         padding explicitly initialized.
27338         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27339         padding for in-semaphore spinlock.
27340         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27341         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27342         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27343         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27344         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27345         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27346         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27347         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27348         version.
27349         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27350         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27352 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27354         [BZ #17801]
27355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27356         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27357         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27358         New.
27359         (index_AVX_Fast_Unaligned_Load): Likewise.
27360         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27361         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27362         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27363         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27364         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27365         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27366         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27367         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27368         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27370 2015-01-29  Andreas Schwab  <schwab@suse.de>
27372         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27374 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27376         [BZ #17892]
27377         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27379 2015-01-28  Martin Sebor  <msebor@redhat.com>
27381         * math/README.libm-test: Clarify. Add "How to read the test output."
27383 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27385         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27386         Define to 0.
27388 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27390         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27391         (__HAVE_64B_ATOMICS): Define to 0.
27393 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27395         [BZ #17885]
27396         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27397         value to set as new flag.
27399         [BZ #16576]
27400         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27401         and use _ARCH_PPCSQ instead.
27402         (__ieee754_sqrt): Likewise.
27403         (__ieee754_sqrtf): Likewise.
27404         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27405         _ARCH_PPCSQ is defined.
27406         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27407         fsqrt instruction.
27408         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27409         _ARCH_PPCSQ is defined.
27410         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27411         fsqrts instruction.
27412         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27414 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27416         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27417         bug (GCC BZ #64739).
27419 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27421         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27422         Mark _retval as used.
27423         (lll_futex_wake_unlock): Likewise.
27424         (lll_futex_timed_wait_requeue_pi): Likewise.
27426         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27427         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27428         register variables.
27430         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27431         libm_hidden_def.
27433         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27434         (__bswap_64): Mark as __always_inline.
27436 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27438         [BZ #15378]
27439         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27440         when none of the search directories exist.
27442 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27444         [BZ #17869]
27445         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27446         power8 in .machine directive.
27448         [BZ #17868]
27449         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27450         set dependency from opd value.
27452 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27455         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27456         architecture.
27458 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27460         [BZ #17870]
27461         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27462         with uint64_t.
27463         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27464         (uint64_t) 1.
27465         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27466         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27467         Replace 1UL with (uint64_t) 1.
27468         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27469         int with uint64_t.
27471 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27473         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27474         (if_freenameindex): Likewise.
27476         * resource/getrlimit64.c: Add missing libc_hidden_def.
27478 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27480         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27481         __label__.
27482         (_FP_FMA): Likewise.
27483         (_FP_TO_INT_ROUND): Likewise.
27484         (_FP_FROM_INT): Likewise.
27486 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27488         [BZ #16418]
27489         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27490         Make code racy and cancel safe.
27492 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27494         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27495         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27496         attribution.
27498         * pwd/tst-getpw.c: Rewrite.
27500         [BZ #17702]
27501         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27502         (modules-names): Add moddummy1 and moddummy2.
27503         ($(objpfx)tst-rec-dlopen): Define.
27504         * dlfcn/moddummy1.c: New file.
27505         * dlfcn/moddummy2.c: New file.
27506         * dlfcn/tst-rec-dlopen.c: New file.
27507         * elf/dl-cache.c (_dl_load_cache_lookup):
27508         Return char*. Copy result with alloca/strcpy/strdup.
27509         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27510         returns char*. Free cached. If not saving realname
27511         free cached.
27512         * elf/dl-open.c (dl_open_worker): Do not assert that
27513         _r_debug->r_state is RT_CONSISTENT.
27514         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27515         returns char*.
27517 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27518             Carlos O'Donell  <carlos@redhat.com>
27520         [BZ #12674]
27521         * nptl/sem_waitcommon.c: New file.
27522         * nptl/sem_wait.c: Include sem_waitcommon.c.
27523         (__sem_wait_cleanup, do_futex_wait): Remove.
27524         (__new_sem_wait): Adapt.
27525         (__new_sem_trywait): New function.
27526         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27527         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27528         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27529         (sem_timedwait): Adapt.
27530         * nptl/sem_post.c (__new_sem_post): Adapt.
27531         (futex_wake): New function.
27532         (__old_sem_post): Add release MO fence.
27533         * nptl/sem_open.c (sem_open): Adapt.
27534         * nptl/sem_init.c (__new_sem_init): Adapt.
27535         (futex_private_if_supported): New function.
27536         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27537         (__old_sem_getvalue): Add using previous code.
27538         * sysdeps/nptl/internaltypes.h: Adapt.
27539         * nptl/tst-sem13.c (do_test): Adapt.
27540         * nptl/tst-sem11.c (main): Adapt.
27541         * nptl/sem_trywait.c: Remove.
27542         * nptl/DESIGN-sem.txt: Remove.
27543         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27544         (gen-as-const-headers): Remove structsem.sym.
27545         * nptl/structsem.sym: Remove.
27546         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27547         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27548         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27549         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27550         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27551         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27552         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27553         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27554         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27555         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27556         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27557         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27558         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27559         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27560         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27561         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27562         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27563         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27564         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27565         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27566         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27567         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27569 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27571         * INSTALL: Regenerated.
27573         * po/libc.pot: Regenerated.
27575 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27576             Sandra Loosemore  <sandra@codesourcery.com>
27577             Andrew Jenner  <andrew@codesourcery.com>
27578             Joseph Myers  <joseph@codesourcery.com>
27579             Nathan Sidwell  <nathan@codesourcery.com>
27581         * NEWS: Mention new Nios II port.
27582         * sysdeps/nios2/Implies: New file.
27583         * sysdeps/nios2/Makefile: New file.
27584         * sysdeps/nios2/Subdirs: New file.
27585         * sysdeps/nios2/Versions: New file.
27586         * sysdeps/nios2/__longjmp.S: New file.
27587         * sysdeps/nios2/abort-instr.h: New file.
27588         * sysdeps/nios2/backtrace.c: New file.
27589         * sysdeps/nios2/bits/endian.h: New file.
27590         * sysdeps/nios2/bits/fenv.h: New file.
27591         * sysdeps/nios2/bits/link.h: New file.
27592         * sysdeps/nios2/bits/setjmp.h: New file.
27593         * sysdeps/nios2/bsd-_setjmp.S: New file.
27594         * sysdeps/nios2/bsd-setjmp.S: New file.
27595         * sysdeps/nios2/configure: New generated file.
27596         * sysdeps/nios2/configure.ac: New file.
27597         * sysdeps/nios2/crti.S: New file.
27598         * sysdeps/nios2/crtn.S: New file.
27599         * sysdeps/nios2/dl-init.c: New file.
27600         * sysdeps/nios2/dl-machine.h: New file.
27601         * sysdeps/nios2/dl-sysdep.h: New file.
27602         * sysdeps/nios2/dl-tls.h: New file.
27603         * sysdeps/nios2/dl-trampoline.S: New file.
27604         * sysdeps/nios2/gccframe.h: New file.
27605         * sysdeps/nios2/gmp-mparam.h: New file.
27606         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27607         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27608         * sysdeps/nios2/ldsodefs.h: New file.
27609         * sysdeps/nios2/libc-tls.c: New file.
27610         * sysdeps/nios2/libm-test-ulps: New file.
27611         * sysdeps/nios2/machine-gmon.h: New file.
27612         * sysdeps/nios2/math-tests.h: New file.
27613         * sysdeps/nios2/math_private.h: New file.
27614         * sysdeps/nios2/memusage.h: New file.
27615         * sysdeps/nios2/nptl/Makefile: New file.
27616         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27617         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27618         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27619         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27620         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27621         * sysdeps/nios2/nptl/tls.h: New file.
27622         * sysdeps/nios2/preconfigure: New file.
27623         * sysdeps/nios2/s_fma.c: New file.
27624         * sysdeps/nios2/s_fmaf.c: New file.
27625         * sysdeps/nios2/setjmp.S: New file.
27626         * sysdeps/nios2/sfp-machine.h: New file.
27627         * sysdeps/nios2/sotruss-lib.c: New file.
27628         * sysdeps/nios2/stackguard-macros.h: New file.
27629         * sysdeps/nios2/stackinfo.h: New file.
27630         * sysdeps/nios2/start.S: New file.
27631         * sysdeps/nios2/sysdep.h: New file.
27632         * sysdeps/nios2/tls-macros.h: New file.
27633         * sysdeps/nios2/tst-audit.h: New file.
27634         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27635         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27636         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27637         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27638         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27639         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27640         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27641         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27642         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27643         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27644         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27645         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27646         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27647         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27648         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27649         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27650         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27651         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27652         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27653         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27654         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27655         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27656         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27657         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27658         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27659         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27660         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27661         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27662         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27663         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27664         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27665         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27666         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27667         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27668         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27669         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27670         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27671         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27672         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27673         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27674         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27675         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27676         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27677         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27679 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27681         [BZ #17844]
27682         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27683         (getutent): Use weak_alias in non SHARED case
27684         and default_symbol_version in SHARED case.
27685         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27686         (getutent_r, pututline): Likewise.
27687         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27688         (getutid): Likewise.
27689         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27690         (getutid_r): Likewise.
27691         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27692         (getutline): Likewise.
27693         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27694         (getutline_r): Likewise.
27695         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27696         (updwtmp): Likewise.
27698 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27700         [BZ #17848]
27701         * sysdeps/s390/s390-32/memcmp.S
27702         (memcmp_g5): Rename to __memcmp_g5.
27703         * sysdeps/s390/s390-32/memcpy.S
27704         (memcpy_g5): Rename to __memcpy_g5.
27705         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27706         (memcpy_mvcle) Rename to __memcpy_mvcle.
27707         * sysdeps/s390/s390-32/memset.S
27708         (memset_g5): Rename to __memset_g5.
27709         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27710         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27711         and use prefixed functions.
27712         * sysdeps/s390/s390-32/multiarch/memcmp.S
27713         (memcmp_z196): Rename to __memcmp_z196.
27714         (memcmp_z10): Rename to __memcmp_z10.
27715         (memcmp): Set alias to __memcmp_g5.
27716         (bcmp): Set alias to __memcmp_g5.
27717         * sysdeps/s390/s390-32/multiarch/memcpy.S
27718         (memcpy_z196): Rename to __memcpy_z196.
27719         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27720         (memcpy_z10): Rename to __memcpy_z10.
27721         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27722         (memcpy): Set alias to __memcpy_g5.
27723         * sysdeps/s390/s390-32/multiarch/memset.S
27724         (memset_z196): Rename to __memset_z196.
27725         Jump to __memset_mvcle instead of memset_mvcle.
27726         (memset_z10): Rename to __memset_z10.
27727         Jump to __memset_mvcle instead of memset_mvcle.
27728         (memset_mvcle) Rename to __memset_mvcle.
27729         (memset): Set alias to __memset_g5.
27730         * sysdeps/s390/s390-64/memcmp.S
27731         (memcmp_z900): Rename to __memcmp_z900.
27732         * sysdeps/s390/s390-64/memcpy.S
27733         (memcpy_z900): Rename to __memcpy_z900.
27734         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27735         (memcpy_mvcle) Rename to __memcpy_mvcle.
27736         * sysdeps/s390/s390-64/memset.S
27737         (memset_z900): Rename to __memset_z900.
27738         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27739         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27740         and use prefixed functions.
27741         * sysdeps/s390/s390-64/multiarch/memcmp.S
27742         (memcmp_z196): Rename to __memcmp_z196.
27743         (memcmp_z10): Rename to __memcmp_z10.
27744         (memcmp): Set alias to __memcmp_z900.
27745         (bcmp): Set alias to __memcmp_z900.
27746         * sysdeps/s390/s390-64/multiarch/memcpy.S
27747         (memcpy_z196): Rename to __memcpy_z196.
27748         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27749         (memcpy_z10): Rename to __memcpy_z10.
27750         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27751         (memcpy): Set alias to __memcpy_z900.
27752         * sysdeps/s390/s390-64/multiarch/memset.S
27753         (memset_z196): Rename to __memset_z196.
27754         Jump to __memset_mvcle instead of memset_mvcle.
27755         (memset_z10): Rename to __memset_z10.
27756         Jump to __memset_mvcle instead of memset_mvcle.
27757         (memset_mvcle) Rename to __memset_mvcle.
27758         (memset): Set alias to __memset_z900.
27760 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27762         [BZ #17748]
27763         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27764         __fesetenv instead of fesetenv.
27766 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27768         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27769         macro.
27771 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27773         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27774         regression on LE.
27776         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27777         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27778         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27779         strncmp-power8 object.
27780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27781         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27782         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27783         * NEWS: Update.
27785 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27786             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27788         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27789         trailing byte check.
27791 2015-01-13  David S. Miller  <davem@davemloft.net>
27793         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27795 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27797         * login/logout.c (logout): Use memset rather than bzero.
27798         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27799         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27800         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27801         (_gethtbyaddr): Likewise.
27802         * locale/programs/simple-hash.c (bcopy): Macro removed.
27804 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27806         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27807         Add strcmp-power8 object.
27808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27809         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27810         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27811         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27812         __strcmp_power8 implementation.
27813         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27814         * NEWS: Update.
27816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27817         Add strncpy-power8 and stpncpy-power8 objects.
27818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27819         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27820         implementations.
27821         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27822         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27823         __stpncpy_power8 implementation.
27824         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27825         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27826         __strncpy_power8 implementation.
27827         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27828         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27829         * NEWS: Update.
27831         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27832         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27833         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27835         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27836         strncat-power8 object.
27837         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27838         __strcat_power8 implementation.
27839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27840         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27841         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27842         optimized strcat for power8.
27844         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27845         strcpy-power8 and stpcpy-power8 objects.
27846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27847         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27848         implementations.
27849         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27850         multiarch stpcpy implementation for POWER8.
27851         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27852         multiarch strcpy implementation for POWER8.
27853         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27854         __strcpy_power8 function.
27855         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27856         stpcpy for POWER8.
27857         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27858         strcpy for POWER8.
27859         * NEWS: Update.
27861 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27863         [BZ #16009]
27864         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27865         weights and rules. Use do_xfrm_cached if data fits in cache,
27866         do_xfrm otherwise.  Moved former main loop to...
27867         * (do_xfrm_cached): New function.
27868         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27869         find_idx, find_position and stack_push.
27870         * (find_idx): New function.
27871         * (find_position): Likewise.
27872         * localedata/sort-test.sh: Added test run for do_xfrm.
27873         * localedata/xfrm-test.c (main): Added command line option
27874         -nocache to run the test with strings that are too large for
27875         the STRXFRM cache.
27877 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27879         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27880         variable to lll_futex_wake call, not the value itself.
27882 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27884         [BZ #17803]
27885         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27886         twom64.  Adjust value to 0x1p-64L.
27887         (__scalblnl): Only return standard underflowing result for K <=
27888         -64 not K <= -63; adjust exponent for underflowing result by 64
27889         not 63.
27890         * math/libm-test.inc (scalbn_test_data): Add more tests.
27891         (scalbln_test_data): Likewise.
27893         [BZ #17834]
27894         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27895         0x1p63L.
27896         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27897         not HX.
27898         * math/libm-test.inc (scalbn_test_data): Add more tests.
27899         (scalbln_test_data): Likewise.
27901 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27902             Stefani Seibold  <stefani@seibold.net>
27904         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27905         (sysdep_routines): Add dl-vdso here, ...
27906         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27907         (sysdep_routines): ... not here.
27908         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27909         fallback when vDSO is not presented.
27910         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27911         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27912         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27913         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27914         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27915         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27916         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27917         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27918         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27919         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27920         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27921         fallback configurable symbol when vDSO is not available.
27922         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27923         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27924         be able to redefine fallback symbol when vDSO is not available.
27925         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27926         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27928 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27930         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27931         (TLS_INIT_TP): Add tm_capable initialization.
27932         (TLS_DEFINE_INIT_TP): Likewise.
27933         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27934         TCB.
27935         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27936         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27937         calculation.
27938         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27939         transactoion is lock elision is built and TCB tm_capable is set.
27940         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27942         (INTERNAL_SYSCALL_NCS): Likewise.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27944         (INTERNAL_SYSCALL_NCS): Likewise.
27945         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27947         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27948         for powerpc.
27949         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27950         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27951         and remove it for 32 bits case.
27952         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27954         initialization.
27955         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27956         Disable lock elision with rdlocks if elision is not available.
27958         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27959         (sysdep_routines): Add lock elision objects.
27960         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27961         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27962         [pthread_mutex_t] (__elision): Add field.
27963         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27964         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27965         elision definitions for powerpc.
27966         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27967         implementation of lock elision for powerpc.
27968         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27969         implementation of timed lock elision for powerpc.
27970         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27971         implementation of trylock with lock elision for powerpc.
27972         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27973         implementaion of unlock for lock elision for powerpc.
27974         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27975         automatic enable lock elision for mutexes.
27976         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27977         transaction execution definitions for powerpc.
27978         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27979         definitions.
27980         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27981         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27982         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27983         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27984         * NEWS: Update.
27986 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27988         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27989         for #include of <shm-directory.h>.
27991 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27993         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27994         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27996 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27998         [BZ #17791]
27999         * NEWS: Mention bug fix.
28000         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28001         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28002         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28004 2015-01-09  Torvald Riegel <triegel@redhat.com>
28006         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28008 2015-01-09  Torvald Riegel <triegel@redhat.com>
28010         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28012 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28014         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28015         pointer and cast to uintptr_t.
28017 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28019         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28020         removed.
28021         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28023 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28025         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28026         of 0.
28028 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28030         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28031         <nptl/pthreadP.h> instead.
28032         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28034         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28035         already defined.
28036         [__SIGRTMIN] (init): Function removed.
28037         [__SIGRTMIN] (initialized): Variable removed.
28038         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28039         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28040         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28041         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28042         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28043         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28044         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28045         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28046         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28047         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28048         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28049         * sysdeps/nptl/allocrtsig.c: New file.
28050         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28051         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28052         * sysdeps/generic/testrtsig.h: File removed.
28054         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28055         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28057         * nptl/nptl-init.c (pthread_functions): Conditionalize
28058         .ptr__nptl_setxid initialization on [SIGSETXID].
28060         * sysdeps/nptl/sys/procfs.h: New file.
28061         * nptl_db/Makefile (headers): Add it.
28062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28064         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28065         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28066         * nptl/pthread_attr_setaffinity.c: Include it.
28067         * nptl/pthread_setattr_default_np.c: Likewise.
28068         * nptl/check-cpuset.h: New file.
28070 2015-01-08  Richard Henderson  <rth@redhat.com>
28072         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28073         (CFLAGS-tst-execstack-prog.c): Likewise.
28074         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28076 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28077             Sandra Loosemore  <sandra@codesourcery.com>
28078             Andrew Jenner  <andrew@codesourcery.com>
28079             Joseph Myers  <joseph@codesourcery.com>
28080             Nathan Sidwell  <nathan@codesourcery.com>
28082         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28083         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28084         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28085         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28086         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28087         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28088         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28089         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28090         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28091         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28092         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28093         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28094         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28095         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28096         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28097         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28098         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28100 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28102         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28103         timespec struct member in syscall macro.
28104         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28105         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28106         first timeval struct member in syscall macro.
28107         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28109 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28111         [BZ #17748]
28112         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28113         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28114         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28115         __feupdateenv and define as weak alias of __feupdateenv.  Use
28116         libm_hidden_weak.
28117         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28118         libm_hidden_def.
28119         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28120         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28121         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28122         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28123         libm_hidden_def.
28124         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28125         __feupdateenv and define as weak alias of __feupdateenv.  Use
28126         libm_hidden_weak.
28127         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28128         libm_hidden_def.
28129         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28130         __feupdateenv and define as weak alias of __feupdateenv.  Use
28131         libm_hidden_weak.
28132         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28133         libm_hidden_def.
28134         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28135         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28136         (__feupdateenv): Likewise.
28137         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28138         __feupdateenv and define as weak alias of __feupdateenv.  Use
28139         libm_hidden_weak.
28140         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28141         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28142         libm_hidden_def.
28143         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28144         function.
28145         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28146         libm_hidden_def.
28147         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28148         __feupdateenv instead of feupdateenv.
28149         (default_libc_feupdateenv_test): Likewise.
28150         (libc_feresetround_ctx): Likewise.
28152 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28154         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28155         prototype.
28157 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28159         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28160         COLL_SYM in a couple of places to avoid uninitialized variable
28161         wanings on tilegx gcc 4.8.2.
28163 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28165         * sysdeps/aarch64/strcpy.S: New file.
28166         * sysdeps/aarch64/stpcpy.S: New file.
28167         * NEWS: Updated.
28169 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28171         * sysdeps/aarch64/strrchr.S: New file.
28172         * NEWS: Updated.
28174 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28176         [BZ #17658]
28177         * stdlib/setenv.c: Fix memory leak when setting large,
28178         duplicate string.
28180 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28182         [BZ #17273]
28183         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28184         and tabs from buffer before parsing fstab entry.
28185         * misc/tst-mntent.c (main): Add test for mount entry with
28186         trailing spaces and tabs.
28188 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28190         [BZ #17748]
28191         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28192         * math/fesetround.c (fesetround): Rename to __fesetround and
28193         define as weak alias of __fesetround.  Use libm_hidden_weak.
28194         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28195         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28196         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28197         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28198         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28199         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28200         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28201         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28202         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28203         __fesetround_inline.
28204         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28205         __fesetround_inline instead of __fesetround.
28206         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28207         __fesetround and define as weak alias of __fesetround.  Use
28208         libm_hidden_weak.  Call __fesetround_inline instead of
28209         __fesetround.
28210         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28211         __fesetround and define as weak alias of __fesetround.  Use
28212         libm_hidden_weak.
28213         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28214         Likewise.
28215         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28216         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28217         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28218         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28219         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28220         __fesetround and define as weak alias of __fesetround.  Use
28221         libm_hidden_weak.
28222         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28223         __fesetround instead of fesetround.
28224         (default_libc_feholdexcept_setround): Likewise.
28225         (libc_feholdsetround_ctx): Likewise.
28226         (libc_feholdsetround_noex_ctx): Likewise.
28228         [BZ #17748]
28229         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28230         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28231         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28232         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28233         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28234         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28235         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28236         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28237         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28238         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28239         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28240         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28241         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28242         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28243         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28244         libm_hidden_def.
28245         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28246         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28247         Likewise.
28248         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28249         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28250         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28251         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28252         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28253         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28254         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28255         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28256         __fesetenv instead of fesetenv.
28257         (libc_feresetround_noex_ctx): Likewise.
28258         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28259         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28260         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28261         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28262         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28263         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28264         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28265         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28266         (__feupdateenv): Likewise.
28267         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28268         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28269         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28270         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28272 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28274         [BZ #17806]
28275         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28276         addresses have been freed.
28278 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28280         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28281         and nservall.
28283 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28285         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28286         Clean up check_pf allocation pattern. addresses
28288 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28290         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28291         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28292         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28293         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28294         * nptl/pthread_join.c (pthread_join): Likewise.
28295         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28296         * sysdeps/posix/waitid.c (__waitid): Likewise.
28297         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28298         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28299         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28300         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28302         Likewise.
28303         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28304         (__libc_pread64): Likewise.
28305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28306         (__libc_pwrite): Likewise.
28307         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28308         (__libc_pwrite64): Likewsie.
28309         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28310         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28311         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28312         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28313         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28314         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28315         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28317         Likewise.
28318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28319         (__libc_pread64): Likewise.
28320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28321         Likewise.
28322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28323         (__libc_pwrite64): Likewise.
28324         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28325         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28326         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28327         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28328         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28329         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28330         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28331         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28332         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28333         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28334         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28335         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28336         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28337         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28338         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28339         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28340         Likewise.
28342 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28344         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28345         (CFLAGS-test-double.c): Likewise.
28346         (CFLAGS-test-ldouble.c): Likewise.
28347         (CPPFLAGS-test-ifloat.c): Likewise.
28348         (CPPFLAGS-test-idouble.c): Likewise.
28349         (CPPFLAGS-test-ildoubl.c): Likewise.
28350         (CFLAGS-test-test-fenv.c): Remove variable.
28351         (CFLAGS-test-misc.c): Likewise.
28353 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28355         [BZ #17797]
28356         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28357         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28358         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28359         CLOCKS_PER_SEC == 1000000.
28360         * time/clocktest.c (main): Replace %ld with %jd and cast to
28361         intmax_t.
28363 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28365         * sysdeps/generic/unwind-resume.h: New file.
28366         * sysdeps/gnu/unwind-resume.c: Include it.
28367         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28368         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28369         argument list.
28370         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28371         global rather than static.
28372         (_Unwind_Resume): Update user.
28373         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28374         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28375         rather than static.  Add __attribute__ ((cold)).
28376         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28377         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28378         * sysdeps/arm/arm-unwind-resume.S: New file.
28379         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28380         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28381         * sysdeps/arm/Makefile [$(subdir) = csu]
28382         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28383         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28384         Add rt-arm-unwind-resume.
28385         [$(subdir) = nptl]
28386         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28387         Add pt-arm-unwind-resume.
28388         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28389         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28391 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28393         [BZ #17748]
28394         * include/fenv.h (__feholdexcept): Declare.  Use
28395         libm_hidden_proto.
28396         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28397         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28398         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28399         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28400         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28401         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28402         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28403         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28404         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28405         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28406         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28407         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28408         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28409         (feholdexcept): Likewise.
28410         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28411         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28412         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28413         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28414         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28415         __feholdexcept instead of feholdexcept.
28416         (default_libc_feholdexcept_setround): Likewise.
28418 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28420         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28421         to avoid using stl/str to align destination.
28423 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28425         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28427 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28429         [BZ #17796]
28430         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28431         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28432         Define as weak alias not strong alias.
28434 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28436         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28437         bltzal with addiupc.
28438         (RTLD_START): Ditto.
28440 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28442         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28443         for __vdso_* functions in declarations.
28444         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28445         definitions.
28446         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28447         INTERNAL_VSYSCALL): Use struct return types to check for error.
28449         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28450         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28451         function with cast from llround().
28452         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28453         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28454         Define.
28456 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28458         [BZ #17793]
28459         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28460         Define as weak alias not strong alias.
28462         [BZ #17635]
28463         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28464         ...
28465         * ctype/ctype-extn.c: ... here.
28466         (__isblank_l): Move to ...
28467         * ctype/ctype-c99_l.c: ... here.  New file.
28468         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28469         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28470         Remove variable.
28471         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28472         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28473         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28474         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28475         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28477         [BZ #17777]
28478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28479         (posix_fadvise64): Define as weak alias not strong alias.
28480         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28481         (posix_fallocate64): Likewise.
28482         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28483         Remove variable.
28484         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28485         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28486         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28487         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28488         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28490 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28492         [BZ #16191]
28493         * NEWS: Mention bug fix.
28494         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28495         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28496         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28497         (HOST_STACK_END_ADDR): Likewise.
28499 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28501         [BZ #17748]
28502         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28503         * math/fegetround.c (fegetround): Rename to __fegetround and
28504         define as weak alias of __fegetround.  Use libm_hidden_weak.
28505         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28506         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28507         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28508         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28509         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28510         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28511         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28512         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28513         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28514         Undefine after rather than before function definition; use
28515         parentheses around function name in definition.
28516         (__fegetround): Also undefine macro after function definition.
28517         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28518         __fegetround and define as weak alias of __fegetround.  Use
28519         libm_hidden_weak.  Do not undefine as macro.
28520         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28521         Likewise.
28522         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28523         __fegetround and define as weak alias of __fegetround.  Use
28524         libm_hidden_weak.
28525         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28526         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28527         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28528         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28529         __fegetround and define as weak alias of __fegetround.  Use
28530         libm_hidden_weak.
28531         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28532         __fegetround instead of fegetround.
28534         [BZ #17782]
28535         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28536         Condition macro definition on [__USE_MISC].
28538         [BZ #17781]
28539         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28540         (struct sigaction): Change type of sa_flags field to int.
28542         [BZ #17780]
28543         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28544         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28545         __glibc_reserved0.
28547         * nptl/version.c (banner): Use single year in copyright notice.
28549         * NEWS: Update copyright dates.
28550         * catgets/gencat.c (print_version): Likewise.
28551         * csu/version.c (banner): Likewise.
28552         * debug/catchsegv.sh: Likewise.
28553         * debug/pcprofiledump.c (print_version): Likewise.
28554         * debug/xtrace.sh (do_version): Likewise.
28555         * elf/ldconfig.c (print_version): Likewise.
28556         * elf/ldd.bash.in: Likewise.
28557         * elf/pldd.c (print_version): Likewise.
28558         * elf/sotruss.sh: Likewise.
28559         * elf/sprof.c (print_version): Likewise.
28560         * iconv/iconv_prog.c (print_version): Likewise.
28561         * iconv/iconvconfig.c (print_version): Likewise.
28562         * locale/programs/locale.c (print_version): Likewise.
28563         * locale/programs/localedef.c (print_version): Likewise.
28564         * login/programs/pt_chown.c (print_version): Likewise.
28565         * malloc/memusage.sh (do_version): Likewise.
28566         * malloc/memusagestat.c (print_version): Likewise.
28567         * malloc/mtrace.pl: Likewise.
28568         * manual/libc.texinfo: Likewise.
28569         * nptl/version.c (banner): Likewise.
28570         * nscd/nscd.c (print_version): Likewise.
28571         * nss/getent.c (print_version): Likewise.
28572         * nss/makedb.c (print_version): Likewise.
28573         * posix/getconf.c (main): Likewise.
28574         * scripts/test-installation.pl: Likewise.
28575         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28577 2015-01-02  Will Newton  <will.newton@linaro.org>
28579         * sysdeps/arm/armv7/configure: Removed.
28580         * sysdeps/arm/armv7/configure.ac: Likewise.
28582 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28584         * All files with FSF copyright notices: Update copyright dates
28585         using scripts/update-copyrights.
28586         * intl/plural.c: Regenerated.
28587         * locale/programs/charmap-kw.h: Likewise.
28588         * locale/programs/locfile-kw.h: Likewise.
28590 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28592         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28594 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28596         [BZ #17748]
28597         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28598         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28599         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28600         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28601         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28602         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28603         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28604         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28605         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28606         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28607         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28608         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28609         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28610         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28611         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28612         libm_hidden_def.
28613         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28615         Likewise.
28616         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28617         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28618         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28619         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28620         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28621         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28622         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28623         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28624         __fegetenv instead of fegetenv.
28625         (libc_feholdsetround_noex_ctx): Likewise.
28627 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28629         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28630         (Elf_MIPS_ABIFlags_v0): New structure.
28631         (EF_MIPS_FP64): Define.
28632         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28633         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28634         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28635         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28636         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28637         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28638         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28639         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28640         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28641         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28642         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28643         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28644         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28645         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28646         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28647         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28648         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28649         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28650         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28651         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28652         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28653         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28654         field.
28655         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28656         EF_MIPS_FP64.
28657         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28658         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28659         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28660         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28661         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28662         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28663         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28664         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28665         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28666         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28667         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28668         record the current FP ABI extension.
28669         (mips-mode-switch): Define to show if kernel headers support mode
28670         switching.
28671         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28672         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28673         supported SYSV ABI version to 3.
28674         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28675         feature.
28677 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28678             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28680         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28681         path.
28682         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28684 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28686         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28687         __fegetround and redefine to call __fegetround.  Remove condition
28688         on [!__NO_MATH_INLINES].
28689         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28690         function.
28691         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28692         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28693         Remove macro.
28694         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28695         instead of <fenv_libc.h>.
28696         (__llrintl): Call fegetround instead of __fegetround.
28697         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28698         instead of <fenv_libc.h>.
28699         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28700         (__lrintl): Call fegetround instead of __fegetround.
28701         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28702         instead of <fenv_libc.h>.
28703         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28704         (__rintl): Call fegetround instead of __fegetround.
28706 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28708         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28709         arrays.
28711 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28713         [BZ #17775]
28714         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28715         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28716         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28718 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28720         * sysdeps/i386/tls-macros.h: Include <features.h>.
28721         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28722         (TLS_IE): Likewise.
28723         (TLS_LD): Likewise.
28724         (TLS_GD): Likewise.
28725         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28726         define for GCC >= 5.0.
28728 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28730         * math/test-fenv.c (test_single_exception, set_single_exc,
28731         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28732         feexcp_mask_test, feenable_test, fe_single_test): Add
28733         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28734         case where they are not used.
28735         * math/libm-test.inc: Likewise.
28736         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28737         unused in the absence of FP rounding/exception support.
28738         * stdio-common/tst-printf-round.c: Likewise.
28739         * stdlib/tst-strtod-round.c: Likewise.
28740         * stdlib/tst-strtod-underflow.c: Likewise.
28742 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28744         [BZ #17723]
28745         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28746         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28747         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28748         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28749         libm_hidden_weak.
28750         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28751         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28752         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28753         libm_hidden_def.
28754         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28755         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28756         libm_hidden_weak.
28757         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28758         Likewise.
28759         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28760         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28761         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28762         libm_hidden_weak.
28763         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28764         libm_hidden_def.
28765         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28766         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28767         (__feraiseexcept): Likewise.
28768         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28769         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28770         libm_hidden_weak.
28771         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28772         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28773         libm_hidden_def.
28774         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28775         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28776         Use libm_hidden_def.
28777         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28778         libm_hidden_def.
28779         (feraiseexcept): Define as weak not strong alias.  Use
28780         libm_hidden_weak.
28781         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28782         New inline function.  Factored out of ...
28783         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28784         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28785         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28786         feraiseexcept.
28787         * math/w_acos.c (__acos): Likewise.
28788         * math/w_asin.c (__asin): Likewise.
28789         * math/w_ilogb.c (__ilogb): Likewise.
28790         * math/w_j0.c (y0): Likewise.
28791         * math/w_j1.c (y1): Likewise.
28792         * math/w_jn.c (yn): Likewise.
28793         * math/w_log.c (__log): Likewise.
28794         * math/w_log10.c (__log10): Likewise.
28795         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28796         * sysdeps/aarch64/fpu/math_private.h
28797         (libc_feupdateenv_test_aarch64): Likewise.
28798         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28799         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28800         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28801         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28802         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28803         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28804         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28805         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28806         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28807         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28809 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28811         [BZ #17732]
28812         * io/test-utime.c (main): Replace %ld with %jd and cast to
28813         intmax_t.
28814         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28815         * nptl/tst-mutex5.c: Include <stdint.h>.
28816         (do_test): Replace %ld with %jd and cast to intmax_t.
28817         * posix/tst-regex.c (run_test): Likewise.
28818         (run_test_backwards): Likewise.
28819         * rt/tst-clock.c: Include <stdint.h>.
28820         (clock_test): Replace %ld with %jd and cast to intmax_t.
28821         * rt/tst-cpuclock1.c: Include <stdint.h>.
28822         (do_test): Replace %lu with %ju and cast to uintmax_t.
28823         * rt/tst-cpuclock2.c: Include <stdint.h>.
28824         (do_test): Replace %lu with %ju and cast to uintmax_t.
28825         * rt/tst-mqueue1.c: Include <stdint.h>.
28826         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28827         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28828         intmax_t.
28829         * rt/tst-mqueue4.c (do_test): Likewise.
28830         * rt/tst-timer4.c: Include <stdint.h>.
28831         (check_ts): Replace %ld with %jd and cast to intmax_t.
28832         (do_test): Likewise.
28833         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28834         and cast to intmax_t.
28835         * sysdeps/pthread/tst-timer.c (main): Likewise.
28836         * time/clocktest.c (main): Likewise.
28837         * time/tst-posixtz.c (do_test): Likewise.
28838         * timezone/tst-timezone.c (main): Likewise.
28840 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28841             H.J. Lu  <hongjiu.lu@intel.com>
28843         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28844         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28845         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28846         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28847         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28848         version if bit_Fast_Unaligned_Load is set.
28849         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28850         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28851         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28852         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28853         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28855         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28856         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28857         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28858         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28859         to 4.
28860         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28861         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28862         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28863         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28865 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28867         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28868         instead of #if to avoid a Wundef warning.
28869         * stdlib/tst-limits.c (do_test): Likewise.
28871         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28872         parallel other exception macros.
28873         (fegetenv): Convert from macro to extern inline so that it applies
28874         retroactively to inline functions already seen by the compiler.
28875         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28877         * posix/Makefile (before-compile): Use $(objpfx) for
28878         posix-conf-vars-def.h.
28880 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28882         * posix/getconf.c (main): Use size_t for type of I.
28883         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28884         NSPEC.
28886         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28887         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28888         * posix/posix-envs.def: Likewise.
28889         * sysdeps/posix/sysconf.c: Likewise.
28890         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28891         (specs): Remove array.
28892         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28893         array.
28895         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28896         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28897         (__sysconf): Use CONF_IS_* macros.
28899         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28900         ($(objpfx)posix-conf-vars-def.h): New target.
28901         * posix/posix-conf-vars.list: New file.
28902         * posix/posix-conf-vars.h: New file.
28903         * posix/confstr.c: Include posix-conf-vars.h.
28904         (confstr): Use CONF_IS_* macros.
28905         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28906         CONF_IS_* macros.
28907         * scripts/gen-posix-conf-vars.awk: New file.
28909 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28911         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28912         fegetround): Add no-op macros to avoid linknamespace issues.
28914         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28915         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28917         * sysdeps/unix/sysv/linux/tile/sysdep.h
28918         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28919         assembly-specific section to avoid a redefinition warning.
28921         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28922         long before casting to pointer to avoid a cast warning.
28924 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28926         * sysdeps/tile/tilegx/Implies: New file.
28928 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28930         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28932 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28934         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28936 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28939         not define.
28940         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28941         <kernel-features.h>.
28942         (__utimes) [__NR_utimes]: Make code unconditional.
28943         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28944         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28945         (__ASSUME_UTIMES): Do not undefine.
28946         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28947         (__ASSUME_UTIMES): Likewise.
28948         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28949         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28950         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28951         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28953 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28955         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28957 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28959         [BZ #17747]
28960         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28961         alias to weak alias for j0l, y0l.
28962         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28963         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28965         [BZ #17746]
28966         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28967         conversion.
28969 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28971         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28972         to zero if not already defined.
28974 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #17724]
28977         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28978         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28979         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28980         (char *) casts added.
28981         * sysdeps/ieee754/k_standardf.c: New file.
28982         * sysdeps/ieee754/k_standardl.c: Likewise.
28983         * math/Makefile (libm-support): Remove k_standard.
28984         (libm-calls): Add k_standard.
28986 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28988         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28989         Optimize to avoid an unnecessary FPCR read.
28991 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28993         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28994         Optimize to reduce FPCR/FPSR accesses.
28996 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28998         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28999         Call libc_fetestexcept_aarch64.
29001 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29003         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29004         Call libc_fesetround_aarch64.
29006 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29008         [BZ #17733]
29009         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29010         (__bind): Do not define as weak alias.
29011         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29012         define.
29013         (__getsockname): Do not define as weak alias.
29015 2014-12-22  Will Newton  <will.newton@linaro.org>
29017         * manual/install.texi: Document that we require bison 2.7
29018         or above.
29019         * INSTALL: Regenerate.
29020         * configure.ac: Use AC_CHECK_PROG_VER instead of
29021         AC_PATH_PROG when checking for bison and check for
29022         version 2.7 or above.
29023         * configure: Regenerate.
29025 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29027         [BZ #17745]
29028         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29029         * sysdeps/tile/ffsll.c (ffsll): To here.
29031         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29033 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29035         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29036         if not defined.
29037         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29038         definition.
29039         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29040         hidden ___tls_get_addr.
29041         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29042         hidden __tls_get_addr.
29043         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29044         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29045         Likewise.
29047 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29049         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29050         _dl_init call.
29052 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29054         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29055         from "call _dl_init@PLT".
29056         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29058 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29060         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29061         guarantees.
29063 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29065         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29067 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29069         [BZ #17744]
29070         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29071         strnlen.
29073 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29075         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29076         of multu on MIPSr6.
29077         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29078         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29079         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29080         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29081         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29083 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29085         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29086         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29087         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29088         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29089         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29090         mips32r6/mips64r6.
29091         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29093 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29095         * string/strncat.c (STRNCAT): Simplify implementation.
29097 2014-12-19  David S. Miller  <davem@davemloft.net>
29099         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29100         access the quad as both a long double and as a series of 4 words.
29102         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29103         link_map->l_info array access.
29105 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29107         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29109         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29110         * math/atest-exp2.c (TIMEOUT): Likewise.
29111         * math/atest-sincos.c (TIMEOUT): Likewise.
29113 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29115         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29116         -Wno-error with -fno-builtin-lround.
29118 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29120         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29121         Contains futex constants and functions moved over from ...
29122         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29123         <lowlevellock-futex.h>.
29124         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29125         (lll_timedwait_tid): Add comments and parentheses around macro
29126         arguments.
29128 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29130         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29131         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29132         (__lll_private_flag): Remove.
29133         (lll_futex_wait): Likewise.
29134         (lll_futex_timed_wait): Likewise.
29135         (lll_futex_wake): Likewise.
29136         (lll_futex_requeue): Likewise.
29137         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29138         (__lll_timedwait_tid): Spell out argument names.
29139         (lll_timedwait_tid): Add comments and parentheses around macro
29140         arguments.
29141         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29142         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29144 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29146         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29147         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29148         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29149         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29150         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29151         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29152         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29153         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29154         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29155         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29156         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29158         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29159         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29160         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29161         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29162         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29163         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29164         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29166 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29168         * sysdeps/x86_64/x32/Makefile: New file.
29170 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29172         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29173         1L with (mp_limb_t) 1.
29175 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29177         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29178         * nptl/libc_pthread_init.c: ... here.
29179         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29180         * nptl/register-atfork.c: ... here.
29182         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29183         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29184         Use assert_perror to check its return value.
29185         (__gai_create_helper_thread): Likewise.
29187         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29189         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29191 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29193         [BZ #17725]
29194         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29195         __profil_counter.
29196         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29197         Likewise.
29198         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29199         Likewise.
29200         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29201         Likewise.
29202         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29203         (profil_counter): Likewise.
29204         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29205         (profil_counter): Likewise.
29206         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29207         Likewise.
29208         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29209         Likewise.
29210         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29211         (profil_counter): Likewise.
29212         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29213         Likewise.
29214         [!__profil_counter] (profil_counter): Define as weak alias of
29215         __profil_counter.
29216         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29217         (profil_counter): Rename to __profil_counter.
29218         [!__profil_counter] (profil_counter): Define as weak alias of
29219         __profil_counter.
29220         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29221         (profil_counter): Rename to __profil_counter.
29222         [!__profil_counter] (profil_counter): Define as weak alias of
29223         __profil_counter.
29224         * sysdeps/posix/profil.c: Update comment referring to
29225         profil_counter.
29226         (__profil): Use __profil_counter instead of profil_counter.
29227         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29228         __profil_counter.  Use __profil_counter_ushort and
29229         __profil_counter_uint in definitions.
29230         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29231         instead of profil_counter_uint and profil_counter_ushort.
29233         [BZ #17722]
29234         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29235         define as weak alias of __inet_makeaddr.
29236         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29237         as weak alias of __inet_addr.
29238         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29239         as weak alias of __inet_pton.  Use libc_hidden_weak.
29240         * include/arpa/inet.h (__inet_pton): Declare.  Use
29241         libc_hidden_proto.
29242         (inet_makeaddr): Don't use libc_hidden_proto.
29243         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29244         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29245         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29246         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29247         Remove variable.
29248         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29249         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29251 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29253         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29255 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29257         * stdio-common/bug-vfprintf-nargs.c (do_test):
29258         Cast value to intptr_t to avoid format warning
29259         for usage with PRIdPTR printing macro.
29261 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29263         * libio/tst-widetext.c (do_test):
29264         Use format type %td instead of %Zd for ptrdiff_t
29265         in order to avoid format warning.
29267 2014-12-17  Andreas Schwab  <schwab@suse.de>
29269         * nscd/mem.c (gc): Add size_t cast to match printf format.
29271 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29273         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29274         (init): Apply PTR_MANGLE to pointers before storing them.
29275         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29276         before using them.
29278 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #17719]
29281         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29282         define as weak alias of __memrchr.
29283         (__memrchr): Do not define as strong alias of memrchr.
29284         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29285         Remove variable.
29286         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29287         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29288         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29290         [BZ #17717]
29291         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29292         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29293         (if_indextoname): Rename to __if_indextoname and define as weak
29294         alias of __if_indextoname.  Use libc_hidden_weak.
29295         (if_freenameindex): Rename to __if_freenameindex and define as
29296         weak alias of __if_freenameindex.
29297         (if_nameindex): Rename to __if_nameindex and define as weak alias
29298         of __if_nameindex.
29299         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29300         __if_nametoindex and define as weak alias of __if_nametoindex.
29301         Use libc_hidden_weak.
29302         (if_freenameindex): Rename to __if_freenameindex and define as
29303         weak alias of __if_freenameindex.
29304         (if_nameindex): Rename to __if_nameindex and define as weak alias
29305         of __if_nameindex.
29306         (if_indextoname): Rename to __if_indextoname and define as weak
29307         alias of __if_indextoname.  Use libc_hidden_weak.
29308         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29309         __if_nametoindex and define as weak alias of __if_nametoindex.
29310         Use libc_hidden_weak.
29311         (if_freenameindex): Rename to __if_freenameindex and define as
29312         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29313         (if_nameindex_netlink): Use __if_freenameindex instead of
29314         if_freenameindex.
29315         (if_nameindex): Rename to __if_nameindex and define as weak alias
29316         of __if_nameindex.  Use libc_hidden_weak.
29317         (if_indextoname): Rename to __if_indextoname and define as weak
29318         alias of __if_indextoname.  Use libc_hidden_weak.
29319         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29320         libc_hidden_proto.
29321         [!_ISOMAC] (__if_freenameindex): Likewise.
29322         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29323         if_nametoindex.
29324         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29325         variable.
29326         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29327         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29328         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29329         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29330         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29331         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29332         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29334         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29335         Remove variable.
29336         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29337         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29339 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29341         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29342         subscript above bounds'
29344         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29345         bounds.
29347 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29349         * libio/tst-fopenloc.c: Use test-skeleton.c.
29351         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29352         (entry): Rename to ITEM.
29353         (do_test, comp): Adjust.
29355         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29357 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29359         * string/tester.c: Include <libc-internal.h>.
29360         (test_memset): Ignore -Wmemset-transposed-args.
29362 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29364         * misc/tst-mntent2.c (do_test): Fix warning.
29366 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29368         * elf/tst-unique4lib.cc(a): Mark as used.
29370 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29372         [BZ #17630]
29373         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29374         names.
29376 2014-12-16  Allan McRae  <allan@archlinux.org>
29378         * stdio-common/Makefile (tests): Re-add bug26.
29380 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29382         [BZ #17657]
29383         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29384         static array.
29386 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29388         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29389         (__lll_lock_wait): Likewise.
29390         (__lll_timedlock_wait): Likewise.
29391         (__lll_timedwait_tid): Likewise.
29392         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29393         (__lll_robust_timedlock_wait): Likewise.
29394         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29395         (lll_cond_trylock): Likewise.
29396         (__lll_lock): Likewise.
29397         (__lll_robust_lock): Likewise.
29398         (__lll_cond_lock): Likewise.
29399         (lll_robust_cond_lock): Likewise.
29400         (__lll_timedlock): Likewise.
29401         (__lll_robust_timedlock): Likewise.
29402         (__lll_unlock): Likewise.
29403         (__lll_robust_unlock): Likewise.
29404         (lll_wait_tid): Likewise.
29405         (lll_timedwait_tid): Likewise.
29407 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29409         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29411 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29413         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29415 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29417         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29418         * stdio-common/tst-sprintf.c: Likewise.
29420 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29422         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29424 2014-12-15  Jeff Law  <law@redhat.com>
29426         [BZ #16617]
29427         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29428         on the heap.  (CVE-2012-3406)
29429         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29430         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29431         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29433 2014-12-15  Will Newton  <will.newton@linaro.org>
29435         * manual/install.texi: Bump required version of texinfo
29436         to 4.7 from 4.5.
29437         * INSTALL: Regenerated.
29438         * configure.ac: Check for makeinfo version 4.7 and above.
29439         * configure: Regenerated.
29441 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29443         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29444         PREFIX, string constant to insert between directory and name.
29445         * sysdeps/posix/shm_open.c: Update caller.
29446         * sysdeps/posix/shm_unlink.c: Likewise.
29447         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29448         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29449         (SEM_SHM_PREFIX): New macro.
29450         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29451         [$(have-thread-library) = no].
29452         * nptl/Makefile (libpthread-routines): Add shm-directory.
29453         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29454         * sysdeps/nptl/shm-directory.h: New file.
29455         * sysdeps/posix/shm-directory.c
29456         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29457         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29458         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29459         INTERNAL_SYSCALL.
29460         (__where_is_shmfs): Function removed.
29461         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29462         Variables removed.
29463         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29464         Use SHM_GET_NAME.
29465         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29467         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29468         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29469         unconditional for use inside libpthread.
29470         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29472 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29474         * nptl/pthread_getaffinity.c: New file.
29475         * nptl/pthread_setaffinity.c: New file.
29476         * nptl/pthread_getname.c: New file.
29477         * nptl/pthread_setname.c: New file.
29479         * nptl/pthread_create.c (START_THREAD_DEFN)
29480         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29482 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29483             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29485         * resolv/res_send.c (send_vc): Disable warning resplen may
29486         be used uninitialized.
29488 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29490         * nptl/tst-mutex6.c
29491         (ATTR_NULL): New define checks ATTR against NULL.
29492         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29493         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29495 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29497         [BZ #17581]
29498         * malloc/hooks.c
29499         (mem2mem_check): Revert my previous change.
29500         (malloc_check_get_size): Revert my previous change.
29501         (mem2chunk_check): Revert my previous change.
29503 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29505         * sysdeps/posix/shm-directory.c: New file.
29506         * sysdeps/posix/shm-directory.h: New file.
29507         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29508         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29509         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29510         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29511         Transmute EPERM to EACCES.
29512         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29513         from ...
29514         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29515         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29517 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29519         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29520         pointer and cast to uintptr_t.
29521         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29522         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29523         Add cast to avoid warning.
29524         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29526 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29528         * nptl/semaphore.h: Move to ...
29529         * sysdeps/pthread/semaphore.h: ... here.
29530         * Makefile (installed-headers): Change nptl/semaphore.h to
29531         sysdeps/pthread/semaphore.h.
29533 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29535         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29536         generated error format strings.
29538         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29539         -Wformat-extra-args warnings for scanf formats.
29540         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29541         test of zero-length format (duh).
29542         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29543         corner-case scanf format test.
29544         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29545         generated fprintf format string.
29546         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29547         corner-case sprintf format tests.
29548         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29549         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29550         -Wformat-extra-args warnings throughout.
29551         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29552         (CFLAGS-scanf4.c): Likewise.
29553         (CFLAGS-scanf7.c): Likewise.
29554         (CFLAGS-tst-sprintf.c): Likewise.
29555         (CFLAGS-tst-printf.c): Likewise.
29556         (CFLAGS-tst-printfsz.c): Likewise.
29558 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29560         * include/cpio.h: New file.
29561         * include/fmtmsg.h: Likewise.
29563         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29564         corresponding format argument to size_t.
29565         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29566         arguments.
29567         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29568         corresponding format argument to size_t.
29569         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29570         arguments.
29571         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29572         corresponding format argument to size_t.
29573         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29574         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29575         (CFLAGS-tst-mbswcs2.c): Likewise.
29576         (CFLAGS-tst-mbswcs3.c): Likewise.
29577         (CFLAGS-tst-mbswcs4.c): Likewise.
29578         (CFLAGS-tst-mbswcs5.c): Likewise.
29579         (CFLAGS-tst-trans.c): Likewise.
29581 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29583         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29584         rather than assuming they won't contain any '%'s.
29586 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29588         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29589         inhibit_loop_to_libcall to avoid recursive calls.
29590         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29591         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29593 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29595         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29596         prototype.
29598 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29600         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29601         integer value instead of boolean.
29603 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29605         * malloc/malloc.c: Fix powerof2 check.
29607 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29609         * locale/programs/locfile.h (maybe_swap_uint32):
29610         Remove inline and add unused attribute.
29612 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29614         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29615         Truncating assembler expression to a .long expression.
29617 2014-12-11  Andreas Schwab  <schwab@suse.de>
29619         * elf/rtld.c (struct map_args): Constify str member.
29620         (do_preload): Constify fname argument.
29622 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29625         constants definition.
29627 2014-12-11  Andreas Schwab  <schwab@suse.de>
29629         [BZ #16657]
29630         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29631         FORCE_ELISION instead of DO_ELISION.
29632         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29633         Remove.
29634         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29635         Likewise.
29637         * iconvdata/gconv-modules: Remove duplicate entry.
29639 2014-12-11  Will Newton  <will.newton@linaro.org>
29641         Merge gettext 0.19.3 into intl/.
29643         This involves a number of cosmetic changes to comments
29644         and ANSI function definitions and prototypes throughout
29645         all the files. The gettext copyright header is used but
29646         with the date ranges taken from the glibc copy.
29648         * NEWS: Add gettext merge to 2.21.
29649         * intl/bindtextdom.c: Switch to gettext copyright.
29650         Use ANSI definitions and prototypes.
29651         Use gl_* locking primitives rather than __libc_* ones.
29652         Use __builtin_expect rather than __glibc_likely/unlikely.
29653         * intl/dcgettext.c: Switch to gettext copyright.
29654         Use ANSI definitions and prototypes.
29655         * intl/dcigettext.c: Switch to gettext copyright.
29656         Use ANSI definitions and prototypes.
29657         (INTDIV0_RAISES_SIGFPE): New define.
29658         Use gl_* locking primitives rather than __libc_* ones.
29659         Include eval-plural.h instead of plural-eval.c.
29660         Use __builtin_expect rather than __glibc_likely/unlikely.
29661         * intl/dcngettext.c: Switch to gettext copyright.
29662         Use ANSI definitions and prototypes.
29663         * intl/dgettext.c: Likewise.
29664         * intl/dngettext.c: Likewise.
29665         * intl/plural-eval.c: Renamed to...
29666         * intl/eval-plural.h: ...this.
29667         * intl/explodename.c: Switch to gettext copyright.
29668         Use ANSI definitions and prototypes.
29669         (_nl_explode_name): Use strchr instead of __rawmemchr.
29670         * intl/finddomain.c: Switch to gettext copyright.
29671         Use ANSI definitions and prototypes.
29672         Use gl_* locking primitives rather than __libc_* ones.
29673         (_nl_find_domain): Use malloc rather than alloca for
29674         allocation of temporary locale name.
29675         * intl/gettext.c: Switch to gettext copyright.
29676         Use ANSI definitions and prototypes.
29677         * intl/gettextP.h: Switch to gettext copyright.
29678         Use ANSI definitions and prototypes.
29679         Use gl_* locking primitives rather than __libc_* ones.
29680         * intl/gmo.h: Switch to gettext copyright.
29681         (struct sysdep_string): Move struct segment_pair outside of
29682         struct definition.
29683         * intl/hash-string.c: Use ANSI definitions and prototypes.
29684         * intl/hash-string.h: Switch to gettext copyright.
29685         Use ANSI definitions and prototypes.
29686         * intl/l10nflist.c: Switch to gettext copyright.
29687         Use ANSI definitions and prototypes.
29688         (_nl_normalize_codeset): Avoid integer overflow.
29689         * intl/loadinfo.h: Switch to gettext copyright.
29690         Use ANSI definitions and prototypes.
29691         (LIBINTL_DLL_EXPORTED): New define.
29692         (PATH_SEPARATOR): New define.
29693         * intl/loadmsgcat.c: Switch to gettext copyright.
29694         * intl/localealias.c: Switch to gettext copyright.
29695         Use ANSI definitions and prototypes.
29696         (_nl_expand_alias): Use PATH_SEPARATOR.
29697         * intl/ngettext.c: Switch to gettext copyright.
29698         Use ANSI definitions and prototypes.
29699         * intl/plural-exp.c: Likewise.
29700         * intl/plural-exp.h: Switch to gettext copyright.
29701         Use ANSI definitions and prototypes.
29702         (struct expression): Move definition of enum operator outside
29703         of struct definition.
29704         * intl/plural.c: Regenerate.
29705         * intl/plural.y: Switch to gettext copyright.
29706         Use ANSI definitions and prototypes.
29707         Port to bison 3.0.
29708         * intl/textdomain.c: Switch to gettext copyright.
29709         Use ANSI definitions and prototypes.
29710         Use gl_* locking primitives rather than __libc_* ones.
29712 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29714         * debug/warning-nop.c: Add used atrribute.
29716 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29718         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29720         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29721         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29722         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29724 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29725             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29727         [BZ #17634]
29728         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29729         Undefine after defining function.  Define as weak alias of
29730         __wcschr.  Use libc_hidden_weak.
29731         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29732         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29733         (libc_hidden_def): Also define __GI___wcschr alias.
29734         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29735         __wcschr and define as weak alias of __wcschr.
29736         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29737         __wcschr.
29738         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29739         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29740         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29741         libc_hidden_weak.  Do not use libc_hidden_def.
29742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29743         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29744         __GI___wcschr alias.
29745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29746         [IS_IN (libc)] (wcschr): Define as macro expanding to
29747         __redirect_wcschr.
29748         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29749         [IS_IN (libc)] (__wcschr_power6): Likewise.
29750         [IS_IN (libc)] (__wcschr_power7): Likewise.
29751         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29752         instead of wcschr.
29753         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29754         __libc_wcschr.
29755         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29756         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29757         __wcschr and define as weak alias of __wcschr.  Use
29758         libc_hidden_builtin_def.
29759         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29760         as weak alias of __wcschr.  Use libc_hidden_weak.
29761         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29762         wcschr.
29763         * time/era.c (_nl_init_era_entries): Likewise.
29764         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29765         variable.
29766         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29767         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29769 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29771         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29772         format for long int variable.
29774 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29776         [BZ #10672]
29777         * manual/search.texi: (Array Sort Function): Remove claim how to make
29778         qsort stable.
29780 2014-12-10  Andreas Schwab  <schwab@suse.de>
29782         [BZ #12847]
29783         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29784         user-controlled locks.
29786 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29788         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29789         register.
29791 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29793         * configure.ac (--disable-werror): New configure option.
29794         (enable_werror): New AC_SUBST.
29795         * configure: Regenerated.
29796         * config.make.in (enable-werror): New variable.
29797         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29798         -Wno-error=undef.
29799         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29800         * manual/install.texi (Configuring and compiling): Document
29801         --disable-werror.
29802         * INSTALL: Regenerated.
29803         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29804         (CFLAGS-tst-chk2.c): Likewise.
29805         (CFLAGS-tst-chk3.c): Likewise.
29806         (CFLAGS-tst-chk4.cc): Likewise.
29807         (CFLAGS-tst-chk5.cc): Likewise.
29808         (CFLAGS-tst-chk6.cc): Likewise.
29809         (CFLAGS-tst-lfschk1.c): Likewise.
29810         (CFLAGS-tst-lfschk2.c): Likewise.
29811         (CFLAGS-tst-lfschk3.c): Likewise.
29812         (CFLAGS-tst-lfschk4.cc): Likewise.
29813         (CFLAGS-tst-lfschk5.cc): Likewise.
29814         (CFLAGS-tst-lfschk6.cc): Likewise.
29816         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29817         (main): Disable -Wdeprecated-declarations around calls to
29818         register_printf_function.
29820         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29821         (do_test): Disable -Wdiv-by-zero around some calls to
29822         fwrite_unlocked and fread_unlocked.
29824         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29825         (DIAG_POP_NEEDS_COMMENT): Likewise.
29826         (_DIAG_STR1): Likewise.
29827         (_DIAG_STR): Likewise.
29828         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29829         * stdio-common/bug21.c: Include <libc-internal.h>.
29830         (do_test): Disable -Wformat around call to sscanf.
29831         * stdio-common/scanf14.c: Include <libc-internal.h>.
29832         (main): Disable -Wformat around some calls to scanf functions.
29834 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29836         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29838 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29840         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29841         stack variable alignment.
29843 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29845         [BZ #17682]
29846         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29847         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29848         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29849         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29850         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29851         __getrlimit instead of getrlimit.
29852         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29853         __gettimeofday instead of gettimeofday.
29854         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29855         Likewise.
29856         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29857         Likewise.
29858         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29859         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29860         Remove variable.
29861         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29862         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29864 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29866         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29867         for wide-character tests.
29869 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29871         * io/openat64.c: #include <libc-internal.h>
29872         (__openat64): Prototypify.  Use ignore_value on MODE.
29873         * io/openat.c: Likewise.
29874         * misc/reboot.c: #include <libc-internal.h>
29875         (reboot): Prototypify.  Use ignore_value on HOWTO.
29876         * misc/ptrace.c: #include <libc-internal.h>
29877         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29879 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29881         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29882         XPG4, UNIX98 and XOPEN2K.
29883         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29884         Remove variable.
29885         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29887 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29889         * libio/fileops.c: Use ISO C style for function definitions.
29890         * libio/iofopen.c: Likewise.
29891         * libio/wfileops.c: Likewise.
29893         [BZ #17653]
29894         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29895         offset on EOF.
29896         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29897         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29898         (fgets_func): Function pointer to fgets and fgetws.
29899         (do_ftell_test): Add test to verify ftell value after read
29900         EOF.
29901         (do_test): Set fgets_func.
29903         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29904         O_TRUNC flag for w and w+ modes.
29905         (do_rewind_test): Likewise.
29906         (do_ftell_test): Likewise.
29907         (do_write_test): Likewise.
29909         [BZ #17647]
29910         * libio/fileops.c (do_ftell): Seek only when there are
29911         unflushed writes.
29912         * libio/wfileops.c (do_ftell_wide): Likewise.
29913         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29914         test case.
29915         (do_one_test): Call it.
29917 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29919         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29920         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29921         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29922         Remove variable.
29923         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29924         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29925         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29927 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29929         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29930         Remove variable.
29931         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29933         [BZ #17668]
29934         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29935         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29936         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29937         __freeifaddrs.  Use libc_hidden_weak.
29938         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29939         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29940         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29941         __freeifaddrs.  Use libc_hidden_weak.
29942         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29943         __getifaddrs and define as weak alias of __getifaddrs.  Use
29944         libc_hidden_weak.
29945         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29946         __freeifaddrs.  Use libc_hidden_weak.
29947         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29948         Remove variable.
29949         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29950         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29952 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29954         [BZ #17601]
29955         * sysdeps/mips/start.S (__start): Use indirect jump to call
29956         __libc_start_main.
29958 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29960         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29962         * nptl/tst-mutex1.c: Include <stdbool.h>.
29963         [!ATTR] (ATTR_NULL): New macro.
29964         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29965         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29966         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29968         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29969         to char *.
29971         [BZ #17665]
29972         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29973         Change conditional to [__USE_MISC].
29975         [BZ #17664]
29976         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29977         fgets_unlocked.
29978         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29979         __fgets_unlocked.
29980         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29981         fgets_unlocked.
29982         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29983         Remove variable.
29984         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29985         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29986         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29987         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29988         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29989         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29990         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29991         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29992         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29994         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29996 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29998         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29999         Remove strpbrk objects.
30000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30001         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30002         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30003         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30004         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30005         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30007         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30008         Remove strcspn objects.
30009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30010         (__libc_ifunc_impl_list): Remove strcspn implementation.
30011         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30012         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30013         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30014         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30017         Remove strspn objetcs.
30018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30019         (__libc_ifunc_impl_list): Remove strspn implementation.
30020         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30021         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30022         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30023         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30025 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30027         [BZ #17581]
30028         * malloc/hooks.c
30029         (mem2mem_check): Add a terminator to the chain of checking blocks.
30030         (malloc_check_get_size): Use it here.
30031         (mem2chunk_check): Ditto.
30033 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30035         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30036         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30038 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30040         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30042         * nptl/nptl-init.c: Include libc-internal.h.
30043         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30045         * elf/ldconfig.c (search_dir): Expand comment.
30047 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30049         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30050         variable.
30051         (linknamespace-symlist-stdlibs-tests): Likewise.
30052         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30053         instead of $(objpfx)symlist-stdlibs.
30054         (linknamespace-libs-isoc): New variable.
30055         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30056         (linknamespace-libs-ISO): New variable.
30057         (linknamespace-libs-ISO99): Likewise.
30058         (linknamespace-libs-ISO11): Likewise.
30059         (linknamespace-libs-XPG3): Likewise.
30060         (linknamespace-libs-XPG4): Likewise.
30061         (linknamespace-libs-POSIX): Likewise.
30062         (linknamespace-libs-UNIX98): Likewise.
30063         (linknamespace-libs-XOPEN2K): Likewise.
30064         (linknamespace-libs-POSIX2008): Likewise.
30065         (linknamespace-libs-XOPEN2K8): Likewise.
30066         ($(objpfx)symlist-stdlibs): Replace by
30067         $(linknamespace-symlist-stdlibs-tests).  Use
30068         $(linknamespace-libs-$*) as set of libraries.
30069         ($(linknamespace-header-tests)): Update dependencies.  Use
30070         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30071         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30072         * conform/linknamespace.pl: Remove comment about considering
30073         definitions of symbols from irrelevant libraries.
30075 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30077         [BZ #13862]
30078         * elf/dl-tls.c: Include <atomic.h>.
30079         (oom): Remove #ifdef SHARED/#endif.
30080         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30081         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30082         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30083         big enough.
30084         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30085         * nptl/Makefile (tests): Add tst-stack4.
30086         (modules-names): Add tst-stack4mod.
30087         ($(objpfx)tst-stack4): New.
30088         (tst-stack4mod.sos): Likewise.
30089         ($(objpfx)tst-stack4.out): Likewise.
30090         ($(tst-stack4mod.sos)): Likewise.
30091         (clean): Likewise.
30092         * nptl/tst-stack4.c: New file.
30093         * nptl/tst-stack4mod.c: Likewise.
30095 2014-11-27  J. Brown  <jb999@gmx.de>
30097         * sysdeps/x86/bits/string.h: Add recent CPUs.
30099 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30101         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30102         sigblock.
30104         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30105         feof.
30107         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30108         variable.
30110 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30112         * nscd/connections.c: Include libc-internal.h because of macro
30113         usage ignore_value.
30115 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30117         * string/bits/string3.h (__warn_memset_zero_len): Don't
30118         declare for gcc newer than 5.0.
30119         (memset): Don't test for zero-length __LEN for gcc newer than
30120         5.0.
30122 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30124         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30125         size_t for %zu format.
30127         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30128         difference, not %ju.
30130 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30132         * include/libc-internal.h (ignore_value): New macro.
30133         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30134         with ignore_value.
30136         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30137         definition.
30139         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30140         pthread_cleanup_push to void *.
30142         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30143         Undefine.
30145         [BZ #16619]
30146         [BZ #16740]
30147         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30148         instead of 1L << 52.
30150         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30151         * libio/bug-rewind2.c (do_test): Likewise.
30153         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30154         * debug/test-strcpy_chk-ifunc.c: Likewise.
30155         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30156         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30157         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30158         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30159         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30160         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30161         * Rules [$(multi-arch) = no] (tests): Do not filter out
30162         $(tests-ifunc).
30163         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30164         * debug/Makefile (tests-ifunc): Remove variable.
30165         (tests): Do not add $(tests-ifunc).
30166         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30167         (tests): Do not add $(tests-ifunc).
30168         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30169         [TEST_IFUNC]: Remove conditionals.
30170         * string/test-string.h (TEST_IFUNC): Remove macro.
30171         [TEST_IFUNC]: Remove conditionals.
30173         * string/test-strchr.c [!WIDE] (L): New macro.
30174         [WIDE] (L): Likewise.
30175         (check1): Use CHAR instead of char.  Use L on string and character
30176         constants.
30178 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30180         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30181         tests.
30182         * sysdeps/powerpc/bits/atomic.h
30183         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30184         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30185         (atomic_exchange_and_add_acq): Likewise.
30186         (atomic_exchange_and_add_rel): Likewise.
30187         * sysdeps/powerpc/powerpc32/bits/atomic.h
30188         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30189         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30190         * sysdeps/powerpc/powerpc64/bits/atomic.h
30191         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30192         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30194 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30196         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30197         Change synchronization of __sched_fifo_min_prio and
30198         __sched_fifo_max_prio.
30199         * nptl/pthread_mutexattr_getprioceiling.c
30200         (pthread_mutexattr_getprioceiling): Likewise.
30201         * nptl/pthread_mutexattr_setprioceiling.c
30202         (pthread_mutexattr_setprioceiling): Likewise.
30203         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30204         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30205         Likewise.
30207 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30209         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30210         void.
30212 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30214         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30215         third argument const.
30217 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30219         fnmatch: work around GCC compiler warning bug with uninit var
30220         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30221         This works around a bug with x86-64 GCC 4.9.2 and earlier
30222         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30223         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30224         used uninitialized in this function [-Wmaybe-uninitialized]".
30226 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30228         * posix/bug-regex31.c (main): Return RES not 0.
30230 2014-11-25  Anton Blanchard <anton@samba.org>
30232         * sysdeps/powerpc/bits/atomic.h
30233         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30235 2014-11-24  Sterling Augustine  <saugustine@google.com>
30237         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30239 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30241         [BZ #17608]
30242         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30244 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30246         [BZ #17633]
30247         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30248         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30249         variable.
30250         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30251         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30253 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30255         * string/strncpy.c (strncpy): Improve performance by using memset.
30257 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30259         * string/strcpy.c (strcpy):
30260         Improve performance by using strlen and memcpy.
30262 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30264         * string/strcoll_l.c (get_next_seq): __always_inline.
30265         * string/strcoll_l.c (do_compare): __always_inline.
30267 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30269         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30270         defined.
30271         * include/mqueue.h: Likewise.
30272         * include/stdlib.h: Likewise.
30274         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30275         (get_null_defines): Adjust.
30276         * sunrpc/Makefile: Adjust comment.
30277         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30278         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30279         (CFLAGS-interp.c): Likewise.
30280         (CFLAGS-ldconfig.c): Likewise.
30281         (CPPFLAGS-.os): Likewise.
30282         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30283         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30284         * extra-modules.mk (extra-modules.mk): Likewise.
30285         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30286         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30287         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30288         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30289         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30290         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30291         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30292         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30293         * iconvdata/Makefile (CPPFLAGS): Likewise.
30294         (cpp-srcs-left): Add libof for all iconvdata routines.
30295         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30296         * include/assert.h: Likewise.
30297         * include/ctype.h: Likewise.
30298         * include/errno.h: Likewise.
30299         * include/libc-symbols.h: Likewise.
30300         * include/math.h: Likewise.
30301         * include/netdb.h: Likewise.
30302         * include/resolv.h: Likewise.
30303         * include/stdio.h: Likewise.
30304         * include/stdlib.h: Likewise.
30305         * include/string.h: Likewise.
30306         * include/sys/stat.h: Likewise.
30307         * include/wctype.h: Likewise.
30308         * intl/l10nflist.c: Likewise.
30309         * libidn/idn-stub.c: Likewise.
30310         * libio/libioP.h: Likewise.
30311         * nptl/libc_multiple_threads.c: Likewise.
30312         * nptl/pthreadP.h: Likewise.
30313         * posix/regex_internal.h: Likewise.
30314         * resolv/res_hconf.c: Likewise.
30315         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30316         * sysdeps/arm/memmove.S: Likewise.
30317         * sysdeps/arm/sysdep.h: Likewise.
30318         * sysdeps/generic/_itoa.h: Likewise.
30319         * sysdeps/generic/symbol-hacks.h: Likewise.
30320         * sysdeps/gnu/errlist.awk: Likewise.
30321         * sysdeps/gnu/errlist.c: Likewise.
30322         * sysdeps/i386/i586/memcpy.S: Likewise.
30323         * sysdeps/i386/i586/memset.S: Likewise.
30324         * sysdeps/i386/i686/memcpy.S: Likewise.
30325         * sysdeps/i386/i686/memmove.S: Likewise.
30326         * sysdeps/i386/i686/mempcpy.S: Likewise.
30327         * sysdeps/i386/i686/memset.S: Likewise.
30328         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30329         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30330         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30331         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30332         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30333         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30334         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30340         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30345         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30375         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30383         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30386         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30389         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30390         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30391         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30392         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30393         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30394         * sysdeps/posix/closedir.c: Likewise.
30395         * sysdeps/posix/opendir.c: Likewise.
30396         * sysdeps/posix/readdir.c: Likewise.
30397         * sysdeps/posix/rewinddir.c: Likewise.
30398         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30399         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30400         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30401         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30402         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30403         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30404         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30409         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30410         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30411         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30412         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30413         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30414         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30415         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30416         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30418         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30419         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30420         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30421         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30424         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30425         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30426         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30433         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30434         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30436         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30437         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30438         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30439         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30440         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30441         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30442         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30443         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30444         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30445         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30446         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30447         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30448         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30449         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30450         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30452         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30453         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30455         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30456         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30457         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30458         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30459         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30460         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30461         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30462         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30463         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30464         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30465         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30466         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30467         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30468         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30469         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30470         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30471         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30472         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30473         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30474         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30475         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30476         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30477         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30478         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30479         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30480         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30481         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30482         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30483         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30484         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30485         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30486         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30487         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30488         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30489         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30490         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30493         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30494         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30496         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30497         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30498         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30499         * sysdeps/unix/alpha/sysdep.S: Likewise.
30500         * sysdeps/unix/alpha/sysdep.h: Likewise.
30501         * sysdeps/unix/make-syscalls.sh: Likewise.
30502         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30504         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30505         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30506         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30507         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30508         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30509         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30510         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30511         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30513         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30514         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30515         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30516         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30517         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30518         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30519         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30520         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30521         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30522         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30524         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30525         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30526         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30527         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30528         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30531         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30532         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30536         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30540         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30541         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30542         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30543         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30544         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30545         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30546         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30549         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30552         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30553         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30554         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30555         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30556         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30558         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30560         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30561         * sysdeps/x86_64/memcpy.S: Likewise.
30562         * sysdeps/x86_64/memmove.c: Likewise.
30563         * sysdeps/x86_64/memset.S: Likewise.
30564         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30565         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30566         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30567         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30568         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30571         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30572         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30573         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30574         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30575         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30576         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30577         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30578         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30579         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30580         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30581         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30582         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30583         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30584         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30585         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30586         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30587         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30588         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30589         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30590         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30591         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30592         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30593         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30594         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30595         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30596         * sysdeps/x86_64/strcmp.S: Likewise.
30598         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30600         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30601         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30602         * elf/rtld-Rules: Likewise.
30603         * elf/setup-vdso.h: Likewise.
30604         * include/assert.h: Likewise.
30605         * include/bits/stdlib-float.h: Likewise.
30606         * include/errno.h: Likewise.
30607         * include/sys/stat.h: Likewise.
30608         * include/unistd.h: Likewise.
30609         * sysdeps/aarch64/setjmp.S: Likewise.
30610         * sysdeps/alpha/setjmp.S: Likewise.
30611         * sysdeps/arm/__longjmp.S: Likewise.
30612         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30613         * sysdeps/arm/setjmp.S: Likewise.
30614         * sysdeps/arm/sysdep.h: Likewise.
30615         * sysdeps/generic/_itoa.h: Likewise.
30616         * sysdeps/generic/dl-sysdep.h: Likewise.
30617         * sysdeps/generic/ldsodefs.h: Likewise.
30618         * sysdeps/i386/dl-tls.h: Likewise.
30619         * sysdeps/i386/setjmp.S: Likewise.
30620         * sysdeps/m68k/setjmp.c: Likewise.
30621         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30622         * sysdeps/mach/hurd/opendir.c: Likewise.
30623         * sysdeps/posix/getcwd.c: Likewise.
30624         * sysdeps/posix/opendir.c: Likewise.
30625         * sysdeps/posix/profil.c: Likewise.
30626         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30627         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30628         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30629         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30630         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30631         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30633         * sysdeps/s390/dl-tls.h: Likewise.
30634         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30635         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30636         * sysdeps/sh/sh3/setjmp.S: Likewise.
30637         * sysdeps/sh/sh4/setjmp.S: Likewise.
30638         * sysdeps/unix/alpha/sysdep.h: Likewise.
30639         * sysdeps/unix/arm/sysdep.S: Likewise.
30640         * sysdeps/unix/i386/sysdep.S: Likewise.
30641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30642         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30643         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30644         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30645         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30646         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30647         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30648         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30649         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30650         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30651         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30652         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30653         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30656         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30657         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30659         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30660         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30661         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30662         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30663         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30664         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30665         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30666         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30668         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30669         * sysdeps/x86_64/setjmp.S: Likewise.
30671         * include/math.h: Use IS_IN instead of IS_IN_libm.
30672         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30673         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30675         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30676         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30677         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30681         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30682         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30684         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30685         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30686         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30687         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30688         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30689         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30690         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30691         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30692         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30693         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30694         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30695         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30696         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30697         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30698         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30699         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30700         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30701         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30702         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30703         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30704         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30706         Likewise.
30707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30708         Likewise.
30709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30710         Likewise.
30711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30712         Likewise.
30713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30714         Likewise.
30715         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30716         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30717         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30719         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30720         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30726         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30727         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30728         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30729         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30730         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30731         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30732         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30733         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30734         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30735         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30736         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30739         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30741         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30743         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30744         * nptl/pthreadP.h: Likewise.
30745         * nptl_db/structs.def: Likewise.
30746         * sysdeps/arm/sysdep.h: Likewise.
30747         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30748         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30749         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30750         * sysdeps/unix/alpha/sysdep.h: Likewise.
30751         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30752         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30753         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30754         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30755         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30756         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30758         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30759         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30760         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30761         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30762         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30763         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30764         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30767         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30768         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30769         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30772         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30773         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30774         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30775         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30776         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30778         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30779         * nptl/pthreadP.h: Likewise.
30780         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30781         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30782         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30783         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30784         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30785         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30786         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30787         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30788         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30789         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30790         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30791         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30793         Likewise.
30794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30795         Likewise.
30796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30798         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30801         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30802         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30803         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30805         * dlfcn/dladdr.c: Use IS_IN.
30806         * dlfcn/dladdr1.c: Likewise.
30807         * dlfcn/dlclose.c: Likewise.
30808         * dlfcn/dlerror.c: Likewise.
30809         * dlfcn/dlinfo.c: Likewise.
30810         * dlfcn/dlmopen.c: Likewise.
30811         * dlfcn/dlopen.c: Likewise.
30812         * dlfcn/dlsym.c: Likewise.
30813         * dlfcn/dlvsym.c: Likewise.
30815         * include/ifaddrs.h: Use IS_IN.
30816         * inet/check_pf.c: Likewise.
30817         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30818         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30820         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30821         IS_IN_ldconfig.
30822         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30823         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30825         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30826         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30827         IS_IN (libc).
30829         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30831         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30832         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30833         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30834         * include/libc-symbols.h (IS_IN_LIB): New macro.
30835         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30836         * include/netdb.h: Likewise.
30837         * include/stap-probe.h: Remove all uses of IN_LIB.
30839         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30840         instead of IN_MODULE.
30841         * include/libc-symbols.h (IN_MODULE): Define using
30842         MODULE_NAME.
30843         (PASTE_NAME, PASTE_NAME1): New macros.
30844         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30845         of IN_LIB.
30846         (STAP_PROBE_ASM): Likewise.
30848 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30850         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30851         __mach_init in dlopened libc.
30853 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30855         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30856         * sysdeps/arm/preconfigure: Regenerate.
30858 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30860         * nptl/pthread_create.c (__pthread_create_2_1): Set
30861         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30862         when copying values from IATTR into PD.
30864 2014-11-21  Will Newton  <will.newton@linaro.org>
30865             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30867         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30868         Refactor inline-asm.  Also add comment.
30870         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30871         ElfW macro instead of hardcoded Elf64 types.
30872         (la_aarch64_gnu_pltenter): Likewise.
30873         * sysdeps/aarch64/dl-machine.h
30874         (elf_machine_runtime_setup): Use ElfW(Addr).
30876         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30877         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30878         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30879         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30880         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30881         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30882         (R_AARCH64_TLS_DTPMOD): This.
30883         (R_AARCH64_TLS_DTPREL64): Rename to ...
30884         (R_AARCH64_TLS_DTPREL): This.
30885         (R_AARCH64_TLS_TPREL64): Rename to ...
30886         (R_AARCH64_TLS_TPREL): This.
30887         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30888         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30889         R_AARCH64_TLS_TPREL64.
30890         (elf_machine_rela): Likewise.
30892 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30894         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30895         by setting it to 0.  64b atomics are not supported currently.
30897 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30899         [BZ #16469]
30900         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30901         search domain names.
30903 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30905         [BZ #16469]
30906         * NEWS: Update.
30907         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30908         trailing dot.
30909         * posix/tst-getaddrinfo5.c: New.
30910         * posix/Makefile (tests): Add it.
30912 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30914         [BZ #14498]
30915         * NEWS: Fixed.
30916         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30917         after parsing line but before break_if_match.
30918         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30919         if there is a protocol mismatch.
30921 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30923         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30924         because the potential race is on the user-supplied stream.
30926 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30928         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30929         string literal if not passed a buffer.
30930         * manual/job.texi (ctermid): Update reasoning, note deviation
30931         from posix, suggest mtasurace when not passed a buffer, for
30932         future non-preliminary safety notes.
30934 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30936         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30937         of not passing it a buffer.
30938         Reported by Peng Haitao.
30940 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30942         * manual/Makefile ($(objpfx)stamp-summary): Require
30943         check-safety.sh to pass.
30944         * manual/check-safety.sh: Wish for verification that every
30945         @deftypefn and @deftypefun is followed by a @safety remark.
30947 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30949         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30951         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30952         PTHREAD_CANCEL_ASYNCHRONOUS.
30953         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30954         send SIGCANCEL.
30956         * nptl/default-sched.h: New file.
30957         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30958         * nptl/pthread_create.c: Include it.
30959         (__pthread_create_2_1): Use collect_default_sched instead of making
30960         Linux syscalls here directly.
30962 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30964         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30965         __pthread_once): Use C11 atomics.
30967 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30969         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30971 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30973         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30974         atomic_thread_fence_acquire, atomic_thread_fence_release,
30975         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30976         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30977         atomic_compare_exchange_weak_relaxed,
30978         atomic_compare_exchange_weak_acquire,
30979         atomic_compare_exchange_weak_release,
30980         atomic_exchange_acquire, atomic_exchange_release,
30981         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30982         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30983         atomic_fetch_and_acquire,
30984         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30986 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30988         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30989         USE_ATOMIC_COMPILER_BUILTINS): Define.
30990         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30992         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30994         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30996         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30998         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31000         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31002         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31004         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31006         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31008         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31010         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31012         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31014         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31016         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31018         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31020         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31022         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31024         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31025         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31026         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31028         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31031 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31033         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31034         the sched_priority value here.  It was already checked when the user
31035         called pthread_attr_setschedparam.
31037         * nptl/tst-bad-schedattr.c: New file.
31038         * nptl/Makefile (tests): Add it.
31040 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31041             Florian Weimer  <fweimer@redhat.com>
31042             Joseph Myers  <joseph@codesourcery.com>
31043             Adam Conrad  <adconrad@0c3.net>
31044             Andreas Schwab  <schwab@suse.de>
31045             Brooks  <bmoses@google.com>
31047         [BZ #17625]
31048         * wordexp-test.c (__dso_handle): Add prototype.
31049         (__register_atfork): Likewise.
31050         (__app_register_atfork): New function.
31051         (registered_forks): New global.
31052         (register_fork): New function.
31053         (test_case): Add 3 new tests for WRDE_CMDSUB.
31054         (main): Call __app_register_atfork.
31055         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31056         fork count is non-zero fail the test.
31057         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31058         is set.
31059         (parse_dollars): Remove check for WRDE_NOCMD.
31060         (parse_dquote): Likewise.
31062 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31064         * Makeconfig (built-modules): List non-library modules to be
31065         built.
31066         (module-cppflags): Include libc-modules.h for
31067         everything except shlib-versions.v.i.
31068         (CPPFLAGS): Use it.
31069         (before-compile): Add libc-modules.h.
31070         ($(common-objpfx)libc-modules.h,
31071         $(common-objpfx)libc-modules.stmp): New targets.
31072         (common-generated): Add libc-modules.h and libc-modules.stmp.
31073         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31074         * include/libc-symbols.h: Don't include libc-modules.h.
31075         * include/libc-modules.h: Remove file.
31076         * scripts/gen-libc-modules.awk: New script to generate
31077         libc-modules.h.
31078         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31079         Depend on libc-modules.stmp.
31081         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31083         * Makeconfig (in-module): Get value of libof set for the
31084         translation unit.
31085         (CPPFLAGS): Use $(in-module).
31086         * Makerules: Don't suffix routine names for nonlib.
31087         * include/libc-modules.h: New file.
31088         * include/libc-symbols.h: Include libc-modules.h
31089         (IS_IN): New macro to replace IS_IN_* macros.
31090         * elf/Makefile: Set libof-* for each routine.
31091         * elf/rtld-Rules: Likewise.
31092         * extra-modules.mk: Likewise.
31093         * iconv/Makefile: Likewise.
31094         * iconvdata/Makefile: Likewise.
31095         * locale/Makefile: Likewise.
31096         * malloc/Makefile: Likewise.
31097         * nss/Makefile: Likewise.
31098         * sysdeps/gnu/Makefile: Likewise.
31099         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31100         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31101         * sysdeps/s390/s390-64/Makefile: Likewise.
31102         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31103         CPPFLAGS for nscd instead of nonlib.
31105 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31107         * nptl/createthread.c: New file.
31109         * nptl/createthread.c: Moved ...
31110         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31112         * nptl/createthread.c: Add proper top-line comment.
31113         (do_clone): Folded into ...
31114         (create_thread): ... here.  Take new arguments STOPPED_START and
31115         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31116         increment __nptl_threads, do event-reporting logic, do
31117         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31118         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31119         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31120         just send SIGCANCEL.
31121         * nptl/pthread_create.c: Forward-declare create_thread before
31122         including createthread.c.
31123         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31124         declaration, and new macro START_THREAD_SELF to replace argument.
31125         Remove return statement.
31126         (report_thread_creation): New function.
31127         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31128         synchronization logic, and __nptl_nthreads increment here, around
31129         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31130         PD->parent_cancelhandling here, before create_thread.  When
31131         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31132         __deallocate_stack, and ENOMEM translation here.
31134 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31136         [BZ #17616]
31137         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31138         (mptwo): Rename to __mptwo.
31139         (__inv): Use __mptwo instead of mptwo.
31140         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31141         (mptwo): Rename to __mptwo.
31142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31143         of mpone and __mptwo instead of mptwo.
31144         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31145         instead of mpone.
31146         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31147         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31148         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31149         of mpone and __mptwo instead of mptwo.
31150         (__mpranred): Use __mpone instead of mpone.
31151         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31152         variable.
31153         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31154         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31155         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31156         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31157         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31158         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31159         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31160         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31161         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31162         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31163         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31164         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31165         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31166         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31167         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31168         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31169         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31170         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31171         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31173 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31175         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31176         replace BSD Handler xref with BSD Signal Handling.
31178 2014-11-17  Richard Henderson  <rth@redhat.com>
31180         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31181         (_FP_PACK_RAW_2): Remove.
31182         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31183         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31184         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31185         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31186         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31187         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31188         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31189         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31190         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31191         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31192         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31193         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31194         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31195         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31196         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31197         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31199 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31201         * signal/signal.h [__USE_MISC]
31202         (struct sigvec): Remove type.
31203         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31204         (sigvec): Remove declaration.
31205         * sysdeps/posix/sigvec.c: Moved ...
31206         * signal/sigvec.c: ... here, replacing old file.
31207         (struct sigvec): New type, copied from old signal.h definition.
31208         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31209         (__sigvec): Convert definition to prototype.
31210         (sigvec): Replace weak_alias with compat_symbol.
31211         * signal/Versions (libc: GLIBC_2.21): New version set.
31212         * include/signal.h: Remove __sigvec declaration.
31213         * sysdeps/unix/bsd/sigvec.c: Remove file.
31214         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31215         * manual/signal.texi (BSD Handler): Remove subsection.
31216         Move siginterrupt up to ...
31217         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31218         (Blocking in BSD): Fold subsection into its parent.
31219         * NEWS: Mention sigvec removal.
31221 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31223         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31224         (DLA_FMS): Make definition conditional only on [__FMA4__].
31225         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31226         definition.
31228         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31229         Make definition conditional only on [PROF].
31230         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31231         definition.
31232         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31233         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31235         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31236         !__GNUC__].
31237         * include/signal.h (__sigpause): Move declaration above call to
31238         libc_hidden_proto.
31239         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31240         variable.
31241         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31242         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31244 2014-11-14  David S. Miller  <davem@davemloft.net>
31246         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31247         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31249 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31251         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31252         * configure: Regenerated.
31253         * manual/install.texi (Tools for Compilation): Document a
31254         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31255         compiler verified to work.
31256         * INSTALL: Regenerated.
31258         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31259         redeclare with asm name.
31260         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31261         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31262         including <string.h>.
31263         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31264         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31265         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31266         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31267         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31269         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31271 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31273         * stdlib/strtol.c (__strtol): Use prototype definition.
31275         [BZ #17594]
31276         * stdlib/strtol.c (SYM__): New macro.
31277         (SYM__1): Likewise.
31278         (__strtol): Likewise.
31279         (strtol): Rename to __strtol and define as weak alias of
31280         __strtol.  Use libc_hidden_weak.
31282 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31284         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31285         Use numbered labels in inline assembly.
31287 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31289         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31290         Add setjmp LIBC_PROBE.
31291         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31292         Likewise.
31293         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31294         Add longjmp, longjmp_target LIBC_PROBE.
31295         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31296         Likewise.
31298 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31301         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31302         to get rid of unused variable warning.
31304 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31306         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31307         Check for unwind_backtrace ==  NULL only in SHARED case.
31308         (__backchain_backtrace): Compile only in SHARED case.
31309         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31310         Likewise.
31311         (__backchain_backtrace): Declare as static.
31313 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31315         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31316         (__libc_multiple_threads_ptr): Variable moved ...
31317         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31319 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31321         * conform/GlibcConform.pm: New file.
31322         * conform/conformtest.pl: Use GlibcConform module.
31323         * conform/linknamespace.pl: New file.
31324         * conform/list-header-symbols.pl: Likewise.
31325         * conform/Makefile (linknamespace-symlists-base): New variable.
31326         (linknamespace-symlists-tests): Likewise.
31327         (linknamespace-header-base): Likewise.
31328         (linknamespace-header-tests): Likewise.
31329         (tests-special): Add new tests.
31330         ($(linknamespace-symlists-tests)): New rule.
31331         (linknamespace-libs): New variable.
31332         ($(objpfx)symlist-stdlibs): New rule.
31333         ($(linknamespace-header-tests)): Likewise.
31334         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31335         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31336         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31337         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31338         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31339         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31340         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31341         (test-xfail-ISO/math.h/linknamespace): Likewise.
31342         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31343         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31344         (test-xfail-ISO/time.h/linknamespace): Likewise.
31345         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31346         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31347         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31348         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31349         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31350         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31351         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31352         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31353         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31354         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31355         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31356         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31357         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31358         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31359         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31360         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31361         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31362         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31363         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31364         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31365         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31366         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31367         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31368         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31369         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31370         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31371         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31372         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31373         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31374         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31375         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31376         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31377         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31378         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31379         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31380         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31381         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31382         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31383         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31384         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31385         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31386         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31387         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31388         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31389         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31390         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31391         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31392         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31393         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31394         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31395         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31396         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31397         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31398         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31399         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31400         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31401         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31402         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31403         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31404         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31405         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31406         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31407         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31408         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31409         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31410         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31411         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31412         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31413         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31414         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31415         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31416         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31417         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31418         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31419         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31420         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31421         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31422         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31423         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31424         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31425         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31426         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31427         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31428         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31429         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31430         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31431         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31432         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31433         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31434         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31435         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31436         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31437         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31438         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31439         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31440         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31441         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31442         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31443         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31444         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31445         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31446         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31447         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31448         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31449         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31450         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31451         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31452         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31453         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31454         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31455         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31456         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31457         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31458         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31459         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31460         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31461         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31462         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31463         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31464         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31465         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31466         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31467         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31468         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31469         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31470         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31471         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31472         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31473         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31474         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31475         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31476         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31477         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31478         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31479         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31480         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31481         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31482         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31483         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31484         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31485         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31486         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31487         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31488         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31489         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31490         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31491         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31492         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31493         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31494         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31496         [BZ #17589]
31497         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31498         of fgets_unlocked.
31500         [BZ #17585]
31501         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31502         (memmem): Rename to __memmem and define as weak alias of
31503         __memmem.  Use libc_hidden_weak.
31504         (__memmem): Use libc_hidden_def.
31505         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31506         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31507         memmem.
31509         [BZ #17582]
31510         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31511         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31512         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31513         and define as weak alias of __fgets_unlocked.  Use
31514         libc_hidden_weak.
31515         (__fgets_unlocked): Use libc_hidden_def.
31516         * include/stdio.h (__fgets_unlocked): Declare.  Use
31517         libc_hidden_proto.
31518         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31519         __fgets_unlocked instead of fgets_unlocked.
31520         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31521         (GET_NPROCS_CONF_PARSER): Likewise.
31522         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31523         (GET_NPROCS_CONF_PARSER): Likewise.
31525         [BZ #17574]
31526         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31527         weak alias of __wmemset.  Use libc_hidden_weak.
31528         (__wmemset): Use libc_hidden_def.
31529         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31530         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31531         of wmemset.
31533         [BZ #17573]
31534         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31535         with asm name __mempcpy.
31536         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31538         [BZ #17572]
31539         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31540         and define as weak alias of __rawmemchr.
31541         (__rawmemchr): Do not define as strong alias of rawmemchr.
31543         [BZ #17571]
31544         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31545         alias of __qsort_r.
31546         (qsort): Call __qsort_r instead of qsort_r.
31547         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31548         (__qsort_r): Declare.  Call libc_hidden_proto.
31549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31550         instead of qsort_r.
31551         * nscd/gai.c (__qsort_r): Define to qsort_r.
31552         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31553         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31554         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31556         [BZ #17570]
31557         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31558         define as weak alias of __malloc_info.
31560         [BZ #17584]
31561         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31562         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31563         (__rewinddir): Use libc_hidden_def.
31564         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31565         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31566         (__rewinddir): Use libc_hidden_def.
31567         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31568         weak alias of __rewinddir.  Don't use libc_hidden_def.
31569         (__rewinddir): Use libc_hidden_def.
31570         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31571         (__rewinddir): Use libc_hidden_proto.
31572         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31573         rewinddir.
31574         (__getcwd): Use __rewinddir instead of rewinddir.
31576         [BZ #17583]
31577         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31578         alias of __fileno.  Use libc_hidden_weak.
31579         (__fileno): Use libc_hidden_def.
31580         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31581         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31582         alias of __ftello.
31583         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31584         __ftello.
31585         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31586         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31587         libc_hidden_def.
31588         (fread_unlocked): Don't use libc_hidden_ver.
31589         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31590         and define as weak alias of __fread_unlocked.  Don't use
31591         libc_hidden_def.
31592         (__fread_unlocked): Use libc_hidden_def.
31593         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31594         (ftello): Don't use libc_hidden_proto.
31595         (__ftello): Declare.  Use libc_hidden_proto.
31596         (fread_unlocked): Don't use libc_hidden_proto.
31597         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31598         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31599         and __ftello instead of fileno, fread_unlocked and ftello.
31601 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31603         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31604         GOT12.
31605         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31606         Likewise.
31607         (_dl_start_user): Likewise.
31608         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31610 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31611             Siddhesh Poyarekar  <siddhesh@redhat.com>
31613         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31614         Move argv and envp down instead of moving argc up.
31615         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31617 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31619         [BZ #17506]
31620         * test-skeleton.c (main): Return successful if one of
31621         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31622         * string/tst-strcoll-overflow.c: Define expected status.
31624 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31626         [BZ #17475]
31627         * locale/iso-639.def: Define Bhili and Tulu language codes.
31629 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31631         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31633 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31635         [BZ #17555]
31636         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31638 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31640         * configure.ac: Updated check of minimal required version to
31641         2.22.
31642         * manual/install.texi (Tools for Compilation): Updated version
31643         number.
31644         * configure: Regenerated.
31645         * INSTALL: Likewise.
31647 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31649         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31650         __tls_get_addr.
31652 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31654         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31655         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31656         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31657         libc_hidden_weak.
31658         (waitpid): Define as alias of __waitpid.
31659         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31660         __waitpid.
31661         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31662         libc_hidden_weak.
31663         (waitpid): Define as alias of __waitpid.
31664         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31665         __libc_waitpid alias.
31666         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31667         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31668         Likewise.
31669         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31670         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31671         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31672         alias.
31673         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31674         __waitpid.
31675         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31676         libc_hidden_weak.
31677         (waitpid): Define as alias of __waitpid.
31679 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31681         * manual/llio.texi: Add comment that write safety has been
31682         fixed in Linux.
31684         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31685         (localplt-build-dso): Add elf/ld.so.
31686         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31687         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31688         and free for ld.so.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31690         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31692         Likewise.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31694         Likewise.
31695         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31696         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31697         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31698         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31699         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31700         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31701         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31702         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31703         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31704         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31705         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31707 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31709         [BZ #14132]
31710         * include/libc-symbols.h (INTUSE): Remove macro.
31711         (INTDEF): Likewise.
31712         (INTVARDEF): Likewise.
31713         (_INTVARDEF): Likewise.
31714         (INTDEF2): Likewise.
31715         (INTVARDEF2): Likewise.
31716         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31717         rtld_hidden_def instead of INTVARDEF.
31718         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31719         (_dl_starting_up_internal): Remove declaration.
31720         (_dl_starting_up): Use rtld_hidden_proto.
31721         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31722         declaration.
31723         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31724         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31725         _dl_starting_up.
31726         * elf/dl-writev.h (_dl_writev): Likewise.
31727         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31728         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31729         _dl_starting_up_internal.
31731 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31733         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31734         test-skeleton.c.
31736 2014-11-05  Will Newton  <will.newton@linaro.org>
31738         * benchtests/Makefile: (bench-malloc): Add malloc thread
31739         scalability benchmark.
31740         * benchtests/bench-malloc-threads.c: New file.
31742 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31744         * sysdeps/aarch64/strchrnul.S: New file.
31746 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31748         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31749         definition.
31750         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31751         Likwise.
31752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31753         Likewise.
31754         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31755         Likewise.
31756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31757         Likewise.
31758         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31759         Likewise.
31761 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31763         * catgets/test-gencat.c: Use test-skeleton.c.
31764         * catgets/tst-catgets.c: Likewise.
31765         * csu/tst-empty.c: Likewise.
31766         * elf/tst-audit2.c: Likewise.
31767         * elf/tst-global1.c: Likewise.
31768         * elf/tst-pathopt.c: Likewise.
31769         * elf/tst-piemod1.c: Likewise.
31770         * elf/tst-tls10.c: Likewise.
31771         * elf/tst-tls11.c: Likewise.
31772         * elf/tst-tls12.c: Likewise.
31773         * gnulib/tst-gcc.c: Likewise.
31774         * iconvdata/tst-e2big.c: Likewise.
31775         * iconvdata/tst-loading.c: Likewise.
31776         * iconv/tst-iconv1.c: Likewise.
31777         * iconv/tst-iconv2.c: Likewise.
31778         * inet/test-inet6_opt.c: Likewise.
31779         * inet/tst-gethnm.c: Likewise.
31780         * inet/tst-network.c: Likewise.
31781         * inet/tst-ntoa.c: Likewise.
31782         * intl/tst-codeset.c: Likewise.
31783         * intl/tst-gettext2.c: Likewise.
31784         * intl/tst-gettext3.c: Likewise.
31785         * intl/tst-ngettext.c: Likewise.
31786         * intl/tst-translit.c: Likewise.
31787         * io/test-stat.c: Likewise.
31788         * libio/test-fmemopen.c: Likewise.
31789         * libio/tst-freopen.c: Likewise.
31790         * libio/tst-sscanf.c: Likewise.
31791         * libio/tst-ungetwc1.c: Likewise.
31792         * libio/tst-ungetwc2.c: Likewise.
31793         * libio/tst-widetext.c: Likewise.
31794         * localedata/tst-ctype.c: Likewise.
31795         * localedata/tst-digits.c: Likewise.
31796         * localedata/tst-leaks.c: Likewise.
31797         * localedata/tst-mbswcs1.c: Likewise.
31798         * localedata/tst-mbswcs2.c: Likewise.
31799         * localedata/tst-mbswcs3.c: Likewise.
31800         * localedata/tst-mbswcs4.c: Likewise.
31801         * localedata/tst-mbswcs5.c: Likewise.
31802         * localedata/tst-setlocale.c: Likewise.
31803         * localedata/tst-trans.c: Likewise.
31804         * localedata/tst-wctype.c: Likewise.
31805         * localedata/tst-xlocale1.c: Likewise.
31806         * login/tst-grantpt.c: Likewise.
31807         * malloc/tst-calloc.c: Likewise.
31808         * malloc/tst-malloc.c: Likewise.
31809         * malloc/tst-mallocstate.c: Likewise.
31810         * malloc/tst-mcheck.c: Likewise.
31811         * malloc/tst-mtrace.c: Likewise.
31812         * malloc/tst-obstack.c: Likewise.
31813         * math/atest-exp2.c: Likewise.
31814         * math/atest-exp.c: Likewise.
31815         * math/atest-sincos.c: Likewise.
31816         * math/test-matherr.c: Likewise.
31817         * math/test-misc.c: Likewise.
31818         * math/test-powl.c: Likewise.
31819         * math/tst-definitions.c: Likewise.
31820         * misc/tst-dirname.c: Likewise.
31821         * misc/tst-efgcvt.c: Likewise.
31822         * misc/tst-fdset.c: Likewise.
31823         * misc/tst-hsearch.c: Likewise.
31824         * misc/tst-mntent2.c: Likewise.
31825         * nptl/tst-sem7.c: Likewise.
31826         * nptl/tst-sem8.c: Likewise.
31827         * nptl/tst-sem9.c: Likewise.
31828         * nss/test-netdb.c: Likewise.
31829         * posix/tst-fnmatch.c: Likewise.
31830         * posix/tst-getlogin.c: Likewise.
31831         * posix/tst-gnuglob.c: Likewise.
31832         * posix/tst-mmap.c: Likewise.
31833         * pwd/tst-getpw.c: Likewise.
31834         * resolv/tst-inet_ntop.c: Likewise.
31835         * rt/tst-timer.c: Likewise.
31836         * stdio-common/test-fseek.c: Likewise.
31837         * stdio-common/test-popen.c: Likewise.
31838         * stdio-common/test-vfprintf.c: Likewise.
31839         * stdio-common/tst-cookie.c: Likewise.
31840         * stdio-common/tst-fileno.c: Likewise.
31841         * stdio-common/tst-gets.c: Likewise.
31842         * stdio-common/tst-obprintf.c: Likewise.
31843         * stdio-common/tst-perror.c: Likewise.
31844         * stdio-common/tst-sprintf2.c: Likewise.
31845         * stdio-common/tst-sprintf3.c: Likewise.
31846         * stdio-common/tst-sprintf.c: Likewise.
31847         * stdio-common/tst-swprintf.c: Likewise.
31848         * stdio-common/tst-tmpnam.c: Likewise.
31849         * stdio-common/tst-unbputc.c: Likewise.
31850         * stdio-common/tst-wc-printf.c: Likewise.
31851         * stdlib/tst-environ.c: Likewise.
31852         * stdlib/tst-fmtmsg.c: Likewise.
31853         * stdlib/tst-limits.c: Likewise.
31854         * stdlib/tst-rand48-2.c: Likewise.
31855         * stdlib/tst-rand48.c: Likewise.
31856         * stdlib/tst-random2.c: Likewise.
31857         * stdlib/tst-random.c: Likewise.
31858         * stdlib/tst-strtol.c: Likewise.
31859         * stdlib/tst-strtoll.c: Likewise.
31860         * stdlib/tst-tls-atexit.c: Likewise.
31861         * stdlib/tst-xpg-basename.c: Likewise.
31862         * string/test-ffs.c: Likewise.
31863         * string/tst-bswap.c: Likewise.
31864         * string/tst-inlcall.c: Likewise.
31865         * string/tst-strtok.c: Likewise.
31866         * string/tst-strxfrm.c: Likewise.
31867         * sysdeps/x86_64/tst-audit10.c: Likewise.
31868         * sysdeps/x86_64/tst-audit3.c: Likewise.
31869         * sysdeps/x86_64/tst-audit4.c: Likewise.
31870         * sysdeps/x86_64/tst-audit5.c: Likewise.
31871         * time/tst-ftime_l.c: Likewise.
31872         * time/tst-getdate.c: Likewise.
31873         * time/tst-mktime3.c: Likewise.
31874         * time/tst-mktime.c: Likewise.
31875         * time/tst-posixtz.c: Likewise.
31876         * time/tst-strptime2.c: Likewise.
31877         * time/tst-strptime3.c: Likewise.
31878         * wcsmbs/tst-btowc.c: Likewise.
31879         * wcsmbs/tst-mbrtowc.c: Likewise.
31880         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31881         * wcsmbs/tst-wchar-h.c: Likewise.
31882         * wcsmbs/tst-wcpncpy.c: Likewise.
31883         * wcsmbs/tst-wcrtomb.c: Likewise.
31884         * wcsmbs/tst-wcsnlen.c: Likewise.
31885         * wcsmbs/tst-wcstof.c: Likewise.
31887 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31889         [BZ #14132]
31890         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31891         INTDEF.
31892         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31893         declaration.
31894         (_dl_mcount): Use rtld_hidden_proto.
31895         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31896         _dl_mcount.
31897         * elf/rtld.c (_rtld_global_ro): Likewise.
31899         [BZ #14132]
31900         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31901         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31902         of _dl_init_internal.
31903         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31904         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31905         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31906         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31907         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31908         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31909         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31910         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31911         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31912         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31913         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31914         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31915         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31916         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31917         * sysdeps/tile/dl-start.S (_start): Likewise.
31918         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31919         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31921         [BZ #14132]
31922         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31923         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31924         (rtld_progname): Make macro definition unconditional.
31925         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31926         INTDEF.
31927         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31928         (dl_main): Likewise.
31929         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31930         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31931         instead of _dl_argv_internal.
31932         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31933         __GI__dl_argv instead of INTUSE(_dl_argv).
31934         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31935         __GI__dl_argv instead of _dl_argv_internal.
31937         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31938         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31939         macro.
31940         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31941         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31942         New macro.
31943         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31944         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31945         macro.
31946         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31947         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31949 2014-11-04  Andreas Schwab  <schwab@suse.de>
31951         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31953 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31955         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31956         mtvsrd instruction in binary form.
31958 2014-11-03  Andreas Schwab  <schwab@suse.de>
31960         [BZ #17522]
31961         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31962         for less than MB_LEN_MAX use a local buffer of that size.
31963         * libio/tst-fputws.c: New file.
31964         * libio/Makefile (tests): Add tst-fputws.
31966 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31968         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31969         the size of the fpu_fr.fpu_dregs[] array.
31971 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31973         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31974         (__nanosleep): Do not define as alias.
31975         (nanosleep): Define as alias of __nanosleep.
31976         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31977         __libc_nanosleep name.
31979 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31981         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31982         install.texi in comment.
31984 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31986         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31987         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31988         ... add here and use lwsync or sync ...
31989         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31990         ... and add here using lwsync.
31992 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31994         * elf/dl-machine-reject-phdr.h: New file.
31995         * elf/dl-load.c: #include that.
31996         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31997         if that returned true.
31999 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32001         [BZ #17496]
32002         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32003         gen-as-const-headers chunk.  Add a big scare comment after the last
32004         safe place to touch before-compile.
32006 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32008         * manual/install.texi (Tools for Compilation): Update autoconf
32009         version requirements.
32010         * INSTALL: Regenerated.
32012         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32013         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32014         (__libc_pselect): Likewise.
32016         [BZ #14138]
32017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32022 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32024         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32025         correct barrier instruction.
32026         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32027         Likewise.
32028         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32029         Likewise.
32031 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32033         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32034         after defining inlines.  Instead, just use parens to defeat macro
32035         expansion of __isctype in its declaration.
32037 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32039         * include/sys/uio.h (__libc_readv): Remove declaration.
32040         (__libc_writev): Likewise.
32041         * misc/readv.c (__libc_readv): Rename to __readv.
32042         (__readv): Do not define as alias.
32043         (readv): Define as alias of __readv.
32044         * misc/writev.c (__libc_writev): Rename to __writev.
32045         (__writev): Do not define as alias.
32046         (writev): Define as alias of __writev.
32047         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32048         (__readv): Do not define as alias.
32049         (readv): Define unconditionally as alias of __readv.
32050         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32051         (__writev): Do not define as alias.
32052         (writev): Define unconditionally as alias of __writev.
32053         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32054         name.
32055         (writev): Do not define __libc_writev name.
32057 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32059         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32060         (convert_charseq): New function, broken out of ...
32061         (use_from_charmap): ... here.  Call it.
32062         (use_to_charmap): Use convert_charseq and free instead of duplicating
32063         its code with a variable-length stack struct.
32065 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32067         * include/fcntl.h (__libc_creat): Remove declaration.
32068         * io/creat.c (__libc_creat): Rename to creat.
32069         (creat): Do not define as alias.
32070         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32071         of creat instead of __libc_creat.
32072         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32073         to creat.
32074         (creat): Do not define as alias.
32075         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32076         __libc_creat.
32077         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32078         __libc_creat name.
32079         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32080         Likewise.
32082 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32084         * manual/llio.texi: Add comments discussing why write() may be
32085         considered MT-unsafe on Linux.
32087 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32089         * dl-load.c (local_strdup): Remove.
32090         (expand_dynamic_string_token): Use __strdup.
32091         (decompose_rpath): Likewise.
32092         (_dl_map_object): Likewise.
32094 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32096         [BZ #14132]
32097         * sysdeps/generic/unwind-dw2-fde.c
32098         (__register_frame_info_bases_internal): Do not declare.
32099         (__register_frame_info_table_bases_internal): Likewise.
32100         (__deregister_frame_info_bases_internal): Likewise.
32101         (__register_frame_info_bases): Declare and use hidden_proto before
32102         definition.  Use hidden_def instead of INTDEF.
32103         (__register_frame_info_table_bases): Likewise.
32104         (__deregister_frame_info_bases): Likewise.
32105         (__register_frame_info): Do not use INTUSE.
32106         (__register_frame): Likewise.
32107         (__register_frame_info_table): Likewise.
32108         (__register_frame_table): Likewise.
32109         (__deregister_frame_info): Likewise.
32110         (__deregister_frame): Likewise.
32112 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32114         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32115         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32116         not undefine.
32117         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32118         Likewise.
32119         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32120         Likewise.
32122 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32124         [BZ #14138]
32125         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32126         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32127         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32128         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32129         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32130         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32131         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32133         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32134         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32135         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32136         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32137         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32138         syscall.
32139         (setfsuid): Likewise.
32140         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32141         (setfsuid): Likewise.
32142         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32143         (setfsuid): Likewise.
32144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32145         Likewise.
32146         (setfsuid): Likewise.
32147         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32148         (setfsuid): Likewise.
32149         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32150         Likewise.
32151         (setfsuid): Likewise.
32153 2014-10-27  Andreas Schwab  <schwab@suse.de>
32155         [BZ #17501]
32156         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32157         check for Slow_SSE4_2 feature bit.
32158         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32159         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32160         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32161         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32163 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32165         * configure.ac: Validate compiler version with a empirical test of
32166         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32167         $CC -v output.
32168         * configure: Regenerated.
32170         * inet/htons.c (htons): Prototypify.
32171         * inet/htonl.c (htonl): Likewise.
32173 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32175         * string/strncat.c (strncat): Improve performance by using strlen.
32177 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32179         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32181 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32183         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32184         Call libc_fetestexcept_aarch64.
32186 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32188         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32189         Call libc_feholdexcept_aarch64.
32191 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32193         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32194         Call get_rounding_mode.
32196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32198         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32199         Simplify logic.
32201 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32203         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32204         Simplify logic.
32206 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32208         [BZ #14138]
32209         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32210         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32211         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32212         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32213         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32214         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32215         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32216         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32217         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32218         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32219         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32220         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32221         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32222         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32223         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32224         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32225         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32226         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32227         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32228         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32229         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32230         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32231         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32232         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32233         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32234         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32235         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32236         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32237         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32238         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32239         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32240         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32241         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32242         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32243         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32244         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32245         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32246         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32247         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32248         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32249         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32250         syscall.
32251         (geteuid): Likewise.
32252         (getgid): Likewise.
32253         (getuid): Likewise.
32254         (getresgid): Likewise.
32255         (getresuid): Likewise.
32256         (getgroups): Likewise.
32257         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32258         (geteuid): Likewise.
32259         (getgid): Likewise.
32260         (getuid): Likewise.
32261         (getresgid): Likewise.
32262         (getresuid): Likewise.
32263         (getgroups): Likewise.
32264         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32265         (geteuid): Likewise.
32266         (getgid): Likewise.
32267         (getuid): Likewise.
32268         (getresgid): Likewise.
32269         (getresuid): Likewise.
32270         (getgroups): Likewise.
32271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32272         Likewise.
32273         (geteuid): Likewise.
32274         (getgid): Likewise.
32275         (getuid): Likewise.
32276         (getresgid): Likewise.
32277         (getresuid): Likewise.
32278         (getgroups): Likewise.
32279         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32280         (geteuid): Likewise.
32281         (getgid): Likewise.
32282         (getuid): Likewise.
32283         (getresgid): Likewise.
32284         (getresuid): Likewise.
32285         (getgroups): Likewise.
32286         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32287         Likewise.
32288         (geteuid): Likewise.
32289         (getgid): Likewise.
32290         (getuid): Likewise.
32291         (getgroups): Likewise.
32293         [BZ #14138]
32294         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32295         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32296         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32297         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32298         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32299         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32300         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32301         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32302         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32303         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32304         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32305         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32306         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32307         __chown.
32308         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32309         (lchown): Likewise.
32310         (fchown): Likewise.
32311         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32312         Likewise.
32313         (lchown): Likewise.
32314         (fchown): Likewise.
32315         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32316         (lchown): Likewise.
32317         (fchown): Likewise.
32318         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32319         Likewise.
32320         (lchown): Likewise.
32321         (fchown): Likewise.
32323 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32325         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32326         Simplify logic.
32328 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32330         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32331         Cleanup logic.
32333 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32335         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32336         Remove unused include.
32338 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32340         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32341         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32342         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32343         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32345 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32346             Helge Deller <deller@gmx.de>
32348         [BZ #17508]
32349         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32350         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32351         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32353 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32355         [BZ #14132]
32356         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32357         Remove macro definition.
32358         (__ashrdi3_v_glibc20): Likewise.
32359         (__lshrdi3_v_glibc20): Likewise.
32360         (__cmpdi2_v_glibc20): Likewise.
32361         (__ucmpdi2_v_glibc20): Likewise.
32362         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32363         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32364         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32365         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32366         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32367         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32369 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32371         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32372         old GNU extension [0] syntax.
32373         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32374         alloca rather than an array member with variable length.
32375         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32376         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32377         (parse_opt): ... here.  Likewise use alloca there.
32378         Validate the -i argument before checking for rootness.
32379         (send_shutdown): New function, broken out of ...
32380         (parse_opt): ... here.
32382 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32384         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32385         macro to get at the _rt_local_ro field.
32386         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32387         ([PIC] case) or _dl_hwcap ([!PIC] case).
32388         * sysdeps/arm/setjmp.S: Likewise.
32390         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32391         * sysdeps/arm/configure.ac: New check to define it.
32392         * sysdeps/arm/configure: Regenerated.
32393         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32394         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32395         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32396         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32397         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32398         Use move/movt pair instead of a load.
32399         (LDST_GLOBAL): Macro removed.
32400         (LDR_GLOBAL): New macro replaces it.
32401         (LDR_HIDDEN): New macro.
32402         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32403         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32405         * setjmp/tst-setjmp-static.c: New file.
32406         * setjmp/Makefile (tests): Add it.
32407         (tests-static): New variable.
32409 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32411         [BZ #17485]
32412         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32414 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32416         [BZ #14132]
32417         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32419 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32421         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32423 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32425         * io/fts.c (dirent_not_directory): New function.
32426         (fts_build): Call it.
32428 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32430         * nptl/version.c (__nptl_main): Use normal __write rather than
32431         INTERNAL_SYSCALL.
32432         (banner): Update copyright years.
32434         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32435         gettimeofday.
32436         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32437         * nptl/pthread_cond_timedwait.c: Likewise.
32438         * nptl/pthread_mutex_timedlock.c: Likewise.
32439         * nptl/sem_timedwait.c: Likewise.
32441         * sysdeps/nptl/bits/libc-lock.h
32442         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32443         (__libc_lock_init_recursive): Return void, not 0.
32444         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32445         (__libc_rwlock_init): Likewise.
32446         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32448 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32450         [BZ #15215]
32451         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32452         (__pthread_once_slow): ... here.
32453         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32454         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32456 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32458         [BZ #15215]
32459         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32460         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32461         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32462         * nptl/pthread_once.c (__pthread_once): Likewise.
32463         Update comments.
32465 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32467         [BZ #14138]
32468         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32469         name.
32470         (writev): Use __libc_writev as strong name.
32471         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32472         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32474 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32476         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32478         * sysdeps/i386/nptl/tls.h
32479         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32480         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32481         New macros.
32482         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32483         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32484         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32485         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32486         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32487         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32489         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32490         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32491         on [__NR_futex].
32492         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32493         broken out of ...
32494         (__pthread_mutex_init): ... here.  Call it.
32495         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32496         Conditionalize PI cases on [__NR_futex].
32497         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32498         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32499         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32501         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32502         conditional on [SIGSETXID].
32503         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32504         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32505         is defined.  Likewise for SIGSETXID.
32506         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32507         Conditionalize definitions on [SIGSETXID].
32508         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32509         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32510         unblocking on [SIGCANCEL].
32512         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32513         [__NR_set_robust_list].
32515 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32517         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32518         (do_compare): Likewise.
32520 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32522         [BZ #15884]
32523         * string/strcoll_l.c: Don't include stdio.h.
32524         (coll_seq): Remove members idxarr and rulearr.
32525         (get_next_seq_cached): Remove function.
32526         (get_next_seq): Likewise.
32527         (get_next_seq_nocache): Rename to get_next_seq.
32528         (do_compare): Remove function.
32529         (do_compare_nocache): Rename to do_compare.
32530         (STRCOLL): Remove weight and rules cache.
32532 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32534         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32535         * sysdeps/arm/sfp-machine.h: ... to here.
32536         * sysdeps/arm/Implies: Remove arm/soft-fp.
32538 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32540         * conform/data/sys/utsname.h-data (*_t): Allow.
32541         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32542         [POSIX] (WEXITED): Do not expect constant.
32543         [POSIX] (WSTOPPED): Likewise.
32544         [POSIX] (WNOHANG): Likewise.
32545         [POSIX] (WNOWAIT): Likewise.
32546         [POSIX] (siginfo_t): Do not expect type or elements.
32547         [POSIX] (pid_t): Do not expect type.
32548         [POSIX] (signal.h): Do not allow header.
32549         [POSIX] (sys/resource.h): Likewise.
32550         [POSIX] (si_*): Do not allow pattern.
32551         [POSIX] (W*): Likewise.
32552         [POSIX] (P_*): Likewise.
32553         [POSIX] (BUS_*): Likewise.
32554         [POSIX] (CLD_*): Likewise.
32555         [POSIX] (FPE_*): Likewise.
32556         [POSIX] (ILL_*): Likewise.
32557         [POSIX] (POLL_*): Likewise.
32558         [POSIX] (SEGV_*): Likewise.
32559         [POSIX] (SI_*): Likewise.
32560         [POSIX] (TRAP_*): Likewise.
32561         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32562         variable.
32564 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32566         [BZ #12926]
32567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32568         infinite loop when __recvmsg returns 0.
32570 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32572         * CANCEL-FCT-WAIVE: Remove file.
32573         * CANCEL-FILE-WAIVE: Likewise.
32575         [BZ #14132]
32576         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32577         instead of INTVARDEF.
32578         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32579         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32580         rtld_hidden_data_def instead of INTVARDEF.
32581         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32582         * elf/dl-deps.c (expand_dst): Likewise.
32583         * elf/dl-load.c (_dl_dst_count): Likewise.
32584         (_dl_dst_substitute): Likewise.
32585         (decompose_rpath): Likewise.
32586         (_dl_init_paths): Likewise.
32587         (open_path): Likewise.
32588         (_dl_map_object): Likewise.
32589         * elf/rtld.c (dl_main): Likewise.
32590         (process_dl_audit): Likewise.
32591         (process_envvars): Likewise.
32592         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32593         Remove declaration.
32594         (__libc_enable_secure): Use rtld_hidden_proto.
32596 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32598         * elf/dl-load.c
32599         (add_path): New function broken out of _dl_rtld_di_serinfo.
32600         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32602 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32604         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32605         parentheses around macro arguments.
32606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32609         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32611         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32612         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32615         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32616         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32617         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32618         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32619         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32620         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32621         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32622         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32633         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32634         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32635         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32636         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32637         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32638         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32639         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32640         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32641         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32642         Likewise.
32643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32646         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32650         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32651         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32652         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32654         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32655         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32664         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32666         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32667         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32668         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32669         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32670         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32671         (_FP_FRAC_SRS_1): Likewise.
32672         (_FP_FRAC_CLZ_1): Likewise.
32673         (_FP_MUL_MEAT_1_imm): Likewise.
32674         (_FP_MUL_MEAT_1_wide): Likewise.
32675         (_FP_MUL_MEAT_1_hard): Likewise.
32676         (_FP_SQRT_MEAT_1): Likewise.
32677         (_FP_FRAC_ASSEMBLE_1): Likewise.
32678         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32679         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32680         (__FP_CLZ_2): Likewise.
32681         (_FP_MUL_MEAT_2_wide): Likewise.
32682         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32683         (_FP_MUL_MEAT_2_gmp): Likewise.
32684         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32685         (_FP_SQRT_MEAT_2): Likewise.
32686         (_FP_FRAC_ASSEMBLE_2): Likewise.
32687         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32688         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32689         (_FP_FRAC_CLZ_4): Likewise.
32690         (_FP_MUL_MEAT_4_wide): Likewise.
32691         (_FP_MUL_MEAT_4_gmp): Likewise.
32692         (_FP_SQRT_MEAT_4): Likewise.
32693         (_FP_FRAC_ASSEMBLE_4): Likewise.
32694         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32695         * soft-fp/op-common.h (_FP_CMP): Likewise.
32696         (_FP_CMP_EQ): Likewise.
32697         (_FP_CMP_UNORD): Likewise.
32698         (_FP_TO_INT): Likewise.
32699         (_FP_FROM_INT): Likewise.
32700         [!__FP_CLZ] (__FP_CLZ): Likewise.
32701         (_FP_DIV_HELP_imm): Likewise.
32702         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32703         Likewise.
32704         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32707         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32709         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32710         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32711         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32714         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32715         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32716         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32717         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32718         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32719         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32720         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32723         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32725         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32727         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32729         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32732         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32733         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32734         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32735         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32736         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32737         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32738         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32739         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32740         (FP_UNPACK_RAW_SP): Likewise.
32741         (FP_PACK_RAW_S): Likewise.
32742         (FP_PACK_RAW_SP): Likewise.
32743         (FP_UNPACK_S): Likewise.
32744         (FP_UNPACK_SP): Likewise.
32745         (FP_UNPACK_SEMIRAW_S): Likewise.
32746         (FP_UNPACK_SEMIRAW_SP): Likewise.
32747         (FP_PACK_S): Likewise.
32748         (FP_PACK_SP): Likewise.
32749         (FP_PACK_SEMIRAW_S): Likewise.
32750         (FP_PACK_SEMIRAW_SP): Likewise.
32751         (_FP_SQRT_MEAT_S): Likewise.
32752         (FP_CMP_S): Likewise.
32753         (FP_CMP_EQ_S): Likewise.
32754         (FP_CMP_UNORD_S): Likewise.
32755         (FP_TO_INT_S): Likewise.
32756         (FP_FROM_INT_S): Likewise.
32758         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32760         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32761         (FP_EX_INVALID_IMZ): Likewise.
32762         (FP_EX_INVALID_IMZ_FMA): Likewise.
32763         (FP_EX_INVALID_ISI): Likewise.
32764         (FP_EX_INVALID_ZDZ): Likewise.
32765         (FP_EX_INVALID_IDI): Likewise.
32766         (FP_EX_INVALID_SQRT): Likewise.
32767         (FP_EX_INVALID_CVI): Likewise.
32768         (FP_EX_INVALID_VC): Likewise.
32769         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32770         "invalid" exceptions.
32771         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32772         (_FP_ADD_INTERNAL): Likewise.
32773         (_FP_MUL): Likewise.
32774         (_FP_FMA): Likewise.
32775         (_FP_DIV): Likewise.
32776         (_FP_CMP_CHECK_NAN): Likewise.
32777         (_FP_SQRT): Likewise.
32778         (_FP_TO_INT): Likewise.
32779         (FP_EXTEND): Likewise.
32781 2014-10-09  Allan McRae  <allan@archlinux.org>
32783         * po/fr.po: Update French translation from translation project.
32785 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32787         [BZ #14132]
32788         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32789         of INTDEF.
32790         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32791         (__cxa_atexit): Use libc_hidden_proto.
32792         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32794         [BZ #14132]
32795         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32796         declaration.
32797         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32798         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32799         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32800         [!_ISOMAC] (__iswctype_internal): Likewise.
32801         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32802         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32803         alias.
32804         (fcntl): Remove __fcntl_internal alias.
32805         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32806         __connect_internal alias.
32807         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32808         Likewise.
32810         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32811         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32812         FP_DENORM_ZERO.
32813         (_FP_CHECK_FLUSH_ZERO): New macro.
32814         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32815         (_FP_CMP): Likewise.
32816         (_FP_CMP_EQ): Likewise.
32817         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32818         FP_DENORM_ZERO.
32819         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32820         (FP_TRUNC): Likewise.
32822         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32823         treated as invalid conversion, not as normal exponent.
32825         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32826         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32827         (_FP_CMP_EQ): Likewise.
32828         (_FP_CMP_UNORD): Likewise.
32829         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32830         (FP_CMP_EQ_D): Likewise.
32831         (FP_CMP_UNORD_D): Likewise.
32832         * soft-fp/extended.h (FP_CMP_E): Likewise.
32833         (FP_CMP_EQ_E): Likewise.
32834         (FP_CMP_UNORD_E): Likewise.
32835         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32836         (FP_CMP_EQ_Q): Likewise.
32837         (FP_CMP_UNORD_Q): Likewise.
32838         * soft-fp/single.h (FP_CMP_S): Likewise.
32839         (FP_CMP_EQ_S): Likewise.
32840         (FP_CMP_UNORD_S): Likewise.
32841         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32842         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32843         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32844         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32845         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32846         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32847         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32848         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32849         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32850         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32851         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32852         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32853         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32854         to FP_CMP_Q.
32855         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32856         FP_CMP_Q.
32857         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32858         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32859         FP_CMP_EQ_Q.
32860         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32861         FP_CMP_Q.
32862         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32863         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32864         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32865         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32866         FP_CMP_EQ_Q.
32867         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32868         FP_CMP_Q.
32869         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32870         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32871         FP_CMP_EQ_Q.
32872         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32873         FP_CMP_Q.
32874         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32875         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32876         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32877         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32878         FP_CMP_EQ_Q.
32880         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32881         a subnormal result, set the underflow exception if trapping on
32882         underflow is enabled.
32883         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32884         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32885         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32886         redefine to 0.
32887         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32888         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32889         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32890         * soft-fp/extendxftf2.c (__extendxftf2): Use
32891         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32893         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32894         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32895         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32896         FP_HANDLE_EXCEPTIONS.
32897         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32898         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32899         FP_HANDLE_EXCEPTIONS.
32900         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32901         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32902         FP_HANDLE_EXCEPTIONS.
32903         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32904         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32905         FP_HANDLE_EXCEPTIONS.
32907 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32909         [BZ #14132]
32910         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32911         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32912         use INTUSE.
32913         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32914         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32915         Remove alias.
32916         (__adjtimex): Define using libc_hidden_ver.
32917         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32918         Remove declaration.
32919         (ntp_gettime): Call __adjtimex directly.
32920         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32921         Remove declaration.
32922         (ntp_gettimex): Call __adjtimex directly.
32923         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32924         __adjtimex_internal alias.
32926 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32928         [BZ #17460]
32929         * nscd/nscd.c (more_help): Rewrite list of tables collection
32930         using xstrdup and asprintf.
32932         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32934 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32935             Roland McGrath  <roland@hack.frob.com>
32937         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32938         (do_lookup_unique): ... local function 'enter' here; update callers.
32940 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32942         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32943         compat_symbol calls on [SHARED].
32944         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32945         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32946         Remove.
32947         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32948         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32949         (oldsetrlimit): Remove.
32950         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32952         (lchown): New syscall entry.
32953         (oldsetrlimit): Remove.
32954         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32955         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32956         (oldsetrlimit): Remove.
32957         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32959         [BZ #14138]
32960         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32961         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32962         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32963         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32964         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32965         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32966         (fchown): Likewise.
32967         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32968         (fchown): Likewise.
32969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32970         Likewise.
32972 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32974         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32975         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32976         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32977         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32978         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32979         Likewise.
32980         (__old_sem_post): Likewise.
32982 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32984         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32985         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32986         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32987         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32988         Use INLINE_VSYSCALL macro.
32989         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32990         __vdso_clock_gettime.
32991         * sysdeps/unix/sysv/linux/tile/init-first.c
32992         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32993         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32994         __vdso_clock_gettime.
32996         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32997         to set up frame more cleanly.
32999         * sysdeps/tile/memcmp.c: New file.
33001         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33003         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33004         * sysdeps/tile/tilegx/strcasestr.c: New file.
33005         * sysdeps/tile/tilegx/strnlen.c: New file.
33006         * sysdeps/tile/tilegx/strstr.c: New file.
33008         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33010 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33012         * nptl/tst-setuid3.c: Write errors to stdout.
33014 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33016         * elf/dl-deps.c
33017         (preload): New functions broken out of _dl_map_object_deps.
33018         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33020 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33022         [BZ #14138]
33023         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33024         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33026 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33028         * sysdeps/mips/strcmp.S: New.
33030 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33032         [BZ #14138]
33033         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33034         (linkat): Likewise.
33035         (mkdirat): Likewise.
33036         (readlinkat): Likewise.
33037         (renameat): Likewise.
33038         (symlinkat): Likewise.
33039         (unlinkat): Likewise.
33040         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33041         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33042         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33043         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33044         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33045         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33046         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33048 2014-09-30  Will Newton  <will.newton@linaro.org>
33050         * math/math.h: Define long double math functions if
33051         _LIBC_TEST is defined.
33052         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33054         * localedata/Makefile: Move assignment to tests-special
33055         into an ifdef testing run-built-tests.
33056         * timezone/Makefile: Likewise.
33058 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33060         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33061         with $(BASH) not $(SHELL).
33063 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33064             Matthew LeGendre  <legendre1@llnl.gov>
33066         [BZ #17411]
33067         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33068         l_reloc_result.
33070 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33072         * stdio-common/printf_fp.c
33073         (hack_digit): New function, broken out of ...
33074         (__printf_fp): ... local function here.  Update call sites.
33075         hack_digit now takes an additional parameter that is a pointer
33076         to a struct of the referenced locals.  Those locals moved inside
33077         the struct and references updated.
33079 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33081         * aclocal.m4: Require autoconf 2.69.
33082         * configure: Regenerated.
33083         * sysdeps/aarch64/configure: Likewise.
33084         * sysdeps/alpha/configure: Likewise.
33085         * sysdeps/arm/armv7/configure: Likewise.
33086         * sysdeps/arm/configure: Likewise.
33087         * sysdeps/ia64/configure: Likewise.
33088         * sysdeps/mach/configure: Likewise.
33089         * sysdeps/mips/configure: Likewise.
33090         * sysdeps/s390/configure: Likewise.
33091         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33094         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33095         file.
33096         * sysdeps/ia64/configure.ac: Likewise.
33098 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33101         specify symbol version for ld.so.  Do not include entry for
33102         libpthread.
33103         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33104         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33105         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33107         [BZ #14171]
33108         * Makeconfig [$(build-shared) = yes]
33109         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33110         makefiles.
33111         [$(build-shared) = yes && $(soversions.mk-done) = t]
33112         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33113         [$(build-shared) = yes && $(soversions.mk-done) = t]
33114         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33115         to Makerules.
33116         [$(build-shared) = yes && $(soversions.mk-done) = t]
33117         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33118         here.
33119         [$(build-shared) = yes && $(soversions.mk-done) = t]
33120         (common-generated): Don't append gnu/lib-names.h and
33121         gnu/lib-names.stmp here.
33122         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33123         (lib-names-h-abi): New variable.
33124         [$(build-shared) = yes && $(soversions.mk-done) = t]
33125         (lib-names-stmp-abi): Likewise.
33126         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33127         abi-variants] (before-compile): Append
33128         $(common-objpfx)$(lib-names-h-abi).
33129         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33130         abi-variants] (common-generated): Append gnu/lib-names.h.
33131         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33132         abi-variants] (install-others-nosubdir): Depend on
33133         $(inst_includedir)/$(lib-names-h-abi).
33134         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33135         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33136         [$(build-shared) = yes && $(soversions.mk-done) = t]
33137         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33138         [$(build-shared) = yes && $(soversions.mk-done) = t]
33139         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33140         [$(build-shared) = yes && $(soversions.mk-done) = t]
33141         (common-generated): Append $(lib-names-h-abi) and
33142         $(lib-names-stmp-abi).
33143         * scripts/lib-names.awk: Do not handle multi being set.
33144         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33145         Remove variable.
33146         (abi-lp64_be-ld-soname): Likewise.
33147         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33148         Likewise.
33149         (abi-hard-ld-soname): Likewise.
33150         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33151         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33152         Remove variable.
33153         (abi-o32_hard-ld-soname): Likewise.
33154         (abi-o32_soft_2008-ld-soname): Likewise.
33155         (abi-o32_hard_2008-ld-soname): Likewise.
33156         (abi-n32_soft-ld-soname): Likewise.
33157         (abi-n32_hard-ld-soname): Likewise.
33158         (abi-n32_soft_2008-ld-soname): Likewise.
33159         (abi-n32_hard_2008-ld-soname): Likewise.
33160         (abi-n64_soft-ld-soname): Likewise.
33161         (abi-n64_hard-ld-soname): Likewise.
33162         (abi-n64_soft_2008-ld-soname): Likewise.
33163         (abi-n64_hard_2008-ld-soname): Likewise.
33164         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33165         Likewise.
33166         (abi-64-v2-ld-soname): Likewise.
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33168         ld.so entries.
33169         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33170         variable.
33171         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33172         entry.
33173         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33174         variable.
33175         (abi-64-ld-soname): Likewise.
33176         (abi-x32-ld-soname): Likewise.
33177         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33178         entry.
33179         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33181 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33183         [BZ #14138]
33184         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33185         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33186         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33187         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33188         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33189         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33190         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33191         syscall entry for GLIBC_2.2 symbol version.
33192         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33193         Likewise.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33195         (setrlimit): Likewise.
33196         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33197         Likewise.
33199 2014-09-23  Will Newton  <will.newton@linaro.org>
33201         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33202         _LINUX_ARM_SYSDEP_H include guard too.
33203         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33204         define.
33206 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33208         * sysdeps/unix/sysv/linux/eventfd.c:
33209         Make first argument unsigned.
33210         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33211         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33213 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33215         [BZ #16852]
33216         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33217         * socket/sys/socket.h: Likewise.
33218         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33220 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33222         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33224 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33226         * time/tst-ftime.c: New test.
33227         * time/Makefile (tests): Add tst-ftime.
33229 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33231         * soft-fp/extended.h: Fix comment formatting.
33232         * soft-fp/op-1.h: Likewise.
33233         * soft-fp/op-2.h: Likewise.
33234         * soft-fp/op-4.h: Likewise.
33235         * soft-fp/op-8.h: Likewise.
33236         * soft-fp/op-common.h: Likewise.
33237         * soft-fp/soft-fp.h: Likewise.
33239         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33241 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33243         [BZ #6652]
33244         * Makeconfig (soversions-default-setname): Remove variable.
33245         ($(common-objpfx)soversions.i): Don't pass default_setname to
33246         soversions.awk.
33247         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33248         oldest_abi to abi-versions.awk.
33249         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33250         * config.make.in (oldest-abi): Remove variable.
33251         * configure.ac (--enable-oldest-abi): Remove configure option.
33252         * configure: Regenerated.
33253         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33254         text.
33255         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33256         * scripts/soversions.awk: Do not handle default_setname variable.
33257         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33258         variable.
33259         * sysdeps/mach/hurd/configure: Regenerated.
33260         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33261         variable.
33262         * sysdeps/unix/sysv/linux/configure: Regenerated.
33264 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33266         * elf/Makefile (CFLAGS-interp.c): Remove.
33267         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33268         path string.
33269         * elf/interp.c: Include generated runtime-linker.h
33271         * Makerules (lib%.so): Don't include $(+interp) in
33272         prerequisites.
33273         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33274         * dlfcn/eval.c: Remove file.
33276         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33277         macros.
33279         [BZ #17266]
33280         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33281         4.2 and newer.
33283         [BZ #17370]
33284         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33286 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33287             Jakub Jelinek  <jakub@redhat.com>
33289         [BZ #17266]
33290         * libio/stdio.h: Check definition of __fortify_function
33291         instead of __extern_always_inline to include bits/stdio2.h.
33292         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33293         check if __extern_always_inline is defined.
33294         [__USE_MISC || __USE_XOPEN]: Likewise.
33295         [__USE_ISOC99] Likewise.
33296         * misc/sys/cdefs.h (__fortify_function): Define only if
33297         __extern_always_inline is defined.
33298         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33299         __extern_always_inline and __extern_inline only for g++-4.3
33300         and newer or a compatible gcc.
33302 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33304         [BZ #17371]
33305         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33306         last change to handle zero prefix length.
33308 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33310         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33311         _SC_REGEX_VERSION.
33313         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33314         _POSIX_RAW_SOCKETS.
33316 2014-09-13  Allan McRae  <allan@archlinux.org>
33318         * po/ru.po: Update Russian translation from translation project.
33320 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33322         * locale/programs/locale.c (show_locale_vars): Inline local function
33323         into its sole call site.  Clean up some style nits.
33324         (print_item): New function, broken out of ...
33325         (show_info): ... local function here.  Clean up style nits.
33327         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33328         out of ...
33329         (set_class_defaults): ... local function set_default here.
33330         Define set_default as a macro locally to pass constant parameters.
33331         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33332         rather than a shared local.
33334         * stdlib/rpmatch.c (try): New function, broken out of ...
33335         (rpmatch): ... local function here.  Also, prototypify definition.
33337 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33339         * scripts/soversions.awk: Do not handle configuration names.
33340         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33341         vendor and os variables to soversions.awk.
33342         * configure.ac: Do not modify gnu-* host_os.
33343         * configure: Regenerated
33344         * shlib-versions: Remove first column with configuration names.
33345         * nptl/shlib-versions: Likewise.
33346         * nptl_db/shlib-versions: Likewise.
33347         * sysdeps/hppa/shlib-versions: Likewise.
33348         * sysdeps/m68k/shlib-versions: Likewise.
33349         * sysdeps/mach/hurd/shlib-versions: Likewise.
33350         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33351         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33352         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33353         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33354         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33355         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33356         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33357         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33359         Likewise.
33360         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33361         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33362         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33363         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33364         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33365         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33366         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33367         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33370         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33372         Regenerated.
33373         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33375         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33377         * shlib-versions: Remove OS-specific entries.  Moved to files in
33378         sysdeps.
33379         * sysdeps/mach/hurd/shlib-versions: New file.
33380         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33382         * nptl/shlib-versions: Remove architecture-specific entries.
33383         Moved to files in sysdeps.
33384         * shlib-versions: Likewise.
33385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33386         file.
33387         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33388         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33389         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33390         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33392         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33393         (UDP_NO_CHECK6_RX): Likewise.
33395 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33397         * sysdeps/posix/sysconf.c (__sysconf): Spell
33398         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33400 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33402         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33403         loading.
33404         * iconv/Versions (__gconv_transliterate): Export for use from
33405         gconv modules.
33406         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33407         (struct __gconv_trans_data, __gconv_trans_fct,
33408         __gconv_trans_context_fct, __gconv_trans_query_fct,
33409         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33410         definitions.
33411         (struct __gconv_step_data): Remove __trans member.
33412         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33413         longer hidden.  Remove unused trans_data argument.
33414         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33415         (__gconv_translit_find): Remove declaration.
33416         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33417         prototype.
33418         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33419         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33420         trans_data argument.  Add hidden definition.
33421         (__gconv_translit_find): Remove.
33422         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33423         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33424         * iconv/skeleton.c: Remove transliteration initialization.
33425         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33426         __gconv_step_data initialization.
33427         * libio/iofwide.c (__libio_translit_): Remove.
33428         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33429         * wcsmbs/btowc.c (__btowc): Likewise.
33430         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33431         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33432         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33433         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33434         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33435         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33436         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33437         * wcsmbs/wctob.c (wctob): Likewise.
33439 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33441         [BZ #16194]
33442         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33443         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33444         register usage.
33445         * sysdeps/x86/Makefile: Adjust.
33447 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33448             Roland McGrath  <roland@hack.frob.com>
33450         * locale/weight.h: Add include guard.
33451         (findidx): Make static rather than auto; take new parameters
33452         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33453         * locale/weightwc.h: Likewise.
33454         * posix/fnmatch_loop.c
33455         (FCT): Change type of EXTRA from int32_t to wint_t.
33456         Don't include either header inside the function.
33457         Call FINDIDX rather than findidx, and pass new arguments.
33458         #undef FINDIDX at the end of the file.
33459         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33460         FINDIDX before including fnmatch_loop.c for the non-wide version.
33461         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33462         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33463         for the wide version.
33464         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33465         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33466         Pass new arguments to findidx.
33467         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33468         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33469         Don't #include it inside the function.  Pass new arguments to findidx.
33470         * posix/regex_internal.h
33471         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33472         (re_string_elem_size_at): Don't #include it inside the function.
33473         Pass new arguments to findidx.
33474         * string/strcoll_l.c: #include WEIGHT_H at top level.
33475         (get_next_seq): Don't #include it inside the function.
33476         Pass new arguments to findidx.
33477         (get_next_seq_nocache): Likewise.
33478         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33479         (STRXFRM): Don't #include it inside the function.
33480         Pass new arguments to findidx.
33482 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33484         [BZ #17344]
33485         * malloc/malloc.c (unlink): Turn asserts into a call to
33486         malloc_printerr.
33488 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33490         [BZ #17370]
33491         * libio/wfileops (do_ftell_wide): Free OUT.
33493 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33495         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33497 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33499         [BZ #17363]
33500         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33501         group if the current group is empty.
33503 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33505         * benchtests/bench-memset.c (test_main): Add more test from size
33506         from 32 to 512 bytes.
33507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33508         Add POWER8 memset object.
33509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33510         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33511         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33512         implementation.
33513         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33514         Likewise.
33515         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33516         multiarch POWER8 memset optimization.
33517         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33518         POWER8 memset optimization.
33520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33521         Remove bzero multiarch objects.
33522         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33523         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33524         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33525         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33526         Remove define.
33527         [__bzero]: Redefine to specific name.
33528         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33529         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33530         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33531         define.
33532         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33533         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33535 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33537         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33538         warnings into errors.
33540         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33541         __cxa_thread_atexit_impl prototype.
33543 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33545         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33546         Fix capitalization of error message.
33548 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33550         * sysdeps/mips/preconfigure: Modify ABI tests.
33552 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33554         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33556 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33557             Carlos O'Donell  <carlos@systemhalted.org>
33559         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33560         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33561         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33562         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33563         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33565         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33566         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33567         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33572         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33574         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33575         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33576         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33577         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33578         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33579         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33580         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33581         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33582         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33583         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33584         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33585         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33586         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33587         Deconditionalize the code that was previously under [RESET_PID].
33588         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33589         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33590         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33591         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33592         include sysdep.h.
33594 2014-09-08  Allan McRae  <allan@archlinux.org>
33596         * version.h (RELEASE): Set to "development".
33597         (VERSION): Set to "2.20.90"
33599 2014-09-07  Allan McRae  <allan@archlinux.org
33601         * version.h (RELEASE): Set to "stable".
33602         (VERSION): Set to "2.20"
33603         * include/features.h (__GLIBC_MINOR__): Set to 20.
33605         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33606         Liebler.
33608         * po/ko.po: Update Korean translation from translation project.
33610 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33612         [BZ #17354]
33613         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33614         macro for handling signed relocations.
33616 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33618         [BZ #17325]
33619         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33620         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33621         assert.
33622         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33623         * iconvdata/ibm935.c (BODY): Likewise.
33624         * iconvdata/ibm937.c (BODY): Likewise.
33625         * iconvdata/ibm939.c (BODY): Likewise.
33626         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33627         assert.
33628         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33629         script.
33630         * iconvdata/run-iconv-test.sh: New test loop for checking for
33631         decoder crashers.
33633 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33635         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33636         libm_hidden_ver.
33638 2014-09-01  Allan McRae  <allan@archlinux.org>
33640         * po/eo.po: Update Esperanto translation from translation project.
33642         * po/ca.po: Update Catalan translation from translation project.
33644 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33646         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33647         __proc_dostop call.
33649 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33651         [BZ #17319]
33652         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33653         to call set_thread_area instead of hand written asm.
33654         (__NR_set_thread_area): Removed define.
33655         (TLS_FLAG_WRITABLE): Likewise.
33656         (__ASSUME_SET_THREAD_AREA): Remove check.
33657         (TLS_EBX_ARG): Remove define.
33658         (TLS_LOAD_EBX): Likewise.
33660 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33662         Simplify atomicity of socket creation in bind.
33664         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33665         looking up the name after linking the file.
33667 2014-08-27  Allan McRae  <allan@archlinux.org>
33669         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33671 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33673         [BZ #17187]
33674         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33675         trans_compare, open_translit, __gconv_translit_find):
33676         Remove module loading code.
33678 2014-08-26  Allan McRae  <allan@archlinux.org>
33680         * po/vi.po: Update Vietnamese translation from translation project.
33682         * po/uk.po: Update Ukrainian translation from translation project.
33684         * po/fr.po: Update French translation from translation project.
33686         * po/ru.po: Update Russian translation from translation project.
33688         * po/pl.po: Update Polish translation from translation project.
33690         * po/cs.po: Update Czech translation from translation project.
33692         * po/de.po: Update German translation from translation project.
33694         * po/bg.po: Update Bulgarian translation from translation project.
33696         * po/sv.po: Update Sweedish translation from translation project.
33698         * po/nl.po: Update Dutch translation from translation project.
33700         * po/es.po: Update Spanish translation from translation project.
33702 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33704         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33706         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33707         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33708         (CPPFLAGS-iconvconfig): Likewise.
33709         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33711         * include/libc-symbols.h: Remove unnecessary check for
33712         NOT_IN_libc.
33713         * nptl/pthreadP.h: Likewise.
33714         * sysdeps/aarch64/setjmp.S: Likewise.
33715         * sysdeps/alpha/setjmp.S: Likewise.
33716         * sysdeps/arm/sysdep.h: Likewise.
33717         * sysdeps/i386/setjmp.S: Likewise.
33718         * sysdeps/m68k/setjmp.c: Likewise.
33719         * sysdeps/posix/getcwd.c: Likewise.
33720         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33721         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33722         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33723         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33724         * sysdeps/sh/sh3/setjmp.S: Likewise.
33725         * sysdeps/sh/sh4/setjmp.S: Likewise.
33726         * sysdeps/unix/alpha/sysdep.h: Likewise.
33727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33728         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33729         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33730         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33735         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33738         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33740         * sysdeps/x86_64/setjmp.S: Likewise.
33742 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33744         [BZ #17263]
33745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33746         <stdint.h>.
33747         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33748         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33750 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33752         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33754         [BZ #17262]
33755         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33756         and __x86_64__ when disabling x87 inline functions.
33758 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33760         [BZ #17259]
33761         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33762         asm statement with __cpuid_count.
33764 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33766         * configure.ac: Change __ehdr_start code to dereference the struct.
33767         Run readelf on the output to look for relocations.
33768         * configure: Regenerated.
33770 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33772         [BZ #17261]
33773         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33774         value to 0.
33775         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33777 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33779         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33781 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33783         [BZ #16892]
33784         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33785         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33787 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33789         * malloc/malloc.c: Fix typo in comment.
33791 2014-08-09  Allan McRae  <allan@archlinux.org>
33793         * Regenerate libc.po.
33795 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33797         * intl/tst-gettext2.sh: Check every lang file for creation.
33799 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33801         * sysdeps/aarch64/fpu/math_private.h
33802         (libc_feholdsetround_noex_aarch64_ctx): New function.
33804 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33806         * sysdeps/arm/armv6/strcpy.S (strcpy):
33807         Fix performance issue in misaligned cases.
33809 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33811         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33812         Move definition from termios.h.
33813         (struct termio): Likewise.
33814         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33815         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33816         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33817         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33818         Likewise.
33819         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33820         Move definition to ioctl-types.h
33821         (struct termio): Likewise.
33822         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33823         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33824         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33825         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33826         Likewise.
33828 2014-08-05  Richard Henderson  <rth@redhat.com>
33830         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33831         exceptions.
33832         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33833         Add fraiseexcpt.
33834         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33835         Use __feraiseexcept.
33836         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33837         Protect libm symbols with IS_IN_libm.
33839         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33841 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33843         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33845 2014-08-04  Will Newton  <will.newton@linaro.org>
33847         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33848         file.
33850 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33852         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33853         variants for each function.
33855 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33857         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33858         appended ...
33859         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33860         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33861         appended ...
33862         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33863         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33864         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33865         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33866         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33867         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33868         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33869         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33870         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33871         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33872         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33873         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33874         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33875         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33876         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33877         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33878         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33879         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33880         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33881         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33882         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33883         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33884         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33885         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33886         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33887         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33888         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33889         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33890         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33891         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33892         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33893         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33894         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33895         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33896         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33897         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33898         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33899         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33900         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33901         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33902         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33904         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33906         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33908         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33909         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33910         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33911         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33912         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33913         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33914         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33915         Update #include.
33916         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33917         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33919 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33921         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33922         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33923         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33924         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33925         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33926         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33928 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33930         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33931         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33932         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33933         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33935 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33937         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33938         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33939         (__libc_vfork): Define function under this name.
33940         (__vfork): Define as an alias.
33941         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33942         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33944 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33946         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33947         that was previously under [RESET_PID].
33948         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33950 2014-08-04  Andreas Schwab  <schwab@suse.de>
33952         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33954 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33956         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33957         (main): Likewise.
33959 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33961         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33963 2014-08-01  Richard Henderon  <rth@redhat.com>
33965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33966         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33967         typo in exact zero test.
33968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33972 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33974         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33975         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33976         * sysdeps/arm/sysdep.h: ... here.
33977         [!__ASSEMBLER__]: Include <stdint.h>.
33979 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33981         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33982         (HAVE_WCTYPE_H): Likewise.
33983         (HAVE_ISWCTYPE): Likewise.
33984         (ENABLE_NLS): Likewise.
33985         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33986         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33988         * posix/regex_internal.c: Check if DEBUG is defined and is
33989         set.
33991         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33992         (HAVE_MBSRTOWCS): Likewise.
33993         * posix/fnmatch.c: Include string.h unconditionally.
33995 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33997         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33998         reversal.
34000 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34002         * sysdeps/generic/safe-fatal.h: New file.
34003         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34004         * nptl/forward.c: Include it.
34005         (__pthread_unwind): Use __safe_fatal as default action, rather
34006         than a bogus use of INTERNAL_SYSCALL that could never work.
34008         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34009         * configure.ac (libc_cv_builtin_trap): New test.
34010         * configure: Regenerated.
34011         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34012         (ABORT_INSTRUCTION): Define using __builtin_trap.
34014         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34015         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34016         * sysdeps/nptl/nptl-signals.h: New file.
34017         * nptl/pthreadP.h: Include <nptl-signals.h>.
34019 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34021         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34022         (ONE_DIRECTION): Define.
34023         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34024         (ONE_DIRECTION): Define.
34025         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34026         (ONE_DIRECTION): Define.
34028 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34030         * sysdeps/s390/Makefile: Delete file.
34031         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34032         * sysdeps/s390/__longjmp.c: Delete file.
34033         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34034         Remove fields __flags and __reserved.
34035         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34036         and add versioning.
34037         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34038         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34039         * sysdeps/s390/rtld-setjmp.S: Likewise.
34040         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34041         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34042         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34043         * sysdeps/s390/s390-32/setjmp.S: ... here.
34044         Add versioning.
34045         (__sigsetjmp): Remove setting __flags field.
34046         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34047         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34048         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34049         * sysdeps/s390/s390-64/setjmp.S: ... here.
34050         Add versioning.
34051         (__sigsetjmp): Remove setting __flags field.
34052         * sysdeps/s390/setjmp.S: Delete file.
34053         * sysdeps/s390/sigjmp.c: Likewise.
34054         * sysdeps/s390/v1-longjmp.c: Likewise.
34055         * sysdeps/s390/v1-setjmp.h: Likewise.
34056         * sysdeps/s390/v1-sigjmp.c: Likewise.
34057         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34058         Remove v1-longjmp_chk.
34059         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34060         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34061         Include debug/longjmp_chk.c and add versioning.
34062         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34063         Include nptl/pt-longjmp.c and add versioning.
34064         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34065         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34066         Include __longjmp.c.
34067         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34068         Move to ...
34069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34070         (__getcontext): Remove setting __flags field.
34071         Add versioning.
34072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34073         Don't restore upper high grps.
34074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34075         Likewise.
34076         (__swapcontext): Remove setting uc_flags field.
34077         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34078         Delete file.
34079         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34080         Include __longjmp.c.
34081         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34082         Move to ...
34083         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34084         (__getcontext): Remove setting __flags field.
34085         Add versioning.
34086         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34087         (__swapcontext): Remove setting uc_flags field.
34088         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34089         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34090         Remove fields uc_high_gprs and __reserved.
34091         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34092         New file with reverted content.
34093         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34094         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34095         Regenerated.
34096         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34097         Regenerated.
34099 2014-07-31  Andreas Schwab  <schwab@suse.de>
34101         * config.h.in (HAVE_IFUNC): Define to 0.
34102         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34103         definedness.
34105 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34108         memmove-avx-unaligned, memcpy-avx-unaligned and
34109         mempcpy-avx-unaligned.
34110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34111         Add tests for AVX memcpy functions.
34112         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34113         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34114         memcpy_chk.
34115         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34116         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34117         memmove_chk.
34118         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34119         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34120         mempcpy_chk.
34121         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34122         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34123         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34125 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34127         [BZ #17213]
34128         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34129         powerpc64le.
34131 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34133         [BZ #16839]
34134         * manual/llio.texi: Add section about open file description locks.
34135         * manual/examples/ofdlocks.c: Example of open file description
34136         lock usage.
34137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34138         F_OFD_SETLK, and F_OFD_SETLKW.
34140 2014-07-23  Allan McRae  <allan@archlinux.org>
34142         * po/es.po: Update Spanish translation from translation project.
34144 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34146         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34148 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34150         [BZ #17078]
34151         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34152         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34153         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34155 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34157         [BZ #17088]
34158         * math/fesetenv.c (__fesetenv)
34159         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34160         * math/feupdateenv.c (__feupdateenv)
34161         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34163         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34164         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34165         (__ASSUME_SOCKETCALL): Do not define.
34167         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34168         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34169         (__ASSUME_SOCKETCALL): Do not define.
34170         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34171         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34172         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34173         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34174         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34175         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34177         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34179         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34180         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34181         (__ASSUME_SOCKETCALL): Do not define.
34182         (__ASSUME_IPC64): Define unconditionally.
34183         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34184         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34185         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34187         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34188         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34189         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34190         Likewise.
34192         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34193         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34194         (__ASSUME_SOCKETCALL): Do not define.
34195         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34196         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34197         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34198         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34199         (__ASSUME_REQUEUE_PI): Define unconditionally.
34200         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34201         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34202         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34203         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34204         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34205         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34207         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34208         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34209         (__ASSUME_SOCKETCALL): Do not define.
34210         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34211         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34212         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34213         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34214         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34215         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34218         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34220         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34222         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34224         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34225         (__ASSUME_GETCPU_SYSCALL): Likewise.
34227         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34228         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34229         cases for individual architectures.
34230         * sysdeps/gnu/configure: Regenerated.
34231         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34232         LIBC_SLIBDIR_RTLDDIR.
34233         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34234         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34235         LIBC_SLIBDIR_RTLDDIR.
34236         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34238         LIBC_SLIBDIR_RTLDDIR.
34239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34240         Regenerated.
34241         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34242         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34243         file.
34244         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34245         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34246         file.
34247         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34248         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34249         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34250         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34252         * sysdeps/aarch64/shlib-versions: Move to ...
34253         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34254         * sysdeps/alpha/shlib-versions: Move to ...
34255         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34256         * sysdeps/arm/shlib-versions: Move to ...
34257         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34258         * sysdeps/hppa/shlib-versions: Move all contents except for
34259         libgcc_s entry to ...
34260         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34261         entry from ...
34262         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34263         * sysdeps/ia64/shlib-versions: Move to ...
34264         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34265         entry from ...
34266         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34267         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34268         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34269         * sysdeps/microblaze/shlib-versions: Move to ...
34270         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34271         * sysdeps/mips/shlib-versions: Move to ...
34272         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34273         entry from ...
34274         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34275         * sysdeps/tile/shlib-versions: Move to ...
34276         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34277         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34278         from ...
34279         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34280         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34281         entry from ...
34282         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34284 2014-07-17  Will Newton  <will.newton@linaro.org>
34286         * sysdeps/arm/bits/atomic.h
34287         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34288         (__arch_compare_and_exchange_bool_16_int): Likewise.
34289         (__arch_compare_and_exchange_bool_64_int): Likewise.
34291         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34292         into an #else block.
34294 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34296         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34297         just Linux configurations.  Test empirically that the compiler sets
34298         __ARM_EABI__, rather than using the tuple to decide.
34299         * sysdeps/arm/preconfigure: Regenerated.
34300         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34301         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34302         contents appended ...
34303         * sysdeps/arm/configure.ac: ... here.
34304         * sysdeps/arm/configure: Regenerated.
34306 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34308         * nptl/pthread_kill.c: New file.
34309         * nptl/pthread_sigmask.c: New file.
34310         * nptl/pthread_sigqueue.c: New file.
34312         * sysdeps/nptl/lowlevellock.h: New file.
34313         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34314         * sysdeps/nptl/lowlevellock-futex.h: New file.
34316         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34317         Remove dead declarations.
34319 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34321         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34322         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34323         config-cflags-avx2.
34324         * sysdeps/x86_64/configure.ac: Likewise.
34325         * sysdeps/i386/configure: Regenerated.
34326         * sysdeps/x86_64/configure: Likewise.
34327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34328         memset-avx2 only if config-cflags-avx2 is yes.
34329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34330         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34331         defined.
34332         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34333         only if HAVE_AVX2_SUPPORT is defined.
34334         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34336 2014-07-14  Alan Modra  <amodra@gmail.com>
34338         [BZ #17153]
34339         * elf/elf.h (DT_PPC64_NUM): Correct value.
34340         * NEWS: Add to fixed bug list.
34342 2014-07-13  Jim Meyering  <meyering@fb.com>
34344         [BZ 17150]
34345         regex: don't deref NULL upon heap allocation failure
34346         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34347         failure in one more place.
34348         To trigger the segfault, configure grep -with-included-regex,
34349         build it, and run these commands:
34350         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34352 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34354         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34356 2014-07-11  Richard Henderson  <rth@redhat.com>
34358         * sysdeps/aarch64/libm-test-ulps: Update.
34360 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34362         [BZ #17135]
34363         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34364         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34365         (__nptl_setxid): Initialize error member.  Call
34366         __nptl_setxid_error.
34367         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34368         * nptl/descr.h (struct xid_command): Add error member.
34369         * nptl/tst-setuid3.c: New file.
34370         * nptl/Makefile (tests): Add it.
34372 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34374         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34375         New define.
34376         (__lll_trylock): Use __lll_base_trylock.
34377         (__lll_cond_trylock): Likewise.
34379 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34381         * nptl/pthread_create.c (start_thread): Use atomic_or and
34382         lll_futex_wake directly rather than lll_robust_dead.
34383         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34384         (lll_robust_dead): Macro removed.
34385         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34386         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34387         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34388         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34389         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34390         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34391         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34392         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34393         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34394         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34395         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34396         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34397         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34398         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34401         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34402         Use atomic_compare_and_exchange_val_acq directly rather than
34403         lll_robust_trylock.
34404         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34405         (__lll_robust_trylock, lll_robust_trylock): Removed.
34406         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34407         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34408         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34410         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34411         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34412         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34413         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34414         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34415         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34416         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34417         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34418         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34419         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34421 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34423         * manual/locale.texi (Locale Names): New section documenting
34424         locale name syntax.  Adjust menu and node chaining accordingly.
34425         (Choosing Locale): Reference Locale Names, Locale Categories.
34426         Mention setting LC_ALL=C.  Reflect that name syntax is now
34427         documented.
34428         (Locale Categories): New section title.  Reference Locale Names.
34429         LC_ALL is an environment variable, but not a category.
34430         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34431         description, now in Locale Name.  Reference that section.  Locale
34432         name syntax is now documented.
34434 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34436         [BZ #17137]
34437         * locale/findlocale.c (name_present, valid_locale_name): New
34438         functions.
34439         (_nl_find_locale): Use the loc_name variable to store name
34440         candidates.  Call name_present and valid_locale_name to check and
34441         validate locale names.  Return an error if the locale is invalid.
34443 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34445         * locale/setlocale.c (setlocale): Use strdup for allocating
34446         composite name copy.
34448 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34450         Sync up with gnulib.
34451         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34452         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34453         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34454         and _GL_ARG_NONNULL.
34455         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34456         [!_LIBC]: Include code for Windows and Cygwin.
34457         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34458         Include prototype for int strerror_r.
34459         [!_LIBC] (is_open): New function.
34460         (flush_stdout): New function.
34461         (print_errno_message): Use it.
34462         (error): Likewise.
34463         (error_at_line): Likewise.
34464         (error_tail) Add function attribute macros.  Use
34465         __builtin_expect.
34467         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34469         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34471         * io/ftw.c: Include sys/param.h unconditionally.
34473         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34475         [BZ #17125]
34476         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34477         libc_freeres_ptr.
34478         (freecache): New function to free CACHE on exit.
34480         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34481         initialization.
34483 2014-07-09  David S. Miller  <davem@davemloft.net>
34485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34487         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34488         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34489         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34490         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34491         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34492         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34493         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34494         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34495         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34496         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34497         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34498         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34499         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34501 2014-07-09  Andreas Schwab  <schwab@suse.de>
34503         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34504         output.
34505         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34506         (do_test): Likewise.
34508         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34510 2014-07-09  Will Newton  <will.newton@linaro.org>
34512         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34513         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34514         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34515         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34516         * sysdeps/hppa/start.S (_start): Likewise.
34518 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34520         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34522         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34523         defined.
34525 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34527         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34528         after checking that it is non-NULL.
34530         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34532 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34534         * sysdeps/powerpc/memmove.c: Remove file.
34535         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34536         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34537         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34538         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34539         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34540         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34541         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34542         string memmove instead of removed powerpc one.
34544         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34545         [weak_alias]: Fix compiler warning due trailing data.
34546         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34547         [weak_alias]: Likewise.
34548         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34549         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34552         (__libc_ifunc_impl_list): Add memmove functions.
34554 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34556         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34557         Remove code.
34558         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34559         Likewise.
34560         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34561         Likewise.
34562         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34563         Likewise.
34564         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34565         Likewise.
34566         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34567         Likewise.
34568         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34569         Likewise.
34570         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34571         Likewise.
34572         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34573         Likewise.
34574         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34575         Likewise.
34576         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34577         Likewise.
34578         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34579         Likewise.
34580         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34581         Likewise.
34582         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34583         Likewise.
34584         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34585         Likewise.
34586         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34587         Likewise.
34588         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34589         Likewise.
34591 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34593         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34594         to avoid alignment traps in non-cacheable memory.
34595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34598         multiarch objects.
34599         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34600         file: multiarch power7 memmove.
34601         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34602         multiarch default memmove.
34603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34604         multiarch memove for powerpc32/power4.
34606         * string/bcopy.c: Use full path to include memmove.c.
34607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34608         multiarch objects.
34609         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34610         bcopy for powerpc64.
34611         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34612         bcopy for powerpc64.
34613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34614         and memmove implementations.
34615         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34616         optimized multiarch memmove for POWER7/powerpc64.
34617         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34618         default multiarch memmove for powerpc64.
34619         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34620         multiarch for powerpc64.
34621         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34622         for POWER7/powerpc64.
34623         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34624         memmove for POWER7/powerpc64.
34626         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34627         glibc default one.
34629         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34630         __ELF_NATIVE_CLASS equal to 64.
34632 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34634         * sysdeps/nptl/lowlevellock.h: File removed.
34636         * NEWS: NPTL is no longer an add-on!
34637         * nptl/internaltypes.h: Moved ...
34638         * sysdeps/nptl/internaltypes.h: ... here.
34639         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34640         * sysdeps/nptl/fork.c: Likewise.
34641         * sysdeps/nptl/gai_misc.h: Likewise.
34642         * sysdeps/nptl/librt-cancellation.c: Likewise.
34643         * sysdeps/nptl/jmp-unwind.c: Likewise.
34644         * sysdeps/nptl/setxid.h: Likewise.
34645         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34646         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34647         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34648         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34649         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34650         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34651         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34652         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34653         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34654         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34655         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34656         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34657         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34658         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34659         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34660         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34661         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34662         * nptl/Makeconfig: Moved ...
34663         * sysdeps/nptl/Makeconfig: ... here.
34664         * nptl/configure: File removed.
34665         * nptl/ANNOUNCE: File removed.
34666         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34667         * sysdeps/unix/sysv/linux/configure: Regenerated.
34669         * nptl/Makefile (routines): Add libc_pthread_init,
34670         libc_multiple_threads, register-atfork and unregister-atfork.
34671         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34672         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34673         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34674         pthread-pi-defines.sym, structsem.sym.
34675         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34676         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34677         [$(subdir) = nptl] (tests): Add tst-setgetname.
34678         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34679         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34680         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34681         [!LIBC_SIGACTION]: Remove aliases.
34682         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34683         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34684         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34685         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34686         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34687         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34688         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34689         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34690         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34691         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34692         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34693         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34694         __libc_allocate_rtsig_private.
34695         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34696         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34697         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34698         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34699         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34700         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34701         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34702         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34703         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34704         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34705         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34706         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34707         * nptl/internaltypes.h: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34709         * sysdeps/nptl/jmp-unwind.c: ... here.
34710         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34711         * nptl/libc-lowlevellock.c: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34713         * nptl/libc_multiple_threads.c: ... here.
34714         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34715         * nptl/libc_pthread_init.c: ... here.
34716         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34717         * nptl/lowlevelbarrier.sym: ... here.
34718         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34719         * nptl/lowlevelcond.sym: ... here.
34720         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34721         * nptl/lowlevellock.c: ... here.
34722         * nptl/lowlevellock.h: Moved ...
34723         * sysdeps/nptl/lowlevellock.h: ... here.
34724         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34725         * nptl/lowlevelrobustlock.c: ... here.
34726         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34727         * nptl/lowlevelrobustlock.sym: ... here.
34728         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34729         * nptl/lowlevelrwlock.sym: ... here.
34730         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34731         * nptl/pt-fork.c: ... here.
34732         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34733         * nptl/pthread-pi-defines.sym: ... here.
34734         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34735         * nptl/pthread_attr_getaffinity.c: ... here.
34736         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34737         * nptl/pthread_attr_setaffinity.c: ... here.
34738         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34739         * nptl/pthread_mutex_cond_lock.c: ... here.
34740         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34741         Update #include.
34742         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34743         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34744         * nptl/pthread_once.c: ... here, replacing old file.
34745         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34746         * nptl/pthread_yield.c: ... here.
34747         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34748         * nptl/register-atfork.c: ... here.
34749         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34750         * nptl/sem_post.c: ... here.
34751         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34752         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34753         * nptl/sem_timedwait.c: ... here.
34754         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34755         * nptl/sem_trywait.c: ... here.
34756         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34757         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34758         * nptl/sem_wait.c: ... here.
34759         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34760         * nptl/structsem.sym: ... here.
34761         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34762         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34763         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34764         * nptl/unregister-atfork.c: ... here.
34765         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34766         * nptl/unwindbuf.sym: ... here.
34767         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34768         * sysdeps/nptl/fork.c: ... here.
34769         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34770         * sysdeps/nptl/fork.h: ... here.
34771         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34772         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34773         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34775         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34776         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34777         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34778         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34779         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34780         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34781         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34782         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34783         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34784         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34785         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34786         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34787         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34788         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34789         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34790         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34791         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34792         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34793         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34794         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34795         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34796         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34797         * sysdeps/unix/sysv/linux/raise.c: ... here.
34798         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34799         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34800         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34801         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34802         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34803         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34804         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34805         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34806         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34807         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34808         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34809         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34810         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34811         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34812         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34814 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34816         * sysdeps/generic/memcopy.h: Add comment for
34817         MEMCPY_OK_FOR_FWD_MEMMOVE.
34819 2014-07-04  Will Newton  <will.newton@linaro.org>
34821         * string/memchr.c: Merge from gnulib.
34822         [_LIBC]: Remove conditionals.
34823         (__ptr_t): Remove define.
34824         (LONG_MAX_32_BITS): Likewise.
34825         (LONG_MAX): Likewise.
34826         (MEMCHR): Use ANSI prototype and optimize algorithm.
34828         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34830 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34832         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34833         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34835         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34836         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34837         in a bare environment with no <stdlib.h> installed.
34838         * sysdeps/nptl/configure: Regenerated.
34840         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34842         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34843         AC_EGREP_CPP for kernel header checks, so they only succeed if
34844         including <linux/version.h> actually works right.
34845         * sysdeps/unix/sysv/linux/configure: Regenerated.
34847         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34848         value so it's not diagnosed as unused.
34850         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34851         thing) with "ifeq ($(subdir),rt)".
34853 2014-07-03  Richard Henderson  <rth@redhat.com>
34855         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34856         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34857         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34859         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34860         (math_force_eval): New.
34862         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34863         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34865         * sysdeps/alpha/fpu/s_round.c: Remove file.
34866         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34868         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34869         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34870         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34871         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34872         (_dl_start, print_statistics): Likewise.
34873         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34874         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34876         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34877         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34878         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34879         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34880         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34881         (HP_SMALL_TIMING_AVAIL): Define.
34882         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34883         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34884         (HP_SMALL_TIMING_AVAIL): Define.
34885         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34886         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34888         * sysdeps/aarch64/hp-timing.h: New file.
34890         * sysdeps/generic/hp-timing.h: Remove dead comment.
34891         * sysdeps/generic/hp-timing-common.h: New file.
34892         * sysdeps/alpha/hp-timing.h: Include it.
34893         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34894         * sysdeps/i386/i686/hp-timing.h: Likewise.
34895         * sysdeps/ia64/hp-timing.h: Likewise.
34896         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34897         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34898         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34899         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34900         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34901         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34902         (hp_timing_t): New.
34904         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34905         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34906         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34907         * elf/rtld.c (_dl_start_final): Likewise.
34908         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34909         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34910         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34911         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34912         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34914         (HP_TIMING_DIFF_INIT): Remove.
34915         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34917         (HP_TIMING_DIFF_INIT): Remove.
34918         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34919         * sysdeps/i386/i686/hp-timing.c: Remove file.
34920         * sysdeps/x86_64/hp-timing.c: Remove file.
34921         * sysdeps/ia64/hp-timing.c: Remove file.
34922         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34923         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34924         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34925         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34927         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34928         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34929         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34930         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34931         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34932         (HP_TIMING_ACCUM): Remove.
34933         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34935         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34937         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34938         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34939         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34940         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34942         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34943         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34944         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34946         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34948 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34950         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34952 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34954         Sync up with gettext.
34955         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34956         [_MSC_VER]: Include malloc.h
34957         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34958         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34959         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34960         TEMP_FAILURE_RETRY.  Cast return of alloca.
34961         [!_LIBC] Call gl_rwlock_init.
34962         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34964 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34966         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34967         before checking its value.
34969 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34971         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34973         * debug/memcpy_chk.c: Don't include pagecopy.h.
34974         * debug/mempcpy_chk.c: Likewise.
34975         * string/memcpy.c: Likewise.
34976         * string/memmove.c: Likewise.
34977         * sysdeps/powerpc/memmove.c: Likewise.
34978         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34979         definition of PAGE_COPY_FWD_MAYBE here...
34980         * sysdeps/generic/pagecopy.h: ... from here.
34981         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34983 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34984             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34986         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34988         optimizations.
34989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34990         (__libc_ifunc_impl_list): Likewise.
34991         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34992         multiarch strcat for PPC64.
34993         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34994         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34996 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34998         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35000 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35002         * intl/loadmsgcat.c: Remove declaration of
35003         get_sysdep_segment_value.
35004         (get_sysdep_segment_value): Use ISO C style.
35005         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35006         semicolon.  Fix typo and formatting in comment.
35007         (_nl_unload_domain): Use ISO C style.
35009         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35011 2014-07-02  Will Newton  <will.newton@linaro.org>
35013         * malloc/obstack.c: Merge from gnulib master.
35014         [HAVE_CONFIG_H]: Remove conditional code.
35015         [!_LIBC]: Include config.h.
35016         [!ELIDE_CODE]: Don't include inttypes.h, include
35017         stdint.h unconditionally.
35018         (print_and_abort): Mark as _Noreturn.
35019         (_obstack_allocated_p): Mark as __attribute_pure__.
35020         (obstack_free): Rename to __obstack_free.
35021         [!__attribute__]: Remove conditional code.
35022         * malloc/obstack.h: Merge from gnulib master.
35023         [__cplusplus]: Move conditional down.
35024         [!__attribute_pure__]: Define __attribute_pure__ here
35025         if it is not already defined.
35026         (_obstack_memory_used): Mark as __attribute_pure__.
35027         [!__obstack_free]: Define as obstack_free.
35028         [__GNUC__]: Remove check for ancient NeXT gcc.
35030 2014-07-02  Will Newton  <will.newton@linaro.org>
35031             Paul Eggert  <eggert@cs.ucla.edu>
35033         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35035 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35037         * resolv/gethnamaddr.c: Add comment warning that the file is
35038         not maintained.
35040 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35042         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35043         entries.
35045         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35046         entry for aio_cancel and aio_cancel64.
35047         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35048         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35049         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35050         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35051         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35052         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35053         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35054         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35055         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35056         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35057         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35058         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35059         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35061 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35063         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35064         * nptl/pthread_mutex_lock.c: Likewise.
35065         * nptl/pthread_mutex_timedlock.c: Likewise.
35066         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35068 2014-07-01  Richard henderson  <rth@redhat.com>
35070         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35071         (__isnan, __isnanl): Remove.
35072         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35074         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35076 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35078         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35080 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35082         * resolv/nss_dns/dns-host.c (getanswer_r)
35083         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35085 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35087         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35088         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35089         undefine.
35090         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35091         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35093 2014-07-01  Roland McGrath <roland@hack.frob.com>
35095         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35096         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35098         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35099         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35101         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35102         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35103         ... here.
35104         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35105         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35107         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35108         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35109         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35110         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35112         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35113         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35114         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35115         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35116         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35117         Moved ...
35118         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35119         ... here.
35120         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35121         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35122         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35123         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35124         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35125         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35127         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35128         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35129         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35130         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35131         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35132         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35133         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35134         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35135         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35136         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35137         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35138         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35139         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35140         ... here.
35141         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35142         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35143         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35144         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35145         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35146         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35147         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35148         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35150 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35152         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35153         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35154         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35155         Add sysdep.
35157 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35161 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35163         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35166         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35168         * sysdeps/arm/libm-test-ulps: Regenerated.
35170 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35171             Roland McGrath <roland@hack.frob.com>
35173         * test-skeleton.c (signal_handler): Kill the whole process group
35174         before killing the child individually.
35175         (main): Report any failure on `setpgid'.
35177 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35179         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35180         from _TLS_H to _ARM_NPTL_TLS_H.
35181         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35182         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35184 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35186         [BZ #16539]
35187         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35188         (__expm1l): Return argument unchanged when small but not
35189         subnormal.
35191         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35192         include macro name.
35193         (_FP_UNPACK_RAW_1_P): Likewise.
35194         (_FP_PACK_RAW_1): Likewise.
35195         (_FP_PACK_RAW_1_P): Likewise.
35196         (_FP_MUL_MEAT_1_wide): Likewise.
35197         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35198         (_FP_MUL_MEAT_1_hard): Likewise.
35199         (_FP_DIV_MEAT_1_imm): Likewise.
35200         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35201         (_FP_DIV_MEAT_1_udiv): Likewise.
35202         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35203         (_FP_UNPACK_RAW_2): Likewise.
35204         (_FP_UNPACK_RAW_2_P): Likewise.
35205         (_FP_PACK_RAW_2): Likewise.
35206         (_FP_PACK_RAW_2_P): Likewise.
35207         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35208         (_FP_MUL_MEAT_2_wide): Likewise.
35209         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35210         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35211         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35212         (_FP_MUL_MEAT_2_gmp): Likewise.
35213         (_FP_DIV_MEAT_2_udiv): Likewise.
35214         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35215         (_FP_FRAC_SRL_4): Likewise.
35216         (_FP_FRAC_SRST_4): Likewise.
35217         (_FP_FRAC_SRS_4): Likewise.
35218         (_FP_UNPACK_RAW_4): Likewise.
35219         (_FP_UNPACK_RAW_4_P): Likewise.
35220         (_FP_PACK_RAW_4): Likewise.
35221         (_FP_PACK_RAW_4_P): Likewise.
35222         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35223         (_FP_MUL_MEAT_4_wide): Likewise.
35224         (_FP_MUL_MEAT_4_gmp): Likewise.
35225         (umul_ppppmnnn): Likewise.
35226         (_FP_DIV_MEAT_4_udiv): Likewise.
35227         (__FP_FRAC_ADD_4): Likewise.
35228         (__FP_FRAC_SUB_3): Likewise.
35229         (__FP_FRAC_SUB_4): Likewise.
35230         (__FP_FRAC_DEC_3): Likewise.
35231         (__FP_FRAC_DEC_4): Likewise.
35232         (__FP_FRAC_ADDI_4): Likewise.
35233         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35234         (_FP_FRAC_SRL_8): Likewise.
35235         (_FP_FRAC_SRS_8): Likewise.
35237         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35238         include macro name.
35239         (FP_UNPACK_RAW_EP): Likewise.
35240         (FP_PACK_RAW_E): Likewise.
35241         (FP_PACK_RAW_EP): Likewise.
35242         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35243         (_FP_ISSIGNAN): Likewise.
35244         (_FP_ADD_INTERNAL): Likewise.
35245         (_FP_FMA): Likewise.
35246         (_FP_CMP): Likewise.
35247         (_FP_SQRT): Likewise.
35248         (_FP_TO_INT): Likewise.
35249         (_FP_FROM_INT): Likewise.
35250         (FP_EXTEND): Likewise.
35251         (_FP_DIV_MEAT_N_loop): Likewise.
35253 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35255         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35256         throughout.
35258 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35260         [BZ #17097]
35261         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35262         result with correct sign in case of exponents that produce
35263         overflow except for X very close to 1.
35265 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35267         mktime: merge #if/#ifdef usage from glibc
35268         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35269         as that works with both Glibc's and Gnulib's style.
35270         See thread starting at Siddhesh Poyarekar's bug report at:
35271         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35273 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35275         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35276         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35277         * sysdeps/tile/tilegx/memmove.c: Remove file.
35279 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35281         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35282         abi-name definition.
35283         * scripts/soversions.awk: Do not handle or generate ABI lines.
35284         * shlib-versions: Remove ABI entries.
35285         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35286         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35288 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35291         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35292         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35293         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35295         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35297         Moved ...
35298         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35299         ... here.
35300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35301         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35303         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35305         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35307         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35309         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35311         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35313         Moved ...
35314         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35320         Moved ...
35321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35323         Moved ...
35324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35328         Moved ...
35329         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35331         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35333         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35335         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35337         Moved ...
35338         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35340         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35341         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35342         Moved ...
35343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35344         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35345         Moved ...
35346         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35348         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35350         Moved ...
35351         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35352         ... here.
35353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35354         Identical file removed.
35355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35356         Moved ...
35357         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35359         Identical file removed.
35360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35361         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35363         Moved ...
35364         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35366         Identical file removed.
35367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35368         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35370         Identical file removed.
35371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35373         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35374         Identical file removed.
35375         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35376         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35378         Identical file removed.
35379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35380         Moved ...
35381         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35383         Identical file removed.
35384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35385         Moved ...
35386         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35387         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35388         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35390         Identical file removed.
35391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35392         Moved ...
35393         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35394         ... here.
35395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35396         Identical file removed.
35397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35398         Moved ...
35399         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35401         Identical file removed.
35402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35403         Moved ...
35404         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35406         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35408         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35410         Moved ...
35411         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35412         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35413         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35415         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35416         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35417         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35418         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35419         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35421 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35423         [BZ #17092]
35424         * nscd/nscd.c (monitor_child): Return exit status of child
35425         instead of return value from wait syscall.
35427 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35429         * configure.ac (libc_commonpagesize): Remove variable.
35430         (libc_relro_required): Likewise.
35431         (libc_cv_z_relro): Remove configure test.
35432         * configure: Regenerated.
35433         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35434         variable.
35435         (libc_relro_required): Likewise.
35436         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35437         (libc_relro_required): Likewise.
35438         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35439         (libc_relro_required): Likewise.
35440         * sysdeps/arm/preconfigure: Regenerated.
35441         * sysdeps/ia64/preconfigure: Remove file.
35442         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35443         variable.
35444         (libc_relro_required): Likewise.
35446         [BZ #16561]
35447         [BZ #16562]
35448         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35449         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35450         recompute overflowing results in original rounding mode.
35451         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35452         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35453         recompute overflowing results in original rounding mode.
35454         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35455         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35456         recompute overflowing results in original rounding mode.
35457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35458         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35459         recompute overflowing results in original rounding mode.
35460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35461         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35462         recompute overflowing results in original rounding mode.
35463         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35464         (libc_feholdsetround_ctx): New macro.
35465         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35466         * sysdeps/i386/fpu/libm-test-ulps: Update.
35467         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35469 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35471         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35472         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35473         corresponding .cpsetup call.
35475 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35477         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35478         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35479         * sysdeps/arm/Makefile [$(subdir) = csu]
35480         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35481         (static-only-routines): Add aeabi_read_tp here.
35482         (shared-only-routines): Add libc-aeabi_read_tp here.
35483         (CFLAGS-libc-start.c): Add -fexceptions here.
35484         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35485         (sysdep_routines, static-only-routines, shared-only-routines):
35486         Don't add to these here.
35487         (CFLAGS-libc-start.c): Likewise.
35489         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35490         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35491         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35492         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35493         * sysdeps/arm/Makefile [$(subdir) = rt]
35494         (librt-sysdep_routines, librt-shared-only-routines):
35495         Append rt-aeabi_unwind_cpp_pr1 here.
35496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35497         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35498         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35499         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35500         Append nptl-aeabi_unwind_cpp_pr1 here.
35501         (tests): Filter out tst-cleanupx4 here.
35502         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35503         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35504         Don't do those here.
35506 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35508         * scripts/list-sources.sh: Do not handle ports specially.
35510 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35512         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35513         * sysdeps/arm/feupdateenv.c: Likewise.
35515         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35517 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35519         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35520         trailing whitespace removed.
35521         * scripts/config.guess: Update to version 2014-03-23.
35522         * scripts/config.sub: Update to version 2014-05-01
35523         * scripts/install-sh: Update to version 2013-12-25.23.
35524         * scripts/move-if-change: Update from gnulib.
35526 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35528         * debug/memmove_chk.c: Remove pagecopy.h include.
35530 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35532         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35533         identical to gnulib mktime.
35535 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35537         * configure.ac: Do not test for machine being rs6000.  Do not test
35538         for powerpc*-*soft.
35539         * configure: Regenerated.
35541         [BZ #11505]
35542         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35543         test.
35544         * configure: Regenerated.
35545         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35546         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35547         Remove configure test.
35548         * sysdeps/arm/configure: Regenerated.
35549         * sysdeps/nptl/configure.ac: Do not check
35550         libc_cv_asm_cfi_directives.
35551         * sysdeps/nptl/configure: Regenerated.
35552         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35553         * sysdeps/x86_64/nptl/configure: Remove generated file.
35554         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35555         unconditional.
35556         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35558 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35560         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35561         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35562         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35563         it is defined.
35565         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35566         instead of whether it is defined.
35567         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35568         * sysdeps/hppa/dl-machine.h: Likewise.
35569         * sysdeps/ia64/dl-machine.h: Likewise.
35570         * sysdeps/m68k/dl-machine.h: Likewise.
35571         * sysdeps/microblaze/dl-machine.h: Likewise.
35572         * sysdeps/mips/dl-machine.: Likewise.
35573         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35574         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35575         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35576         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35577         * sysdeps/sh/dl-machine.h: Likewise.
35578         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35579         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35580         * sysdeps/tile/dl-machine.h: Likewise.
35581         * sysdeps/x86_64/dl-machine.h: Likewise.
35583         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35584         code.
35585         (verify_persistent_db): Likewise.
35587 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35590         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35592         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35594         Moved ...
35595         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35596         ... here.
35597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35598         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35600         Identical file removed.
35601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35602         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35606         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35608         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35610         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35612         Moved ...
35613         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35615         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35619         Moved ...
35620         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35622         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35624         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35626         Identical file removed.
35627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35628         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35630         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35632         Moved ...
35633         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35634         ... here.
35635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35636         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35638         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35640         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35642         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35644         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35646         Moved ...
35647         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35649         Moved ...
35650         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35654         Moved ...
35655         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35657         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35659         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35660         folded into ...
35661         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35662         * sysdeps/unix/sysv/linux/s390/Versions
35663         (libpthread: GLIBC_2.19): New version set.
35664         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35665         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35666         (librt: GLIBC_2.3.3): New version set.
35667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35668         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35669         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35670         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35671         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35672         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35673         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35674         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35675         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35676         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35677         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35679         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35680         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35681         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35682         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35683         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35684         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35685         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35687         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35689         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35691         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35692         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35693         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35694         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35695         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35696         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35697         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35705         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35707         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35709         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35711         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35713         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35714         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35715         (__libc_vfork): Define the function under this name.
35716         [!NOT_IN_libc] (__vfork): Make this an alias.
35717         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35719         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35720         (__libc_vfork): Define the function under this name.
35721         [!NOT_IN_libc] (__vfork): Make this an alias.
35722         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35723         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35724         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35726         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35727         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35729         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35730         code that was previously under [RESET_PID].
35731         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35735         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35736         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35737         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35738         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35739         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35740         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35741         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35742         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35743         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35744         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35745         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35746         Moved ...
35747         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35748         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35749         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35750         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35751         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35752         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35753         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35754         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35755         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35756         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35757         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35758         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35759         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35760         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35761         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35762         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35763         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35765         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35766         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35767         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35768         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35769         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35770         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35771         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35772         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35773         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35774         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35775         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35777 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35779         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35780         that was previously under [RESET_PID].
35781         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35783 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35785         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35786         not undefine and redefine.
35787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35788         [O_CLOEXEC]: Make code unconditional.
35789         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35790         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35791         <kernel-features.h>.
35792         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35793         conditional variable definition.
35794         (shm_open) [O_CLOEXEC]: Make code unconditional.
35795         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35796         code.
35798         * configure.ac (USE_REGPARMS): Don't define here.
35799         * configure: Regenerated.
35800         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35801         * sysdeps/i386/configure: Regenerated.
35803         * nptl/createthread.c: Don't include kernel-features.h.
35804         * nptl/pthread_cancel.c: Likewise.
35805         * nptl/pthread_condattr_setclock.c: Likewise.
35806         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35807         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35808         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35809         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35810         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35811         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35812         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35815         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35816         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35817         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35818         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35819         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35820         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35821         * nscd/gai.c: Likewise.
35822         * nss/nss_db/db-open.c: Likewise.
35823         * sysdeps/generic/ldsodefs.h: Likewise.
35824         * sysdeps/sh/nptl/tls.h: Likewise.
35825         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35826         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35827         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35828         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35829         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35830         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35831         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35832         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35833         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35834         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35835         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35836         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35837         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35838         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35839         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35840         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35841         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35842         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35843         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35844         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35847         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35848         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35853         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35854         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35855         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35856         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35857         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35858         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35859         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35860         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35861         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35862         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35863         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35864         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35865         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35866         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35867         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35868         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35869         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35870         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35871         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35872         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35873         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35874         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35875         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35876         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35877         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35878         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35879         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35880         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35881         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35882         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35905         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35906         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35907         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35908         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35909         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35910         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35911         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35912         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35913         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35914         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35915         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35916         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35917         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35918         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35919         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35920         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35921         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35922         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35923         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35924         * sysdeps/unix/sysv/linux/system.c: Likewise.
35925         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35926         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35927         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35928         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35929         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35930         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35931         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35933         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35934         * configure: Regenerated.
35935         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35937         * configure.ac (base_machine): Do not set specially for particular
35938         machines here.
35939         * configure: Regenerated.
35940         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35941         settings from configure.ac.
35942         * sysdeps/i386/preconfigure: New file.
35943         * sysdeps/s390/preconfigure: Likewise.
35944         * sysdeps/sh/preconfigure: Likewise.
35945         * sysdeps/sparc/preconfigure: Likewise.
35947 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35949         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35950         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35951         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35952         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35953         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35954         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35955         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35956         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35957         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35958         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35959         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35960         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35961         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35962         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35963         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35964         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35966         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35967         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35969         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35970         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35971         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35972         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35973         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35974         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35975         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35976         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35977         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35978         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35979         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35980         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35981         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35982         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35983         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35984         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35985         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35986         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35987         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35988         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35990         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35993         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35994         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35995         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35996         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35997         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35998         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35999         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36000         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36001         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36002         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36003         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36004         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36005         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36006         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36009         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36011         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36013         Moved ...
36014         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36015         ... here.
36016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36017         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36019         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36021         Moved ...
36022         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36024         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36028         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36030         Moved ...
36031         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36033         Moved ...
36034         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36036         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36038         Moved ...
36039         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36041         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36043         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36045         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36047         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36049         Moved ...
36050         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36051         ... here.
36052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36053         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36055         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36057         Moved ...
36058         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36060         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36062         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36064         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36066         Moved ...
36067         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36069         Moved ...
36070         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36072         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36074         Moved ...
36075         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36077         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36079         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36081 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36083         * timezone/checktab.awk: Update from tzcode 2014e.
36084         * timezone/private.h: Likewise.
36085         * timezone/tzfile.h: Likewise.
36086         * timezone/zdump.c: Likewise.
36087         * timezone/zic.c: Likewise.
36089         * sysdeps/unix/sysv/linux/kernel-features.h
36090         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36091         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36092         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36093         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36094         Remove conditional code.
36096 2014-06-25  Will Newton  <will.newton@linaro.org>
36098         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36099         (_dl_arm_cap_flags): Add HWCAP2 values.
36100         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36101         (_DL_HWCAP_COUNT): Increase to 37.
36102         (_DL_HWCAP_LAST): New define.
36103         (_DL_HWCAP2_LAST): New define.
36104         (_dl_procinfo): Add support for printing
36105         AT_HWCAP2 entries.
36106         (_dl_string_hwcap): Use _dl_hwcap_string.
36108 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36112 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36114         * README: Do not mention ports directory.
36116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36117         Remove macro.
36118         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36119         <kernel-features.h>.
36120         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36121         conditional variable definition.
36122         (__futimes): Update comment.
36123         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36124         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36126         [BZ #16560]
36127         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36128         arguments close to 0.
36129         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36130         Likewise.
36131         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36132         Likewise.
36133         * math/auto-libm-test-in: Add more tests of exp10.
36134         * math/auto-libm-test-out: Regenerated.
36135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36137         * sysdeps/unix/sysv/linux/kernel-features.h
36138         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36139         * sysdeps/unix/sysv/linux/readv.c: Do not include
36140         <kernel-features.h>.
36141         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36142         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36143         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36144         unconditional.
36145         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36146         conditional code.
36147         * sysdeps/unix/sysv/linux/writev.c: Do not include
36148         <kernel-features.h>.
36149         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36150         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36151         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36152         unconditional.
36153         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36154         conditional code.
36156 2014-06-25  Will Newton  <will.newton@linaro.org>
36158         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36159         comment changes throughout the file.  Remove checks
36160         for HAVE_*_H definitions that are not required.
36161         (__gen_tempname): Call abort if an unknown kind value is
36162         passed.
36164 2014-06-25  Andreas Schwab  <schwab@suse.de>
36166         [BZ #17086]
36167         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36168         scalbln, scalblnf, scalblnl in libc.
36170 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36172         [BZ #17086]
36173         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36174         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36175         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36177 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36179         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36180         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36181         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36182         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36183         Update #include.
36184         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36185         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36186         Update #include.
36187         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36188         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36189         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36190         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36191         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36192         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36193         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36194         * sysdeps/x86/bits/semaphore.h: ... here.
36195         * sysdeps/x86/nptl/elide.h: Moved ...
36196         * sysdeps/x86/elide.h: ... here.
36197         * sysdeps/x86_64/nptl/Implies: File removed.
36198         * sysdeps/i386/nptl/Implies: File removed.
36200 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36202         [BZ #16539]
36203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36204         return the argument for normal arguments with exponent below -64.
36205         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36206         Likewise.
36207         * math/auto-libm-test-in: Add another test of expm1.
36208         * math/auto-libm-test-out: Regenerated.
36210         [BZ #16287]
36211         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36212         calling __erfcl for arguments at least 16.
36213         * math/auto-libm-test-in: Add more tests of erf.
36214         * math/auto-libm-test-out: Regenerated.
36216         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36217         individual architectures.
36218         * sysdeps/unix/sysv/linux/configure: Regenerated.
36219         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36220         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36221         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36222         (ldd_rewrite_script): Define variable.
36223         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36225         file.
36226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36227         generated file.
36228         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36229         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36230         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36231         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36232         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36233         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36234         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36235         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36237 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36239         [BZ #17084]
36240         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36241         Rename member __data.d to __data.__elision_data.
36243 2014-06-24  Wilco  <wdijkstr@arm.com>
36245         * NEWS: Add 16918 to fixed bug list.
36247 2014-06-24  Wilco  <wdijkstr@arm.com>
36249         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36251 2014-06-24  Wilco  <wdijkstr@arm.com>
36253         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36254         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36255         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36256         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36257         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36258         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36259         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36260         Use _FPU_MASK_RM.
36262 2014-06-24  Wilco  <wdijkstr@arm.com>
36264         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36266 2014-06-24  Wilco  <wdijkstr@arm.com>
36268         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36269         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36270         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36271         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36273 2014-06-24  Wilco  <wdijkstr@arm.com>
36275         [BZ #16918]
36276         * sysdeps/arm/feupdateenv.c (feupdateenv):
36277         Rewrite to reduce FPSCR accesses and fix return value.
36279 2014-06-24  Wilco  <wdijkstr@arm.com>
36281         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36282         Optimize to avoid unnecessary FPSCR writes.
36283         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36284         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36285         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36286         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36288 2014-06-24  Wilco  <wdijkstr@arm.com>
36290         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36291         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36292         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36293         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36294         Call libc_fetestexcept_vfp.
36295         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36296         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36297         __SOFTFP__ ifdef so that they can be built for softfp.
36299 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36301         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36302         argument type signed char.
36304         * Makerules (check-abi): Dump diff of symlist if the test
36305         fails.
36307 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36309         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36310         using abort.
36312         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36313         Remove unused variable ST.
36315 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36317         [BZ #16354]
36318         [BZ #17061]
36319         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36320         small arguments before calling __expm1.
36321         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36322         small arguments before calling __expm1f.
36323         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36324         small arguments before calling __expm1l.
36325         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36326         Likewise.
36327         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36328         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36329         spurious underflow for some cosh tests.
36330         * math/auto-libm-test-out: Regenerated.
36331         * sysdeps/i386/fpu/libm-test-ulps: Update.
36333         [BZ #17050]
36334         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36335         (__ieee754_y1): Set errno if return value overflows.
36336         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36337         (__ieee754_y1f): Set errno if return value overflows.
36338         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36339         (__ieee754_y1l): Set errno if return value overflows.
36340         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36341         (__ieee754_y1l): Set errno if return value overflows.
36342         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36343         * math/auto-libm-test-out: Regenerated.
36345         * math/gen-auto-libm-tests.c: Document use of
36346         ignore-zero-inf-sign.
36347         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36348         (input_flags): Add ignore-zero-inf-sign.
36349         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36350         * math/gen-libm-test.pl (generate_testfile): Handle
36351         ignore-zero-inf-sign.
36352         * math/auto-libm-test-in: Mark some cpow tests with
36353         ignore-zero-inf-sign and some with xfail-rounding.
36354         * math/auto-libm-test-out: Regenerated.
36355         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36356         * sysdeps/i386/fpu/libm-test-ulps: Update.
36357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36359         [BZ #16315]
36360         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36361         overflowing or underflowing operations take place with sign of
36362         result.
36363         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36364         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36365         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36366         (__ieee754_pow): Recompute overflowing and underflowing results in
36367         original rounding mode.
36368         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36369         (__powl_helper): Allow negative argument X and scale negated value
36370         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36371         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36372         overflowing or underflowing operations take place with sign of
36373         result.
36374         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36375         Include <math.h>.
36376         * math/auto-libm-test-in: Add more tests of pow.
36377         * math/auto-libm-test-out: Regenerated.
36378         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36379         (pow_tonearest_test_data): Remove.
36380         (pow_test_tonearest): Likewise.
36381         (pow_towardzero_test_data): Likewise.
36382         (pow_test_towardzero): Likewise.
36383         (pow_downward_test_data): Likewise.
36384         (pow_test_downward): Likewise.
36385         (pow_upward_test_data): Likewise.
36386         (pow_test_upward): Likewise.
36387         (main): Don't call removed functions.
36388         * sysdeps/i386/fpu/libm-test-ulps: Update.
36389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36391 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36394         Moved ...
36395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36397         Moved ...
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36400         Moved ...
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36403         Moved ...
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36406         File removed.
36407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36408         File removed.
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36410         File removed.
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36412         File removed.
36413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36414         File removed.
36415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36416         File removed.
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36418         File removed.
36419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36420         File removed.
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36422         File removed.
36423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36424         File removed.
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36426         File removed.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36428         File removed.
36429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36430         Moved ...
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36433         Moved ...
36434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36435         ... here.
36436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36437         Moved ...
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36440         Moved ...
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36443         Moved ...
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36446         Moved ...
36447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36449         Moved ...
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36452         Moved ...
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36455         Moved ...
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36459         ... here.
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36461         Moved ...
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36464         Moved ...
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36466         ... here.
36467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36468         Moved ...
36469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36470         ... here.
36471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36472         Moved ...
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36474         ... here.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36476         Moved ...
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36479         Moved ...
36480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36484         Moved ...
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36486         ... here.
36487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36488         Moved ...
36489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36490         ... here.
36491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36492         Moved ...
36493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36495         Moved ...
36496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36498         Moved ...
36499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36501         Moved ...
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36504         Moved ...
36505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36506         ... here.
36507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36508         Moved ...
36509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36511         Moved ...
36512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36514         Moved ...
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36517         Moved ...
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36522         Moved ...
36523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36525         Moved ...
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36528         Moved ...
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36530         ... here.
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36532         Moved ...
36533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36534         ... here.
36535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36536         Moved ...
36537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36538         ... here.
36539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36540         Moved ...
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36543         Moved ...
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36546         Moved ...
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36549         Moved ...
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36551         ... here.
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36553         Moved ...
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36555         ... here.
36556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36557         Moved ...
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36559         ... here.
36560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36561         Moved ...
36562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36564         Moved ...
36565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36567 2014-06-23  Will Newton  <will.newton@linaro.org>
36568             Wilco  <wdijkstr@arm.com>
36570         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36571         implementation.  Include get-rounding-mode.h.
36572         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36573         [!libc_feholdsetround_noex_ctx]: Define
36574         libc_feholdsetround_noex_ctx.
36575         [!libc_feholdsetround_noexf_ctx]: Define
36576         libc_feholdsetround_noexf_ctx.
36577         [!libc_feholdsetround_noexl_ctx]: Define
36578         libc_feholdsetround_noexl_ctx.
36579         (libc_feholdsetround_ctx): New function.
36580         (libc_feresetround_ctx): New function.
36581         (libc_feholdsetround_noex_ctx): New function.
36582         (libc_feresetround_noex_ctx): New function.
36584 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36586         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36587         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36588         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36589         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36590         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36591         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36593         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36594         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36595         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36596         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36597         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36598         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36600         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36602         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36604         Moved ...
36605         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36606         ... here.
36607         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36608         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36610         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36612         Moved ...
36613         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36615         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36617         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36619         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36621         Moved ...
36622         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36624         Moved ...
36625         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36627         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36629         Moved ...
36630         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36631         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36632         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36633         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36634         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36635         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36636         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36638         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36640         Moved ...
36641         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36642         ... here.
36643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36644         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36646         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36648         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36650         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36652         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36654         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36656         Moved ...
36657         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36659         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36661         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36662         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36663         Moved ...
36664         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36666         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36667         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36668         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36670         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36671         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36673         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36674         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36675         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36676         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36677         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36679         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36680         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36681         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36682         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36683         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36684         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36685         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36686         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36687         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36688         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36689         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36690         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36691         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36692         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36693         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36694         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36695         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36696         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36697         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36699 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36702         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36703         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36704         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36705         (IPV6_PMTUDISC_INTERFACE): Likewise.
36706         (IPV6_PMTUDISC_OMIT): Likewise.
36708 2014-06-23  Andreas Schwab  <schwab@suse.de>
36710         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36711         Remove unused errout label.
36713 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36715         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36716         macro: hardware supports Vector Crypto instructions.
36718 2014-06-23  Will Newton  <will.newton@linaro.org>
36720         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36721         rather than __builtin_expect.
36723         * elf/dl-lookup.c (undefined_msg): Remove variable.
36724         (_dl_lookup_symbol_x): Replace undefined_msg with string
36725         literal.
36727         * elf/dl-lookup.c (do_lookup_unique): New function.
36728         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36729         to a separate function.
36731 2014-06-23  Andreas Schwab  <schwab@suse.de>
36733         [BZ #17079]
36734         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36735         before reading the next line.
36737 2014-06-23  Will Newton  <will.newton@linaro.org>
36739         * test-skeleton.c (signal_handler): Use printf and %m
36740         rather than perror.  Use printf rather than fprintf to
36741         stderr.  Use puts rather than fputs to stderr.
36742         (main): Likewise.
36744 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36746         * nscd/nscd.c (thread_info_t): Remove typedef.
36747         (thread_info): Remove variable.
36749 2014-06-21  Allan McRae  <allan@archlinux.org>
36751         * NEWS: Mention CVE-2014-4043.
36753 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36755         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36756         * nptl/smp.h: ... here.
36758         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36760         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36761         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36762         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36763         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36765         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36766         * nptl/stack-aliasing.h: New file.
36767         * sysdeps/i386/i686/stack-aliasing.h: New file.
36768         * sysdeps/i386/i686/nptl/Makefile: File removed.
36769         * sysdeps/x86_64/stack-aliasing.h: New file.
36770         * sysdeps/x86_64/nptl/Makefile
36771         (CFLAGS-pthread_create.c): Variable removed.
36773         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36774         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36775         old file.
36776         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36777         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36778         old file.
36780 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36782         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36783         (__ASSUME_SIGFRAME_V2): Remove macro.
36784         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36785         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36786         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36787         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36788         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36789         Declare as function.  Remove conditional macro definitions.
36790         (__default_rt_sa_restorer): Likewise.
36791         (__default_sa_restorer_v1): Remove declaration.
36792         (__default_sa_restorer_v2): Likewise.
36793         (__default_rt_sa_restorer_v1): Likewise.
36794         (__default_rt_sa_restorer_v2): Likewise.
36795         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36796         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36797         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36799 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36801         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36802         (libpthread-routines): Add sysdep.
36803         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36804         * sysdeps/unix/sysv/linux/sparc/Versions
36805         (libpthread: GLIBC_2.3.3): New version set.
36806         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36807         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36808         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36809         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36810         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36811         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36812         Moved ...
36813         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36814         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36815         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36816         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36817         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36818         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36819         * sysdeps/sparc/nptl/sem_init.c: ... here.
36820         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36821         * sysdeps/sparc/nptl/sem_post.c: ... here.
36822         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36823         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36824         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36825         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36826         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36827         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36828         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36829         (libpthread-routines): Add cpu_relax.
36830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36831         File removed.
36832         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36833         (librt: GLIBC_2.3.3): New version set.
36834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36835         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36836         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36837         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36840         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36842         Moved ...
36843         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36845         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36847         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36849         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36851         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36853         Moved ...
36854         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36855         Update #include.
36856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36857         Moved ...
36858         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36859         Update #include.
36860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36861         Moved ...
36862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36863         Update #include.
36864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36865         Moved ...
36866         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36867         Update #include.
36868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36869         Moved ...
36870         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36871         Update #include.
36872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36873         Moved ...
36874         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36875         Update #include.
36876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36877         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36887         Moved ...
36888         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36890         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36892         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36894 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36896         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36897         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36898         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36899         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36900         * nscd/nscd.c: Likewise.
36901         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36902         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36903         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36904         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36906         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36907         <kernel-features.h>.
36908         (init_mq_netlink): Remove conditional have_sock_cloexec
36909         definitions.  Remove code conditional on have_sock_cloexec < 0.
36910         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36911         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36912         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36913         <kernel-features.h>.
36914         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36915         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36917 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36920         Add tests for memset_chk and memset.
36922         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36923         with AVX2_Usable.
36925 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36927         [BZ #16046]
36928         * elf/tst-dl-iter-static.c: New file.
36929         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36931         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36932         error.
36934 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36936         * sysdeps/unix/sysv/linux/kernel-features.h
36937         (__ASSUME_F_GETOWN_EX): Remove macro.
36938         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36939         <kernel-features.h>.
36940         (miss_F_GETOWN_EX): Remove variable or macro.
36941         (do_fcntl): Do not check miss_F_GETOWN_EX.
36942         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36945         Remove macro.
36946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36947         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36948         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36950         * sysdeps/unix/sysv/linux/kernel-features.h
36951         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36952         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36953         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36954         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36956 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36958         [BZ #17075]
36959         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36960         Fix calculation of the symbol's value.
36961         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36962         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36963         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36964         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36965         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36966         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36967         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36968         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36969         (modules-names): Add `tst-armtlsdescmod',
36970         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36971         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36972         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36973         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36974         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36975         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36976         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36977         ($(objpfx)tst-armtlsdescloc): New dependency.
36978         ($(objpfx)tst-armtlsdescextnow): Likewise.
36979         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36980         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36981         TLS scheme support.
36982         * sysdeps/arm/configure: Regenerate.
36984 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36986         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36987         (__atfct_seterrno_2): Likewise.
36988         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36989         <kernel-features.h>.
36990         (__ASSUME_ATFCTS): Do not undefine and redefine.
36991         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36992         (__have_atfcts): Remove conditional definition.
36993         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36994         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36995         unreachable if [__ASSUME_ATFCTS].
36996         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36997         not undefine and redefine.
36998         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36999         <kernel-features.h>.
37000         (faccessat) [__NR_faccessat]: Make code unconditional.
37001         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37002         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37003         <kernel-features.h>.
37004         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37005         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37006         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37007         <kernel-features.h>.
37008         (fchownat) [__NR_fchownat]: Make code unconditional.
37009         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37010         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37011         <kernel-features.h>.
37012         (futimesat) [__NR_futimesat]: Make code unconditional.
37013         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37014         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37015         <kernel-features.h>.
37016         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37017         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37018         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37019         <kernel-features.h>.
37020         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37021         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37022         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37023         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37024         <kernel-features.h>.
37025         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37026         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37027         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37028         <kernel-features.h>.
37029         (linkat) [__NR_linkat]: Make code unconditional.
37030         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37031         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37032         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37033         <kernel-features.h>.
37034         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37035         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37036         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37037         <kernel-features.h>.
37038         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37039         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37040         * sysdeps/unix/sysv/linux/openat.c: Do not include
37041         <kernel-features.h>.
37042         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37043         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37044         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37045         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37046         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37047         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37048         <kernel-features.h>.
37049         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37050         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37051         result of INLINE_SYSCALL directly, not via int variable.
37052         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37053         <kernel-features.h>.
37054         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37055         (renameat) [__NR_renameat]: Make code unconditional.
37056         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37057         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37058         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37059         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37060         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37061         (__ASSUME_ATFCTS): Do not undefine and redefine.
37062         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37063         <kernel-features.h>.
37064         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37065         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37066         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37067         <kernel-features.h>.
37068         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37069         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37070         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37071         (__ASSUME_ATFCTS): Do not undefine and redefine.
37072         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37073         <kernel-features.h>.
37074         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37075         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37076         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37077         <kernel-features.h>.
37078         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37079         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37081 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37083         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37085 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37087         [BZ #17069]
37088         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37089         constructed tree before returning error.
37090         * posix/bug-regexp36.c: Expand test case.
37092 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37094         [BZ #6803]
37095         * math/libm-test.inc (scalbln_test_date):
37096         Add errno expectations.
37097         * math/w_scalblnf.c: New File.
37098         Add wrapper which checks for setting errno to ERANGE.
37099         Add weak_alias for corresponding scalbln function.
37100         * math/w_scalbln.c: Likewise.
37101         * math/w_scalblnl.c: Likewise.
37102         * math/Makefile (libm-calls): Add w_scalbln.
37103         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37104         Remove weak_alias for corresponding scalbln function.
37105         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37108         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37109         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37110         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37111         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37112         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37113         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37114         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37115         Remove long_double_symbol for scalblnl function in libm, libc.
37116         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37117         Add wrapper which checks for setting errno to ERANGE.
37118         Add long_double_symbol for scalblnl function in libm, libc.
37119         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37120         Remove long_double_symbol for scalblnl in libm.
37121         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37122         Add wrapper which checks for setting errno to ERANGE.
37123         Add long_double_symbol for scalblnl function in libm.
37124         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37125         Do not use wrapper because of own implementation.
37127 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37129         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37130         3 bytes for __pad1 for x32.
37131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37133 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37134             H.J. Lu  <hongjiu.lu@intel.com>
37136         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37137         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37138         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37139         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37140         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37142 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37144         [BZ #17069]
37145         * posix/regcomp.c (parse_expression): Deallocate partially
37146         constructed tree before returning error.
37147         * posix/Makefile.c (tests): Add bug-regex36.
37148         (generated): Add bug-regex36.mtrace.
37149         (tests-special): Add $(objpfx)bug-regex36-mem.out
37150         (bug-regex36-ENV): New variable.
37151         ($(objpfx)bug-regex36-mem.out): New rule.
37152         * posix/bug-regex36.c: New file.
37154 2014-06-19  Will Newton  <will.newton@linaro.org>
37156         * malloc/malloc.c (systrim): If extra is zero then return
37157         early.
37159 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37161         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37163 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37165         * sysdeps/aarch64/strchr.S: New file.
37167 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37169         [BZ #17022]
37170         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37171         from arguments -2 or below.
37172         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37173         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37175 2014-06-18  Andreas Schwab  <schwab@suse.de>
37177         [BZ #17062]
37178         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37179         of a bracket expr not to run off the end of the string.
37180         * posix/Makefile (tests): Add tst-fnmatch3.
37181         * posix/tst-fnmatch3.c: New file.
37183 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37185         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37186         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37187         [$(cross-compiling) = no]: Likewise.
37188         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37189         [$(cross-compiling) = no]: Likewise.
37191 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37193         [BZ #17031]
37194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37195         double, adjusted for any remainder from the high double.
37196         * math/libm-test.inc (nearbyint): Add tests.
37197         (rint): Likewise.
37199 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37201         * nptl/sysdeps/powerpc/Makefile: Moved ...
37202         * sysdeps/powerpc/nptl/Makefile: ... here.
37203         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37204         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37205         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37206         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37207         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37208         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37209         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37210         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37211         * nptl/sysdeps/powerpc/tls.h: Moved ...
37212         * sysdeps/powerpc/nptl/tls.h: ... here.
37214 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37216         [BZ #16681]
37217         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37218         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37219         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37220         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37221         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37222         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37223         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37224         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37225         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37227 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37229         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37231 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37233         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37234         defined operator.
37236         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37237         $TIMEOUTFACTOR.
37239 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37241         [BZ #17058]
37242         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37243         non-executed part of the test.
37245 2014-06-16  Andreas Schwab  <schwab@suse.de>
37247         * string/bits/string2.h (strdup, strndup): Update feature guard.
37249 2014-06-14  David S. Miller  <davem@davemloft.net>
37251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37253 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37255         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37256         that was previously under [RESET_PID].
37257         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37259         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37260         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37261         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37262         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37263         (__libc_vfork): New strong alias.
37264         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37266 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37268         * sysdeps/generic/elide.h: New file.
37270 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37272         * Makefile (installed-headers): Adjust path of pthread.h header.
37274 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37276         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37277         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37278         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37279         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37281         * nptl/sysdeps/s390/Makefile: Moved ...
37282         * sysdeps/s390/nptl/Makefile: ... here.
37283         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37284         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37285         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37286         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37287         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37288         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37289         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37290         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37291         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37292         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37293         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37294         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37295         * nptl/sysdeps/s390/tls.h: Moved ...
37296         * sysdeps/s390/nptl/tls.h: ... here.
37298         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37299         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37301 2014-06-13  David S. Miller  <davem@davemloft.net>
37303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37306         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37310         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37311         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37312         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37313         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37314         Remove RESET_PID cpp guards.
37315         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37316         Remove RESET_PID cpp guards.
37317         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37319 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37321         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37322         __sp to uintptr_t.
37324 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37326         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37328         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37329         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37330         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37331         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37333         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37334         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37335         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37336         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37339         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37340         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37341         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37342         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37343         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37344         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37345         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37347         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37348         (pthread_rwlock_rdlock): Add elision.
37349         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37350         (pthread_rwlock_wrlock): Add elision.
37351         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37352         (pthread_rwlock_trywrlock): Add elision.
37353         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37354         (pthread_rwlock_tryrdlock): Add elision.
37355         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37356         (pthread_rwlock_tryrdlock): Add elision unlock.
37357         * nptl/sysdeps/pthread/pthread.h:
37358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37359         (PTHREAD_RWLOCK_INITIALIZER,
37360         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37361         Handle new elision field.
37362         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37363         * sysdeps/arm/nptl/bits/pthreadtypes.h
37364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37365         * sysdeps/sh/nptl/bits/pthreadtypes.h
37366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37367         * sysdeps/tile/nptl/bits/pthreadtypes.h
37368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37369         * sysdeps/a/nptl/bits/pthreadtypes.h
37370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37371         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37373         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37375         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37377         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37379         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37381         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37383         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37385         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37387         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37388         (elision_init): Set try_xbegin to zero when no RTM.
37389         * sysdeps/x86/nptl/bits/pthreadtypes.h
37390         (pthread_rwlock_t): Change __pad1 to __rwelision.
37391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37393 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37395         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37396         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37397         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37398         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37400 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37402         [BZ #16996]
37403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37404         that the cached result has been set before returning it.
37406 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37408         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37409         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37410         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37411         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37412         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37413         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37415         * nptl/sysdeps/sparc/Makefile: Moved ...
37416         * sysdeps/sparc/nptl/Makefile: ... here.
37417         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37418         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37419         * nptl/sysdeps/sparc/tls.h: Moved ...
37420         * sysdeps/sparc/nptl/tls.h: ... here.
37421         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37422         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37423         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37424         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37425         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37426         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37427         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37428         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37429         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37430         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37431         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37432         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37433         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37434         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37435         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37436         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37437         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37439         Update #include.
37440         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37442         Update #include.
37443         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37444         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37445         Update #include.
37446         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37448         Update #include.
37450         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37452         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37453         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37455         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37456         (struct list_links): Type removed.
37457         (struct thread_node, struct timer_node): Replace struct list_links
37458         with struct list_head.
37459         (list_unlink_ip): Likewise.
37460         * sysdeps/pthread/timer_routines.c
37461         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37462         (list_append, list_insbefore): Likewise.
37463         (list_init): Function removed.
37464         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37465         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37466         * sysdeps/pthread/Makefile: ... here, new file.
37468         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37469         * sysdeps/nptl/Implies: ... here.
37470         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37471         * nptl/sysdeps/pthread/list.h: Moved ...
37472         * include/list.h: ... here.
37473         * nptl/sysdeps/pthread/createthread.c: Moved ...
37474         * nptl/createthread.c: ... here.
37475         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37476         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37477         * nptl/pt-longjmp.c: ... here.
37478         * nptl/sysdeps/pthread/Makefile: Moved ...
37479         * sysdeps/nptl/Makefile: ... here.
37480         * nptl/sysdeps/pthread/Subdirs: Moved ...
37481         * sysdeps/nptl/Subdirs: ... here.
37482         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37483         * sysdeps/nptl/aio_misc.h: ... here.
37484         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37485         * sysdeps/nptl/bits/libc-lock.h: ... here.
37486         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37487         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37488         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37489         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37490         * nptl/sysdeps/pthread/configure: Moved ...
37491         * sysdeps/nptl/configure: ... here.
37492         * nptl/sysdeps/pthread/configure.ac: Moved ...
37493         * sysdeps/nptl/configure.ac: ... here.
37494         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37495         * sysdeps/nptl/gai_misc.h: ... here.
37496         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37497         * sysdeps/nptl/librt-cancellation.c: ... here.
37498         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37499         * sysdeps/nptl/malloc-machine.h: ... here.
37500         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37501         * sysdeps/nptl/pthread-functions.h: ... here.
37502         * nptl/sysdeps/pthread/pthread.h: Moved ...
37503         * sysdeps/nptl/pthread.h: ... here.
37504         * nptl/sysdeps/pthread/setxid.h: Moved ...
37505         * sysdeps/nptl/setxid.h: ... here.
37506         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37507         * sysdeps/nptl/sigfillset.c: ... here.
37508         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37509         * sysdeps/nptl/tcb-offsets.h: ... here.
37510         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37511         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37512         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37513         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37514         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37515         * sysdeps/pthread/allocalim.h: ... here.
37516         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37517         * sysdeps/pthread/bits/sigthread.h: ... here.
37518         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37519         * sysdeps/pthread/flockfile.c: ... here.
37520         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37521         * sysdeps/pthread/ftrylockfile.c: ... here.
37522         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37523         * sysdeps/pthread/funlockfile.c: ... here.
37524         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37525         * sysdeps/pthread/posix-timer.h: ... here.
37526         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37527         * sysdeps/pthread/timer_create.c: ... here.
37528         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37529         * sysdeps/pthread/timer_delete.c: ... here.
37530         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37531         * sysdeps/pthread/timer_getoverr.c: ... here.
37532         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37533         * sysdeps/pthread/timer_gettime.c: ... here.
37534         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37535         * sysdeps/pthread/timer_routines.c: ... here.
37536         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37537         * sysdeps/pthread/timer_settime.c: ... here.
37538         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37539         * sysdeps/pthread/tst-timer.c: ... here.
37540         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37541         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37543         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37544         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37546         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37547         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37548         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37549         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37550         Update #include target.
37551         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37552         * sysdeps/i386/i686/nptl/Makefile: ... here.
37553         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37554         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37555         Update #include target.
37556         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37557         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37558         * nptl/sysdeps/i386/Makefile: Moved ...
37559         * sysdeps/i386/nptl/Makefile: ... here.
37560         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37561         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37562         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37563         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37564         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37565         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37566         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37567         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37568         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37569         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37570         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37571         * nptl/sysdeps/i386/tls.h: Moved ...
37572         * sysdeps/i386/nptl/tls.h: ... here.
37574         * sysdeps/sh/Makefile [$(subdir) = csu]
37575         (gen-as-const-headers): Add tcb-offsets.sym.
37576         * nptl/sysdeps/sh/Makefile: File removed.
37577         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37578         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37579         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37580         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37581         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37582         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37583         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37584         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37585         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37586         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37587         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37588         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37589         * nptl/sysdeps/sh/tls.h: Moved ...
37590         * sysdeps/sh/nptl/tls.h: ... here.
37591         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37592         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37593         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37594         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37595         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37596         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37597         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37598         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37599         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37600         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37602         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37604         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37606         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37608         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37610         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37612         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37616         Moved ...
37617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37619         Moved ...
37620         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37622         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37624         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37625         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37626         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37627         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37628         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37629         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37630         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37631         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37632         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37633         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37634         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37635         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37636         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37637         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37638         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37640 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37642         * posix/spawn_faction_addopen.c: Include string.h.
37644 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37646         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37647         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37648         * nptl/sysdeps/x86_64/Makefile: Moved ...
37649         * sysdeps/x86_64/nptl/Makefile: ... here.
37650         * nptl/sysdeps/x86_64/configure: Moved ...
37651         * sysdeps/x86_64/nptl/configure: ... here.
37652         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37653         * sysdeps/x86_64/nptl/configure.ac: ... here.
37654         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37655         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37656         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37657         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37658         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37659         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37660         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37661         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37662         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37663         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37664         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37665         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37666         * nptl/sysdeps/x86_64/tls.h: Moved ...
37667         * sysdeps/x86_64/nptl/tls.h: ... here.
37668         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37669         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37670         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37671         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37673         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37675 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37679 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37681         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37682         type.
37683         [POSIX] (off_t): Likewise.
37684         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37685         [POSIX] (S_ISBLK): Require macro.
37686         [POSIX] (S_ISCHR): Likewise.
37687         [POSIX] (S_ISDIR): Likewise.
37688         [POSIX] (S_ISFIFO): Likewise.
37689         [POSIX] (S_ISREG): Likewise.
37690         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37691         optional-macro.
37692         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37693         type.
37694         [POSIX] (time_t): Likewise.
37695         [POSIX] (timer_t): Likewise.
37697 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37699         [BZ #17048]
37700         * posix/spawn_int.h (struct __spawn_action): Make the path string
37701         non-const to support deallocation.
37702         * posix/spawn_faction_addopen.c
37703         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37704         * posix/spawn_faction_destroy.c
37705         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37706         path in all spawn_do_open actions.
37707         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37708         posix_spawn_file_actions_addopen.
37710 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37712         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37713         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37714         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37715         conditional code always true.
37716         (__libc_vfork): New alias.
37718 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37720         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37721         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37723         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37725         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37726         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37728         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37729         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37731         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37732         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37734 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37736         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37737         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37738         multiarch strcmp for PPC64.
37739         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37740         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37742         multiarch optimizations.
37743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37744         (__libc_ifunc_impl_list): Likewise.
37746 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37748         * benchtests/scripts/validate_benchout.py: New script.
37749         * benchtests/Makefile (bench-func): Call it.
37750         * benchtests/scripts/benchout.schema.json: New file.
37752 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37754         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37755         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37756         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37757         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37758         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37759         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37760         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37761         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37762         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37763         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37764         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37765         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37766         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37767         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37768         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37769         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37771         Moved ...
37772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37773         ... here.
37774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37775         Moved ...
37776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37778         Moved ...
37779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37780         ... here.
37781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37782         Moved ...
37783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37784         ... here.
37785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37786         Moved ...
37787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37789         Moved ...
37790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37791         ... here.
37792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37793         Moved ...
37794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37795         ... here.
37796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37797         Moved ...
37798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37800         Moved ...
37801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37802         ... here.
37803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37804         Moved ...
37805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37806         ... here.
37807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37808         Moved ...
37809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37810         ... here.
37811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37812         Moved ...
37813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37815         Moved ...
37816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37817         ... here.
37818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37819         Moved ...
37820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37821         ... here.
37822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37823         Moved ...
37824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37825         ... here.
37826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37827         Moved ...
37828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37830         Moved ...
37831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37832         ... here.
37833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37834         Moved ...
37835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37836         ... here.
37837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37838         Moved ...
37839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37841         Moved ...
37842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37843         ... here.
37844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37845         Moved ...
37846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37848         Moved ...
37849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37851         Moved ...
37852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37853         ... here.
37854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37855         Moved ...
37856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37857         ... here.
37858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37859         Moved ...
37860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37861         ... here.
37862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37863         Moved ...
37864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37866         Moved ...
37867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37868         ... here.
37869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37870         Moved ...
37871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37872         ... here.
37873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37874         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37876         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37878         Moved ...
37879         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37880         ... here.
37881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37882         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37884         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37886         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37888         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37890         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37892         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37894         Moved ...
37895         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37897         Moved ...
37898         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37900         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37902         Moved ...
37903         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37905         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37906         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37907         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37908         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37909         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37911 2014-06-10  Wilco  <wdijkstr@arm.com>
37913         * math/test-fenv-return.c: New file.
37914         * math/Makefile: Add new test test-fenv-return.
37916 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37918         [BZ #17042]
37919         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37920         when x - 1 is zero.
37921         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37922         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37923         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37924         0.0L for an argument of 1.0L.
37925         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37926         Likewise.
37927         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37928         value when x - 1 is zero.
37929         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37930         * sysdeps/i386/fpu/libm-test-ulps: Update.
37931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37933 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37935         [BZ #15119]
37936         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37938 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37940         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37941         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37943 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37945         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37946         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37948         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37949         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37951         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37952         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37954         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37955         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37957         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37958         if not already defined.
37959         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37960         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37961         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37962         (TLS_INIT_TP): Use it.
37963         (TLS_DEFINE_INIT_TP): New macro.
37964         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37966 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37968         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37969         constant.
37970         [POSIX] (IXANY): Likewise.
37971         [POSIX] (OLCUC): Likewise.
37972         [POSIX || POSIX2008] (CBAUD): Do not allow.
37973         [POSIX || POSIX2008] (DEFECHO): Likewise.
37974         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37975         [POSIX || POSIX2008] (ECHOKE): Likewise.
37976         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37977         [POSIX || POSIX2008] (EXTA): Likewise.
37978         [POSIX || POSIX2008] (EXTB): Likewise.
37979         [POSIX || POSIX2008] (FLUSHO): Likewise.
37980         [POSIX || POSIX2008] (LOBLK): Likewise.
37981         [POSIX || POSIX2008] (PENDIN): Likewise.
37982         [POSIX || POSIX2008] (SWTCH): Likewise.
37983         [POSIX || POSIX2008] (VDISCARD): Likewise.
37984         [POSIX || POSIX2008] (VDSUSP): Likewise.
37985         [POSIX || POSIX2008] (VLNEXT): Likewise.
37986         [POSIX || POSIX2008] (VREPRINT): Likewise.
37987         [POSIX || POSIX2008] (VSTATUS): Likewise.
37988         [POSIX || POSIX2008] (VWERASE): Likewise.
37989         (B*): Change to B[0123456789]*.
37990         * conform/data/time.h-data [POSIX || UNIX98]
37991         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37992         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37993         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37994         [POSIX] (tm_*): Do not allow.
37996 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37998         * Makefile (install): Don't set LANGUAGE.
37999         * Makefile.in (install): Likewise.
38000         * assert/Makefile (test-assert-ENV): Remove variable.
38001         (test-assert-perr-ENV): Likewise.
38002         * elf/Makefile (neededtest4-ENV): Likewise.
38003         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38004         [$(cross-compiling) = no]: Don't set LANGUAGE.
38005         * io/ftwtest-sh (LANG): Remove variable.
38006         * libio/Makefile (tst-widetext-ENV): Likewise.
38007         * manual/install.texi (Running make install): Don't refer to
38008         environment settings for make install.
38009         * INSTALL: Regenerated.
38010         * nptl/tst-tls6.sh: Don't set LANG.
38011         * posix/globtest.sh (LANG): Remove variable.
38012         * string/Makefile (tester-ENV): Likewise.
38013         (inl-tester-ENV): Likewise.
38014         (noinl-tester-ENV): Likewise.
38015         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38016         [$(cross-compiling) = no]: Don't set LANGUAGE.
38017         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38018         without explicit environment settings.
38020 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38022         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38023         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38024         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38025         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38027 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38029         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38030         other files in the crypt directory.
38031         * crypt/crypt.c: Remove duplicate includes.
38032         * crypt/crypt-entry.c: Likewise.
38033         * crypt/crypt_util.c: Likewise.
38035 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38037         * Makeconfig (run-program-env): New variable.
38038         (run-program-prefix-before-env): Likewise.
38039         (run-program-prefix-after-env): Likewise.
38040         (run-program-prefix): Define in terms of new variables.
38041         (built-program-cmd-before-env): New variable.
38042         (built-program-cmd-after-env): Likewise.
38043         (built-program-cmd): Define in terms of new variables.
38044         (test-program-prefix-before-env): New variable.
38045         (test-program-prefix-after-env): Likewise.
38046         (test-program-prefix): Define in terms of new variables.
38047         (test-program-cmd-before-env): New variable.
38048         (test-program-cmd-after-env): Likewise.
38049         (test-program-cmd): Define in terms of new variables.
38050         * Rules (make-test-out): Use $(run-program-env).
38051         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38052         (help): Do not mention environment variables.  Mention
38053         --timeoutfactor option.
38054         (timeoutfactor): New variable.
38055         (blacklist_exports): Remove function.
38056         (exports): Remove variable.
38057         (command): Do not include ${exports}.
38058         * manual/install.texi (Configuring and compiling): Do not mention
38059         test wrappers preserving environment variables.  Mention that last
38060         assignment to a variable must take precedence.
38061         * INSTALL: Regenerated.
38062         * benchtests/Makefile (run-bench): Use $(run-program-env).
38063         * catgets/Makefile ($(objpfx)test1.cat): Use
38064         $(built-program-cmd-before-env), $(run-program-env) and
38065         $(built-program-cmd-after-env).
38066         ($(objpfx)test2.cat): Do not specify environment variables
38067         explicitly.
38068         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38069         $(run-program-env) and $(built-program-cmd-after-env).
38070         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38071         $(run-program-env) and $(test-program-cmd-after-env).
38072         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38073         explicitly.
38074         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38075         run_program_env and test_program_cmd_after_env arguments.
38076         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38077         * elf/tst-pathopt.sh: Use run_program_env argument.
38078         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38079         $(test-wrapper-env) and $(run-program-env).
38080         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38081         run_program_env arguments.
38082         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38083         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38084         $(test-program-prefix-before-env), $(run-program-env) and
38085         $(test-program-prefix-after-env).
38086         ($(objpfx)tst-gettext2.out): Likewise.
38087         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38088         run_program_env and test_program_prefix_after_env arguments.
38089         * intl/tst-gettext2.sh: Likewise.
38090         * intl/tst-gettext4.sh: Do not set environment variables
38091         explicitly.
38092         * intl/tst-gettext6.sh: Likewise.
38093         * intl/tst-translit.sh: Likewise.
38094         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38095         $(test-program-prefix-before-env), $(run-program-env) and
38096         $(test-program-prefix-after-env).
38097         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38098         run_program_env and test_program_prefix_after_env arguments.
38099         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38100         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38101         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38102         explicitly with each use of ${test_wrapper_env}.
38103         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38104         $(test-program-prefix-before-env), $(run-program-env) and
38105         $(test-program-prefix-after-env).
38106         * posix/tst-getconf.sh: Do not set environment variables
38107         explicitly.
38108         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38109         run_program_env and test_program_prefix_after_env arguments.
38110         * stdio-common/tst-printf.sh: Do not set environment variables
38111         explicitly.
38112         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38113         $(test-program-prefix-before-env), $(run-program-env) and
38114         $(test-program-prefix-after-env).
38115         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38116         run_program_env and test_program_prefix_after_env arguments.
38117         Split $test calls into $test_pre and $test.
38118         * timezone/Makefile (build-testdata): Use
38119         $(built-program-cmd-before-env), $(run-program-env) and
38120         $(built-program-cmd-after-env).
38122 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38124         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38125         strlen for non SHARED builds.
38127 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38129         * nptl/allocatestack.c (check_list): Inlined function...
38130         (__reclaim_stacks): ... here.
38132 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38134         [BZ #15698]
38135         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38136         memory overrun.
38138 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38140         * Rules (make-test-out): Include
38141         LOCPATH=$(common-objpfx)localedata in default environment.
38142         * debug/Makefile (tst-chk1-ENV): Remove variable.
38143         (tst-chk2-ENV): Likewise.
38144         (tst-chk3-ENV): Likewise.
38145         (tst-chk4-ENV): Likewise.
38146         (tst-chk5-ENV): Likewise.
38147         (tst-chk6-ENV): Likewise.
38148         (tst-lfschk1-ENV): Likewise.
38149         (tst-lfschk2-ENV): Likewise.
38150         (tst-lfschk3-ENV): Likewise.
38151         (tst-lfschk4-ENV): Likewise.
38152         (tst-lfschk5-ENV): Likewise.
38153         (tst-lfschk6-ENV): Likewise.
38154         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38155         (tst-iconv7-ENV): Likewise.
38156         * intl/Makefile (LOCPATH-ENV): Likewise.
38157         (tst-codeset-ENV): Likewise.
38158         (tst-gettext3-ENV): Likewise.
38159         (tst-gettext5-ENV): Likewise.
38160         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38161         (tst-fopenloc-ENV): Likewise.
38162         (tst-fgetws-ENV): Remove variable.
38163         (tst-ungetwc1-ENV): Likewise.
38164         (tst-ungetwc2-ENV): Likewise.
38165         (bug-ungetwc2-ENV): Likewise.
38166         (tst-swscanf-ENV): Likewise.
38167         (bug-ftell-ENV): Likewise.
38168         (tst-fgetwc-ENV): Likewise.
38169         (tst-fseek-ENV): Likewise.
38170         (tst-ftell-partial-wide-ENV): Likewise.
38171         (tst-ftell-active-handler-ENV): Likewise.
38172         (tst-ftell-append-ENV): Likewise.
38173         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38174         (tst-regexloc-ENV): Likewise.
38175         (bug-regex1-ENV): Likewise.
38176         (tst-regex-ENV): Likewise.
38177         (tst-regex2-ENV): Likewise.
38178         (bug-regex5-ENV): Likewise.
38179         (bug-regex6-ENV): Likewise.
38180         (bug-regex17-ENV): Likewise.
38181         (bug-regex18-ENV): Likewise.
38182         (bug-regex19-ENV): Likewise.
38183         (bug-regex20-ENV): Likewise.
38184         (bug-regex22-ENV): Likewise.
38185         (bug-regex23-ENV): Likewise.
38186         (bug-regex25-ENV): Likewise.
38187         (bug-regex26-ENV): Likewise.
38188         (bug-regex30-ENV): Likewise.
38189         (bug-regex32-ENV): Likewise.
38190         (bug-regex33-ENV): Likewise.
38191         (bug-regex34-ENV): Likewise.
38192         (bug-regex35-ENV): Likewise.
38193         (tst-rxspencer-ENV): Likewise.
38194         (tst-rxspencer-no-utf8-ENV): Likewise.
38195         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38196         (tst-sscanf-ENV): Likewise.
38197         (tst-swprintf-ENV): Likewise.
38198         (tst-swscanf-ENV): Likewise.
38199         (test-vfprintf-ENV): Likewise.
38200         (scanf13-ENV): Likewise.
38201         (bug14-ENV): Likewise.
38202         (tst-grouping-ENV): Likewise.
38203         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38204         (tst-strtod3-ENV): Likewise.
38205         (tst-strtod4-ENV): Likewise.
38206         (tst-strtod5-ENV): Likewise.
38207         (testmb2-ENV): Likewise./
38208         * string/Makefile (tst-strxfrm-ENV): Likewise.
38209         (tst-strxfrm2-ENV): Likewise.
38210         (bug-strcoll1-ENV): Likewise.
38211         (test-strcasecmp-ENV): Likewise.
38212         (test-strncasecmp-ENV): Likewise.
38213         * time/Makefile (tst-strptime-ENV): Likewise.
38214         (tst-ftime_l-ENV): Likewise.
38215         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38216         (tst-mbrtowc-ENV): Likewise.
38217         (tst-wcrtomb-ENV): Likewise.
38218         (tst-mbrtowc2-ENV): Likewise.
38219         (tst-c16c32-1-ENV): Likewise.
38220         (tst-mbsnrtowcs-ENV): Likewise.
38222 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38224         * manual/resource.texi (How to get information about the memory
38225         subsystem?): Fix typo.
38226         Reported by Peon de la Parra Ivan <peon@keba.com>
38228 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38230         [BZ #16882]
38231         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38232         (pthread_spin_lock): Branch out of spin loop to proper location.
38233         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38234         (pthread_spin_lock): Likewise.
38236         * nptl/tst-spin4.c: New test.
38237         * nptl/Makefile (tests): Add tst-spin4.
38239 2014-06-03  Andreas Schwab  <schwab@suse.de>
38241         [BZ #15946]
38242         * resolv/res_send.c (send_dg): Reload file descriptor after
38243         calling reopen.
38245 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38247         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38249 2014-06-03  Richard Henderson  <rth@redhat.com>
38251         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38252         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38253         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38254         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38255         in the SAVE_PID block.
38256         (__libc_vfork): New alias.
38257         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38259         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38260         child in registers, not on the stack.  Remove RESET_PID conditionals.
38261         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38263 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38265         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38267 2014-06-03  Wilco  <wdijkstr@arm.com>
38269         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38270         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38271         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38272         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38273         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38274         Likewise.
38276 2014-06-03  Wilco  <wdijkstr@arm.com>
38278         * sysdeps/aarch64/fpu/math_private.h
38279         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38280         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38281         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38282         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38283         Fix declarations.
38285 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38287         * crypt/crypt-private.h: Include ufc-crypt.h.
38288         (__b64_from_24bit): Declare extern.
38289         * crypt/crypt_util.c(__b64_from_24bit): New function.
38290         (b64t): New static const variable.
38291         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38292         (b64t): Remove variable.
38293         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38294         * crypt/sha256-crypt.c: Include crypt-private.h.
38295         (b64t): Remove variable.
38296         (__sha256_crypt_r): Remove b64_from_24bit and replace
38297         with __b64_from_24bit.
38298         * crypt/sha512-crypt.c: Likewise.
38300 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38302         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38303         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38304         Label the code __libc_vfork rather than __vfork.
38305         [!NOT_IN_libc] (vfork): Define as weak alias.
38306         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38307         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38308         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38310 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38312         * malloc/malloc.c (malloc_info): Fix format specifier for
38313         n_mmaps.
38315 2014-06-02  Wilco  <wdijkstr@arm.com>
38317         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38318         FPCR write.
38320 2014-06-02  Wilco  <wdijkstr@arm.com>
38322         [BZ #17009]
38323         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38324         Rewrite to reduce FPCR/FPSR accesses.
38326 2014-06-01  David S. Miller  <davem@davemloft.net>
38328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38330 2014-05-31  David S. Miller  <davem@davemloft.net>
38332         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38333         to occur in round to nearest mode when |x| >= 2.0
38335 2014-05-30  Richard Henderson  <rth@twiddle.net>
38337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38338         (PSEUDO_RET_NOERRNO): Remove.
38339         (ret): Don't redefine.
38340         (ret_NOERRNO): Define in terms of ret.
38341         (ret_ERRVAL): Likewise.
38343         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38344         use of PSEUDO_RET; perform the error check directly.
38346 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38348         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38349         with __int128_t.
38351 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38353         * malloc/malloc (malloc_info): Fix formatting.
38355 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38356             Roland McGrath  <roland@hack.frob.com>
38358         * malloc/malloc (malloc_info): Also print mmapped statistics.
38360 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38362         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38363         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38365 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38367         * malloc/malloc.c (malloc_info): Inline mi_arena.
38369 2014-05-29  Richard Henderson  <rth@twiddle.net>
38371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38372         Remove comma before expanding ASM_ARGS_##nr.
38373         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38374         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38375         of ASM_ARGS_##nr.
38376         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38377         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38378         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38379         (ASM_ARGS_1): Add leading comma.
38381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38382         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38383         to __errno_location.
38384         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38385         Remove the expected plt for __errno_location.
38387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38388         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38389         call to __read_tp.
38391         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38392         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38393         it and break it down.
38394         (DOCARGS_0, DOCARGS_1): Do nothing.
38395         (DOCARGS_2): Update to store into the new stack frame.
38396         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38397         (UNDOCARGS_1): Update to restore from the new stack frame.
38398         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38399         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38401         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38402         (SINGLE_THREAD_P): New parameter for result regno.
38403         (PSEUDO): Update to match; use cbz instead of beq.
38405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38406         Use ENTRY to define the _nocancel entry point.  Share the syscall
38407         and syscall error check paths with the cancel path.
38408         (PSEUDO_END): New.
38410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38411         whitespace; tabs before and after asm mnemonics.
38413 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38415         [BZ #15132]
38416         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38417         Call fstat64 or stat64 internally, depending on arguments passed.
38418         Replace stat buffer argument with file descriptor argument.
38419         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38420         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38421         Pass fd to __internal_statvfs instead of calling fstat64.
38422         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38423         Pass fd to __internal_statvfs64 instead of calling fstat64.
38424         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38425         Pass -1 to __internal_statvfs instead of calling stat64.
38426         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38427         Pass -1 to __internal_statvfs64 instead of calling stat64.
38429 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38431         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38432         that was previously under [RESET_PID].
38433         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38435         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38436         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38438 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38440         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38442         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38443         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38445 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38447         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38449 2014-05-27  Andreas Schwab  <schwab@suse.de>
38451         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38452         TLS_INIT_TP macro.
38453         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38454         * elf/rtld.c (init_tls, dl_main): Likewise.
38455         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38456         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38457         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38458         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38459         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38460         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38461         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38462         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38463         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38464         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38465         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38466         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38467         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38468         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38469         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38470         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38471         * sysdeps/generic/tls.h: Update description.
38473 2014-05-27  Will Newton  <will.newton@linaro.org>
38475         [BZ #16990]
38476         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38477         and restore r2 rather than just restoring.
38479 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38481         [BZ #16724]
38482         * libio/tst-ftell-append.c: New test case.
38483         * libio/Makefile (tests): Add test case.
38484         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38485         append mode.
38486         * libio/wfileops.c (do_ftell_wide): Likewise.
38488 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38492         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38493         ...
38494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38496         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38497         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38498         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38499         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38500         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38501         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38503         Moved ...
38504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38506         Moved ...
38507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38508         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38509         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38510         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38511         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38512         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38513         ...
38514         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38515         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38516         Moved ...
38517         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38518         here.
38519         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38520         ...
38521         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38522         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38523         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38525         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38526         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38527         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38528         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38531         merge into ...
38532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38534         ...
38535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38537         ...
38538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38540         Moved ...
38541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38542         here.
38543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38544         Moved ...
38545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38547         Moved ...
38548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38551         conditional [RESET_PID].
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38554         removed.
38555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38556         removed.
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38559         <tcb-offsets.h>.
38560         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38561         (__libc_vfork): New strong alias.
38562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38563         removed.
38564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38565         Removed.
38567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38568         <tcb-offsets.h>.
38569         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38570         (__libc_vfork): New strong alias.
38571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38572         removed.
38573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38574         removed.
38576 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38578         * malloc/malloc.c (mi_arena): New function.
38579         (malloc_info): Remove nested function mi_arena. Call non-nosted
38580         function mi_arena.
38582 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38584         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38585         by insrwi.
38586         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38587         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38588         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38589         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38590         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38591         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38592         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38594 2014-05-26  Andreas Schwab  <schwab@suse.de>
38596         [BZ #16984]
38597         * locale/programs/repertoire.c (repertoire_read): Add slash
38598         between I18NPATH element and file name.
38599         * locale/programs/locfile.c (locfile_read): Likewise.
38601 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38603         * nptl/pthread_mutexattr_settype.c
38604         (__pthread_mutexattr_settype):
38605         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38607 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38609         * nptl/tst-mutex5 (do_test):
38610         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38612 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38614         * benchtests/README: Document 'init' directive.
38615         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38616         BENCH_INIT.
38617         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38618         (parse_file): Recognize 'init' directive.
38620 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38622         [BZ #16796]
38623         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38624         alignment of struct pthread.
38626 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38628         [BZ #16878]
38629         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38630         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38631         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38632         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38634 2014-05-25  Richard Henderson  <rth@twiddle.net>
38636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38637         (SINGLE_THREAD_P_PIC): Remove.
38638         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38639         (SINGLE_THREAD_P_PIC): Remove.
38641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38642         branch to syscall error ...
38643         (PSEUDO): ... here.
38644         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38645         from __local_syscall_error to .Lsyscall_error.
38646         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38647         (SYSCALL_ERROR): Update label name.
38649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38650         Do not use DOARGS/UNDOARGS.
38651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38652         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38653         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38654         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38655         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38658         block comment.
38660         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38661         define if !NOT_IN_libc.
38662         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38663         define with non-default symbol versions.
38665 2014-05-23  Richard Henderson  <rth@twiddle.net>
38667         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38668         (vfork, __vfork): Define via compat_symbol.
38670         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38671         [!HAVE_IFUNC] (vfork_compat): Remove.
38672         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38674 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38676         [BZ #16978]
38677         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38678         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38679         variable.
38681 2014-05-23  Richard Henderson  <rth@twiddle.net>
38683         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38684         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38685         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38686         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38688         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38689         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38690         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38691         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38692         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38693         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38694         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38695         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38696         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38697         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38698         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38699         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38700         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38701         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38702         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38703         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38704         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38705         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38706         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38707         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38708         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38709         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38710         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38711         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38712         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38713         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38714         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38715         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38716         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38717         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38718         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38719         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38720         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38721         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38722         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38723         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38724         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38725         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38726         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38727         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38728         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38729         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38730         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38731         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38732         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38733         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38735         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38737         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38738         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38739         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38740         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38741         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38742         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38743         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38745         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38746         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38747         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38748         before exiting on error.
38749         (__libc_vfork): New strong alias.
38750         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38751         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38753         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38754         that was previously under [RESET_PID].
38755         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38757         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38759 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38761         [BZ #16977]
38762         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38763         value when x - 1 is zero.
38764         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38765         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38766         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38767         0.0L for an argument of 1.0L.
38768         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38769         Likewise.
38770         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38771         value when x - 1 is zero.
38772         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38773         * sysdeps/i386/fpu/libm-test-ulps: Update.
38774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38776 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38778         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38779         alphasort and versionsort.
38781 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38783         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38784         macro.
38785         [copysignf]: Likewise.
38787 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38789         * crypt/md5-crypt.c: Fix formatting.
38791 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38793         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38794         (b64_from_24bit): New function.
38796 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38798         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38799         libc_hidden_builtin_def to ifunc.
38800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38801         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38803 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38805         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38806         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38808 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38810         * nscd/Depend (linuxthreads): Remove.
38811         (nptl): Add.
38812         * resolv/Depend (linuxthreads): Remove.
38813         * rt/Depend (linuxthreads): Remove.
38815         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38816         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38817         $(common-objpfx)elf/.
38818         (link-libc-before-gnulib): Likewise.
38819         (elfobjdir): Remove variable.
38820         * Makefile (install): Use $(elf-objpfx) instead of
38821         $(common-objpfx)elf/.
38822         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38823         $(elfobjdir)/.
38824         (link-libc-deps): Likewise.
38825         ($(common-objpfx)libc.so): Likewise.
38826         ($(common-objpfx)linkobj/libc.so): Likewise.
38827         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38828         instead of $(common-objpfx)elf/.
38829         (symbolic-link-list): Likewise.
38830         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38831         [$(cross-compiling) = no]: Likewise.
38832         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38833         $(elfobjdir)/.
38834         (static-gnulib-arch): Likewise.
38835         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38836         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38837         $(common-objpfx)elf/.
38839 2014-05-21  Richard Henderson  <rth@redhat.com>
38841         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38842         (SINGLE_THREAD_P): Use the correct width load.  Fold
38843         into the ldr offset.
38845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38846         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38848 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38850         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38851         (libgcc_s_resume): Use __attribute_used__.
38852         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38853         Likewise.
38855 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38857         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38858         optimization when used with float constants.
38860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38862 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38864         [BZ #16915]
38865         * locale/nl_langinfo_l.c: Make direct reference to every
38866         _nl_current_CATEGORY symbol.
38867         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38868         (tests-static): Add tst-langinfo-static.
38869         (tests-special): Add tst-langinfo-static.out.
38870         ($(objpfx)tst-langinfo.out): Redirect output.
38871         ($(objpfx)tst-langinfo-static.out): New.
38872         * localedata/tst-langinfo.sh: Send output to stdout.
38873         * localedata/tst-langinfo-static.c: New file.
38875         [BZ #16965]
38876         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38877         when the shift amount is modulo the limb size.
38879 2014-05-20  Richard Henderson  <rth@redhat.com>
38881         [BZ #16967]
38882         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38883         Change type of sa_flags from unsigned int to int.
38885         [BZ #16966]
38886         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38888         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38890 2014-05-20  Will Newton  <will.newton@linaro.org>
38892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38893         Test the return value of the system call in the nocancel case.
38895 2014-05-20  Will Newton  <will.newton@linaro.org>
38896             Yvan Roux  <yvan.roux@linaro.org>
38898         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38899         #include of asm/ptrace.h.
38900         (PTRACE_GET_THREAD_AREA): Remove #undef.
38901         (PTRACE_GETHBPREGS): Likewise.
38902         (PTRACE_SETHBPREGS): Likewise.
38903         (struct user_regs_struct): New structure.
38904         (struct user_fpsimd_struct): New structure.
38905         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38906         #include of asm/ptrace.h and second #include of sys/user.h.
38907         (PTRACE_GET_THREAD_AREA): Remove #undef.
38908         (PTRACE_GETHBPREGS): Likewise.
38909         (PTRACE_SETHBPREGS): Likewise.
38910         (ELF_NGREG): Use new struct user_regs_struct.
38911         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38913 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38918 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38920         [BZ #16958]
38921         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38922         membar to avoid block loads/stores to overlap previous stores.
38924 2014-05-17  Richard Henderson  <rth@redhat.com>
38926         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38927         Create the __##syscall_name##_nocancel entry point.
38928         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38929         Remove; let the sysdep-cancel.h code create it.
38931 2014-05-17  David S. Miller  <davem@davemloft.net>
38933         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38934         Protect with __USE_GNU.
38935         (TIOCSET_TEMPT): Likewise.
38936         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38937         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38938         these are already provided in bits/ioctl-types.h
38940 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38942         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38943         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38945         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38946         Use wait4 regardless of [__NR_waitpid].
38948 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38950         PR libgcc/60166
38951         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38952         (_FP_NANSIGN_Q): Set the quiet bit.
38954 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38956         * benchtests/Makefile
38957         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38958         not $(common-objpfx)math/libm.so.
38959         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38960         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38961         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38962         $(common-objpfx)dlfcn/libdl.so.
38963         ($(objpfx)tst-audit8): Depend on $(libm), not
38964         $(common-objpfx)math/libm.so.
38965         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38966         not $(common-objpfx)dlfcn/libdl.so.
38967         * math/Makefile
38968         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38969         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38970         [$(build-shared) = yes].
38971         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38972         $(common-objpfx)nptl/libpthread.so.
38973         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38974         $(common-objpfx)math/libm.so$(libm.so-version) or
38975         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38976         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38977         $(common-objpfx)dlfcn/libdl.so.
38978         * setjmp/Makefile (link-libm): Remove variable.
38979         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38980         * stdio-common/Makefile (link-libm): Remove variable.
38981         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38982         * stdlib/Makefile (link-libm): Remove variable.
38983         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38984         ($(objpfx)tst-strtod-round): Likewise.
38985         ($(objpfx)tst-tininess): Likewise.
38986         ($(objpfx)tst-strtod-underflow): Likewise.
38987         ($(objpfx)tst-strtod6): Likewise.
38988         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38989         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38990         $(common-objpfx)dlfcn/libdl.so.
38992 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38994         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38995         BSD terminal modes definitions.
38997 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38999         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39000         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39002         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39003         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39004         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39005         Don't do #include_next.
39006         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39007         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39008         Don't do #include_next.
39009         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39010         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39011         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39012         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39014 2014-05-16  Allan McRae  <allan@archlinux.org>
39016         * po/sv.po: Update Swedish translation from translation project.
39018         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39019         in sed expression.
39021 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39023         [BZ #16917]
39024         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39025         errno if the TIOCGPTN ioctl fails with an error different than
39026         EINVAL.
39027         * login/tst-ptsname.c: New file.
39028         * login/Makefile (tests): Add tst-ptsname.
39030         [BZ #16943]
39031         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39032         and prlimit64.
39034 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39036         [BZ #16849]
39037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39038         herrno to return EAI_AGAIN.
39040 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39042         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39043         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39044         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39045         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39046         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39047         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39048         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39049         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39050         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39051         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39052         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39053         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39054         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39055         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39056         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39057         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39058         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39059         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39060         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39061         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39062         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39063         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39064         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39065         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39066         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39067         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39068         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39069         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39070         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39071         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39073         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39075         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39077         Moved ...
39078         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39080         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39082         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39084         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39086         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39088         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39090         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39092         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39094         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39096         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39098         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39100         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39102         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39104         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39106         Moved ...
39107         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39109         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39113         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39115         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39117         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39119         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39121         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39123         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39125         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39127         Moved ...
39128         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39130         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39132         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39133         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39134         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39135         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39136         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39137         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39138         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39139         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39140         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39141         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39142         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39143         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39144         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39145         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39146         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39147         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39148         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39149         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39150         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39151         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39152         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39153         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39154         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39155         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39156         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39157         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39158         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39159         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39160         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39161         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39162         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39164         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39165         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39167         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39168         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39169         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39170         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39171         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39173         Moved ...
39174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39175         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39176         Moved ...
39177         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39179         Moved ...
39180         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39182         Moved ...
39183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39184         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39185         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39187         Moved ...
39188         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39189         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39190         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39192         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39193         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39194         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39195         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39196         Moved ...
39197         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39199         Moved ...
39200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39201         ... here.
39202         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39203         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39204         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39205         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39206         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39207         Moved ...
39208         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39209         ... here.
39210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39211         Moved ...
39212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39213         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39214         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39215         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39216         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39218         Moved ...
39219         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39220         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39221         Moved ...
39222         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39224         Moved ...
39225         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39227         Moved ...
39228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39229         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39230         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39232         Moved ...
39233         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39234         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39235         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39237         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39238         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39239         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39240         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39241         Moved ...
39242         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39244         Moved ...
39245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39246         ... here.
39247         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39248         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39249         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39250         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39251         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39252         Moved ...
39253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39254         ... here.
39255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39256         Moved ...
39257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39258         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39259         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39260         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39261         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39262         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39263         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39264         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39265         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39267         Moved ...
39268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39270         Moved ...
39271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39273         Moved ...
39274         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39276         Moved ...
39277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39278         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39279         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39280         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39281         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39283         Moved ...
39284         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39285         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39286         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39288         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39289         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39290         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39291         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39292         Moved ...
39293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39295         Moved ...
39296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39297         ... here.
39298         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39299         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39300         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39301         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39302         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39303         Moved ...
39304         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39305         ... here.
39306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39307         Moved ...
39308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39309         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39310         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39311         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39312         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39313         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39314         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39315         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39316         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39317         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39318         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39320         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39321         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39323         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39324         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39326         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39327         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39328         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39329         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39330         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39331         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39332         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39333         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39334         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39335         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39337         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39339         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39340         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39342         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39344         Moved ...
39345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39347         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39349         Moved ...
39350         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39352         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39354         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39358         Moved ...
39359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39361         Moved ...
39362         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39364         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39366         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39368         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39369         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39370         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39371         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39372         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39373         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39374         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39375         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39376         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39377         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39378         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39380         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39381         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39382         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39383         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39384         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39386         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39387         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39388         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39389         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39390         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39391         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39392         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39393         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39394         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39395         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39400         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39401         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39402         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39403         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39405         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39406         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39407         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39408         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39409         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39410         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39411         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39412         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39413         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39415         Update #include.
39416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39417         Likewise.
39418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39419         Likewise.
39420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39421         Likewise.
39422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39423         Likewise.
39424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39425         Likewise.
39426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39427         Likewise.
39428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39429         Likewise.
39430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39431         Likewise.
39432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39433         Likewise.
39434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39442         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39443         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39444         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39445         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39446         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39447         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39448         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39450         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39451         that was previously under [RESET_PID].
39452         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39453         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39454         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39456         * sysdeps/i386/nptl/Implies: New file.
39457         * sysdeps/x86_64/nptl/Implies: New file.
39458         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39459         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39460         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39461         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39463         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39467         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39469         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39470         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39471         (__libc_vfork): New strong alias.
39472         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39473         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39475         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39476         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39477         (__libc_vfork): New strong alias.
39478         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39479         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39480         * nptl/pt-vfork.c: New file.
39481         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39482         (libpthread: GLIBC_2.20): New version set (empty).
39484 2014-05-14  Will Newton  <will.newton@linaro.org>
39486         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39487         rather than #if.
39489 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39491         [BZ #16564]
39492         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39493         arguments with exponent 65 or above.
39494         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39495         arguments 0x1p113L or above.
39496         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39497         to arguments 0x1p107L or above.
39498         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39499         positive arguments with exponent 65 or above.
39500         * math/auto-libm-test-in: Add more tests of log1p.
39501         * math/auto-libm-test-out: Regenerated.
39503         [BZ #16928]
39504         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39505         non-finite arguments is +0.
39506         * math/s_cacosf.c (__cacosf): Likewise.
39507         * math/s_cacosl.c (__cacosl): Likewise.
39508         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39509         * sysdeps/i386/fpu/libm-test-ulps: Update.
39510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39512         [BZ #16927]
39513         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39514         value.
39515         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39516         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39517         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39518         for explicit high bit of mantissa when testing for argument equal
39519         to 1.
39520         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39521         * sysdeps/i386/fpu/libm-test-ulps: Update.
39522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39524         [BZ #16516]
39525         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39526         (__erf): Scale by 16 instead of 8 in potentially underflowing
39527         case.  Ensure exception if result actually underflows.
39528         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39529         (__erff): Scale by 16 instead of 8 in potentially underflowing
39530         case.  Ensure exception if result actually underflows.
39531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39532         (efx8): Remove variable.
39533         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39534         case.  Ensure exception if result actually underflows.
39535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39536         (efx8): Remove variable.
39537         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39538         case.  Ensure exception if result actually underflows.
39539         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39540         (efx8): Remove variable.
39541         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39542         case.  Ensure exception if result actually underflows.
39543         * math/auto-libm-test-in: Add more tests of erf.
39544         * math/auto-libm-test-out: Regenerated.
39546 2014-05-14  Andreas Schwab  <schwab@suse.de>
39548         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39549         Remove code conditionalized on USE___THREAD.
39551         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39552         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39553         not definedness.
39555 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39558         Define unconditionally.
39559         (__ASSUME_O_CLOEXEC): Likewise.
39560         (__ASSUME_SOCK_CLOEXEC): Likewise.
39561         (__ASSUME_IN_NONBLOCK): Likewise.
39562         (__ASSUME_PIPE2): Likewise.
39563         (__ASSUME_EVENTFD2): Likewise.
39564         (__ASSUME_SIGNALFD4): Likewise.
39565         (__ASSUME_DUP3): Likewise.
39566         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39567         (__ASSUME_DUP3): Do not define.
39568         (__ASSUME_EVENTFD2): Likewise.
39569         (__ASSUME_IN_NONBLOCK): Likewise.
39570         (__ASSUME_O_CLOEXEC): Likewise.
39571         (__ASSUME_PIPE2): Likewise.
39572         (__ASSUME_SIGNALFD4): Likewise.
39573         (__ASSUME_SOCK_CLOEXEC): Likewise.
39574         (__ASSUME_UTIMES): Undefine.
39575         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39576         (__ASSUME_UTIMES): Do not define.
39577         (__ASSUME_O_CLOEXEC): Likewise.
39578         (__ASSUME_SOCK_CLOEXEC): Likewise.
39579         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39580         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39581         0x020621].
39582         (__ASSUME_PIPE2): Likewise.
39583         (__ASSUME_EVENTFD2): Likewise.
39584         (__ASSUME_SIGNALFD4): Likewise.
39585         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39586         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39587         Do not define.
39588         (__ASSUME_EVENTFD2): Likewise.
39589         (__ASSUME_SIGNALFD4): Likewise.
39590         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39591         (__ASSUME_32BITUIDS): Likewise.
39592         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39593         (__ASSUME_IPC64): Likewise.
39594         (__ASSUME_ST_INO_64_BIT): Likewise.
39595         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39596         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39597         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39598         (__ASSUME_UTIMES): Do not define.
39599         (__ASSUME_PSELECT): Likewise.
39600         (__ASSUME_PPOLL): Likewise.
39601         (__ASSUME_O_CLOEXEC): Likewise.
39602         (__ASSUME_SOCK_CLOEXEC): Likewise.
39603         (__ASSUME_IN_NONBLOCK): Likewise.
39604         (__ASSUME_PIPE2): Likewise.
39605         (__ASSUME_EVENTFD2): Likewise.
39606         (__ASSUME_SIGNALFD4): Likewise.
39607         (__ASSUME_DUP3): Likewise.
39608         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39609         (__ASSUME_UTIMES): Likewise.
39610         (__ASSUME_O_CLOEXEC): Likewise.
39611         (__ASSUME_SOCK_CLOEXEC): Likewise.
39612         (__ASSUME_IN_NONBLOCK): Likewise.
39613         (__ASSUME_PIPE2): Likewise.
39614         (__ASSUME_EVENTFD2): Likewise.
39615         (__ASSUME_SIGNALFD4): Likewise.
39616         (__ASSUME_DUP3): Likewise.
39617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39618         (__ASSUME_UTIMES): Likewise.
39619         (__ASSUME_O_CLOEXEC): Likewise.
39620         (__ASSUME_SOCK_CLOEXEC): Likewise.
39621         (__ASSUME_IN_NONBLOCK): Likewise.
39622         (__ASSUME_PIPE2): Likewise.
39623         (__ASSUME_EVENTFD2): Likewise.
39624         (__ASSUME_SIGNALFD4): Likewise.
39625         (__ASSUME_DUP3): Likewise.
39626         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39627         Likewise.
39628         (__ASSUME_UTIMES): Likewise.
39629         (__ASSUME_EVENTFD2): Likewise.
39630         (__ASSUME_SIGNALFD4): Likewise.
39631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39632         (__ASSUME_O_CLOEXEC): Likewise.
39633         (__ASSUME_SOCK_CLOEXEC): Likewise.
39634         (__ASSUME_IN_NONBLOCK): Likewise.
39635         (__ASSUME_PIPE2): Likewise.
39636         (__ASSUME_EVENTFD2): Likewise.
39637         (__ASSUME_SIGNALFD4): Likewise.
39638         (__ASSUME_DUP3): Likewise.
39639         (__ASSUME_UTIMES): Undefine.
39641         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39642         feclearexcept.  Remove symbol versioning code.
39643         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39644         symbol versioning code.
39645         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39646         symbol versioning code.
39647         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39648         feupdateenv.  Remove symbol versioning code.
39649         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39650         fegetexceptflag.  Remove symbol versioning code.
39651         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39652         fesetexceptflag.  Remove symbol versioning code.
39653         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39654         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39655         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39656         (__posix_fadvise64_l32): Remove prototype.
39657         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39658         code.
39660 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39662         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39663         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39664         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39665         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39667 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39669         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39670         current working directory
39672 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39674         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39675         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39676         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39677         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39678         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39679         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39680         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39681         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39682         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39683         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39684         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39685         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39687         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39688         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39689         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39691         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39692         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39693         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39694         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39695         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39696         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39697         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39698         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39699         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39700         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39701         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39702         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39703         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39704         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39705         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39706         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39707         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39708         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39709         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39710         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39711         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39712         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39713         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39714         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39715         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39717         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39718         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39720         * sysdeps/unix/sysv/linux/arm/Makefile
39721         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39722         Add rt-aeabi_unwind_cpp_pr1.
39723         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39724         Add nptl-aeabi_unwind_cpp_pr1.
39725         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39726         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39727         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39728         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39729         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39730         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39732         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39733         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39734         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39735         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39737         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39738         Deconditionalize the code that was previously under [RESET_PID].
39739         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39741         * sysdeps/generic/exit-thread.h: New file.
39742         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39743         * include/unistd.h (__exit_thread): Remove declaration.
39744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39745         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39746         * csu/libc-start.c: Include <exit-thread.h>.
39747         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39748         * nptl/pthread_create.c: Include <exit-thread.h>.
39749         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39750         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39751         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39752         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39753         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39754         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39755         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39756         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39757         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39758         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39759         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39760         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39761         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39762         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39763         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39764         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39765         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39767 2014-05-13  Andreas Schwab  <schwab@suse.de>
39769         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39771 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39773         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39774         (__ASSUME_UTIMES): Do not condition on kernel version.
39775         (__ASSUME_PSELECT): Define unconditionally.
39776         (__ASSUME_PPOLL): Likewise.
39777         (__ASSUME_ATFCTS): Likewise.
39778         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39779         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39780         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39781         (__ASSUME_UTIMENSAT): Define unconditionally.
39782         (__ASSUME_PRIVATE_FUTEX): Likewise.
39783         (__ASSUME_FALLOCATE): Likewise.
39784         (__ASSUME_O_CLOEXEC): Likewise.
39785         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39786         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39787         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39788         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39789         (__ASSUME_IN_NONBLOCK): Likewise.
39790         (__ASSUME_PIPE2): Likewise.
39791         (__ASSUME_EVENTFD2): Likewise.
39792         (__ASSUME_SIGNALFD4): Likewise.
39793         (__ASSUME_DUP3): Likewise.
39794         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39795         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39796         (__ASSUME_AT_RANDOM): Likewise.
39797         (__ASSUME_PREADV): Likewise.
39798         (__ASSUME_PWRITEV): Likewise.
39799         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39800         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39801         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39802         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39803         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39804         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39805         (__ASSUME_O_CLOEXEC): Define unconditionally.
39806         (__ASSUME_PSELECT): Do not undefine conditionally.
39807         (__ASSUME_PPOLL): Likewise.
39808         (__ASSUME_ATFCTS): Likewise.
39809         (__ASSUME_SET_ROBUST_LIST): Likewise.
39810         (__ASSUME_UTIMENSAT): Likewise.
39811         (__ASSUME_FDATASYNC): Define unconditionally.
39812         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39813         (__ASSUME_SIGFRAME_V2): Likewise.
39814         )__ASSUME_EVENTFD2): Likewise.
39815         (__ASSUME_SIGNALFD4): Likewise.
39816         (__ASSUME_PSELECT): Do not undefine conditionally.
39817         (__ASSUME_PPOLL): Likewise.
39818         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39819         (__ASSUME_PSELECT): Define unconditionally.
39820         (__ASSUME_PPOLL): Likewise.
39821         (__ASSUME_O_CLOEXEC): Likewise.
39822         (__ASSUME_SOCK_CLOEXEC): Likewise.
39823         (__ASSUME_IN_NONBLOCK): Likewise.
39824         (__ASSUME_PIPE2): Likewise.
39825         (__ASSUME_EVENTFD2): Likewise.
39826         (__ASSUME_SIGNALFD4): Likewise.
39827         (__ASSUME_DUP3): Likewise.
39828         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39829         (__ASSUME_O_CLOEXEC): Likewise.
39830         (__ASSUME_SOCK_CLOEXEC): Likewise.
39831         (__ASSUME_IN_NONBLOCK): Likewise.
39832         (__ASSUME_PIPE2): Likewise.
39833         (__ASSUME_EVENTFD2): Likewise.
39834         (__ASSUME_SIGNALFD4): Likewise.
39835         (__ASSUME_DUP3): Likewise.
39836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39837         (__ASSUME_EVENTFD2): Likewise.
39838         (__ASSUME_SIGNALFD4): Likewise.
39839         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39841 2014-05-12  Andreas Schwab  <schwab@suse.de>
39843         [BZ #16932]
39844         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39845         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39846         than maximum RPC packet size.
39847         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39848         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39849         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39850         (_nss_nis_getservbyport_r): Likewise.
39852 2014-05-12  Will Newton  <will.newton@linaro.org>
39854         * malloc/Makefile (tests): Add tst-mallopt.
39855         * malloc/tst-mallopt.c: New file.
39857 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39859         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39860         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39862 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39864         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39865         (tst-tlsmod6.so): Likewise.
39867 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39869         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39871 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39873         [BZ #16064]
39874         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39875         and <dl-procinfo.h>.
39876         (__fegetenv): Save SSE state in envp->__eip if supported.
39877         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39878         envp->__eip if supported.
39879         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39880         and <dl-procinfo.h>.
39881         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39882         __data_offset and __data_selector in environment to 0.  Set SSE
39883         state if supported.
39884         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39885         test-fenv-sse.
39886         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39887         -mfpmath=sse.
39888         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39890 2014-05-09  Will Newton  <will.newton@linaro.org>
39892         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39893         and libc_relro_required for ARM.
39894         * sysdeps/arm/preconfigure: Regenerate.
39896 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39897             Stefan Liebler  <stli@linux.vnet.ibm.com>
39899         * config.make.in (enable-lock-elision): New Makefile variable.
39900         * configure.ac: Likewise.
39901         * configure: Regenerate.
39902         * sysdeps/s390/configure.ac:
39903         Add check for gcc transactions support.
39904         * sysdeps/s390/configure: Regenerate.
39905         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39906         Build elision files if enabled.
39907         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39908         Add lock elision support for s390.
39909         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39910         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39911         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39912         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39913         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39914         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39916         Likewise.
39917         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39918         Likewise.
39919         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39920         Likewise.
39921         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39922         Likewise.
39923         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39924         (__lll_timedlock_elision, __lll_lock_elision)
39925         (__lll_unlock_elision, __lll_trylock_elision)
39926         (lll_timedlock_elision, lll_lock_elision)
39927         (lll_unlock_elision, lll_trylock_elision): Add.
39928         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39929         (pthread_mutex_t): Add lock elision support for s390.
39931 2014-05-14  Wilco  <wdijkstr@arm.com>
39933         * sysdeps/arm/fclrexcpt.c: Cleanup.
39934         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39935         * sysdeps/arm/feenablxcpt.c: Cleanup.
39936         * sysdeps/arm/fegetenv.c: Cleanup.
39937         * sysdeps/arm/fegetexcept.c: Cleanup.
39938         * sysdeps/arm/fegetround.c: Cleanup.
39939         * sysdeps/arm/feholdexcpt.c: Cleanup.
39940         * sysdeps/arm/fesetenv.c: Cleanup.
39941         * sysdeps/arm/fesetround.c: Cleanup.
39942         * sysdeps/arm/feupdateenv.c: Cleanup.
39943         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39944         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39945         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39946         * sysdeps/arm/ftestexcept.c: Cleanup.
39947         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39948         * sysdeps/arm/setfpucw.c: Cleanup.
39950 2014-05-09  Will Newton  <will.newton@linaro.org>
39952         * sysdeps/arm/armv7/strcmp.S: New file.
39953         * NEWS: Mention addition of ARMv7 optimized strcmp.
39955 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39957         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39958         look for %.ac rather than %.in.
39960         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39961         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39962         * sysdeps/mach/hurd/configure: Regenerated.
39963         * sysdeps/unix/sysv/linux/configure: Regenerated.
39965         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39967 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39969         [BZ# 16922]
39970         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39971         (LONG_SUB): Ditto.
39972         (PTR_SUB): Ditto.
39974 2014-05-07  Andreas Schwab  <schwab@suse.de>
39976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39977         when skipping over non-matching result from nscd.
39979 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39981         [BZ #16876]
39982         * nptl/sockperf.c (client): Check socket return value.
39984         [BZ #16877]
39985         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39986         nscd security class.
39988 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39990         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39991         * sysdeps/arm/unwind.h: ... here.
39993 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39995         [BZ# 16916]
39996         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39997         Define.
39999 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40001         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40002         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40003         multiarch strncpy for PPC64.
40004         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40007         multiarch optimizations.
40008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40009         (__libc_ifunc_impl_list): Likewise.
40010         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40012         multiarch stpncpy for PPC64.
40013         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40014         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40016 2014-05-06  Andreas Schwab  <schwab@suse.de>
40018         [BZ #16912]
40019         * gmon/mcount.c (_MCOUNT_DECL): Use
40020         atomic_compare_and_exchange_bool_acq instead of
40021         catomic_compare_and_exchange_bool_acq.
40023 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40025         * elf/Makefile (others, install-bin): Remove pldd.
40026         (pldd-modules): Variable removed.
40027         ($(objpfx)pldd): Target removed.
40028         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40029         (others, install-bin): Append pldd here.
40030         ($(objpfx)pldd): New target.
40032         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40033         to 0, so the first #if test emitted later doesn't see it undefined.
40034         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40035         * sysdeps/gnu/errlist.c: Regenerated.
40037 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40039         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40040         [libc_hidden_builtin_def]: Define to empty value.
40041         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40042         [libc_hidden_builtin_def]: Likewise.
40043         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40044         [libc_hidden_builtin_def]: Likewise.
40045         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40046         [libc_hidden_builtin_def]: Likewise.
40047         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40048         __redirect_memcpy and define ifunc as default hidden symbol.
40049         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40050         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40052 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40054         * locale/iso-4217.def: Reintroduce XDR currency.
40056 2014-05-04  Allan McRae  <allan@archlinux.org>
40058         * po/eo.po: Update Esperanto translation from translation project.
40060 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40062         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40063         and FEATURE_INDEX_MAX to 1.
40064         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40066 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40068         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40069         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40070         * iconvdata/big5.c (ONE_DIRECTION): Define.
40071         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40072         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40073         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40074         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40075         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40076         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40077         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40078         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40079         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40080         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40081         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40082         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40083         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40084         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40085         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40086         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40087         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40088         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40089         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40090         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40091         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40092         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40093         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40094         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40095         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40096         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40097         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40098         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40099         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40100         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40101         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40102         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40103         * iconvdata/johab.c (ONE_DIRECTION): Define.
40104         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40105         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40106         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40107         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40108         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40109         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40110         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40111         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40112         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40113         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40115 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40117         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40118         (_IO_JUMPS_OFFSET): Define to 0.
40120         * nptl/sysdeps/pthread/bits/libc-lock.h
40121         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40122         (__libc_lock_define_initialized_recursive): Always define using
40123         initializer.  Modern compilers treat uninitialized (implicit zero) and
40124         explicit zero initializers the same (i.e. put the datum in bss).
40126 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40128         * nscd/nscd-client.h: Include <string.h>.
40130 2014-05-01  David S. Miller  <davem@davemloft.net>
40132         [BZ #16885]
40133         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40134         multiple zero bytes exist at the end of a string.
40135         Reported by Aurelien Jarno <aurelien@aurel32.net>
40137         * string/test-strcmp.c (check): Add explicit test for situations where
40138         there are multiple zero bytes after the first.
40140 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40142         [BZ #16890]
40143         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40144         when compiling wprintf.
40145         * stdio-common/tstdiomisc.c (t3): New function.
40146         (main): Call it.
40148 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40150         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40151         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40152         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40153         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40155 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40157         * stdlib/longlong.h: Updated from GCC.
40159 2014-05-01  Will Newton  <will.newton@linaro.org>
40160             Bernard Ogden  <bernie.ogden@linaro.org>
40162         * NEWS: Update fixed bug list.
40164         [BZ #15119]
40165         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40167 2014-04-30  David S. Miller  <davem@davemloft.net>
40169         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40170         (libc_feholdexcept_setround_sparc_ctx): New function.
40171         (libc_fesetenv_sparc_ctx): Likewise.
40172         (libc_feupdateenv_sparc_ctx): Likewise.
40173         (libc_feholdsetround_sparc_ctx): Likewise.
40174         (libc_feholdexcept_setround_ctx): Define.
40175         (libc_feholdexcept_setroundf_ctx): Likewise.
40176         (libc_feholdexcept_setroundl_ctx): Likewise.
40177         (libc_fesetenv_ctx): Likewise.
40178         (libc_fesetenvf_ctx): Likewise.
40179         (libc_fesetenvl_ctx): Likewise.
40180         (libc_feupdateenv_ctx): Likewise.
40181         (libc_feupdateenvf_ctx): Likewise.
40182         (libc_feupdateenvl_ctx): Likewise.
40183         (libc_feresetround_ctx): Likewise.
40184         (libc_feresetroundf_ctx): Likewise.
40185         (libc_feresetroundl_ctx): Likewise.
40186         (libc_feholdsetround_ctx): Likewise.
40187         (libc_feholdsetroundf_ctx): Likewise.
40188         (libc_feholdsetroundl_ctx): Likewise.
40190         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40191         with __USE_GNU instead of XOPEN cpp guards.
40193         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40194         0.
40196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40197         with XOPEN cpp guards.
40199 2014-04-30  Julian Brown  <julian@codesourcery.com>
40201         [BZ #16888]
40202         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40203         handling.
40205 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40207         [BZ #9894]
40208         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40209         Change to 2.6.32.
40210         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40211         * sysdeps/unix/sysv/linux/configure: Regenerated.
40212         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40213         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40214         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40215         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40216         * README: Update reference to required Linux kernel version.
40217         * manual/install.texi (Linux): Update reference to required Linux
40218         kernel headers version.
40219         * INSTALL: Regenerated.
40221         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40222         header inclusion.
40223         [POSIX] (limits.h): Likewise.
40224         [POSIX] (math.h): Likewise.
40225         [POSIX] (sys/wait.h): Likewise.
40226         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40227         function.
40228         [POSIX] (stddef.h): Do not allow header inclusion.
40230 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40232         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40234 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40236         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40237         Return immediately after lll_futex_wake.
40239 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40241         [BZ #16791]
40242         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40243         structure.
40244         (datahead_init_pos): Call datahead_init_common early.
40245         (datahead_init_neg): Likewise.
40247         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40248         datahead_init_neg): New functions.
40249         * nscd/aicache.c (addhstaiX): Use them.
40250         * nscd/grpcache.c (cache_addgr): Likewise.
40251         * nscd/hstcache.c (cache_addhst): Likewise.
40252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40253         * nscd/netgroupcache.c (do_notfound): Likewise.
40254         (addgetnetgrentX): Likewise.
40255         (addinnetgrX): Likewise.
40256         * nscd/pwdcache.c (cache_addpw): Likewise.
40257         * nscd/servicescache.c (cache_addserv): Likewise.
40259 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40260             Atsushi Onoe  <atsushi@onoe.org>
40262         [BZ #14308]
40263         [BZ #12994]
40264         [BZ #13651]
40265         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40266         one response is valid.
40267         * resolv/res_send.c (send_dg): Check for validity of other
40268         response if the current response is a referral.
40270 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40272         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40274 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40276         [BZ #16823]
40277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40278         Always divide by positive zero when computing -Inf result.
40279         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40280         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40282 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40284         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40285         FPSCR if value do not change.
40286         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40287         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40288         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40289         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40290         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40291         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40292         function.
40294 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40296         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40297         * sysdeps/unix/sysv/linux/hppa: Move directory from
40298         ports/systeps/unix/sysv/linux/hppa.
40299         * README: Update listing for hppa-*-linux-gnu.
40301 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40303         [BZ #16754]
40304         * manual/stdio.texi (Hook functions): Fix types of stream hook
40305         functions.
40306         [BZ #16854]
40307         * socket/sys/socket.h: Fix typo in comment.
40309 2014-04-28  Wilco  <wdijkstr@arm.com>
40311         * sysdeps/arm/fenv_private.h: New file.
40312         * sysdeps/arm/math_private.h: New file.
40313         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40315 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40317         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40318         with __int128_t.
40319         (La_x86_64_retval): Likewise.
40321 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40323         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40324         fpsr if value didn't change.
40325         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40326         to fpcr if value didn't change.
40327         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40328         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40329         fpsr or fpcr if value didn't change.
40330         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40331         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40332         fpcr if value didn't change.
40333         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40334         to fpsr if value didn't change.
40336 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40338         * nptl/tst-sem3.c: Use test-skeleton.c
40339         (main): Rename to do_test.  Use return instead of
40340         exit.
40341         * nptl/tst-sem4.c: Use test-skeleton.c
40342         (main): Rename to do_test.
40344 2014-04-22  David S. Miller  <davem@davemloft.net>
40346         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40347         (struct sigaction): New struct member __glibc_reserved0, change
40348         type of sa_flags to int.
40350 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40352         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40353         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40355 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40357         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40358         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40360 2014-04-22  Will Newton  <will.newton@linaro.org>
40361             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40363         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40364         (__longjmp): Add longjmp and longjmp_target SystemTap
40365         probes.
40366         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40367         (__sigsetjmp): Add setjmp SystemTap probe.
40369 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40371         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40372         match manual order.
40374 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40376         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40378         * sysdeps/powerpc/fpu/fenv_private.h
40379         (libc_feholdexcept_setroundl_ctx): Define to
40380         libc_feholdexcept_setround_ppc_ctx.
40381         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40382         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40383         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40384         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40386 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40388         * sysdeps/aarch64/math-tests.h: New file.
40390 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40392         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40393         New.
40394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40395         Check and set bit_AVX2_Usable.
40396         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40397         macro.
40398         (bit_AVX2): Likewise.
40399         (index_AVX2_Usable): Likewise.
40400         (CPUID_AVX2): Likewise.
40401         (HAS_AVX2): Likewise.
40403 2014-04-17  Will Newton  <will.newton@linaro.org>
40405         * manual/setjmp.texi (System V contexts): Add note that
40406         calling setcontext on a context created by a call to a
40407         signal handler is undefined.  Update text to note that
40408         setcontext from a signal handler is possible but not
40409         recommended.
40411         [BZ #16629]
40412         * stdlib/tst-setcontext.c: Include signal.h.
40413         (main): Check that the signal stack before and
40414         after swapcontext is the same.
40416         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40417         Re-implement to restore registers in user code and avoid
40418         rt_sigreturn system call.
40420 2014-04-17  Wilco  <wdijkstr@arm.com>
40422         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40423         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40424         * math/test-fenv.c: Skip exception trap tests on targets which only
40425         support non-stop mode.
40427 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40428             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40430         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40431         (libc_feholdsetround_aarch64_ctx)
40432         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40433         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40434         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40435         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40436         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40437         (libc_feresetround_noexl_ctx): Define.
40439 2014-04-16  Richard Henderson  <rth@redhat.com>
40441         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40443         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40444         unwind tables.
40446         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40447         const from the non-libc, non-ldso copy.
40449         * sysdeps/alpha/libm-test-ulps: Regenerate.
40451 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40452             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40454         * sysdeps/aarch64/fpu/math_private.h: New file.
40456 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40458         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40460 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40462         [BZ #16275]
40463         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40464         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40466         Intel MPX bound registers before _dl_profile_fixup.
40467         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40468         registers after _dl_profile_fixup.  Save and restore bound
40469         registers bnd0/bnd1 when calling _dl_call_pltexit.
40470         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40471         (LR_BND_OFFSET): Likewise.
40472         (LRV_BND0_OFFSET): Likewise.
40473         (LRV_BND1_OFFSET): Likewise.
40475 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40477         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40478         to...
40479         * sysdeps/mach/hurd/i386/tls.h: ... here.
40480         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40481         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40482         fields.
40484 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40486         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40488 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40490         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40492 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40494         [BZ #14770]
40495         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40496         * sysdeps/s390/configure: Regenerate.
40498         [BZ #16824]
40499         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40500         Set round-to-nearest internally to reduce error accumulation.
40502 2014-04-16  Alan Modra  <amodra@gmail.com>
40504         [BZ #16740]
40505         [BZ #16619]
40506         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40507         * math/libm-test.inc (frexp_test_data): Add tests.
40508         * NEWS: Update fixed bug list.
40510 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40512         * benchtests/Makefile: Depend on libraries in build directory.
40513         (bench-math): Separate out math tests.
40514         (bench-pthread): Separate out pthread tests.
40515         (bench): Include math and pthread tests.
40517 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40519         [BZ #16831]
40520         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40521         _dl_debug_initialize.
40523         * configure.ac: Remove SELinux header check.
40524         * configure: Regenerate.
40525         * nscd/selinux.c (perms): Array of const char* to permission names.
40526         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40527         default policy. Call string_to_security_class and string_to_av_perm to
40528         translate strings. Enforce default policy and call avs_has_perm with
40529         results of translated strings.
40531 2014-04-13  David S. Miller  <davem@davemloft.net>
40533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40535 2014-04-12  Allan McRae  <allan@archlinux.org>
40537         [BZ #16838]
40538         * manual/string.texi (Collation Functions): Fix qsort argument
40539         order in example.
40540         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40542 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40544         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40545         Make the test a no-op if there are no exceptions defined.
40547 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40549         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40550         enable-hardcoded-path-in-tests
40552 2014-04-11  Will Newton  <will.newton@linaro.org>
40554         * benchtests/Makefile (extra-objs): Add json-lib.o.
40555         (bench-func): Tidy up JSON output.
40556         * benchtests/bench-skeleton.c: Include json-lib.h.
40557         (main): Use JSON library functions to do output of
40558         benchmark results.
40559         * benchtests/bench-timing-type.c (main): Output the
40560         timing type simply, leaving formatting to the user.
40561         * benchtests/json-lib.c: New file.
40562         * benchtests/json-lib.h: Likewise.
40564 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40566         [BZ #15215]
40567         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40568         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40569         memory barriers.  Add comments.
40570         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40571         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40572         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40573         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40574         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40575         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40577 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40579         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40580         * sysdeps/s390/s390-64/configure.ac: ... this ...
40581         * sysdeps/s390/configure.ac: ... to here.
40582         * sysdeps/s390/s390-32/configure: Delete file.
40583         * sysdeps/s390/s390-64/configure: Delete file.
40584         * sysdeps/s390/configure: Regenerate.
40586 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40588         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40590 2014-04-11  Will Newton  <will.newton@linaro.org>
40592         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40593         to zero if it is not defined elsewhere.  (mtrim): Test
40594         the value of MALLOC_DEBUG with #if rather than #ifdef.
40596 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40598         * benchtests/pthread_once-inputs: New file.
40599         * benchtests/pthread_once-source.c: New file.
40600         * benchtests/README: Update documentation.
40602 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40603             H.J. Lu  <hongjiu.lu@intel.com>
40605         [BZ #16275]
40606         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40607         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40608         * sysdeps/x86_64/configure: Regenerated.
40609         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40610         macro.
40611         (REGISTER_SAVE_RAX): Likewise.
40612         (REGISTER_SAVE_RCX): Likewise.
40613         (REGISTER_SAVE_RDX): Likewise.
40614         (REGISTER_SAVE_RSI): Likewise.
40615         (REGISTER_SAVE_RDI): Likewise.
40616         (REGISTER_SAVE_R8): Likewise.
40617         (REGISTER_SAVE_R9): Likewise.
40618         (REGISTER_SAVE_BND0): Likewise.
40619         (REGISTER_SAVE_BND1): Likewise.
40620         (REGISTER_SAVE_BND2): Likewise.
40621         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40622         bound registers when calling _dl_fixup.
40624 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40626         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40627         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40628         of its definition.
40629         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40630         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40631         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40632         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40633         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40634         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40635         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40637 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40639         [BZ #15514]
40640         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40641         pathconf(_PC_NAME_MAX).
40643 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40645         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40646         Remove macro usage.
40647         (__PTHREAD_SPINS): Move definition to ...
40648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40649         (__PTHREAD_SPINS): ... here.
40650         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40651         (__PTHREAD_SPIN): Likewise.
40652         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40653         (__PTHREAD_SPIN): Likewise.
40654         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40655         (__PTHREAD_SPIN): Likewise.
40656         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40657         (__PTHREAD_SPIN): Likewise.
40658         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40659         (__PTHREAD_SPIN): Likewise.
40660         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40661         (__PTHREAD_SPIN): Likewise.
40662         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40663         (__PTHREAD_SPIN): Likewise.
40664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40665         (__PTHREAD_SPIN): Likewise.
40666         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40667         (__PTHREAD_SPIN): Likewise.
40668         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40669         (__PTHREAD_SPIN): Likewise.
40670         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40671         (__PTHREAD_SPIN): Likewise.
40672         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40673         (__PTHREAD_SPIN): Likewise.
40675         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40676         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40677         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40678         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40679         imply folder.
40680         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40681         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40682         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40683         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40684         correct imply path.
40685         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40686         strlen symbol for non multi-arch builds.
40687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40688         missing hidden_def and weak_alias.
40690 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40692         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40694 2014-04-07  Will Newton  <will.newton@linaro.org>
40696         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40697         and contents.  [!_LIBC] Remove #ifndef and contents.
40698         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40699         * string/memccpy.c (__memccpy): Use ANSI prototype.
40700         * string/memfrob.c (memfrob): Likewise.
40701         * string/strcoll.c (STRCOLL): Likewise.
40702         * string/strlen.c (strlen): Likewise.
40703         * string/strtok.c (STRTOK): Likewise.
40704         * string/strcat.c: Remove unused #include of memcopy.h.
40705         (strcat): Use ANSI prototype.
40706         * string/strchr.c: Remove unused #include of memcopy.h.
40707         (strchr): Use ANSI prototype.
40708         * string/strcmp.c: Remove unused #include of memcopy.h.
40709         (strcmp): Use ANSI prototype.
40710         * string/strcpy.c: Remove unused #include of memcopy.h.
40711         (strcpy): Use ANSI prototype.
40713 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40715         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40716         * config.make.in (config-extra-cppflags): Set it from
40717         libc_extra_cppflags.
40718         * configure.ac (libc_extra_cflags): Make it accumulate over
40719         configure fragments.
40720         (libc_extra_cppflags): New flag.
40721         * configure. Regenerate.
40722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40723         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40724         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40727         [BZ #16815]
40728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40729         result for FE_DOWNWARD rounding mode.
40730         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40731         Likewise.
40732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40734 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40736         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40737         in function argument name.
40739 2014-04-03  David Svoboda  <svoboda@cert.org>
40741         [BZ #5666]
40742         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40743         explicitly.
40745 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40747         * elf/dl-unmap-segments.h: New file.
40748         * sysdeps/generic/ldsodefs.h
40749         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40750         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40751         * elf/dl-fptr.c: Likewise.
40752         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40753         * sysdeps/aarch64/tlsdesc.c: Likewise.
40754         * sysdeps/arm/tlsdesc.c: Likewise.
40755         * sysdeps/i386/tlsdesc.c: Likewise.
40756         * sysdeps/tile/dl-runtime.c: Likewise.
40757         * sysdeps/x86_64/tlsdesc.c: Likewise.
40758         * elf/dl-load.h: New file.
40759         * elf/dl-load.c: Include it.
40760         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40761         Macros moved to dl-load.h.
40762         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40763         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40764         Use _dl_unmap_segments in place of __munmap.
40765         Break out segment-mapping loop into ...
40766         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40768 2014-04-03  Will Newton  <will.newton@linaro.org>
40770         * elf/dl-lookup.c (do_lookup_x): Remove comment
40771         referring to nested function and move variable
40772         declarations down to before first use.
40774 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40776         [BZ #16799]
40777         [BZ #16800]
40778         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40779         with 0 numerator.
40780         * math/s_catanf.c (__catanf): Likewise.
40781         * math/s_catanh.c (__catanh): Likewise.
40782         * math/s_catanhf.c (__catanhf): Likewise.
40783         * math/s_catanhl.c (__catanhl): Likewise.
40784         * math/s_catanl.c (__catanl): Likewise.
40785         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40786         by positive zero when computing -Inf result.
40787         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40788         (catanh_test): Likewise.
40789         * sysdeps/i386/fpu/libm-test-ulps: Update.
40790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40792         [BZ #16789]
40793         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40794         instead of using underflowing value in computing result.
40795         * math/s_clog10.c (__clog10): Likewise.
40796         * math/s_clog10f.c (__clog10f): Likewise.
40797         * math/s_clog10l.c (__clog10l): Likewise.
40798         * math/s_clogf.c (__clogf): Likewise.
40799         * math/s_clogl.c (__clogl): Likewise.
40800         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40801         (clog10_test): Likewise.
40802         * sysdeps/i386/fpu/libm-test-ulps: Update.
40803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805 2014-04-02  Alan Modra  <amodra@gmail.com>
40807         [BZ #16739]
40808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40809         output when value is near a power of two.  Use int64_t for lx and
40810         remove casts.  Use decimal rather than hex exponent constants.
40811         Don't use long double multiplication when double will suffice.
40812         * math/libm-test.inc (nextafter_test_data): Add tests.
40813         * NEWS: Add 16739 and 16786 to bug list.
40815         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40817         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40819 2014-04-01  Will Newton  <will.newton@linaro.org>
40821         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40822         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40824 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40826         [BZ #13347]
40827         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40828         * nptl/tst-setuid2.c: New file.
40829         * nptl/Makefile (xtests): Add tst-setuid2.
40831 2014-04-01  Alan Modra  <amodra@gmail.com>
40833         [BZ #16786]
40834         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40836 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40838         [BZ #6803]
40839         [BZ #6804]
40840         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40841         set errno as appropriate.
40842         * math/w_scalbf.c (__scalbf): Likewise.
40843         * math/w_scalbl.c (__scalbl): Likewise.
40844         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40845         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40846         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40847         Add more NaN tests.
40849         [BZ #16349]
40850         * math/w_atan2.c: Include <errno.h>.
40851         (__atan2): Set errno for result underflowing to zero.
40852         * math/w_atan2f.c: Include <errno.h>.
40853         (__atan2f): Set errno for result underflowing to zero.
40854         * math/w_atan2l.c: Include <errno.h>.
40855         (__atan2l): Set errno for result underflowing to zero.
40856         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40857         tests.
40858         * math/auto-libm-test-out: Regenerated.
40860 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40862         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40863         Encode instruction correctly in little endian.
40864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40865         Likewise.
40866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40867         Likewise.
40868         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40869         Likewise.
40870         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40871         Likewise.
40873 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40875         [BZ #9894]
40876         * sysdeps/unix/sysv/linux/kernel-features.h
40877         [__sparc__ && !__arch64__ && !__sparc_v9__]
40878         (__ASSUME_SET_ROBUST_LIST): Do not define.
40879         [__sparc__ && !__arch64__ && !__sparc_v9__]
40880         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40881         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40882         Likewise.
40883         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40884         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40885         (__ASSUME_REQUEUE_PI): Likewise.
40886         (__ASSUME_SET_ROBUST_LIST): Likewise.
40887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40888         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40889         Undefine.
40890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40891         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40892         Likewise.
40893         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40894         Likewise.
40895         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40896         Likewise.
40897         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40898         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40899         Undefine.
40900         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40901         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40902         Likewise.
40904         [BZ #16648]
40905         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40907         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40909 2014-03-31  Will Newton  <will.newton@linaro.org>
40911         * benchtests/Makefile (bench): Add ffs and ffsll to list
40912         of tests.
40913         * benchtests/ffs-inputs: New file.
40914         * benchtests/ffsll-inputs: Likewise.
40916 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40918         [BZ #16770]
40919         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40920         too large before casting to int.
40921         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40922         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40923         * math/libm-test.inc (scalb_test_data): Add more tests.
40925 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40927         * benchtests/Makefile (DETAILED_OPT): New make option.
40928         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40929         set.
40930         * benchtests/bench-skeleton.c: Include stdbool.h.
40931         (main): Store and print timings per input.
40932         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40933         member to each argument value.
40934         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40935         (_print_arg_data): Initialize per-input timing to 0.
40937         * benchtests/Makefile (timing-type): New binary.
40938         (bench-clean): Also remove bench-timing-type.
40939         (bench): New target for timing-type.
40940         (bench-func): Print output in JSON format.
40941         * benchtests/bench-skeleton.c (main): Print output in JSON
40942         format.
40943         * benchtests/bench-timing-type.c: New file.
40944         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40945         (TIMING_PRINT_STATS): Remove.
40946         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40947         name separately.
40949         * benchtests/bench-modf.c: Remove.
40950         * benchtests/modf-inputs: New inputs file.
40952 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40954         [BZ #16362]
40955         * math/s_clog10.c (M_PI_LOG10E): New macro.
40956         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40957         imaginary parts are 0.
40958         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40959         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40960         imaginary parts are 0.
40961         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40962         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40963         imaginary parts are 0.
40964         * math/libm-test.inc (clog10_test_data): Update expected results
40965         for when real and imaginary parts are 0.
40967 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40969         * elf/dl-load.c: Finish conversion of __builtin_expect into
40970         __glibc_{un}likely.
40972 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40974         [BZ #16348]
40975         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40976         1+x for argument with exponent below -67.
40977         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40978         Likewise.
40979         * math/auto-libm-test-in: Add more tests of exp.
40980         * math/auto-libm-test-out: Regenerated.
40982 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40984         [BZ #16759]
40985         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40986         (nscd_getnetgrent): Use it.
40988         [BZ #16760]
40989         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40990         of stpcpy.
40992 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40994         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40995         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40996         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40997         (lll_robust_unlock): Remove out of line section. Use cfi
40998         intrinsics.
40999         (LLL_STUB_UNWIND_INFO*): Remove.
41000         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41001         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41002         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41003         (lll_robust_unlock): Remove out of line section. Use cfi
41004         intrinsics.
41005         (LLL_STUB_UNWIND_INFO*): Remove.
41007 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41009         [BZ #16758]
41010         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41011         blank values.
41013 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41015         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41017 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41019         [BZ #16198]
41020         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41021         fnstenv.
41022         * math/test-fenv-preserve.c: New file.
41023         * math/Makefile (tests): Add test-fenv-preserve.
41025 2014-03-26  Will Newton <will.newton@linaro.org>
41027         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41029 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41031         * scripts/versionlist.awk: Partition the version sets and emit all
41032         GLIBC_* (sorted) before all others (sorted).
41034 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41036         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41037         GLIBC_2.2.5 version.
41039 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41041         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41042         calls.
41044         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41045         previous change.
41047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41049 2014-03-25  Andreas Schwab  <schwab@suse.de>
41051         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41052         label to be used after in6ailist is initialized.
41054 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41057         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41059 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41061         [BZ #16357]
41062         [BZ #16599]
41063         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41064         min_plus_half.
41065         (fp_formats): Update initializers.
41066         (init_fp_formats): Initialize new field.
41067         (output_for_one_input_case): Allow underflow for results up to
41068         min_plus_half.
41069         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41070         * math/auto-libm-test-in: Don't mark some underflows from asin and
41071         atanh as spurious.
41072         * math/auto-libm-test-out: Regenerated.
41073         * sysdeps/i386/fpu/libm-test-ulps: Update.
41074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41076 2014-03-25  Andreas Schwab  <schwab@suse.de>
41078         * libio/Makefile (tst-ftell-partial-wide-ENV)
41079         (tst-ftell-active-handler-ENV): Define.
41081 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41083         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41085 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41087         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41089 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41091         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41092         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41093         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41095 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41097         [BZ #16634]
41098         * elf/dl-load.c (open_verify): Add mode parameter.
41099         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41100         (open_path): Change from boolean 'secure' to complete flag 'mode'
41101         (_dl_map_object): Adjust.
41102         * elf/Makefile (tests): Add tst-dlopen-aout.
41103         * elf/tst-dlopen-aout.c: New test.
41105 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41107         [BZ #16714]
41108         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41109         (struct stat): Rename member pad0 to __glibc_reserved0.
41111         [BZ #16712]
41112         * sysdeps/s390/s390-32/bits/wordsize.h
41113         (__WORDSIZE32_SIZE_ULONG): New define.
41114         * sysdeps/s390/s390-64/bits/wordsize.h
41115         (__WORDSIZE32_SIZE_ULONG): Likewise.
41116         * sysdeps/generic/stdint.h (SIZE_MAX):
41117         Define as UL if __WORDSIZE32_SIZE_ULONG.
41119         [BZ #16713]
41120         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41121         (__glibc_reserved0): New variable.
41122         (sa_flags): Change type to int.
41124         * posix/Makefile (before-compile): Use += before-compile instead
41125         of a :=.
41127         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41128         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41130 2014-03-20  Andreas Schwab  <schwab@suse.de>
41132         [BZ #16743]
41133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41134         non-matching result from nscd.
41136 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41138         * scripts/bench.py: Moved to ...
41139         * benchtests/scripts/bench.py: ... here.
41140         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41142 2014-03-24  Andreas Schwab  <schwab@suse.de>
41144         [BZ #16002]
41145         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41146         alloca_account and account alloca use for struct in6ailist.
41148 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41150         [BZ #16284]
41151         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41152         rounding mode to recompute results that overflow to infinity or
41153         underflow to zero.
41154         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41155         bug 16284.
41156         * math/auto-libm-test-out: Regenerated.
41157         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41158         (ccosh_test): Likewise.
41159         (csin_test_data): Use plus_oflow.
41160         (csin_test): Use ALL_RM_TEST.
41161         (csinh_test_data): Use plus_oflow.
41162         (csinh_test): Use ALL_RM_TEST.
41163         * sysdeps/i386/fpu/libm-test-ulps: Update.
41164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41166 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41168         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41169         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41170         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41172         [BZ #16731]
41173         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41174         when x - 1 is zero.
41175         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41176         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41177         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41178         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41179         argument is 1.
41180         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41181         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41182         zero.
41183         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41184         * sysdeps/i386/fpu/libm-test-ulps: Update.
41185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41187 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41189         * scripts/bench.pl: Remove file.
41190         * scripts/bench.py: New benchmark script.
41191         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41192         * benchtests/README: Mention python dependency.
41193         * scripts/pylintrc: New file.
41194         * scripts/pylint: New file.
41196         * bits/mathdef.h: Use #ifdef instead of #if.
41197         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41198         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41199         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41200         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41201         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41202         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41204 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41205             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41207         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41209         and strpbrk-ppc64 objects.
41210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41211         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41212         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41213         multiarch strpbrk for POWER7.
41214         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41215         multiarch strpbrk for PPC64.
41216         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41217         ifunc selector.
41218         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41219         strpbrk for POWER7.
41221 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41223         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41224         (atan_test): Likewise.
41225         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41226         (atanh_test): Use ALL_RM_TEST.
41227         (atan2_test_data): Likewise.
41228         (cabs_test): Likewise.
41229         (cacosh_test): Likewise.
41230         (carg_test): Likewise.
41231         (casin_test): Likewise.
41232         (casinh_test): Likewise.
41233         (cbrt_test): Likewise.
41234         (csqrt_test): Likewise.
41235         (erf_test): Likewise.
41236         (erfc_test): Likewise.
41237         (pow10_test): Likewise.
41238         (exp2_test): Likewise.
41239         (hypot_test): Likewise.
41240         (j0_test): Likewise.
41241         (j1_test): Likewise.
41242         (lgamma_test): Likewise.
41243         (gamma_test): Likewise.
41244         (sincos_test): Likewise.
41245         (tanh_test): Likewise.
41246         (y0_test): Likewise.
41247         (y1_test): Likewise.
41248         * sysdeps/i386/fpu/libm-test-ulps: Update.
41249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41251 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41253         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41255         and strcspn-ppc64 objects.
41256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41257         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41258         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41259         multiarch strcspn for POWER7.
41260         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41261         multiarch strcspn for PPC64.
41262         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41263         ifunc selector.
41264         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41265         strcspn for POWER7.
41267 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41269         * math/gen-libm-test.pl (generate_testfile): Expect only function
41270         name as argument to AUTO_TESTS_* and pass results for all rounding
41271         modes to parse_args.
41272         (parse_auto_input): Separate inputs of automatic tests from
41273         outputs before storing in %auto_tests.
41274         * math/libm-test.inc (acos_test_data): Update call to
41275         AUTO_TESTS_f_f.
41276         (acos_test): Use ALL_RM_TEST.
41277         (acos_tonearest_test_data): Remove.
41278         (acos_test_tonearest): Likewise.
41279         (acos_towardzero_test_data): Likewise.
41280         (acos_test_towardzero): Likewise.
41281         (acos_downward_test_data): Likewise.
41282         (acos_test_downward): Likewise.
41283         (acos_upward_test_data): Likewise.
41284         (acos_test_upward): Likewise.
41285         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41286         (asin_test_data): Likewise.
41287         (asin_test): Use ALL_RM_TEST.
41288         (asin_tonearest_test_data): Remove.
41289         (asin_test_tonearest): Likewise.
41290         (asin_towardzero_test_data): Likewise.
41291         (asin_test_towardzero): Likewise.
41292         (asin_downward_test_data): Likewise.
41293         (asin_test_downward): Likewise.
41294         (asin_upward_test_data): Likewise.
41295         (asin_test_upward): Likewise.
41296         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41297         (atan_test_data): Likewise.
41298         (atanh_test_data): Likewise.
41299         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41300         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41301         (carg_test_data): Likewise.
41302         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41303         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41304         (ccosh_test_data): Likewise.
41305         (cexp_test_data): Likewise.
41306         (clog_test_data): Likewise.
41307         (clog10_test_data): Likewise.
41308         (cos_test_data): Update call to AUTO_TESTS_f_f.
41309         (cos_test): Use ALL_RM_TEST.
41310         (cos_tonearest_test_data): Remove.
41311         (cos_test_tonearest): Likewise.
41312         (cos_towardzero_test_data): Likewise.
41313         (cos_test_towardzero): Likewise.
41314         (cos_downward_test_data): Likewise.
41315         (cos_test_downward): Likewise.
41316         (cos_upward_test_data): Likewise.
41317         (cos_test_upward): Likewise.
41318         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41319         (cosh_test): Use ALL_RM_TEST.
41320         (cosh_tonearest_test_data): Remove.
41321         (cosh_test_tonearest): Likewise.
41322         (cosh_towardzero_test_data): Likewise.
41323         (cosh_test_towardzero): Likewise.
41324         (cosh_downward_test_data): Likewise.
41325         (cosh_test_downward): Likewise.
41326         (cosh_upward_test_data): Likewise.
41327         (cosh_test_upward): Likewise.
41328         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41329         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41330         (ctan_test_data): Likewise.
41331         (ctan_test): Use ALL_RM_TEST.
41332         (ctan_tonearest_test_data): Remove.
41333         (ctan_test_tonearest): Likewise.
41334         (ctan_towardzero_test_data): Likewise.
41335         (ctan_test_towardzero): Likewise.
41336         (ctan_downward_test_data): Likewise.
41337         (ctan_test_downward): Likewise.
41338         (ctan_upward_test_data): Likewise.
41339         (ctan_test_upward): Likewise.
41340         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41341         (ctanh_test): Use ALL_RM_TEST.
41342         (ctanh_tonearest_test_data): Remove.
41343         (ctanh_test_tonearest): Likewise.
41344         (ctanh_towardzero_test_data): Likewise.
41345         (ctanh_test_towardzero): Likewise.
41346         (ctanh_downward_test_data): Likewise.
41347         (ctanh_test_downward): Likewise.
41348         (ctanh_upward_test_data): Likewise.
41349         (ctanh_test_upward): Likewise.
41350         (erf_test_data): Update call to AUTO_TESTS_f_f.
41351         (erfc_test_data): Likewise.
41352         (exp_test_data): Likewise.
41353         (exp_test): Use ALL_RM_TEST.
41354         (exp_tonearest_test_data): Remove.
41355         (exp_test_tonearest): Likewise.
41356         (exp_towardzero_test_data): Likewise.
41357         (exp_test_towardzero): Likewise.
41358         (exp_downward_test_data): Likewise.
41359         (exp_test_downward): Likewise.
41360         (exp_upward_test_data): Likewise.
41361         (exp_test_upward): Likewise.
41362         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41363         (exp10_test): Use ALL_RM_TEST.
41364         (exp10_tonearest_test_data): Remove.
41365         (exp10_test_tonearest): Likewise.
41366         (exp10_towardzero_test_data): Likewise.
41367         (exp10_test_towardzero): Likewise.
41368         (exp10_downward_test_data): Likewise.
41369         (exp10_test_downward): Likewise.
41370         (exp10_upward_test_data): Likewise.
41371         (exp10_test_upward): Likewise.
41372         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41373         (expm1_test_data): Likewise.
41374         (expm1_test): Use ALL_RM_TEST.
41375         (expm1_tonearest_test_data): Remove.
41376         (expm1_test_tonearest): Likewise.
41377         (expm1_towardzero_test_data): Likewise.
41378         (expm1_test_towardzero): Likewise.
41379         (expm1_downward_test_data): Likewise.
41380         (expm1_test_downward): Likewise.
41381         (expm1_upward_test_data): Likewise.
41382         (expm1_test_upward): Likewise.
41383         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41384         (fma_test): Use ALL_RM_TEST.
41385         (fma_towardzero_test_data): Remove.
41386         (fma_test_towardzero): Likewise.
41387         (fma_downward_test_data): Likewise.
41388         (fma_test_downward): Likewise.
41389         (fma_upward_test_data): Likewise.
41390         (fma_test_upward): Likewise.
41391         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41392         (j0_test_data): Update call to AUTO_TESTS_f_f.
41393         (j1_test_data): Likewise.
41394         (jn_test_data): Update call to AUTO_TESTS_if_f.
41395         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41396         (log_test_data): Update call to AUTO_TESTS_f_f.
41397         (log10_test_data): Likewise.
41398         (log1p_test_data): Likewise.
41399         (log2_test_data): Likewise.
41400         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41401         (pow_tonearest_test_data): Likewise.
41402         (sin_test_data): Update call to AUTO_TESTS_f_f.
41403         (sin_test): Use ALL_RM_TEST.
41404         (sin_tonearest_test_data): Remove.
41405         (sin_test_tonearest): Likewise.
41406         (sin_towardzero_test_data): Likewise.
41407         (sin_test_towardzero): Likewise.
41408         (sin_downward_test_data): Likewise.
41409         (sin_test_downward): Likewise.
41410         (sin_upward_test_data): Likewise.
41411         (sin_test_upward): Likewise.
41412         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41413         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41414         (sinh_test): Use ALL_RM_TEST.
41415         (sinh_tonearest_test_data): Remove.
41416         (sinh_test_tonearest): Likewise.
41417         (sinh_towardzero_test_data): Likewise.
41418         (sinh_test_towardzero): Likewise.
41419         (sinh_downward_test_data): Likewise.
41420         (sinh_test_downward): Likewise.
41421         (sinh_upward_test_data): Likewise.
41422         (sinh_test_upward): Likewise.
41423         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41424         (sqrt_test): Use ALL_RM_TEST.
41425         (sqrt_tonearest_test_data): Remove.
41426         (sqrt_test_tonearest): Likewise.
41427         (sqrt_towardzero_test_data): Likewise.
41428         (sqrt_test_towardzero): Likewise.
41429         (sqrt_downward_test_data): Likewise.
41430         (sqrt_test_downward): Likewise.
41431         (sqrt_upward_test_data): Likewise.
41432         (sqrt_test_upward): Likewise.
41433         (tan_test_data): Update call to AUTO_TESTS_f_f.
41434         (tan_test): Use ALL_RM_TEST.
41435         (tan_tonearest_test_data): Remove.
41436         (tan_test_tonearest): Likewise.
41437         (tan_towardzero_test_data): Likewise.
41438         (tan_test_towardzero): Likewise.
41439         (tan_downward_test_data): Likewise.
41440         (tan_test_downward): Likewise.
41441         (tan_upward_test_data): Likewise.
41442         (tan_test_upward): Likewise.
41443         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41444         (tgamma_test_data): Likewise.
41445         (y0_test_data): Likewise.
41446         (y1_test_data): Likewise.
41447         (yn_test_data): Update call to AUTO_TESTS_if_f.
41448         (main): Do not call removed functions.
41450 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41452         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41453         (ldexp_test_data): Remove.
41454         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41455         scalbn_test_data.
41456         (scalb_test): Use ALL_RM_TEST.
41458 2014-03-19  Andreas Schwab  <schwab@suse.de>
41460         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41462 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41464         [BZ #16649]
41465         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41466         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41467         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41468         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41469         (__ASSUME_PREADV): Undefine.
41470         (__ASSUME_PWRITEV): Likewise.
41472 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41474         * bits/mman-linux.h: Add comment about non-Linux use.
41475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41476         bits/mman-linux.h resting place.
41478         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41479         * bits/mman-linux.h: ... here.
41481 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41483         * conform/conformtest.pl: Add standard definition when calling C
41484         preprocessor on data files.
41485         (checknamespace): Remove unused variable.
41487 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41489         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41490         minus_oflow, plus_uflow and minus_uflow in expected results.
41491         * math/libm-test.inc (scalbn_test_data): Add more tests of
41492         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41493         minus_uflow.
41494         (scalbn_test): Use ALL_RM_TEST.
41495         (scalbln_test_data): Add more tests of negative arguments.  Use
41496         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41497         (scalbln_test): Use ALL_RM_TEST.
41499 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41501         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41503 2014-03-18  Will Newton  <will.newton@linaro.org>
41505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41506         inaccurate comment.
41508 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41510         * Makerules [!subdir] (check-abi): Exit with error status if a
41511         test failed.
41513 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41515         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41516         for rint.  Include results for all rounding modes.
41517         (nearbyint_test): Use ALL_RM_TEST.
41518         (rint_test_data): Include all tests used for nearbyint.
41520 2014-03-17  Will Newton  <will.newton@linaro.org>
41522         * nptl/sysdeps/pthread/pthread.h: Revert previous
41523         change.
41525         * sysdeps/generic/ldsodefs.h: Revert previous
41526         change.
41528         * libio/genops.c: Revert previous change.
41529         * libio/libioP.h: Likewise.
41530         * stdio-common/vfprintf.c: Likewise.
41532         * sysdeps/generic/math_private.h: Revert previous
41533         change.
41535         * sysdeps/generic/math_private.h: Check whether
41536         HAVE_RM_CTX is defined with #ifdef rather
41537         than #if.
41539         * argp/argp-fmtstream.h: Check whether
41540         __STRICT_ANSI__ is defined with #ifdef rather
41541         than #if.
41542         * argp/argp.h: Likewise.
41544         * libio/genops.c: Check whether
41545         _IO_JUMPS_OFFSET is defined with #ifdef rather
41546         than #if.
41547         * libio/libioP.h: Likewise.
41548         * stdio-common/vfprintf.c: Likewise.
41550         * sysdeps/generic/ldsodefs.h: Check whether
41551         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41552         than #if.
41554         * nptl/sysdeps/pthread/pthread.h: Check
41555         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41556         its value.
41558 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41560         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41561         setting O_APPEND.
41562         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41563         test case.
41565         [BZ #16680]
41566         * libio/fileops.c (_IO_file_open): Seek to end of file but
41567         don't cache the offset.
41568         (get_file_offset): Remove function.
41569         (do_ftell): Use cached offset when available.
41570         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41571         don't cache the offset.
41572         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41573         case.
41574         (do_one_test): Call it.
41575         (do_ftell_test): Fix up expected old offset for a+ mode.
41576         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41577         available.
41579         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41580         up test status with function return status.
41581         (do_write_test): Likewise.
41582         (do_append_test): Likewise.
41584         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41585         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41586         Remove.
41588 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41590         * math/gen-libm-test.pl (parse_args): Handle results specified for
41591         each rounding mode separately.
41592         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41593         tests and results from lrint_tonearest_test_data,
41594         lrint_towardzero_test_data, lrint_downward_test_data and
41595         lrint_upward_test_data.
41596         (lrint_test): Use ALL_RM_TEST.
41597         (lrint_tonearest_test_data): Remove.
41598         (lrint_test_tonearest): Likewise.
41599         (lrint_towardzero_test_data): Likewise.
41600         (lrint_test_towardzero): Likewise.
41601         (lrint_downward_test_data): Likewise.
41602         (lrint_test_downward): Likewise.
41603         (lrint_upward_test_data): Likewise.
41604         (lrint_test_upward): Likewise.
41605         (llrint_test_data): Merge in per-rounding-mode tests and results
41606         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41607         llrint_downward_test_data and llrint_upward_test_data.
41608         (llrint_test): Use ALL_RM_TEST.
41609         (llrint_tonearest_test_data): Remove.
41610         (llrint_test_tonearest): Likewise.
41611         (llrint_towardzero_test_data): Likewise.
41612         (llrint_test_towardzero): Likewise.
41613         (llrint_downward_test_data): Likewise.
41614         (llrint_test_downward): Likewise.
41615         (llrint_upward_test_data): Likewise.
41616         (llrint_test_upward): Likewise.
41617         (rint_test_data): Merge in per-rounding-mode tests and results
41618         from rint_tonearest_test_data, rint_towardzero_test_data,
41619         rint_downward_test_data and rint_upward_test_data.  Add
41620         per-rounding-mode results for tests not in those arrays.
41621         (rint_test): Use ALL_RM_TEST.
41622         (rint_tonearest_test_data): Remove.
41623         (rint_test_tonearest): Likewise.
41624         (rint_towardzero_test_data): Likewise.
41625         (rint_test_towardzero): Likewise.
41626         (rint_downward_test_data): Likewise.
41627         (rint_test_downward): Likewise.
41628         (rint_upward_test_data): Likewise.
41629         (rint_test_upward): Likewise.
41630         (main): Don't call removed functions.
41632 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41634         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41635         "Compiled on ..." crapola.  It is anti-useful.
41637 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41639         * scripts/evaluate-test.sh: Handle fourth argument to determine
41640         whether test run should stop on failure.
41641         * Makeconfig (stop-on-test-failure): New variable.
41642         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41643         $(stop-on-test-failure).
41644         * Makefile (tests): Give a summary of results from testing and
41645         exit with failure status if they include an ERROR or FAIL.
41646         (xtests): Likewise.
41647         * manual/install.texi (Configuring and compiling): Mention
41648         stop-on-test-failure=y.
41649         * INSTALL: Regenerated.
41651 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41653         * scripts/versionlist.awk: New file.
41654         * Makerules [$(build-shared) = yes]
41655         (postclean-generated): Add Versions.def, not Versions.def.v and
41656         Versions.def.v.i.
41657         ($(common-objpfx)Versions.def.v.i): Target removed.
41658         ($(common-objpfx)Versions.def): New target.
41659         ($(common-objpfx)Versions.all): Depend on that rather that
41660         $(common-objpfx)Versions.def.v.
41661         * Versions.def: File removed.
41663         * Makeconfig (+gccwarn): Add -Wundef.
41664         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41665         a dl-sysdep.h breaking its contract.
41666         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41667         * include/stackinfo.h: New file.
41668         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41669         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41670         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41671         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41672         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41673         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41674         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41675         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41676         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41677         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41678         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41679         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41680         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41681         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41682         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41684 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41686         [BZ #16707]
41687         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41688         implementation.
41689         * math/libm-test.inc (round_test_data): Add more tests.
41691         [BZ #16706]
41692         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41693         implementation.
41694         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41696         [BZ #16701]
41697         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41698         implementation.
41699         * math/libm-test.inc (ceil_test_data): Add more tests.
41701         * math/libm-test.inc (trunc_test_data): Add more tests related to
41702         BZ#16414.
41704 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41706         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41707         with #if rather than #ifdef.
41708         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41710 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41712         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41713         first.  Disable AVX-512 GCC support if assembler doesn't support
41714         it.
41715         * sysdeps/x86_64/configure: Regenerated.
41717 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41719         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41720         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41721         (__old_pthread_attr_setstack): Likewise.
41722         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41723         [!_STACK_GROWS_DOWN]: Likewise.
41725 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41727         * config.make.in (have-bash2): Delete.
41728         * configure.ac (libc_cv_have_bash2): Delete.
41729         * configure: Regenerate.
41730         * elf/Makefile (common-ldd-rewrite): Rename to ...
41731         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41732         (sh-ldd-rewrite): Delete.
41733         (bash-ldd-rewrite): Delete.
41734         (have-bash2): Delete checks.
41735         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41736         ldd-rewrite.
41738         * config.make.in (have-ksh): Delete.
41739         (KSH): Delete.
41740         * configure.ac (libc_cv_have_ksh): Delete.
41741         * configure: Regenerate.
41743         * elf/Makefile: Delete $(have-ksh) check.
41744         ($(objpfx)sotruss): Change KSH to BASH.
41745         * elf/sotruss.ksh: Rename to ...
41746         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41747         function style to match POSIX.  Drop ksh vim mode setting.
41749         * manual/time.texi (Specifying the Time Zone with TZ): Change
41750         Tuesday to Thursday.
41752         * debug/tst-longjmp_chk2.c: Update header comment.
41753         (stackoverflow_handler): Add comment.  Call assert on pass value.
41755 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41757         [BZ #16194]
41758         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41759         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41760         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41761         (La_x86_64_vector): Add zmm.
41762         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41763         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41764         ($(objpfx)tst-audit10): New target.
41765         ($(objpfx)tst-audit10.out): Likewise.
41766         (tst-audit10-ENV): New.
41767         (AVX512-CFLAGS): Likewise.
41768         (CFLAGS-tst-audit10.c): Likewise.
41769         (CFLAGS-tst-auditmod10a.c): Likewise.
41770         (CFLAGS-tst-auditmod10b.c): Likewise.
41771         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41772         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41773         * sysdeps/x86_64/configure: Regenerated.
41774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41775         AVX-512 zmm register support.
41776         (_dl_x86_64_save_sse): Likewise.
41777         (_dl_x86_64_restore_sse): Likewise.
41778         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41779         size vector registers.
41780         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41781         (ZMM_SIZE): Likewise.
41782         * sysdeps/x86_64/tst-audit10.c: New file.
41783         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41784         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41786 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41788         * configure.ac (HAVE_EHDR_START): New check.
41789         * configure: Regenerated.
41790         * config.h.in (HAVE_EHDR_START): New #undef.
41791         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41792         assuming the lowest-addressed segment maps the start of the file.
41794 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41796         * INSTALL: Regenerated.
41798 2014-03-13  Will Newton  <will.newton@linaro.org>
41800         * manual/setjmp.texi (System V contexts): Improve
41801         clarity and grammar of documentation.
41803 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41805         [BZ #16381]
41806         * elf/Makefile (tests): Add tst-pie2.
41807         (tests-pie): Add tst-pie2.
41808         * elf/tst-pie2.c: New file.
41809         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41810         for ET_EXEC.
41811         * elf/rtld.c (map_doit): Load executable as lt_executable.
41812         (dl_main): Likewise.
41814 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41816         [BZ #16642]
41817         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41818         (__ASSUME_PSELECT): Undefine.
41820 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41822         [BZ #16689]
41823         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41824         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41825         static build.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41827         selector for static builds.
41829 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41831         [BZ #16695]
41832         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41833         key in the buffer.
41835 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41837         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41838         IFUNC selector for static builds.
41840 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41842         * sysdeps/mips/math_private.h [__mips_hard_float]
41843         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41844         libc_feresetround_mips_ctx.
41845         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41846         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41847         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41849         [BZ #16677]
41850         * math/s_nextafter.c (__nextafter): Do not return value from
41851         overflowing computation.
41852         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41853         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41854         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41855         Likewise.
41856         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41857         Likewise.
41858         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41859         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41861 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41863         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41864         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41865         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41866         the new mov targetting sp.
41868 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41870         [BZ #16683]
41871         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41872         Define it for static builds as well.
41873         (NO_BZERO_IMPL): Likewise.
41875 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41877         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41878         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41879         multiarch strspn for PPC64.
41880         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41881         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41883         (__libc_ifunc_impl_list): Likewise.
41884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41885         multiarch optimizations
41886         * string/strspn.c (strspn): Using macro to redefine symbol name.
41888 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41889             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41891         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41892         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41893         multiarch strncat for PPC64.
41894         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41895         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41897         (__libc_ifunc_impl_list): Likewise.
41898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41899         multiarch optimizations
41901 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41903         [BZ #16639]
41904         * nscd/nscd.service: Make service type forking.
41906 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41908         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41909         sign in non default rounding modes.
41910         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41912 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41914         * math/libm-test.inc (ALL_RM_TEST): New macro.
41915         (ceil_test): Use ALL_RM_TEST.
41916         (cimag_test): Likewise.
41917         (conj_test): Likewise.
41918         (copysign_test): Likewise.
41919         (cproj_test): Likewise.
41920         (creal_test): Likewise.
41921         (fabs_test): Likewise.
41922         (floor_test): Likewise.
41923         (fmax_test): Likewise.
41924         (fmin_test): Likewise.
41925         (fmod_test): Likewise.
41926         (fpclassify_test): Likewise.
41927         (frexp_test): Likewise.
41928         (ilogb_test): Likewise.
41929         (isfinite_test): Likewise.
41930         (finite_test): Likewise.
41931         (isgreater_test): Likewise.
41932         (isgreaterequal_test): Likewise.
41933         (isinf_test): Likewise.
41934         (isless_test): Likewise.
41935         (islessequal_test): Likewise.
41936         (islessgreater_test): Likewise.
41937         (isnan_test): Likewise.
41938         (isnormal_test): Likewise.
41939         (issignaling_test): Likewise.
41940         (isunordered_test): Likewise.
41941         (logb_test): Likewise.
41942         (logb_downward_test_data): Remove.
41943         (logb_test_downward): Likewise.
41944         (lround_test): Use ALL_RM_TEST.
41945         (llround_test): Likewise.
41946         (modf_test): Likewise.
41947         (nexttoward_test): Likewise.
41948         (remainder_test): Likewise.
41949         (drem_test): Likewise.
41950         (remainder_tonearest_test_data): Likewise.
41951         (remainder_test_tonearest): Likewise.
41952         (drem_test_tonearest): Likewise.
41953         (remainder_towardzero_test_data): Likewise.
41954         (remainder_test_towardzero): Likewise.
41955         (drem_test_towardzero): Likewise.
41956         (remainder_downward_test_data): Likewise.
41957         (remainder_test_downward): Likewise.
41958         (drem_test_downward): Likewise.
41959         (remainder_upward_test_data): Likewise.
41960         (remainder_test_upward): Likewise.
41961         (drem_test_upward): Likewise.
41962         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41963         (round_test): Use ALL_RM_TEST.
41964         (signbit_test): Likewise.
41965         (trunc_test): Likewise.
41966         (significand_test): Likewise.
41967         (main): Don't call removed functions.
41969 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41971         [BZ #16674]
41972         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41973         || __USE_XOPEN2K8].
41974         (ILL_ILLOPN): Likewise.
41975         (ILL_ILLADR): Likewise.
41976         (ILL_ILLTRP): Likewise.
41977         (ILL_PRVOPC): Likewise.
41978         (ILL_PRVREG): Likewise.
41979         (ILL_COPROC): Likewise.
41980         (ILL_BADSTK): Likewise.
41981         (FPE_INTDIV): Likewise.
41982         (FPE_INTOVF): Likewise.
41983         (FPE_FLTDIV): Likewise.
41984         (FPE_FLTOVF): Likewise.
41985         (FPE_FLTUND): Likewise.
41986         (FPE_FLTRES): Likewise.
41987         (FPE_FLTINV): Likewise.
41988         (FPE_FLTSUB): Likewise.
41989         (SEGV_MAPERR): Likewise.
41990         (SEGV_ACCERR): Likewise.
41991         (BUS_ADRALN): Likewise.
41992         (BUS_ADRERR): Likewise.
41993         (BUS_OBJERR): Likewise.
41994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41995         (TRAP_TRACE): Likewise.
41996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41997         __USE_XOPEN2K8].
41998         (CLD_KILLED): Likewise.
41999         (CLD_DUMPED): Likewise.
42000         (CLD_TRAPPED): Likewise.
42001         (CLD_STOPPED): Likewise.
42002         (CLD_CONTINUED): Likewise.
42003         (POLL_IN): Likewise.
42004         (POLL_OUT): Likewise.
42005         (POLL_MSG): Likewise.
42006         (POLL_ERR): Likewise.
42007         (POLL_PRI): Likewise.
42008         (POLL_HUP): Likewise.
42009         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42010         Likewise.
42011         (ILL_ILLOPN): Likewise.
42012         (ILL_ILLADR): Likewise.
42013         (ILL_ILLTRP): Likewise.
42014         (ILL_PRVOPC): Likewise.
42015         (ILL_PRVREG): Likewise.
42016         (ILL_COPROC): Likewise.
42017         (ILL_BADSTK): Likewise.
42018         (FPE_INTDIV): Likewise.
42019         (FPE_INTOVF): Likewise.
42020         (FPE_FLTDIV): Likewise.
42021         (FPE_FLTOVF): Likewise.
42022         (FPE_FLTUND): Likewise.
42023         (FPE_FLTRES): Likewise.
42024         (FPE_FLTINV): Likewise.
42025         (FPE_FLTSUB): Likewise.
42026         (SEGV_MAPERR): Likewise.
42027         (SEGV_ACCERR): Likewise.
42028         (BUS_ADRALN): Likewise.
42029         (BUS_ADRERR): Likewise.
42030         (BUS_OBJERR): Likewise.
42031         (BUS_MCEERR_AR): Likewise.
42032         (BUS_MCEERR_AO): Likewise.
42033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42034         (TRAP_TRACE): Likewise.
42035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42036         __USE_XOPEN2K8].
42037         (CLD_KILLED): Likewise.
42038         (CLD_DUMPED): Likewise.
42039         (CLD_TRAPPED): Likewise.
42040         (CLD_STOPPED): Likewise.
42041         (CLD_CONTINUED): Likewise.
42042         (POLL_IN): Likewise.
42043         (POLL_OUT): Likewise.
42044         (POLL_MSG): Likewise.
42045         (POLL_ERR): Likewise.
42046         (POLL_PRI): Likewise.
42047         (POLL_HUP): Likewise.
42048         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42049         (ILL_ILLOPN): Likewise.
42050         (ILL_ILLADR): Likewise.
42051         (ILL_ILLTRP): Likewise.
42052         (ILL_PRVOPC): Likewise.
42053         (ILL_PRVREG): Likewise.
42054         (ILL_COPROC): Likewise.
42055         (ILL_BADSTK): Likewise.
42056         (FPE_INTDIV): Likewise.
42057         (FPE_INTOVF): Likewise.
42058         (FPE_FLTDIV): Likewise.
42059         (FPE_FLTOVF): Likewise.
42060         (FPE_FLTUND): Likewise.
42061         (FPE_FLTRES): Likewise.
42062         (FPE_FLTINV): Likewise.
42063         (FPE_FLTSUB): Likewise.
42064         (SEGV_MAPERR): Likewise.
42065         (SEGV_ACCERR): Likewise.
42066         (BUS_ADRALN): Likewise.
42067         (BUS_ADRERR): Likewise.
42068         (BUS_OBJERR): Likewise.
42069         (BUS_MCEERR_AR): Likewise.
42070         (BUS_MCEERR_AO): Likewise.
42071         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42072         (TRAP_TRACE): Likewise.
42073         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42074         __USE_XOPEN2K8].
42075         (CLD_KILLED): Likewise.
42076         (CLD_DUMPED): Likewise.
42077         (CLD_TRAPPED): Likewise.
42078         (CLD_STOPPED): Likewise.
42079         (CLD_CONTINUED): Likewise.
42080         (POLL_IN): Likewise.
42081         (POLL_OUT): Likewise.
42082         (POLL_MSG): Likewise.
42083         (POLL_ERR): Likewise.
42084         (POLL_PRI): Likewise.
42085         (POLL_HUP): Likewise.
42086         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42087         Likewise.
42088         (ILL_ILLOPN): Likewise.
42089         (ILL_ILLADR): Likewise.
42090         (ILL_ILLTRP): Likewise.
42091         (ILL_PRVOPC): Likewise.
42092         (ILL_PRVREG): Likewise.
42093         (ILL_COPROC): Likewise.
42094         (ILL_BADSTK): Likewise.
42095         (ILL_BADIADDR): Likewise.
42096         (ILL_BREAK): Likewise.
42097         (FPE_INTDIV): Likewise.
42098         (FPE_INTOVF): Likewise.
42099         (FPE_FLTDIV): Likewise.
42100         (FPE_FLTOVF): Likewise.
42101         (FPE_FLTUND): Likewise.
42102         (FPE_FLTRES): Likewise.
42103         (FPE_FLTINV): Likewise.
42104         (FPE_FLTSUB): Likewise.
42105         (FPE_DECOVF): Likewise.
42106         (FPE_DECDIV): Likewise.
42107         (FPE_DECERR): Likewise.
42108         (FPE_INVASC): Likewise.
42109         (FPE_INVDEC): Likewise.
42110         (SEGV_MAPERR): Likewise.
42111         (SEGV_ACCERR): Likewise.
42112         (SEGV_PSTKOVF): Likewise.
42113         (BUS_ADRALN): Likewise.
42114         (BUS_ADRERR): Likewise.
42115         (BUS_OBJERR): Likewise.
42116         (BUS_MCEERR_AR): Likewise.
42117         (BUS_MCEERR_AO): Likewise.
42118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42119         (TRAP_TRACE): Likewise.
42120         (TRAP_BRANCH): Likewise.
42121         (TRAP_HWBKPT): Likewise.
42122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42123         __USE_XOPEN2K8].
42124         (CLD_KILLED): Likewise.
42125         (CLD_DUMPED): Likewise.
42126         (CLD_TRAPPED): Likewise.
42127         (CLD_STOPPED): Likewise.
42128         (CLD_CONTINUED): Likewise.
42129         (POLL_IN): Likewise.
42130         (POLL_OUT): Likewise.
42131         (POLL_MSG): Likewise.
42132         (POLL_ERR): Likewise.
42133         (POLL_PRI): Likewise.
42134         (POLL_HUP): Likewise.
42135         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42136         (ILL_ILLOPN): Likewise.
42137         (ILL_ILLADR): Likewise.
42138         (ILL_ILLTRP): Likewise.
42139         (ILL_PRVOPC): Likewise.
42140         (ILL_PRVREG): Likewise.
42141         (ILL_COPROC): Likewise.
42142         (ILL_BADSTK): Likewise.
42143         (FPE_INTDIV): Likewise.
42144         (FPE_INTOVF): Likewise.
42145         (FPE_FLTDIV): Likewise.
42146         (FPE_FLTOVF): Likewise.
42147         (FPE_FLTUND): Likewise.
42148         (FPE_FLTRES): Likewise.
42149         (FPE_FLTINV): Likewise.
42150         (FPE_FLTSUB): Likewise.
42151         (SEGV_MAPERR): Likewise.
42152         (SEGV_ACCERR): Likewise.
42153         (BUS_ADRALN): Likewise.
42154         (BUS_ADRERR): Likewise.
42155         (BUS_OBJERR): Likewise.
42156         (BUS_MCEERR_AR): Likewise.
42157         (BUS_MCEERR_AO): Likewise.
42158         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42159         (TRAP_TRACE): Likewise.
42160         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42161         __USE_XOPEN2K8].
42162         (CLD_KILLED): Likewise.
42163         (CLD_DUMPED): Likewise.
42164         (CLD_TRAPPED): Likewise.
42165         (CLD_STOPPED): Likewise.
42166         (CLD_CONTINUED): Likewise.
42167         (POLL_IN): Likewise.
42168         (POLL_OUT): Likewise.
42169         (POLL_MSG): Likewise.
42170         (POLL_ERR): Likewise.
42171         (POLL_PRI): Likewise.
42172         (POLL_HUP): Likewise.
42173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42174         (ILL_ILLOPN): Likewise.
42175         (ILL_ILLADR): Likewise.
42176         (ILL_ILLTRP): Likewise.
42177         (ILL_PRVOPC): Likewise.
42178         (ILL_PRVREG): Likewise.
42179         (ILL_COPROC): Likewise.
42180         (ILL_BADSTK): Likewise.
42181         (FPE_INTDIV): Likewise.
42182         (FPE_INTOVF): Likewise.
42183         (FPE_FLTDIV): Likewise.
42184         (FPE_FLTOVF): Likewise.
42185         (FPE_FLTUND): Likewise.
42186         (FPE_FLTRES): Likewise.
42187         (FPE_FLTINV): Likewise.
42188         (FPE_FLTSUB): Likewise.
42189         (SEGV_MAPERR): Likewise.
42190         (SEGV_ACCERR): Likewise.
42191         (BUS_ADRALN): Likewise.
42192         (BUS_ADRERR): Likewise.
42193         (BUS_OBJERR): Likewise.
42194         (BUS_MCEERR_AR): Likewise.
42195         (BUS_MCEERR_AO): Likewise.
42196         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42197         (TRAP_TRACE): Likewise.
42198         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42199         __USE_XOPEN2K8].
42200         (CLD_KILLED): Likewise.
42201         (CLD_DUMPED): Likewise.
42202         (CLD_TRAPPED): Likewise.
42203         (CLD_STOPPED): Likewise.
42204         (CLD_CONTINUED): Likewise.
42205         (POLL_IN): Likewise.
42206         (POLL_OUT): Likewise.
42207         (POLL_MSG): Likewise.
42208         (POLL_ERR): Likewise.
42209         (POLL_PRI): Likewise.
42210         (POLL_HUP): Likewise.
42211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42212         (ILL_ILLOPN): Likewise.
42213         (ILL_ILLADR): Likewise.
42214         (ILL_ILLTRP): Likewise.
42215         (ILL_PRVOPC): Likewise.
42216         (ILL_PRVREG): Likewise.
42217         (ILL_COPROC): Likewise.
42218         (ILL_BADSTK): Likewise.
42219         (FPE_INTDIV): Likewise.
42220         (FPE_INTOVF): Likewise.
42221         (FPE_FLTDIV): Likewise.
42222         (FPE_FLTOVF): Likewise.
42223         (FPE_FLTUND): Likewise.
42224         (FPE_FLTRES): Likewise.
42225         (FPE_FLTINV): Likewise.
42226         (FPE_FLTSUB): Likewise.
42227         (SEGV_MAPERR): Likewise.
42228         (SEGV_ACCERR): Likewise.
42229         (BUS_ADRALN): Likewise.
42230         (BUS_ADRERR): Likewise.
42231         (BUS_OBJERR): Likewise.
42232         (BUS_MCEERR_AR): Likewise.
42233         (BUS_MCEERR_AO): Likewise.
42234         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42235         (TRAP_TRACE): Likewise.
42236         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42237         __USE_XOPEN2K8].
42238         (CLD_KILLED): Likewise.
42239         (CLD_DUMPED): Likewise.
42240         (CLD_TRAPPED): Likewise.
42241         (CLD_STOPPED): Likewise.
42242         (CLD_CONTINUED): Likewise.
42243         (POLL_IN): Likewise.
42244         (POLL_OUT): Likewise.
42245         (POLL_MSG): Likewise.
42246         (POLL_ERR): Likewise.
42247         (POLL_PRI): Likewise.
42248         (POLL_HUP): Likewise.
42249         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42250         (ILL_ILLOPN): Likewise.
42251         (ILL_ILLADR): Likewise.
42252         (ILL_ILLTRP): Likewise.
42253         (ILL_PRVOPC): Likewise.
42254         (ILL_PRVREG): Likewise.
42255         (ILL_COPROC): Likewise.
42256         (ILL_BADSTK): Likewise.
42257         (ILL_DBLFLT): Likewise.
42258         (ILL_HARDWALL): Likewise.
42259         (FPE_INTDIV): Likewise.
42260         (FPE_INTOVF): Likewise.
42261         (FPE_FLTDIV): Likewise.
42262         (FPE_FLTOVF): Likewise.
42263         (FPE_FLTUND): Likewise.
42264         (FPE_FLTRES): Likewise.
42265         (FPE_FLTINV): Likewise.
42266         (FPE_FLTSUB): Likewise.
42267         (SEGV_MAPERR): Likewise.
42268         (SEGV_ACCERR): Likewise.
42269         (BUS_ADRALN): Likewise.
42270         (BUS_ADRERR): Likewise.
42271         (BUS_OBJERR): Likewise.
42272         (BUS_MCEERR_AR): Likewise.
42273         (BUS_MCEERR_AO): Likewise.
42274         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42275         (TRAP_TRACE): Likewise.
42276         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42277         __USE_XOPEN2K8].
42278         (CLD_KILLED): Likewise.
42279         (CLD_DUMPED): Likewise.
42280         (CLD_TRAPPED): Likewise.
42281         (CLD_STOPPED): Likewise.
42282         (CLD_CONTINUED): Likewise.
42283         (POLL_IN): Likewise.
42284         (POLL_OUT): Likewise.
42285         (POLL_MSG): Likewise.
42286         (POLL_ERR): Likewise.
42287         (POLL_PRI): Likewise.
42288         (POLL_HUP): Likewise.
42289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42290         (ILL_ILLOPN): Likewise.
42291         (ILL_ILLADR): Likewise.
42292         (ILL_ILLTRP): Likewise.
42293         (ILL_PRVOPC): Likewise.
42294         (ILL_PRVREG): Likewise.
42295         (ILL_COPROC): Likewise.
42296         (ILL_BADSTK): Likewise.
42297         (FPE_INTDIV): Likewise.
42298         (FPE_INTOVF): Likewise.
42299         (FPE_FLTDIV): Likewise.
42300         (FPE_FLTOVF): Likewise.
42301         (FPE_FLTUND): Likewise.
42302         (FPE_FLTRES): Likewise.
42303         (FPE_FLTINV): Likewise.
42304         (FPE_FLTSUB): Likewise.
42305         (SEGV_MAPERR): Likewise.
42306         (SEGV_ACCERR): Likewise.
42307         (BUS_ADRALN): Likewise.
42308         (BUS_ADRERR): Likewise.
42309         (BUS_OBJERR): Likewise.
42310         (BUS_MCEERR_AR): Likewise.
42311         (BUS_MCEERR_AO): Likewise.
42312         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42313         (TRAP_TRACE): Likewise.
42314         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42315         __USE_XOPEN2K8].
42316         (CLD_KILLED): Likewise.
42317         (CLD_DUMPED): Likewise.
42318         (CLD_TRAPPED): Likewise.
42319         (CLD_STOPPED): Likewise.
42320         (CLD_CONTINUED): Likewise.
42321         (POLL_IN): Likewise.
42322         (POLL_OUT): Likewise.
42323         (POLL_MSG): Likewise.
42324         (POLL_ERR): Likewise.
42325         (POLL_PRI): Likewise.
42326         (POLL_HUP): Likewise.
42327         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42328         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42330         [BZ #16670]
42331         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42332         before #include of <time.h>.
42333         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42334         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42335         (test-xfail-UNIX98/sched.h/conform): Likewise.
42337 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42339         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42340         error absence of trapping exception support.
42341         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42343 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42345         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42346         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42347         * timezone/Makefile (testdata): Move definition above include of
42348         Rules.
42349         (test-zones): New variable.
42350         (tests-special): Add zone files.
42351         (build-testdata): Use $(evaluate-test).
42353         * elf/Makefile (tests-special): Rename tests to end with .out.
42354         ($(objpfx)noload-mem): Likewise.
42355         ($(objpfx)tst-leaks1-mem): Likewise.
42356         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42357         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42358         $(objpfx)test-iconvconfig.out.
42359         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42360         set -e inside subshell and redirect output to file.
42361         * iconvdata/Makefile (generated): Rename tests to end with .out.
42362         Correct type.
42363         (tests-special): Rename tests to end with .out.
42364         ($(objpfx)mtrace-tst-loading): Likewise.
42365         * intl/Makefile (generated): Likewise.
42366         (tests-special): Likewise.
42367         ($(objpfx)mtrace-tst-gettext): Likewise.
42368         * misc/Makefile (generated): Likewise.
42369         (tests-special): Likewise.
42370         ($(objpfx)tst-error1-mem): Likewise.
42371         * nptl/Makefile (tests-special): Likewise.
42372         ($(objpfx)tst-stack3-mem): Likewise.
42373         (generated): Likewise.
42374         * posix/Makefile (generated): Likewise.
42375         (tests-special): Likewise.
42376         (xtests-special): Likewise.
42377         ($(objpfx)tst-fnmatch-mem): Likewise.
42378         ($(objpfx)bug-regex2-mem): Likewise.
42379         ($(objpfx)bug-regex14-mem): Likewise.
42380         ($(objpfx)bug-regex21-mem): Likewise.
42381         ($(objpfx)bug-regex31-mem): Likewise.
42382         ($(objpfx)tst-vfork3-mem): Likewise.
42383         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42384         ($(objpfx)tst-pcre-mem): Likewise.
42385         ($(objpfx)tst-boost-mem): Likewise.
42386         ($(objpfx)bug-ga2-mem): Likewise.
42387         ($(objpfx)bug-glob2-mem): Likewise.
42388         * resolv/Makefile (generate): Likewise.
42389         (tests-special): Likewise.
42390         (xtests-special): Likewise.
42391         (generated): Likewise.
42392         ($(objpfx)mtrace-tst-leaks): Likewise.
42393         ($(objpfx)mtrace-tst-leaks2): Likewise.
42395         * scripts/merge-test-results.sh: New file.
42396         * Makefile (tests-special-notdir): New variable.
42397         (tests): Run merge-test-results.sh.
42398         (xtests): Likewise.
42399         * Rules (tests-special-notdir): New variable.
42400         (xtests-special-notdir): Likewise.
42401         (tests): Run merge-test-results.sh
42402         (xtests): Likewise.
42404         * Makeconfig (test-xfail-name): New variable.
42405         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42406         compute variable name for expected failures.
42407         * conform/Makefile (conformtest-headers-data): New variable.
42408         (conformtest-standards): Likewise.
42409         (conformtest-headers-ISO): Likewise.
42410         (conformtest-headers-ISO99): Likewise.
42411         (conformtest-headers-ISO11): Likewise.
42412         (conformtest-headers-POSIX): Likewise.
42413         (conformtest-headers-XPG3): Likewise.
42414         (conformtest-headers-XPG4): Likewise.
42415         (conformtest-headers-UNIX98): Likewise.
42416         (conformtest-headers-XOPEN2K): Likewise.
42417         (conformtest-headers-POSIX2008): Likewise.
42418         (conformtest-headers-XOPEN2K8): Likewise.
42419         (conformtest-header-list-base): Likewise.
42420         (conformtest-header-list-tests): Likewise.
42421         (conformtest-header-base): Likewise.
42422         (conformtest-header-tests): Likewise.
42423         (tests-special): Add $(conformtest-header-list-tests).  If
42424         [$(fast-check) && !$(cross-compiling)], add
42425         $(conformtest-header-tests) instead of
42426         $(objpfx)run-conformtest.out.
42427         (generated): Add $(conformtest-header-list-base).  If
42428         [$(fast-check) && !$(cross-compiling)], add
42429         $(conformtest-header-base).  Remove previous setting.
42430         ($(conformtest-header-list-tests)): New target.
42431         (test-xfail-run-conformtest): Remove variable.
42432         ($(objpfx)run-conformtest.out): Remove target.
42433         (test-xfail-ISO11/complex.h/conform): New variable.
42434         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42435         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42436         (test-xfail-XPG3/varargs.h/conform): Likewise.
42437         (test-xfail-XPG4/varargs.h/conform): Likewise.
42438         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42439         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42440         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42441         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42442         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42443         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42444         (test-xfail-XPG3/ftw.h/conform): Likewise.
42445         (test-xfail-XPG3/grp.h/conform): Likewise.
42446         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42447         (test-xfail-XPG3/limits.h/conform): Likewise.
42448         (test-xfail-XPG3/pwd.h/conform): Likewise.
42449         (test-xfail-XPG3/search.h/conform): Likewise.
42450         (test-xfail-XPG3/signal.h/conform): Likewise.
42451         (test-xfail-XPG3/stdio.h/conform): Likewise.
42452         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42453         (test-xfail-XPG3/string.h/conform): Likewise.
42454         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42455         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42456         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42457         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42458         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42459         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42460         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42461         (test-xfail-XPG3/termios.h/conform): Likewise.
42462         (test-xfail-XPG3/time.h/conform): Likewise.
42463         (test-xfail-XPG3/unistd.h/conform): Likewise.
42464         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42465         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42466         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42467         (test-xfail-XPG4/netdb.h/conform): Likewise.
42468         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42469         (test-xfail-XPG4/signal.h/conform): Likewise.
42470         (test-xfail-XPG4/stdio.h/conform): Likewise.
42471         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42472         (test-xfail-XPG4/stropts.h/conform): Likewise.
42473         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42474         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42475         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42476         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42477         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42478         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42479         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42480         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42481         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42482         (test-xfail-XPG4/termios.h/conform): Likewise.
42483         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42484         (test-xfail-XPG4/unistd.h/conform): Likewise.
42485         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42486         (test-xfail-POSIX/sched.h/conform): Likewise.
42487         (test-xfail-POSIX/signal.h/conform): Likewise.
42488         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42489         (test-xfail-POSIX/tar.h/conform): Likewise.
42490         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42491         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42492         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42493         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42494         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42495         (test-xfail-UNIX98/sched.h/conform): Likewise.
42496         (test-xfail-UNIX98/signal.h/conform): Likewise.
42497         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42498         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42499         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42500         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42501         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42502         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42503         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42504         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42505         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42506         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42507         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42508         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42509         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42510         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42511         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42512         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42513         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42514         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42515         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42516         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42517         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42518         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42519         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42520         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42521         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42522         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42523         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42524         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42525         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42526         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42527         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42528         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42529         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42530         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42531         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42532         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42533         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42534         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42535         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42536         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42537         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42538         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42539         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42540         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42541         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42542         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42543         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42544         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42545         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42546         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42547         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42548         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42549         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42550         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42551         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42552         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42553         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42554         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42555         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42556         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42557         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42558         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42559         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42560         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42561         (conformtest-cc-flags): Likewise.
42562         ($(conformtest-header-tests): New target.
42563         * conform/check-header-lists.sh: New file.
42564         * conform/run-conformtest.sh: Remove.
42566         * conform/conformtest.pl: Allow ' and \ in values given for
42567         constants.
42568         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42569         inclusion.
42570         [POSIX] (sys/types.h): Likewise.
42571         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42572         inclusion.
42573         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42574         inclusion.
42575         * conform/data/signal.h-data (SIGIO): Remove expectation.
42576         [XPG3] (SIGBUS): Do not expect.
42577         [POSIX || XPG3] (SIGPOLL): Likewise.
42578         [POSIX || XPG3] (SIGPROF): Likewise.
42579         [POSIX || XPG3] (SIGSYS): Likewise.
42580         [XPG3] (SIGTRAP): Likewise.
42581         [POSIX || XPG3] (SIGURG): Likewise.
42582         [POSIX || XPG3] (SIGVTALRM): Likewise.
42583         [POSIX || XPG3] (SIGXCPU): Likewise.
42584         [POSIX || XPG3] (SIGXFSZ): Likewise.
42585         [POSIX] (SA_SIGINFO): Expect.
42586         [XPG3] (siginfo_t): Do not expect type or contents.
42587         [POSIX] (si_pid): Do not expect element.
42588         [POSIX] (si_uid): Likewise.
42589         [POSIX] (si_addr): Likewise.
42590         [POSIX] (si_status): Likewise.
42591         [POSIX] (si_band): Likewise.
42592         [XPG4] (si_value): Likewise.
42593         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42594         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42595         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42596         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42597         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42598         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42599         [POSIX || XPG3] (ILL_COPROC): Likewise.
42600         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42601         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42602         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42603         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42604         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42605         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42606         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42607         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42608         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42609         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42610         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42611         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42612         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42613         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42614         [POSIX || XPG3] (CLD_EXITED): Likewise.
42615         [POSIX || XPG3] (CLD_KILLED): Likewise.
42616         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42617         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42618         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42619         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42620         [POSIX || XPG3] (POLL_IN): Likewise.
42621         [POSIX || XPG3] (POLL_OUT): Likewise.
42622         [POSIX || XPG3] (POLL_MSG): Likewise.
42623         [POSIX || XPG3] (POLL_ERR): Likewise.
42624         [POSIX || XPG3] (POLL_PRI): Likewise.
42625         [POSIX || XPG3] (POLL_HUP): Likewise.
42626         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42627         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42628         (SIG*): Do not allow.
42629         [XPG3] (si_*): Likewise.
42630         [XPG3] (SI_*): Likewise.
42631         [XPG3 || XPG4] (sigev_*): Likewise.
42632         [XPG3 || XPG4] (SIGEV_*): Likewise.
42633         [XPG3 || XPG4] (sival_*): Likewise.
42634         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42635         [POSIX || XPG3] (BUS_*): Likewise.
42636         [POSIX || XPG3] (CLD_*): Likewise.
42637         [POSIX || XPG3] (FPE_*): Likewise.
42638         [POSIX || XPG3] (ILL_*): Likewise.
42639         [POSIX || XPG3] (POLL_*): Likewise.
42640         [POSIX || XPG3] (SEGV_*): Likewise.
42641         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42642         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42643         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42644         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42645         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42646         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42647         Specify type and value.
42648         (TVERSLEN): Likewise.
42649         (REGTYPE): Likewise.
42650         (AREGTYPE): Likewise.
42651         (LNKTYPE): Likewise.
42652         (SYMTYPE): Likewise.
42653         (CHRTYPE): Likewise.
42654         (BLKTYPE): Likewise.
42655         (DIRTYPE): Likewise.
42656         (FIFOTYPE): Likewise.
42657         (CONTTYPE): Likewise.
42658         (TSUID): Likewise.
42659         (TSGID): Likewise.
42660         (TSVTX): Likewise.
42661         (TUREAD): Likewise.
42662         (TUWRITE): Likewise.
42663         (TUEXEC): Likewise.
42664         (TGREAD): Likewise.
42665         (TGWRITE): Likewise.
42666         (TGEXEC): Likewise.
42667         (TOREAD): Likewise.
42668         (TOWRITE): Likewise.
42669         (TOEXEC): Likewise.
42670         [POSIX] (TSVTX): Expect constant.
42672 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42674         * Makefile (tests): Change dependencies to ....
42675         (tests-special): ... additions to this variable.
42676         (tests): Depend on $(tests-special).
42677         * Makerules (check-abi-list): New variable.
42678         (check-abi): Depend on $(check-abi-list).
42679         [$(subdir) = elf] (tests-special): Add
42680         $(objpfx)check-abi-libc.out.
42681         [$(build-shared) = yes && subdir] (tests-special): Add
42682         $(check-abi-list).
42683         [$(build-shared) = yes && subdir] (tests): Do not depend on
42684         check-abi.
42685         * Rules (tests): Depend on $(tests-special).
42686         (xtests): Depend on $(xtests-special).
42687         * catgets/Makefile (tests): Change dependencies to ....
42688         (tests-special): ... additions to this variable.
42689         * conform/Makefile (tests): Change dependencies to ....
42690         (tests-special): ... additions to this variable.
42691         * elf/Makefile (tests): Change dependencies to ....
42692         (tests-special): ... additions to this variable.
42693         * grp/Makefile (tests): Change dependencies to ....
42694         (tests-special): ... additions to this variable.
42695         * iconv/Makefile (xtests): Change dependencies to ....
42696         (xtests-special): ... additions to this variable.
42697         * iconvdata/Makefile (tests): Change dependencies to ....
42698         (tests-special): ... additions to this variable.
42699         * intl/Makefile (tests): Change dependencies to ....
42700         (tests-special): ... additions to this variable.  Also add
42701         $(objpfx)tst-gettext.out.
42702         * io/Makefile (tests): Change dependencies to ....
42703         (tests-special): ... additions to this variable.
42704         * libio/Makefile (tests): Change dependencies to ....
42705         (tests-special): ... additions to this variable.
42706         * malloc/Makefile (tests): Change dependencies to ....
42707         (tests-special): ... additions to this variable.
42708         * misc/Makefile (tests): Change dependencies to ....
42709         (tests-special): ... additions to this variable.
42710         * nptl/Makefile (tests): Change dependencies to ....
42711         (tests-special): ... additions to this variable.
42712         * nptl_db/Makefile (tests): Change dependencies to ....
42713         (tests-special): ... additions to this variable.
42714         * posix/Makefile (tests): Change dependencies to ....
42715         (tests-special): ... additions to this variable.
42716         (xtests): Change dependencies to ....
42717         (xtests-special): ... additions to this variable.
42718         * resolv/Makefile (tests): Change dependencies to ....
42719         (tests-special): ... additions to this variable.
42720         (xtests): Change dependencies to ....
42721         (xtests-special): ... additions to this variable.
42722         * stdio-common/Makefile (tests): Change dependencies to ....
42723         (tests-special): ... additions to this variable.
42724         (do-tst-unbputc): Remove target.
42725         (do-tst-printf): Likewise.
42726         * stdlib/Makefile (tests): Change dependencies to ....
42727         (tests-special): ... additions to this variable.
42728         * string/Makefile (tests): Change dependencies to ....
42729         (tests-special): ... additions to this variable.
42730         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42731         (tests-special): ... additions to this variable.
42733         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42734         whole file.
42735         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42736         whole file.
42737         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42738         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42740         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42741         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42742         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42743         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42744         * conform/data/libgen.h-data [XPG3]: Likewise.
42745         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42746         * conform/data/ndbm.h-data [XPG3]: Likewise.
42747         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42748         * conform/data/netdb.h-data [XPG3]: Likewise.
42749         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42750         * conform/data/poll.h-data [XPG3]: Likewise.
42751         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42752         * conform/data/strings.h-data [XPG3]: Likewise.
42753         * conform/data/stropts.h-data [XPG3]: Likewise.
42754         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42755         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42756         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42757         Likewise.
42758         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42759         * conform/data/sys/time.h-data [XPG3]: Likewise.
42760         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42761         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42762         * conform/data/sys/un.h-data [XPG3]: Likewise.
42763         * conform/data/syslog.h-data [XPG3]: Likewise.
42764         * conform/data/ucontext.h-data [XPG3]: Likewise.
42765         * conform/data/utmpx.h-data [XPG3]: Likewise.
42766         * conform/data/varargs.h-data [UNIX98]: Enable file.
42768         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42770         * math/libm-test.inc (struct test_f_f_data): Move expected results
42771         into structure for each rounding mode.
42772         (struct test_ff_f_data): Likewise.
42773         (struct test_ff_f_data_nexttoward): Likewise.
42774         (struct test_fi_f_data): Likewise.
42775         (struct test_fl_f_data): Likewise.
42776         (struct test_if_f_data): Likewise.
42777         (struct test_fff_f_data): Likewise.
42778         (struct test_c_f_data): Likewise.
42779         (struct test_f_f1_data): Likewise.
42780         (struct test_fF_f1_data): Likewise.
42781         (struct test_ffI_f1_data): Likewise.
42782         (struct test_c_c_data): Likewise.
42783         (struct test_cc_c_data): Likewise.
42784         (struct test_f_i_data): Likewise.
42785         (struct test_ff_i_data): Likewise.
42786         (struct test_f_l_data): Likewise.
42787         (struct test_f_L_data): Likewise.
42788         (struct test_fFF_11_data): Likewise.
42789         (RM_): New macro.
42790         (RM_FE_DOWNWARD): Likewise.
42791         (RM_FE_TONEAREST): Likewise.
42792         (RM_FE_TOWARDZERO): Likewise.
42793         (RM_FE_UPWARD): Likewise.
42794         (RUN_TEST_LOOP_f_f): Update references to expected results.
42795         (RUN_TEST_LOOP_2_f): Likewise.
42796         (RUN_TEST_LOOP_fff_f): Likewise.
42797         (RUN_TEST_LOOP_c_f): Likewise.
42798         (RUN_TEST_LOOP_f_f1): Likewise.
42799         (RUN_TEST_LOOP_fF_f1): Likewise.
42800         (RUN_TEST_LOOP_fI_f1): Likewise.
42801         (RUN_TEST_LOOP_ffI_f1): Likewise.
42802         (RUN_TEST_LOOP_c_c): Likewise.
42803         (RUN_TEST_LOOP_cc_c): Likewise.
42804         (RUN_TEST_LOOP_f_i): Likewise.
42805         (RUN_TEST_LOOP_f_i_tg): Likewise.
42806         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42807         (RUN_TEST_LOOP_f_b): Likewise.
42808         (RUN_TEST_LOOP_f_b_tg): Likewise.
42809         (RUN_TEST_LOOP_f_l): Likewise.
42810         (RUN_TEST_LOOP_f_L): Likewise.
42811         (RUN_TEST_LOOP_fFF_11): Likewise.
42812         * math/gen-libm-test.pl (parse_args): Output four copies of
42813         expected results for each test.
42815         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42816         (__ASSUME_UTIMES): Remove.
42817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42818         (__ASSUME_UTIMES): Likewise.
42820         * math/gen-auto-libm-tests.c: Update comment on output format.
42821         (output_for_one_input_case): Generate before-rounding and
42822         after-rounding information as conditions on output flags not
42823         floating-point format.
42824         * math/auto-libm-test-out: Regenerated.
42825         * math/gen-libm-test.pl (cond_value): New function.
42826         (or_cond_value): Use cond_value.
42827         (generate_testfile): Handle conditional exceptions.
42829 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42831         * math/libm-test.inc (max_valid_error): New variable.
42832         (init_max_error): Take new argument specifying whether function
42833         results are exactly determined.  Set max_valid_error and bound
42834         other variables for errors based on this argument.
42835         (set_max_error): Do not record results above max_valid_error.
42836         (check_float_internal): Only accept errors of up to 0.5ulps if
42837         also at most max_valid_error.
42838         (START): Take new argument EXACT and pass it to init_max_error.
42839         (acos_test): Update call to START.
42840         (acos_test_tonearest): Likewise.
42841         (acos_test_towardzero): Likewise.
42842         (acos_test_downward): Likewise.
42843         (acos_test_upward): Likewise.
42844         (acosh_test): Likewise.
42845         (asin_test): Likewise.
42846         (asin_test_tonearest): Likewise.
42847         (asin_test_towardzero): Likewise.
42848         (asin_test_downward): Likewise.
42849         (asin_test_upward): Likewise.
42850         (asinh_test): Likewise.
42851         (atan_test): Likewise.
42852         (atanh_test): Likewise.
42853         (atan2_test): Likewise.
42854         (cabs_test): Likewise.
42855         (cacos_test): Likewise.
42856         (cacosh_test): Likewise.
42857         (carg_test): Likewise.
42858         (casin_test): Likewise.
42859         (casinh_test): Likewise.
42860         (catan_test): Likewise.
42861         (catanh_test): Likewise.
42862         (cbrt_test): Likewise.
42863         (ccos_test): Likewise.
42864         (ccosh_test): Likewise.
42865         (ceil_test): Likewise.
42866         (cexp_test): Likewise.
42867         (cimag_test): Likewise.
42868         (clog_test): Likewise.
42869         (clog10_test): Likewise.
42870         (conj_test): Likewise.
42871         (copysign_test): Likewise.
42872         (cos_test): Likewise.
42873         (cos_test_tonearest): Likewise.
42874         (cos_test_towardzero): Likewise.
42875         (cos_test_downward): Likewise.
42876         (cos_test_upward): Likewise.
42877         (cosh_test): Likewise.
42878         (cosh_test_tonearest): Likewise.
42879         (cosh_test_towardzero): Likewise.
42880         (cosh_test_downward): Likewise.
42881         (cosh_test_upward): Likewise.
42882         (cpow_test): Likewise.
42883         (cproj_test): Likewise.
42884         (creal_test): Likewise.
42885         (csin_test): Likewise.
42886         (csinh_test): Likewise.
42887         (csqrt_test): Likewise.
42888         (ctan_test): Likewise.
42889         (ctan_test_tonearest): Likewise.
42890         (ctan_test_towardzero): Likewise.
42891         (ctan_test_downward): Likewise.
42892         (ctan_test_upward): Likewise.
42893         (ctanh_test): Likewise.
42894         (ctanh_test_tonearest): Likewise.
42895         (ctanh_test_towardzero): Likewise.
42896         (ctanh_test_downward): Likewise.
42897         (ctanh_test_upward): Likewise.
42898         (erf_test): Likewise.
42899         (erfc_test): Likewise.
42900         (exp_test): Likewise.
42901         (exp_test_tonearest): Likewise.
42902         (exp_test_towardzero): Likewise.
42903         (exp_test_downward): Likewise.
42904         (exp_test_upward): Likewise.
42905         (exp10_test): Likewise.
42906         (exp10_test_tonearest): Likewise.
42907         (exp10_test_towardzero): Likewise.
42908         (exp10_test_downward): Likewise.
42909         (exp10_test_upward): Likewise.
42910         (pow10_test): Likewise.
42911         (exp2_test): Likewise.
42912         (expm1_test): Likewise.
42913         (expm1_test_tonearest): Likewise.
42914         (expm1_test_towardzero): Likewise.
42915         (expm1_test_downward): Likewise.
42916         (expm1_test_upward): Likewise.
42917         (fabs_test): Likewise.
42918         (fdim_test): Likewise.
42919         (floor_test): Likewise.
42920         (fma_test): Likewise.
42921         (fma_test_towardzero): Likewise.
42922         (fma_test_downward): Likewise.
42923         (fma_test_upward): Likewise.
42924         (fmax_test): Likewise.
42925         (fmin_test): Likewise.
42926         (fmod_test): Likewise.
42927         (fpclassify_test): Likewise.
42928         (frexp_test): Likewise.
42929         (hypot_test): Likewise.
42930         (ilogb_test): Likewise.
42931         (isfinite_test): Likewise.
42932         (finite_test): Likewise.
42933         (isgreater_test): Likewise.
42934         (isgreaterequal_test): Likewise.
42935         (isinf_test): Likewise.
42936         (isless_test): Likewise.
42937         (islessequal_test): Likewise.
42938         (islessgreater_test): Likewise.
42939         (isnan_test): Likewise.
42940         (isnormal_test): Likewise.
42941         (issignaling_test): Likewise.
42942         (isunordered_test): Likewise.
42943         (j0_test): Likewise.
42944         (j1_test): Likewise.
42945         (jn_test): Likewise.
42946         (ldexp_test): Likewise.
42947         (lgamma_test): Likewise.
42948         (gamma_test): Likewise.
42949         (lrint_test): Likewise.
42950         (lrint_test_tonearest): Likewise.
42951         (lrint_test_towardzero): Likewise.
42952         (lrint_test_downward): Likewise.
42953         (lrint_test_upward): Likewise.
42954         (llrint_test): Likewise.
42955         (llrint_test_tonearest): Likewise.
42956         (llrint_test_towardzero): Likewise.
42957         (llrint_test_downward): Likewise.
42958         (llrint_test_upward): Likewise.
42959         (log_test): Likewise.
42960         (log10_test): Likewise.
42961         (log1p_test): Likewise.
42962         (log2_test): Likewise.
42963         (logb_test): Likewise.
42964         (logb_test_downward): Likewise.
42965         (lround_test): Likewise.
42966         (llround_test): Likewise.
42967         (modf_test): Likewise.
42968         (nearbyint_test): Likewise.
42969         (nextafter_test): Likewise.
42970         (nexttoward_test): Likewise.
42971         (pow_test): Likewise.
42972         (pow_test_tonearest): Likewise.
42973         (pow_test_towardzero): Likewise.
42974         (pow_test_downward): Likewise.
42975         (pow_test_upward): Likewise.
42976         (remainder_test): Likewise.
42977         (drem_test): Likewise.
42978         (remainder_test_tonearest): Likewise.
42979         (drem_test_tonearest): Likewise.
42980         (remainder_test_towardzero): Likewise.
42981         (drem_test_towardzero): Likewise.
42982         (remainder_test_downward): Likewise.
42983         (drem_test_downward): Likewise.
42984         (remainder_test_upward): Likewise.
42985         (drem_test_upward): Likewise.
42986         (remquo_test): Likewise.
42987         (rint_test): Likewise.
42988         (rint_test_tonearest): Likewise.
42989         (rint_test_towardzero): Likewise.
42990         (rint_test_downward): Likewise.
42991         (rint_test_upward): Likewise.
42992         (round_test): Likewise.
42993         (scalb_test): Likewise.
42994         (scalbn_test): Likewise.
42995         (scalbln_test): Likewise.
42996         (signbit_test): Likewise.
42997         (sin_test): Likewise.
42998         (sin_test_tonearest): Likewise.
42999         (sin_test_towardzero): Likewise.
43000         (sin_test_downward): Likewise.
43001         (sin_test_upward): Likewise.
43002         (sincos_test): Likewise.
43003         (sinh_test): Likewise.
43004         (sinh_test_tonearest): Likewise.
43005         (sinh_test_towardzero): Likewise.
43006         (sinh_test_downward): Likewise.
43007         (sinh_test_upward): Likewise.
43008         (sqrt_test): Likewise.
43009         (sqrt_test_tonearest): Likewise.
43010         (sqrt_test_towardzero): Likewise.
43011         (sqrt_test_downward): Likewise.
43012         (sqrt_test_upward): Likewise.
43013         (tan_test): Likewise.
43014         (tan_test_tonearest): Likewise.
43015         (tan_test_towardzero): Likewise.
43016         (tan_test_downward): Likewise.
43017         (tan_test_upward): Likewise.
43018         (tanh_test): Likewise.
43019         (tgamma_test): Likewise.
43020         (trunc_test): Likewise.
43021         (y0_test): Likewise.
43022         (y1_test): Likewise.
43023         (yn_test): Likewise.
43024         (significand_test): Likewise.
43026         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43027         individual tests in comment.
43028         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43029         (prev_max_error): New variable.
43030         (prev_real_max_error): Likewise.
43031         (prev_imag_max_error): Likewise.
43032         (compare_ulp_data): Don't refer to test names in comment.
43033         (find_test_ulps): Remove function.
43034         (find_function_ulps): Likewise.
43035         (find_complex_function_ulps): Likewise.
43036         (init_max_error): Take function name as argument.  Look up ulps
43037         for that function.
43038         (print_ulps): Remove function.
43039         (print_max_error): Use prev_max_error instead of calling
43040         find_function_ulps.
43041         (print_complex_max_error): Use prev_real_max_error and
43042         prev_imag_max_error instead of calling find_complex_function_ulps.
43043         (check_float_internal): Take max_ulp parameter instead of calling
43044         find_test_ulps.  Don't call print_ulps.
43045         (check_float): Update call to check_float_internal.
43046         (check_complex): Update calls to check_float_internal.
43047         (START): Pass argument to init_max_error.
43048         * math/gen-libm-test.pl (%results): Don't include "kind"
43049         information.
43050         (parse_ulps): Don't handle ulps of individual tests.
43051         (print_ulps_file): Likewise.
43052         (output_ulps): Likewise.
43053         * math/README.libm-test: Update.
43054         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43055         individual tests.
43056         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43057         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43058         * sysdeps/arm/libm-test-ulps: Likewise.
43059         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43060         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43061         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43062         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43063         * sysdeps/microblaze/libm-test-ulps: Likewise.
43064         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43065         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43066         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43067         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43068         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43069         * sysdeps/sh/libm-test-ulps: Likewise.
43070         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43071         * sysdeps/tile/libm-test-ulps: Likewise.
43072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43074 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43076         * math/libm-test.inc (print_complex_max_error): Check separately
43077         whether real and imaginary errors are within allowed range and
43078         pass 0 to print_complex_function_ulps instead of value within
43079         allowed range.
43081 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43083         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43084         formatting.
43085         (get_handles_fopen): Likewise.
43086         (do_write_test): Likewise.
43088         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43090         * libio/fileops.c (do_ftell): Use cached offset when
43091         available.
43092         * libio/iofwide.c (do_ftell_wide): Likewise.
43093         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43094         _IO_file_attach.
43095         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43097         [BZ #16532]
43098         * libio/libioP.h (get_file_offset): New function.
43099         * libio/fileops.c (get_file_offset): Likewise.
43100         (do_ftell): Likewise.
43101         (_IO_new_file_seekoff): Split out ftell logic.
43102         * libio/wfileops.c (do_ftell_wide): Likewise.
43103         (_IO_wfile_seekoff): Split out ftell logic.
43104         * libio/tst-ftell-active-handler.c: New test case.
43105         * libio/Makefile (tests): Add it.
43107 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43109         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43110         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43112 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43114         [BZ #16639]
43115         * nscd/connections.c (nscd_init): Call do_exit.
43116         (start_threads): Call do_exit and notify_parent.
43117         (begin_drop_privileges): Call do_exit.
43118         (finish_drop_privileges): Likewise.
43119         * nscd/selinux.c (preserve_capabilities): Likewise.
43120         (install_real_capabilities): Likewise.
43121         (nscd_selinux_enabled): Likewise.
43122         (avc_create_thread): Likewise.
43123         (avc_alloc_lock): Likewise.
43124         (nscd_avc_init): Likewise.
43125         * nscd/nscd.c (parent_fd): New static variable.
43126         (main): Create a pipe between parent and child processes.
43127         Skip closing parent_fd.
43128         (monitor_child): New function.
43129         (do_exit): Likewise.
43130         (notify_parent): Likewise.
43131         * nscd/nscd.h (notify_parent): Likewise.
43132         (do_exit): Likewise.
43134 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43136         * malloc/malloc.c (__libc_calloc): Revert last change.
43138 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43142 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43144         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43146         implementation.
43147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43148         (__libc_ifunc_impl_list): Likewise.
43149         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43150         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43151         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43152         * string/strrchr.c: Define STRRCHR.
43154 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43156         * benchtest/bench-strtok.c (simple_strtok): Delete.
43157         (strtok_string): Use as benchmark.
43158         * string/strtok (STRTOK): New macro.
43160 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43162         * manual/threads.texi: Add header and standard comments to all
43163         functions.
43165         * elf/dl-lookup.c (check_match): New function.
43166         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43167         (do_lookup_x): Remove nested function check_match. Use non-nested
43168         function check_match.
43170 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43172         * csu/Makefile (generated, before-compile): Use += rather than =.
43173         * catgets/Makefile (generated, generated-dirs): Likewise.
43174         * debug/Makefile (generated): Likewise.
43175         * dlfcn/Makefile (generated): Likewise.
43176         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43177         * iconvdata/Makefile (before-compile, generated): Likewise.
43178         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43179         * libio/Makefile (generated): Likewise.
43180         * malloc/Makefile (generated): Likewise.
43181         * manual/Makefile (generated, generated-dirs): Likewise.
43182         * misc/Makefile (generated): Likewise.
43183         * posix/Makefile (generated): Likewise.
43184         * resolv/Makefile (generated): Likewise.
43185         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43186         * timezone/Makefile (generated, generated-dirs): Likewise.
43188         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43190 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43193         power8 implementation.
43194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43195         file: POWER8 llround ifunc implementation.
43196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43197         (__lllround): Add POWER8 implementation.
43198         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43199         POWER8 llround implementation.
43201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43202         power8 implementation.
43203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43204         file: POWER8 llrint ifunc implementation.
43205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43206         Add POWER8 implementation.
43207         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43208         POWER8 llrint implementation.
43210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43211         power8 implementation.
43212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43213         file: POWER8 finite ifunc implementation.
43214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43215         Add POWER8 implementation.
43216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43217         Likewise.
43218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43219         POWER8 finite implementation.
43220         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43223         power8 implementation.
43224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43225         file: POWER8 isinf ifunc implementation.
43226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43227         POWER8 implementation.
43228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43229         Likewise.
43230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43231         isinf implementation.
43232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43234         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43235         (INIT_ARCH): Add hwcap2 initialization.
43236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43237         power8 implementation.
43238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43239         file: POWER8 isnan ifunc implementation.
43240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43241         POWER8 implementation.
43242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43243         Likewise.
43244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43245         isnan implementation.
43246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43248 2014-02-27  Joey Ye  <joey.ye@arm.com>
43250         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43251         (_FP_NANFRAC_Q): Set to zero.
43253 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43255         [BZ #16623]
43256         * math/auto-libm-test-in: New test inputs.
43257         * math/auto-libm-test-out: Regenerate.
43258         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43259         and DA.
43260         (__cos): Likewise.
43261         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43263 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43265         * scripts/evaluate-test.sh: Take new argument indicating whether
43266         failure is expected.
43267         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43268         indicating whether failure is expected.
43269         * conform/Makefile (test-xfail-run-conformtest): New variable.
43270         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43271         level.
43272         * posix/Makefile (test-xfail-annexc): New variable.
43273         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43275 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43277         * argp/Makefile: Include Makeconfig immediately after defining
43278         subdir.
43279         * assert/Makefile: Likewise.
43280         * benchtests/Makefile: Likewise.
43281         * catgets/Makefile: Likewise.
43282         * conform/Makefile: Likewise.
43283         * crypt/Makefile: Likewise.
43284         * csu/Makefile: Likewise.
43285         (all): Remove target.
43286         * ctype/Makefile: Include Makeconfig immediately after defining
43287         subdir.
43288         * debug/Makefile: Likewise.
43289         * dirent/Makefile: Likewise.
43290         * dlfcn/Makefile: Likewise.
43291         * gmon/Makefile: Likewise.
43292         * gnulib/Makefile: Likewise.
43293         * grp/Makefile: Likewise.
43294         * gshadow/Makefile: Likewise.
43295         * hesiod/Makefile: Likewise.
43296         * hurd/Makefile: Likewise.
43297         (all): Remove target.
43298         * iconvdata/Makefile: Include Makeconfig immediately after
43299         defining subdir.
43300         * inet/Makefile: Likewise.
43301         * intl/Makefile: Likewise.
43302         * io/Makefile: Likewise.
43303         * libio/Makefile: Likewise.
43304         (all): Remove target.
43305         * locale/Makefile: Include Makeconfig immediately after defining
43306         subdir.
43307         * login/Makefile: Likewise.
43308         * mach/Makefile: Likewise.
43309         (all): Remove target.
43310         * malloc/Makefile: Include Makeconfig immediately after defining
43311         subdir.
43312         (all): Remove target.
43313         * manual/Makefile: Include Makeconfig immediately after defining
43314         subdir.
43315         * math/Makefile: Likewise.
43316         * misc/Makefile: Likewise.
43317         * nis/Makefile: Likewise.
43318         * nss/Makefile: Likewise.
43319         * po/Makefile: Likewise.
43320         (all): Remove target.
43321         * posix/Makefile: Include Makeconfig immediately after defining
43322         subdir.
43323         * pwd/Makefile: Likewise.
43324         * resolv/Makefile: Likewise.
43325         * resource/Makefile: Likewise.
43326         * rt/Makefile: Likewise.
43327         * setjmp/Makefile: Likewise.
43328         * shadow/Makefile: Likewise.
43329         * signal/Makefile: Likewise.
43330         * socket/Makefile: Likewise.
43331         * soft-fp/Makefile: Likewise.
43332         * stdio-common/Makefile: Likewise.
43333         * stdlib/Makefile: Likewise.
43334         * streams/Makefile: Likewise.
43335         * string/Makefile: Likewise.
43336         * sunrpc/Makefile: Likewise.
43337         (all): Remove target.
43338         * sysvipc/Makefile: Include Makeconfig immediately after defining
43339         subdir.
43340         * termios/Makefile: Likewise.
43341         * time/Makefile: Likewise.
43342         * timezone/Makefile: Likewise.
43343         (all): Remove target.
43344         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43345         subdir.
43346         * wctype/Makefile: Likewise.
43348 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43350         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43351         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43352         (libc_feholdexcept_setround_mips): Ditto.
43353         (libc_feholdsetround): New.
43354         (libc_feholdsetroundf): New.
43355         (libc_feholdsetroundl): New.
43356         (libc_feupdateenv_test_mips): New.
43357         (libc_feupdateenv_test): New.
43358         (libc_feupdateenv_testf): New.
43359         (libc_feupdateenv_testl): New.
43360         (libc_feresetround): New.
43361         (libc_feresetroundf): New.
43362         (libc_feresetroundl): New.
43363         (libc_fetestexcept_mips): New.
43364         (libc_fetestexcept): New.
43365         (libc_fetestexceptf): New.
43366         (libc_fetestexceptl): New.
43367         (HAVE_RM_CTX): New.
43368         (libc_feholdexcept_setround_mips_ctx): New.
43369         (libc_feholdexcept_setround_ctx): New.
43370         (libc_feholdexcept_setroundf_ctx): New.
43371         (libc_feholdexcept_setroundl_ctx): New.
43372         (libc_fesetenv_mips_ctx): New.
43373         (libc_fesetenv_ctx): New.
43374         (libc_fesetenv_ctxf): New.
43375         (libc_fesetenv_ctxl): New.
43376         (libc_feupdateenv_mips_ctx): New.
43377         (libc_feupdateenv_ctx): New.
43378         (libc_feupdateenvf_ctx): New.
43379         (libc_feupdateenvl_ctx): New.
43380         (libc_feholdsetround_mips_ctx): New.
43381         (libc_feholdsetround_ctx): New.
43382         (libc_feholdsetroundf_ctx): New.
43383         (libc_feholdsetroundl_ctx): New.
43384         (libc_feresetround_mips_ctx): New.
43385         (libc_feresetround_ctx): New.
43386         (libc_feresetroundf_ctx): New.
43387         (libc_feresetroundl_ctx): New.
43389 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43391         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43393         * manual/ipc.texi: New file.
43394         * manual/Makefile (chapters): Add ipc.
43395         * manual/job.texi: Add "Inter-Process Communication" to next.
43396         * manual/process.texi: Add "Inter-Process Communication" to prev.
43398 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43402 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43404         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43406         * manual/arith.texi: Fix spaces after sentences.
43407         * manual/charset.texi: Likewise.
43408         * manual/errno.texi: Likewise.
43409         * manual/install.texi: Likewise.
43410         * manual/llio.texi: Likewise.
43411         * manual/locale.texi: Likewise.
43412         * manual/maint.texi: Likewise.
43413         * manual/math.texi: Likewise.
43414         * manual/memory.texi: Likewise.
43415         * manual/message.texi: Likewise.
43416         * manual/probes.texi: Likewise.
43417         * manual/resource.texi: Likewise.
43418         * manual/signal.texi: Likewise.
43419         * manual/socket.texi: Likewise.
43420         * manual/stdio.texi: Likewise.
43421         * manual/string.texi: Likewise.
43422         * manual/time.texi: Likewise.
43423         * manual/users.texi: Likewise.
43425 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43427         [BZ #16632]
43428         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43429         _DEFAULT_SOURCE is defined.
43431 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43432             Carlos O'Donell  <carlos@redhat.com>
43434         [BZ #16613]
43435         * elf/dl-tls.c (_dl_count_modids): New function.
43436         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43437         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43438         audit library and increment generation counter.
43439         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43440         * elf/tst-audit9.c: New file.
43441         * elf/tst-auditmod9a.c: New file.
43442         * elf/tst-auditmod9b.c: New file.
43443         * elf/Makefile: Add rules to build and run tst-audit9.
43445 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43447         [BZ #15347]
43448         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43450 2014-02-25  Will Newton  <will.newton@linaro.org>
43452         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43453         (__longjmp): Restore sp and lr before restoring callee
43454         saved registers.  Add longjmp and longjmp_target
43455         SystemTap probe point.
43456         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43457         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43458         Define to zero to match jmpbuf layout.
43459         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43460         (__sigsetjmp): Save sp and lr before saving callee
43461         saved registers.  Add setjmp SystemTap probe point.
43463 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43467 2014-02-24  Andreas Schwab  <schwab@suse.de>
43469         [BZ #15804]
43470         * elf/pldd.c (wait_for_ptrace_stop): New function.
43471         (main): Call it after attaching.
43473 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43475         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43476         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43477         Versions files is now verboten.
43478         * hurd/Versions (libc: GLIBC_2.0):
43479         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43480         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43481         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43482         * mach/Versions: Likewise.
43484         * csu/Versions: Remove unused %include.
43485         * resolv/Versions: Likewise.
43487 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43489         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43490         ($(objpfx)check-local-headers.out): Likewise.
43491         ($(objpfx)begin-end-check.out): Likewise.
43492         * Makerules (check-abi-%.out): Likewise.
43493         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43494         ($(objpfx)test2.cat): Likewise.
43495         ($(objpfx)de/libc.cat): Likewise.
43496         ($(objpfx)test-gencat.out): Likewise.
43497         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43498         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43499         ($(objpfx)noload-mem): Likewise.
43500         ($(objpfx)tst-pathopt.out): Likewise.
43501         ($(objpfx)tst-rtld-load-self.out): Likewise.
43502         ($(objpfx)tst-array1-cmp.out): Likewise.
43503         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43504         ($(objpfx)tst-array2-cmp.out): Likewise.
43505         ($(objpfx)tst-array3-cmp.out): Likewise.
43506         ($(objpfx)tst-array4-cmp.out): Likewise.
43507         ($(objpfx)tst-array5-cmp.out): Likewise.
43508         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43509         ($(objpfx)check-textrel.out): Likewise.
43510         ($(objpfx)check-execstack.out): Likewise.
43511         ($(objpfx)check-localplt.out): Likewise.
43512         ($(objpfx)order2-cmp.out): Likewise.
43513         ($(objpfx)tst-leaks1-mem): Likewise.
43514         ($(objpfx)tst-leaks1-static-mem): Likewise.
43515         ($(objpfx)tst-initorder-cmp.out): Likewise.
43516         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43517         ($(objpfx)tst-unused-dep.out): Likewise.
43518         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43519         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43520         * iconv/Makefile (test-iconvconfig): Likewise.
43521         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43522         ($(objpfx)iconv-test.out): Likewise.
43523         ($(objpfx)tst-tables.out): Likewise.
43524         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43525         ($(objpfx)tst-gettext.out): Likewise.
43526         ($(objpfx)tst-translit.out): Likewise.
43527         ($(objpfx)tst-gettext2.out): Likewise.
43528         ($(objpfx)tst-gettext4.out): Likewise.
43529         ($(objpfx)tst-gettext6.out): Likewise.
43530         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43531         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43532         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43533         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43534         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43535         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43536         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43537         ($(objpfx)wordexp-tst.out): Likewise.
43538         ($(objpfx)annexc.out): Likewise.
43539         ($(objpfx)tst-fnmatch-mem): Likewise.
43540         ($(objpfx)bug-regex2-mem): Likewise.
43541         ($(objpfx)bug-regex14-mem): Likewise.
43542         ($(objpfx)bug-regex21-mem): Likewise.
43543         ($(objpfx)bug-regex31-mem): Likewise.
43544         ($(objpfx)tst-vfork3-mem): Likewise.
43545         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43546         ($(objpfx)tst-pcre-mem): Likewise.
43547         ($(objpfx)tst-boost-mem): Likewise.
43548         ($(objpfx)tst-getconf.out): Likewise.
43549         ($(objpfx)bug-ga2-mem): Likewise.
43550         ($(objpfx)bug-glob2-mem): Likewise.
43551         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43552         ($(objpfx)mtrace-tst-leaks2): Likewise.
43553         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43554         ($(objpfx)tst-printf.out): Likewise.
43555         ($(objpfx)tst-setvbuf1.out): Likewise.
43556         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43557         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43558         ($(objpfx)tst-fmtmsg.out): Likewise.
43559         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43560         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43562         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43563         * bits/sigaction.h [__USE_MISC]: Likewise.
43564         * bits/waitstatus.h: Update #endif comments.
43565         * ctype/ctype.h: Likewise.
43566         * dirent/dirent.h: Likewise.
43567         [__USE_MISC]: Remove redundant conditionals.
43568         * grp/grp.h: Update #endif comments.
43569         [__USE_GNU]: Remove redundant conditionals.
43570         [__USE_MISC]: Likewise.
43571         * inet/netinet/in.h [__USE_GNU]: Likewise.
43572         * io/sys/stat.h [__USE_MISC]: Likewise.
43573         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43574         * libio/bits/stdio.h: Update #endif comments.
43575         [__USE_MISC]: Remove redundant conditionals.
43576         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43577         * libio/stdio.h: Update #endif comments.
43578         [__USE_MISC]: Remove redundant conditionals.
43579         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43580         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43581         * math/math.h: Update #else and #endif comments.
43582         [__USE_MISC]: Remove redundant conditionals.
43583         * misc/sys/uio.h: Update #endif comments.
43584         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43585         * posix/glob.h [__USE_MISC]: Likewise.
43586         * posix/sys/types.h: Update #endif comments.
43587         [__USE_MISC]: Remove redundant conditionals.
43588         * posix/sys/wait.h: Update #endif comments.
43589         [__USE_MISC]: Remove redundant conditionals.
43590         * posix/unistd.h: Update #endif comments.
43591         [__USE_MISC]: Remove redundant conditionals.
43592         * pwd/pwd.h [__USE_GNU]: Likewise.
43593         [__USE_MISC]: Likewise.
43594         * resolv/netdb.h [__USE_GNU]: Likewise.
43595         * signal/signal.h: Update #endif comments.
43596         [__USE_MISC]: Remove redundant conditionals.
43597         * stdlib/stdlib.h: Update #else and #endif comments.
43598         [__USE_MISC]: Remove redundant conditionals.
43599         [__USE_GNU]: Likewise.
43600         * string/bits/string2.h [__USE_MISC]: Likewise.
43601         * string/string.h: Update #endif comments.
43602         [__USE_MISC]: Remove redundant conditionals.
43603         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43604         Likewise.
43605         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43606         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43607         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43608         Likewise.
43609         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43610         Likewise.
43611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43612         comments.
43613         [__USE_MISC]: Remove redundant conditionals.
43614         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43615         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43616         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43617         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43618         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43619         Likewise.
43620         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43621         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43622         Likewise.
43623         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43624         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43625         Likewise.
43626         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43627         Likewise.
43628         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43629         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43630         Likewise.
43631         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43632         Likewise.
43633         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43634         * sysdeps/x86/bits/string.h: Update #endif comments.
43635         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43636         conditionals.
43637         * time/sys/time.h: Update #endif comments.
43638         * time/time.h: Likewise.
43639         [__USE_MISC]: Remove redundant conditionals.
43641 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43643         [BZ #16600]
43644         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43646 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43648         * Versions.def (librt): Add GLIBC_2.17.
43650 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43652         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43653         synonym for _SYS_AUXV_H to allow direct inclusion.
43654         * sysdeps/sparc/bits/hwcap.h: Likewise.
43655         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43656         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43657         * sysdeps/sparc/sysdep.h: Likewise.
43659 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43661         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43663 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43665         * benchtests/bench-strrchr.c: Print length instead of position.
43667 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43669         [BZ #16611]
43670         * sysdeps/unix/sysv/linux/kernel-features.h
43671         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43672         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43673         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43674         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43675         Likewise.
43676         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43677         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43678         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43679         (__ASSUME_SENDMMSG): Define instead of using previous
43680         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43682         (__ASSUME_SENDMMSG_SYSCALL): Define.
43683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43684         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43685         Likewise.
43686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43688         Likewise.
43689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43691         Likewise.
43692         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43693         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43694         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43695         [__ASSUME_SENDMMSG]: Change conditionals to
43696         [__ASSUME_SENDMMSG_SOCKETCALL].
43697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43698         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43699         Define.
43700         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43701         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43702         Likewise.
43703         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43704         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43705         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43706         [!__ASSUME_SENDMMSG]: Change conditional to
43707         [!__ASSUME_SENDMMSG_SOCKETCALL].
43708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43710         Define.
43712         [BZ #16610]
43713         * sysdeps/unix/sysv/linux/kernel-features.h
43714         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43715         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43716         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43717         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43718         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43719         [__i386__ || __sparc__]
43720         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43721         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43722         (__ASSUME_RECVMMSG): Define instead of using previous
43723         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43724         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43725         (__ASSUME_RECVMMSG_SYSCALL): Define.
43726         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43727         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43728         Likewise.
43729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43731         Likewise.
43732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43734         Likewise.
43735         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
43741         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43742         Define.
43743         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43746         Likewise.
43747         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43748         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43749         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43750         [!__ASSUME_RECVMMSG]: Change condition to
43751         [!__ASSUME_RECVMMSG_SOCKETCALL].
43752         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43753         (__ASSUME_RECVMMSG_SYSCALL): Define.
43755         [BZ #16609]
43756         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43757         __powerpc__ || __s390__ || __sh__ || __sparc__]
43758         (__ASSUME_SOCKETCALL): Define.
43759         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43760         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43761         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43762         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43763         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43764         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43765         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43766         (__ASSUME_ACCEPT4): Define instead of using previous
43767         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43768         __powerpc__ || __sparc__ || __s390__)] condition.
43769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43770         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43771         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43772         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43773         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43774         [!__ASSUME_ACCEPT4]: Change condition to
43775         [!__ASSUME_ACCEPT4_SOCKETCALL].
43776         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43777         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43778         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43780         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43781         __ASSUME_ACCEPT4_SYSCALL.
43782         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43783         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43785         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43786         __ASSUME_ACCEPT4_SYSCALL.
43787         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43788         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43789         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43790         [__ASSUME_ACCEPT4]: Change condition to
43791         [__ASSUME_ACCEPT4_SOCKETCALL].
43792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43793         (__ASSUME_SOCKETCALL): Define.
43794         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43796         (__ASSUME_SOCKETCALL): Define.
43797         (__ASSUME_ACCEPT4): Remove.
43798         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43799         Define.
43800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43801         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43802         Likewise.
43803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43804         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43806         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43807         macro.
43808         (HWCAP_ARM_LPAE): Likewise.
43809         (HWCAP_ARM_EVTSTRM): Likewise.
43810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43811         Add vpfd32, lpae and evtstrm.
43812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43813         Increase to 22.
43815 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43817         * math/auto-libm-test-in: Add tests of clog10.
43818         * math/auto-libm-test-out: Regenerated.
43819         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43820         * sysdeps/i386/fpu/libm-test-ulps: Update.
43821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43823 2014-02-18  Andreas Schwab  <schwab@suse.de>
43825         [BZ #16574]
43826         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43827         Store non-zero if the second buffer was newly allocated.
43828         (send_dg): Likewise.
43829         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43830         to send_vc and send_dg.
43831         (res_nsend): Pass NULL for ansp2_malloced.
43832         * resolv/res_query.c (__libc_res_nquery): Add parameter
43833         answerp2_malloced and pass it down to __libc_res_nsend.
43834         (res_nquery): Pass additional NULL to __libc_res_nquery.
43835         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43836         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43837         second answer buffer if answerp2_malloced was set.
43838         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43839         (__libc_res_nquerydomain): Add parameter
43840         answerp2_malloced and pass it down to __libc_res_nquery.
43841         (res_nquerydomain): Pass additional NULL to
43842         __libc_res_nquerydomain.
43843         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43844         additional NULL to __libc_res_nsend and __libc_res_nquery.
43845         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43846         additional NULL to __libc_res_nsearch.
43847         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43848         parameter of __libc_res_nsearch to check for separately allocated
43849         second buffer.
43850         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43851         __libc_res_nquery.
43852         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43853         additional NULL to __libc_res_nquery.
43854         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43855         __libc_res_nsearch.
43856         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43857         * include/resolv.h: Update prototypes of __libc_res_nquery,
43858         __libc_res_nsearch, __libc_res_nsend.
43860 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43862         * math/auto-libm-test-in: Add tests of fma.
43863         * math/auto-libm-test-out: Regenerated.
43864         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43865         (fma_towardzero_test_data): Likewise.
43866         (fma_downward_test_data): Likewise.
43867         (fma_upward_test_data): Likewise.
43868         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43869         mpc_mode.
43870         (rounding_modes): Add values for new field.
43871         (func_calc_method): Add value mpfr_fff_f.
43872         (func_calc_desc): Add mpfr_fff_f union field.
43873         (test_function): Add field exact_args.
43874         (FUNC): Add macro argument EXACT_ARGS.
43875         (FUNC_mpfr_f_f): Update call to FUNC.
43876         (FUNC_mpfr_f_f): Likewise.
43877         (FUNC_mpfr_ff_f): Likewise.
43878         (FUNC_mpfr_if_f): Likewise.
43879         (FUNC_mpc_c_f): Likewise.
43880         (FUNC_mpc_c_c): Likewise.
43881         (test_functions): Add fma.  Update calls to FUNC.
43882         (handle_input_arg): Add argument exact_args.
43883         (add_test): Update call to handle_input_arg.
43884         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43885         (output_for_one_input_case): Update call to calc_generic_results.
43886         Recalculate exact zero results in each rounding mode.
43888         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43889         non-negative before setting low bit.
43890         * math/auto-libm-test-in: Mark one asin test possibly having
43891         spurious underflow.
43892         * math/auto-libm-test-out: Regenerated.
43893         * sysdeps/i386/fpu/libm-test-ulps: Update.
43894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43896 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43898         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43899         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43900         ports/sysdeps/unix/sysv/linux/microblaze.
43901         * README: Add missing listing for microblaze*-*-linux-gnu.
43903 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43905         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43906         duplicate code
43908 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43910         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43911         * sysdeps/unix/sysv/linux/ia64: Move directory from
43912         ports/sysdeps/unix/sysv/linux/ia64.
43913         * README: Update listing for ia64-*-linux-gnu.
43915 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43916             Joseph Myers  <joseph@codesourcery.com>
43918         * Makeconfig (test-name): New variable.
43919         (evaluate-test): Likewise.
43920         * Makerules (do-test-clean): Remove .test-result files.
43921         (common-mostlyclean): Likewise.
43922         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43923         * scripts/evaluate-test.sh: New file.
43925 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43927         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43928         separate $(objpfx)tst-fopenloc-cmp.out and
43929         $(objpfx)tst-fopenloc-mem.out targets.
43930         (tests): Update dependencies.
43931         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43932         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43933         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43934         (tst-rxspencer-no-utf8-ARGS): New variable.
43935         (tst-rxspencer-no-utf8-ENV): Likewise.
43936         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43937         instead of $(objpfx)tst-rxspencer-mem.
43938         ($(objpfx)tst-rxspencer-mem): Change target to
43939         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43940         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43941         * posix/tst-rxspencer-no-utf8.c: New file.
43943         * elf/Makefile ($(objpfx)order.out): Remove rule.
43944         [$(run-built-tests) = yes] (tests): Depend on
43945         $(objpfx)order-cmp.out.
43946         ($(objpfx)order-cmp.out): New rule.
43947         [$(run-built-tests) = yes] (tests): Depend on
43948         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43949         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43950         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43951         $(objpfx)tst-array5-static-cmp.out.
43952         ($(objpfx)tst-array1.out): Remove rule.
43953         ($(objpfx)tst-array1-cmp.out): New rule.
43954         ($(objpfx)tst-array1-static.out): Remove rule.
43955         ($(objpfx)tst-array1-static-cmp.out): New rule.
43956         ($(objpfx)tst-array2.out): Remove rule.
43957         ($(objpfx)tst-array2-cmp.out): New rule.
43958         ($(objpfx)tst-array3.out): Remove rule.
43959         ($(objpfx)tst-array3-cmp.out): New rule.
43960         ($(objpfx)tst-array4.out): Remove rule.
43961         ($(objpfx)tst-array4-cmp.out): New rule.
43962         ($(objpfx)tst-array5.out): Remove rule.
43963         ($(objpfx)tst-array5-cmp.out): New rule.
43964         ($(objpfx)tst-array5-static.out): Remove rule.
43965         ($(objpfx)tst-array5-static-cmp.out): New rule.
43966         [$(run-built-tests) = yes] (tests): Depend on
43967         $(objpfx)order2-cmp.out.
43968         ($(objpfx)order2.out): Remove rule.
43969         ($(objpfx)order2-cmp.out): New rule.
43970         ($(objpfx)tst-initorder.out): Remove rule.
43971         [$(run-built-tests) = yes] (tests): Depend on
43972         $(objpfx)tst-initorder-cmp.out.
43973         ($(objpfx)tst-initorder-cmp.out): New rule.
43974         ($(objpfx)tst-initorder2.out): Remove rule.
43975         [$(run-built-tests) = yes] (tests): Depend on
43976         $(objpfx)tst-initorder2-cmp.out.
43977         ($(objpfx)tst-initorder2-cmp.out): New rule.
43978         [$(run-built-tests) = yes] (tests): Depend on
43979         $(objpfx)tst-unused-dep-cmp.out.
43980         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43981         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43982         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43983         on $(objpfx)tst-setvbuf1-cmp.out.
43984         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43985         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43986         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43987         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43988         ($(objpfx)tst-svc.out): Remove rule.
43989         ($(objpfx)tst-svc-cmp.out): New rule.
43991 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43993         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43994         * ctype/ctype.h [__USE_MISC]: Likewise.
43995         * dirent/dirent.h [__USE_MISC]: Likewise.
43996         * grp/grp.h [__USE_MISC]: Likewise.
43997         * io/fcntl.h [__USE_MISC]: Likewise.
43998         * io/sys/stat.h [__USE_MISC]: Likewise.
43999         * libio/stdio.h [__USE_MISC]: Likewise.
44000         * posix/unistd.h [__USE_MISC]: Likewise.
44001         * pwd/pwd.h [__USE_MISC]: Likewise.
44002         * stdlib.h [__USE_MISC]: Likewise.
44003         * string/bits/string2.h [__USE_MISC]: Likewise.
44004         * string/string.h [__USE_MISC]: Likewise.
44005         * time/time.h [__USE_MISC]: Likewise.
44007 2014-02-13  Andreas Schwab  <schwab@suse.de>
44009         [BZ #16574]
44010         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44011         second answer buffer if it was separately allocated.
44013 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44015         * sysdeps/mips/math-tests.h: Include <features.h>.
44016         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44017         (ROUNDING_TESTS_long_double): Do not define.
44018         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44019         (EXCEPTION_TESTS_long_double): Likewise.
44020         * sysdeps/mips/mips64/libm-test-ulps: Update.
44022         * include/features.h (__USE_BSD): Remove macro definitions.
44023         (__USE_SVID): Likewise.
44024         (_BSD_SOURCE): Likewise.
44025         (_SVID_SOURCE): Likewise.
44026         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44027         from definition of _DEFAULT_SOURCE.
44028         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44029         [_DEFAULT_SOURCE].
44030         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44031         * bits/mman.h [__USE_BSD]: Likewise.
44032         * bits/termios.h [__USE_BSD]: Likewise.
44033         * bits/waitstatus.h [__USE_BSD]: Likewise.
44034         * ctype/ctype.h [__USE_SVID]: Likewise.
44035         * dirent/dirent.h [__USE_BSD]: Likewise.
44036         * grp/grp.h [__USE_SVID]: Likewise.
44037         [__USE_BSD]: Likewise.
44038         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44039         * io/fcntl.h [__USE_BSD]: Likewise.
44040         * io/ftw.h [__USE_BSD]: Likewise.
44041         * io/sys/stat.h [__USE_BSD]: Likewise.
44042         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44043         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44044         * libio/stdio.h [__USE_SVID]: Likewise.
44045         [__USE_BSD]: Likewise.
44046         * math/math.h [__USE_SVID]: Likewise.
44047         [__USE_BSD]: Likewise.
44048         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44049         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44050         * misc/search.h [__USE_SVID]: Likewise.
44051         * misc/sys/mman.h [__USE_BSD]: Likewise.
44052         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44053         * misc/sys/uio.h [__USE_BSD]: Likewise.
44054         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44055         * posix/glob.h [__USE_BSD]: Likewise.
44056         * posix/regex.h [__USE_BSD]: Likewise.
44057         * posix/sys/types.h [__USE_BSD]: Likewise.
44058         [__USE_SVID]: Likewise.
44059         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44060         * posix/sys/wait.h [__USE_BSD]: Likewise.
44061         [__USE_SVID]: Likewise.
44062         * posix/unistd.h [__USE_BSD]: Likewise.
44063         [__USE_SVID]: Likewise.
44064         * pwd/pwd.h [__USE_SVID]: Likewise.
44065         * resolv/netdb.h [__USE_BSD]: Likewise.
44066         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44067         * signal/signal.h [__USE_BSD]: Likewise.
44068         [__USE_SVID]: Likewise.
44069         * socket/sys/socket.h [__USE_BSD]: Likewise.
44070         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44071         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44072         [__USE_SVID]: Likewise.
44073         * string/bits/string2.h [__USE_BSD]: Likewise.
44074         [__USE_SVID]: Likewise.
44075         * string/bits/string3.h [__USE_BSD]: Likewise.
44076         * string/endian.h [__USE_BSD]: Likewise.
44077         * string/string.h [__USE_SVID]: Likewise.
44078         [__USE_BSD]: Likewise.
44079         * string/strings.h [__USE_BSD]: Likewise.
44080         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44081         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44082         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44083         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44084         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44085         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44086         Likewise.
44087         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44088         Likewise.
44089         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44090         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44091         Likewise.
44092         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44093         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44094         Likewise.
44095         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44096         Likewise.
44097         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44098         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44099         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44100         Likewise.
44101         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44102         Likewise.
44103         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44104         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44105         * termios/termios.h [__USE_BSD]: Likewise.
44106         * time/sys/time.h [__USE_BSD]: Likewise.
44107         * time/time.h [__USE_BSD]: Likewise.
44108         [__USE_SVID]: Likewise.
44110         * Makefile (subdir_targets): Remove subdir_lint.out.
44112         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44113         (do-tst-printf): Likewise.
44114         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44115         $(objpfx)tst-printf.out.
44117         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44119         * Makerules (check-abi-%): Change target to
44120         $(objpfx)check-abi-%.out.
44121         (check-abi target): Update dependencies.
44122         (check-abi-pattern variable): Redirect output of diff to $@.
44123         (check-abi variable): Likewise.
44124         * elf/Makefile (check-abi): Update dependencies.
44126         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44127         unused.
44128         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44129         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44130         subnormal range.
44131         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44132         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44133         value has largest subnormal exponent.
44134         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44135         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44136         * sysdeps/aarch64/soft-fp/sfp-machine.h
44137         (_FP_TININESS_AFTER_ROUNDING): New macro.
44138         * sysdeps/alpha/soft-fp/sfp-machine.h
44139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44140         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44141         Likewise.
44142         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44143         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44144         * sysdeps/mips/soft-fp/sfp-machine.h
44145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44146         * sysdeps/powerpc/soft-fp/sfp-machine.h
44147         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44148         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44149         Likewise.
44150         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44151         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44153         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44154         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44155         Likewise.
44157 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44159         [BZ #16545]
44160         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44161         model 1.
44163 2014-02-12  Richard Henderson  <rth@redhat.com>
44165         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44166         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44167         * sysdeps/unix/sysv/linux/alpha: Move directory from
44168         ports/sysdeps/unix/sysv/linux/alpha.
44169         * README: Update listing for alpha-*-linux-gnu.
44171 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44173         * include/features.h: Update comment documenting feature test
44174         macros.
44175         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44176         _DEFAULT_SOURCE.
44177         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44178         (_SVID_SOURCE): Likewise.
44179         (_DEFAULT_SOURCE): Update description of default features.
44180         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44181         with _GNU_SOURCE.
44182         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44183         (S_ISVTX): Likewise.
44184         * manual/math.texi (Mathematical Constants): Likewise.
44185         * manual/signal.texi (Interrupted Primitives): Likewise.
44186         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44187         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44188         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44189         Don't refer to _SVID_SOURCE in warning text.
44191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44193         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44194         already defined.
44195         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44196         * sysdeps/mips/dl-lookup.c: Remove.
44197         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44199 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44201         [BZ #16447]
44202         * math/auto-libm-test-in: Add testcase for expl.
44203         * math/auto-libm-test-out: Regenerate.
44204         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44205         calculation of unsafe.
44206         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44208 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44210         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44211         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44212         ports/sysdeps/unix/sysv/linux/aarch64.
44213         * README: Update listing for aarch64*-*-linux-gnu.
44215 2014-02-11  Will Newton  <will.newton@linaro.org>
44217         * manual/probes.texi (Mathematical Function Probes): Use
44218         "triggered" instead of "hit".
44220         * manual/probes.texi (Internal Probes): Add documentation
44221         of setjmp, longjmp and longjmp_target probes.
44223         * include/stap-probe.h: Add comment about probe argument
44224         format.
44226         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44227         definition.  (tr_where, tr_freehook, tr_mallochook,
44228         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44230 2014-02-11  David S. Miller  <davem@davemloft.net>
44232         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44233         processing int_tests.
44235 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44237         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44238         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44239         * sysdeps/unix/sysv/linux/mips: Move directory from
44240         ports/sysdeps/unix/sysv/linux/mips.
44241         * README: Update listing for mips-*-linux-gnu and
44242         mips64-*-linux-gnu.
44244 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44246         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44247         * sysdeps/unix/sysv/linux/m68k: Move directory from
44248         ports/sysdeps/unix/sysv/linux/m68k.
44249         * README: Update listing for m68k-*-linux-gnu.
44251 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44253         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44254         * sysdeps/unix/sysv/linux/generic: Move directory from
44255         ports/sysdeps/unix/sysv/linux/generic.
44256         * sysdeps/unix/sysv/linux/tile: Move directory from
44257         ports/sysdeps/unix/sysv/linux/tile.
44258         * README: Update listing for tile*-*-linux-gnu.
44260 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44262         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44263         __builtin_expect.
44264         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44265         * catgets/open_catalog.c (__open_catalog): Likewise.
44266         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44267         * debug/confstr_chk.c: Likewise.
44268         * debug/fread_chk.c (__fread_chk): Likewise.
44269         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44270         * debug/getgroups_chk.c: Likewise.
44271         * debug/mbsnrtowcs_chk.c: Likewise.
44272         * debug/mbsrtowcs_chk.c: Likewise.
44273         * debug/mbstowcs_chk.c: Likewise.
44274         * debug/memcpy_chk.c: Likewise.
44275         * debug/memmove_chk.c: Likewise.
44276         * debug/mempcpy_chk.c: Likewise.
44277         * debug/memset_chk.c: Likewise.
44278         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44279         * debug/strcat_chk.c (__strcat_chk): Likewise.
44280         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44281         * debug/strncat_chk.c (__strncat_chk): Likewise.
44282         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44283         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44284         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44285         * debug/wcpncpy_chk.c: Likewise.
44286         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44287         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44288         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44289         * debug/wcsncpy_chk.c: Likewise.
44290         * debug/wcsnrtombs_chk.c: Likewise.
44291         * debug/wcsrtombs_chk.c: Likewise.
44292         * debug/wcstombs_chk.c: Likewise.
44293         * debug/wmemcpy_chk.c: Likewise.
44294         * debug/wmemmove_chk.c: Likewise.
44295         * debug/wmempcpy_chk.c: Likewise.
44296         * debug/wmemset_chk.c: Likewise.
44297         * dirent/scandirat.c (SCANDIRAT): Likewise.
44298         * dlfcn/dladdr1.c (dladdr1): Likewise.
44299         * dlfcn/dladdr.c (dladdr): Likewise.
44300         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44301         * dlfcn/dlerror.c (__dlerror): Likewise.
44302         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44303         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44304         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44305         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44306         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44307         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44308         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44309         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44310         Likewise.
44311         * elf/dl-conflict.c: Likewise.
44312         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44313         * elf/dl-dst.h: Likewise.
44314         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44315         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44316         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44317         * elf/dl-init.c (call_init, _dl_init): Likewise.
44318         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44319         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44320         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44321         Likewise.
44322         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44323         Likewise.
44324         * elf/dl-minimal.c (__libc_memalign): Likewise.
44325         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44326         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44327         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44328         * elf/dl-sym.c (do_sym): Likewise.
44329         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44330         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44331         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44332         * elf/dl-writev.h (_dl_writev): Likewise.
44333         * elf/ldconfig.c (search_dir): Likewise.
44334         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44335         (dl_main): Likewise.
44336         * elf/setup-vdso.h (setup_vdso): Likewise.
44337         * grp/compat-initgroups.c (compat_call): Likewise.
44338         * grp/fgetgrent.c (fgetgrent): Likewise.
44339         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44340         * grp/putgrent.c (putgrent): Likewise.
44341         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44342         Likewise.
44343         * hurd/hurdinit.c: Likewise.
44344         * iconvdata/8bit-gap.c (struct): Likewise.
44345         * iconvdata/ansi_x3.110.c : Likewise.
44346         * iconvdata/big5.c : Likewise.
44347         * iconvdata/big5hkscs.c : Likewise.
44348         * iconvdata/cp1255.c: Likewise.
44349         * iconvdata/cp1258.c : Likewise.
44350         * iconvdata/cp932.c : Likewise.
44351         * iconvdata/euc-cn.c: Likewise.
44352         * iconvdata/euc-jisx0213.c : Likewise.
44353         * iconvdata/euc-jp.c: Likewise.
44354         * iconvdata/euc-jp-ms.c : Likewise.
44355         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44356         * iconvdata/gb18030.c : Likewise.
44357         * iconvdata/gbbig5.c (const): Likewise.
44358         * iconvdata/gbgbk.c: Likewise.
44359         * iconvdata/gbk.c : Likewise.
44360         * iconvdata/ibm1364.c : Likewise.
44361         * iconvdata/ibm930.c : Likewise.
44362         * iconvdata/ibm932.c: Likewise.
44363         * iconvdata/ibm933.c : Likewise.
44364         * iconvdata/ibm935.c : Likewise.
44365         * iconvdata/ibm937.c : Likewise.
44366         * iconvdata/ibm939.c : Likewise.
44367         * iconvdata/ibm943.c: Likewise.
44368         * iconvdata/iso_11548-1.c: Likewise.
44369         * iconvdata/iso-2022-cn.c : Likewise.
44370         * iconvdata/iso-2022-cn-ext.c : Likewise.
44371         * iconvdata/iso-2022-jp-3.c: Likewise.
44372         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44373         * iconvdata/iso-2022-kr.c : Likewise.
44374         * iconvdata/iso646.c (gconv_end): Likewise.
44375         * iconvdata/iso_6937-2.c : Likewise.
44376         * iconvdata/iso_6937.c : Likewise.
44377         * iconvdata/iso8859-1.c: Likewise.
44378         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44379         * iconvdata/shift_jisx0213.c : Likewise.
44380         * iconvdata/sjis.c : Likewise.
44381         * iconvdata/t.61.c : Likewise.
44382         * iconvdata/tcvn5712-1.c : Likewise.
44383         * iconvdata/tscii.c: Likewise.
44384         * iconvdata/uhc.c : Likewise.
44385         * iconvdata/unicode.c (gconv_end): Likewise.
44386         * iconvdata/utf-16.c (gconv_end): Likewise.
44387         * iconvdata/utf-32.c (gconv_end): Likewise.
44388         * iconvdata/utf-7.c (base64): Likewise.
44389         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44390         * iconv/gconv_close.c (__gconv_close): Likewise.
44391         * iconv/gconv_open.c (__gconv_open): Likewise.
44392         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44393         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44394         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44395         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44396         (ucs4le_internal_loop_single): Likewise.
44397         * iconv/iconv.c (iconv): Likewise.
44398         * iconv/iconv_close.c: Likewise.
44399         * iconv/loop.c (SINGLE): Likewise.
44400         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44401         * include/atomic.h: Likewise.
44402         * inet/inet6_option.c (option_alloc): Likewise.
44403         * intl/bindtextdom.c (set_binding_values): Likewise.
44404         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44405         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44406         * intl/localealias.c (read_alias_file): Likewise.
44407         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44408         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44409         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44410         * libio/fmemopen.c (fmemopen): Likewise.
44411         * libio/iofgets.c (_IO_fgets): Likewise.
44412         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44413         * libio/iofgetws.c (fgetws): Likewise.
44414         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44415         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44416         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44417         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44418         * locale/findlocale.c (_nl_find_locale): Likewise.
44419         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44420         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44421         Likewise.
44422         * locale/setlocale.c (setlocale): Likewise.
44423         * login/programs/pt_chown.c (main): Likewise.
44424         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44425         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44426         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44427         (mmap, mmap64, mremap, munmap): Likewise.
44428         * math/e_exp2l.c: Likewise.
44429         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44430         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44431         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44432         * math/s_catan.c (__catan): Likewise.
44433         * math/s_catanf.c (__catanf): Likewise.
44434         * math/s_catanh.c (__catanh): Likewise.
44435         * math/s_catanhf.c (__catanhf): Likewise.
44436         * math/s_catanhl.c (__catanhl): Likewise.
44437         * math/s_catanl.c (__catanl): Likewise.
44438         * math/s_ccosh.c (__ccosh): Likewise.
44439         * math/s_ccoshf.c (__ccoshf): Likewise.
44440         * math/s_ccoshl.c (__ccoshl): Likewise.
44441         * math/s_cexp.c (__cexp): Likewise.
44442         * math/s_cexpf.c (__cexpf): Likewise.
44443         * math/s_cexpl.c (__cexpl): Likewise.
44444         * math/s_clog10.c (__clog10): Likewise.
44445         * math/s_clog10f.c (__clog10f): Likewise.
44446         * math/s_clog10l.c (__clog10l): Likewise.
44447         * math/s_clog.c (__clog): Likewise.
44448         * math/s_clogf.c (__clogf): Likewise.
44449         * math/s_clogl.c (__clogl): Likewise.
44450         * math/s_csin.c (__csin): Likewise.
44451         * math/s_csinf.c (__csinf): Likewise.
44452         * math/s_csinh.c (__csinh): Likewise.
44453         * math/s_csinhf.c (__csinhf): Likewise.
44454         * math/s_csinhl.c (__csinhl): Likewise.
44455         * math/s_csinl.c (__csinl): Likewise.
44456         * math/s_csqrt.c (__csqrt): Likewise.
44457         * math/s_csqrtf.c (__csqrtf): Likewise.
44458         * math/s_csqrtl.c (__csqrtl): Likewise.
44459         * math/s_ctan.c (__ctan): Likewise.
44460         * math/s_ctanf.c (__ctanf): Likewise.
44461         * math/s_ctanh.c (__ctanh): Likewise.
44462         * math/s_ctanhf.c (__ctanhf): Likewise.
44463         * math/s_ctanhl.c (__ctanhl): Likewise.
44464         * math/s_ctanl.c (__ctanl): Likewise.
44465         * math/w_pow.c: Likewise.
44466         * math/w_powf.c: Likewise.
44467         * math/w_powl.c: Likewise.
44468         * math/w_scalb.c (sysv_scalb): Likewise.
44469         * math/w_scalbf.c (sysv_scalbf): Likewise.
44470         * math/w_scalbl.c (sysv_scalbl): Likewise.
44471         * misc/error.c (error_tail): Likewise.
44472         * misc/pselect.c (__pselect): Likewise.
44473         * nis/nis_callback.c (__nis_create_callback): Likewise.
44474         * nis/nis_call.c (__nisfind_server): Likewise.
44475         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44476         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44477         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44478         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44479         * nis/nis_lookup.c (nis_lookup): Likewise.
44480         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44481         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44482         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44483         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44484         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44485         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44486         * nis/nss_compat/compat-initgroups.c (add_group)
44487         (internal_getgrent_r): Likewise.
44488         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44489         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44490         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44491         (internal_getspnam_r): Likewise.
44492         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44493         (_nss_nis_getaliasbyname_r): Likewise.
44494         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44495         (_nss_nis_getntohost_r): Likewise.
44496         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44497         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44498         (_nss_nis_getgrgid_r): Likewise.
44499         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44500         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44501         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44502         (_nss_nis_gethostbyname4_r): Likewise.
44503         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44504         (initgroups_netid): Likewise.
44505         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44506         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44507         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44508         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44509         (_nss_nis_getprotobynumber_r): Likewise.
44510         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44511         (_nss_nis_getsecretkey): Likewise.
44512         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44513         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44514         (_nss_nis_getpwuid_r): Likewise.
44515         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44516         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44517         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44518         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44519         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44520         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44521         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44522         Likewise.
44523         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44524         (_nss_nisplus_getntohost_r): Likewise.
44525         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44526         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44527         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44528         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44529         Likewise.
44530         * nis/nss_nisplus/nisplus-initgroups.c
44531         (_nss_nisplus_initgroups_dyn): Likewise.
44532         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44533         (_nss_nisplus_getnetbyaddr_r): Likewise.
44534         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44535         (_nss_nisplus_getprotobynumber_r): Likewise.
44536         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44537         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44538         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44539         Likewise.
44540         * nis/nss_nisplus/nisplus-service.c
44541         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44542         (_nss_nisplus_getservbyport_r): Likewise.
44543         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44544         (_nss_nisplus_getspnam_r): Likewise.
44545         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44546         Likewise.
44547         * nscd/aicache.c (addhstaiX): Likewise.
44548         * nscd/cache.c (cache_search, prune_cache): Likewise.
44549         * nscd/connections.c (register_traced_file, send_ro_fd)
44550         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44551         (main_loop_epoll): Likewise.
44552         * nscd/grpcache.c (addgrbyX): Likewise.
44553         * nscd/hstcache.c (addhstbyX): Likewise.
44554         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44555         * nscd/mem.c (gc, mempool_alloc): Likewise.
44556         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44557         (addinnetgrX): Likewise.
44558         * nscd/nscd-client.h (__nscd_acquire_maplock)
44559         (__nscd_drop_map_ref): Likewise.
44560         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44561         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44562         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44563         Likewise.
44564         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44565         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44566         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44567         (__nscd_get_map_ref): Likewise.
44568         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44569         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44570         Likewise.
44571         * nscd/pwdcache.c (addpwbyX): Likewise.
44572         * nscd/selinux.c (preserve_capabilities): Likewise.
44573         * nscd/servicescache.c (addservbyX): Likewise.
44574         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44575         * posix/fnmatch.c (fnmatch): Likewise.
44576         * posix/getopt.c (_getopt_internal_r): Likewise.
44577         * posix/glob.c (glob, glob_in_dir): Likewise.
44578         * posix/wordexp.c (exec_comm_child): Likewise.
44579         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44580         (getanswer_r, gaih_getanswer_slice): Likewise.
44581         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44582         * resolv/res_init.c: Likewise.
44583         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44584         * resolv/res_query.c (__libc_res_nquery): Likewise.
44585         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44586         Likewise.
44587         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44588         * stdio-common/perror.c (perror): Likewise.
44589         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44590         * stdio-common/tmpnam.c (tmpnam): Likewise.
44591         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44592         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44593         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44594         Likewise.
44595         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44596         * stdlib/putenv.c (putenv): Likewise.
44597         * stdlib/setenv.c (__add_to_environ): Likewise.
44598         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44599         * stdlib/strtol_l.c (INTERNAL): Likewise.
44600         * string/memmem.c (memmem): Likewise.
44601         * string/strerror.c (strerror): Likewise.
44602         * string/strnlen.c (__strnlen): Likewise.
44603         * string/test-memmem.c (simple_memmem): Likewise.
44604         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44605         * sunrpc/pm_getport.c (__get_socket): Likewise.
44606         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44607         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44608         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44609         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44610         Likewise.
44611         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44612         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44613         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44614         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44615         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44616         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44617         Likewise.
44618         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44619         Likewise.
44620         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44621         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44623         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44624         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44626         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44627         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44628         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44629         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44630         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44631         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44632         Likewise.
44633         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44634         Likewise.
44635         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44636         Likewise.
44637         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44639         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44640         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44641         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44642         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44643         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44644         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44646         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44647         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44649         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44650         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44652         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44653         Likewise.
44654         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44655         Likewise.
44656         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44657         Likewise.
44658         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44659         Likewise.
44660         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44662         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44663         Likewise.
44664         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44665         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44666         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44667         * sysdeps/posix/sleep.c: Likewise.
44668         * sysdeps/posix/tempname.c: Likewise.
44669         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44670         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44671         Likewise.
44672         * sysdeps/powerpc/powerpc32/dl-machine.h
44673         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44674         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44676         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44677         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44678         Likewise.
44679         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44680         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44681         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44682         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44683         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44684         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44685         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44686         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44687         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44688         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44689         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44690         (elf_machine_lazy_rel): Likewise.
44691         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44692         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44693         (elf_machine_lazy_rel): Likewise.
44694         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44695         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44696         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44697         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44698         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44699         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44700         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44702         Likewise.
44703         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44704         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44705         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44706         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44708         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44709         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44710         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44711         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44712         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44713         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44714         Likewise.
44715         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44716         (__posix_fallocate64_l64): Likewise.
44717         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44718         (posix_fallocate): Likewise.
44719         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44720         Likewise.
44721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44722         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44723         (getifaddrs_internal): Likewise.
44724         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44725         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44726         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44727         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44728         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44729         (__posix_fallocate64_l64): Likewise.
44730         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44731         Likewise.
44732         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44733         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44734         (__get_clockfreq): Likewise.
44735         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44736         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44737         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44740         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44741         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44742         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44743         Likewise.
44744         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44745         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44746         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44747         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44748         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44749         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44750         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44751         Likewise.
44752         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44753         (posix_fallocate): Likewise.
44754         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44755         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44756         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44757         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44758         (elf_machine_rela, elf_machine_rela_relative)
44759         (elf_machine_lazy_rel): Likewise.
44760         * time/asctime.c (asctime_internal): Likewise.
44761         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44762         * time/tzset.c (__tzset_parse_tz): Likewise.
44763         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44764         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44765         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44766         * wcsmbs/wcsmbsload.h: Likewise.
44768         [BZ #15894]
44769         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44771         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44772         (arena_get2): Remove THREAD_STATS conditionals.
44773         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44774         (__malloc_stats, int): Likewise.
44776 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44778         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44779         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44781         * manual/setjmp.texi: Fix typos/grammar errors.
44783         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44784         Only return early when n is <= 0.  Delete unused return statement.
44786         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44787         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44788         * debug/tst-longjmp_chk3.c: New file.
44790         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44791         (test_main): Replace code with set_fortify_handler call.
44792         * debug/test-strcpy_chk.c: Likewise.
44793         * debug/tst-chk1.c: Likewise.
44794         * debug/tst-longjmp_chk.c: Likewise.
44795         * test-skeleton.c: Include fcntl.h & paths.h
44796         (set_fortify_handler): Define.
44798         * debug/tst-longjmp_chk.c: Add header comment and include
44799         ../test-skeleton.c.
44800         (do_test): Mark static.
44801         (TEST_FUNCTION): Define.
44803         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44804         (IP_PMTUDISC_INTERFACE): Likewise.
44805         (IP_MULTICAST_IF): Likewise.
44806         (IP_MULTICAST_TTL): Likewise.
44807         (IP_MULTICAST_LOOP): Likewise.
44808         (IP_ADD_MEMBERSHIP): Likewise.
44809         (IP_DROP_MEMBERSHIP): Likewise.
44810         (IP_UNBLOCK_SOURCE): Likewise.
44811         (IP_BLOCK_SOURCE): Likewise.
44812         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44813         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44814         (IP_MSFILTER): Likewise.
44815         (MCAST_JOIN_GROUP): Likewise.
44816         (MCAST_BLOCK_SOURCE): Likewise.
44817         (MCAST_UNBLOCK_SOURCE): Likewise.
44818         (MCAST_LEAVE_GROUP): Likewise.
44819         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44820         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44821         (MCAST_MSFILTER): Likewise.
44822         (IP_MULTICAST_ALL): Likewise.
44823         (IP_UNICAST_IF): Likewise.
44825         * timezone/Makefile: Delete $(have-ksh) check.
44826         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44827         * timezone/tzselect.ksh: Add +x mode bits.
44829         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44830         (ANON_INODE_FS_MAGIC): Likewise.
44831         (BDEVFS_MAGIC): Likewise.
44832         (BINFMTFS_MAGIC): Likewise.
44833         (BTRFS_TEST_MAGIC): Likewise.
44834         (CRAMFS_MAGIC_WEND): Likewise.
44835         (DEBUGFS_MAGIC): Likewise.
44836         (ECRYPTFS_SUPER_MAGIC): Likewise.
44837         (EXT3_SUPER_MAGIC): Likewise.
44838         (EXT4_SUPER_MAGIC): Likewise.
44839         (FUTEXFS_SUPER_MAGIC): Likewise.
44840         (HOSTFS_SUPER_MAGIC): Likewise.
44841         (HUGETLBFS_MAGIC): Likewise.
44842         (MINIX3_SUPER_MAGIC): Likewise.
44843         (MTD_INODE_FS_MAGIC): Likewise.
44844         (NILFS_SUPER_MAGIC): Likewise.
44845         (OPENPROM_SUPER_MAGIC): Likewise.
44846         (PIPEFS_MAGIC): Likewise.
44847         (PSTOREFS_MAGIC): Likewise.
44848         (QNX6_SUPER_MAGIC): Likewise.
44849         (RAMFS_MAGIC): Likewise.
44850         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44851         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44852         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44853         (SECURITYFS_MAGIC): Likewise.
44854         (SELINUX_MAGIC): Likewise.
44855         (SMACK_MAGIC): Likewise.
44856         (SOCKFS_MAGIC): Likewise.
44857         (SQUASHFS_MAGIC): Likewise.
44858         (STACK_END_MAGIC): Likewise.
44859         (TMPFS_MAGIC): Likewise.
44860         (USBDEVICE_SUPER_MAGIC): Likewise.
44861         (V9FS_MAGIC): Likewise.
44862         (XENFS_SUPER_MAGIC): Likewise.
44863         (CRAMFS_MAGIC): Fix typo in comment.
44864         (EXT2_SUPER_MAGIC): Update comment.
44865         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44867 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44869         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44870         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44871         * sysdeps/unix/sysv/linux/arm: Move directory from
44872         ports/sysdeps/unix/sysv/linux/arm.
44873         * README: Update listing for arm-*-linux-gnueabi.
44875         * README: Remove mention of am33.
44877 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44879         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44880         than the comma operator, to avoid "rhs of comma has no effect"
44881         compiler warnings.
44882         (__sigfillset, __sigandset, __sigorset): Likewise.
44883         * include/signal.h (__sigemptyset): Likewise.
44884         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44886 2014-02-07  Allan McRae  <allan@archlinux.org>
44888         * version.h (RELEASE): Set to "development".
44889         (VERSION): Set to "2.19.90"
44890         * NEWS: Add 2.20 section.
44892 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44894         [BZ #16529]
44895         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44897 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44899         * manual/contrib.texi: Update entry for Carlos O'Donell,
44900         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44902 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44904         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44906         * sysdeps/unix/sysv/linux/kernel-features.h
44907         [__LINUX_KERNEL_VERSION >= 0x020621]
44908         (__ASSUME_PROC_PID_TASK_COMM): Define.
44910 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44912         [BZ #16398]
44913         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44914         conversion when destination buffer does not have enough space.
44915         * libio/tst-ftell-partial-wide.c: New test case.
44916         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44918         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44919         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44920         Leonard and Allan McRae.
44922 2014-02-04  David S. Miller  <davem@davemloft.net>
44924         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44925         32-bit.
44927 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44930         New file
44931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44932         New file
44933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44934         New file.
44935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44936         New file.
44937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44938         New file.
44939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44940         New file.
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44942         New file.
44943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44944         New file.
44945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44946         New file.
44947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44948         New file.
44949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44950         New file.
44951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44952         New file.
44953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44954         New file.
44956 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44958         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44959         * shlib-versions: Likewise.
44961 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44962             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44964         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44965         (abilist-pattern): New variable, set to %-le.abilist.
44967         * Makerules (abilist-pattern): New variable.
44968         (vpath): Use $(abilist-pattern) in place of %.abilist.
44969         (check-abi-% pattern rule): Likewise.
44970         (check-abi, update-abi): Likewise.
44972 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44976 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44978         * manual/startup.texi: Add next, previous, and top entries for
44979         the `Program Arguments' and `Environment Variables' nodes.
44981 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44983         * manual/macros.texi: Add comments before MTASC-safety macros.
44985         * manual/users.texi: Document MTASC-safety properties.
44987         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44988         (pthread_getspecific, pthread_setspecific): Format with
44989         @deftypefun, and add @safety note.
44990         * manual/signal.texi: Move comments that analyze the above
44991         functions to their home place.
44993 2014-02-03  Allan McRae  <allan@archlinux.org>
44995         * po/sl.po: Update Slovenian translation from translation project.
44997 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44999         * manual/time.texi (timegm): Add missing blank after @c.
45000         Reported by Joseph Myers <joseph@codesourcery.com>.
45002 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45004         * manual/check-safety.sh: New.
45005         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45007         * manual/terminal.texi: Document MTASC-safety properties.
45009         * manual/filesys.texi: Document MTASC-safety properties.
45011         * manual/errno.texi: Document MTASC-safety properties.
45013         * manual/intro.texi: Document safety identifiers and
45014         conditionals.
45016         * manual/string.texi (wcstok): Fix prototype.
45017         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45019         * manual/time.texi: Document MTASC-safety properties.
45021         * manual/string.texi: Document MTASC-safety properties.
45023         * manual/threads.texi: Document MTASC-safety properties.
45025         * manual/stdio.texi: Document MTASC-safety properties.
45027         * manual/syslog.texi: Document MTASC-safety properties.
45029         * manual/sysinfo.texi: Document MTASC-safety properties.
45031         * manual/startup.texi: Document MTASC-safety properties.
45033         * manual/socket.texi: Document MTASC-safety properties.
45035         * manual/signal.texi: Document MTASC-safety properties.
45037 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45039         * manual/setjmp.texi: Document MTASC-safety properties.
45041         * manual/search.texi: Document MTASC-safety properties.
45043         * manual/resource.texi: Document MTASC-safety properties.
45045         * manual/process.texi: Document MTASC-safety properties.
45047         * manual/platform.texi: Document MTASC-safety properties.
45049         * manual/pipe.texi: Document MTASC-safety properties.
45051         * manual/pattern.texi: Document MTASC-safety properties.
45053         * manual/message.texi: Document MTASC-safety properties.
45055         [BZ #12751]
45056         * manual/memory.texi: Document MTASC-safety properties.
45058         * manual/math.texi: Document MTASC-safety properties.
45060         * manual/locale.texi: Document MTASC-safety properties.
45062         * manual/llio.texi: Document MTASC-safety properties.
45064         * manual/libdl.texi: New.
45066         * manual/lang.texi: Document MTASC-safety properties.
45068         * manual/job.texi: Document MTASC-safety properties.
45070         * manual/getopt.texi: Document MTASC-safety properties.
45072         * manual/ctype.texi: Document MTASC-safety properties.
45074 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45076         [BZ #16046]
45077         * csu/libc-tls.c (static_map): Remove variable.
45078         (__libc_setup_tls): Use main executable's link map for TLS data.
45079         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45080         casing for LM_ID_BASE and GL(dl_nns).
45081         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45082         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45083         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45084         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45085         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45086         member.
45087         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45088         l_phnum members.
45090 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45092         * manual/debug.texi: Document MTASC-safety properties.
45094 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45096         [BZ #16510]
45097         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45098         of __x86_64__ when disabling x87 inline functions.
45100 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45102         * manual/charset.texi: Document MTASC-safety properties.
45104         * manual/crypt.texi: Document MTASC-safety properties.
45106         * manual/conf.texi: Document MTASC-safety properties.
45108         * manual/arith.texi: Document MTASC-safety properties.
45110         * manual/argp.texi: Document MTASC-safety properties.
45112         * manual/macros.texi: Introduce macros to document multi
45113         thread, asynchronous signal and asynchronous cancellation
45114         safety properties.
45115         * manual/intro.texi: Introduce the properties themselves.
45117 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45119         * sysdeps/sh/sh4/Makefile: New file.
45121 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45123         * math/gen-libm-test.pl ($srcdir): New variable.
45124         ($auto_input): Use it.
45126 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45128         [BZ #16506]
45129         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45130         access beyond array bounds when parsing netgroups file.
45132         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45133         the old buffer before realloc.
45135 2014-01-27  Allan McRae  <allan@archlinux.org>
45137         * po/fr.po: Update French translation from translation project.
45139 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45141         * sysdeps/sh/libm-test-ulps: Regenerate.
45143 2014-01-24  David S. Miller  <davem@davemloft.net>
45145         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45147 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45150         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45152 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45154         [BZ #16474]
45155         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45156         string pointers after reallocation.
45158 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45160         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45161         __SH4A__ instead of __SH_FPU_ANY__.
45163 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45165         * sysdeps/sh/fpu_control.h: New file.
45166         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45167         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45168         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45169         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45170         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45171         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45172         * sysdeps/sh/sys/ucontext.h: Remove.
45173         * sysdeps/sh/sys: Remove directory.
45175 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45177         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45178         s390/sys/ucontext.h.
45179         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45180         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45182 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45184         [BZ #15605]
45185         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45187 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45189         [BZ#16431]
45190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45191         Adjust the vDSO correctly for internal calls.
45192         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45194 2014-01-20  Allan McRae  <allan@archlinux.org>
45196         * po/ca.po: Update Catalan translation from translation project.
45198 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45200         * sysdeps/s390/sotruss-lib.c: New file.
45202 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45204         [BZ#16430]
45205         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45206         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45207         local calls issues by not having a PLT stub required for IFUNC calls.
45208         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45210 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45212         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45213         * math/test-fpucw-static.c: Likewise.
45215 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45217         [BZ #16453]
45218         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45220 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45222         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45223         implementation for powerpc.
45225 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45227         [BZ #14782]
45228         * sysdeps/posix/system.c (__libc_system): Do not enable
45229         asynchronous cancellation.
45231 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45233         [BZ #16427]
45234         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45235         handling only for numbers special also in the IEEE case.
45237 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45239         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45241 2014-01-11  Allan McRae  <allan@archlinux.org>
45243         * po/bg.po: Update Bulgarian translation from translation project.
45245         * po/de.po: Update German translation from translation project.
45247 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45249         * sysdeps/generic/gcc-compat.h: New file.
45251 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45253         * benchtests/asin-inputs: Correct slow inputs.
45254         * benchtests/acos-inputs: Likewise.
45256 2014-01-10  Allan McRae  <allan@archlinux.org>
45258         * po:sv.po: Update Swedish translation from translation project.
45260         * po/vi.po: Update Vietnamese translation from translation project.
45262         * po/eo.po: Update Esperanto translation from translation project.
45264         * po/cs.po: Update Czech translation from translation project.
45266         * po/nl.po: Update Dutch translation from translation project.
45268         * po/pl.po: Update Polish translation from translation project.
45270         * po/ru.po: Update Russian translation from translation project.
45272         * po/uk.po: Update Ukrainian translation from translation project.
45274 2014-01-08  Brooks Moses  <bmoses@google.com>
45276         * elf/dl-load.c: Fix comment typo.
45278 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45280         * po/header.pot: Rename to...
45281         * po/pot.header: ... this.
45282         * po/Makefile: Use pot.header.
45284 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45285             Maxim Kuvyrkov  <maxim@kugelworks.com>
45287         [BZ #16394]
45288         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45289         SRC and DEST against LEN.
45291 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45293         [BZ #16414]
45294         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45295         implementation.
45296         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45298 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45302 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45304         [BZ #16408]
45305         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45306         for large positive arguments.
45308 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45310         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45312         * math/auto-libm-test-in: Mark various tests with
45313         xfail-rounding:ldbl-128ibm.
45314         * math/auto-libm-test-out: Regenerated.
45316         [BZ #16407]
45317         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45318         Increase overflow threshold.
45320 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45322         [BZ #14286]
45323         * stdio-common/vfprintf.c: Check for integer overflow.
45325 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45327         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45328         the first argument and return value of __tls_get_addr_internal.
45330 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45332         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45333         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45335 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45337         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45338         * sysdeps/s390/rtld-global-offsets.sym: New file.
45339         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45340         GLIBC_2.19 symbol.
45341         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45342         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45343         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45344         ... this.
45345         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45346         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45347         ... this.
45348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45349         Regenerate.
45350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45351         Regenerate.
45352         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45353         halfs of GPRs for high_gprs contexts.
45354         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45355         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45356         field.
45357         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45358         uc_flags field.
45359         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45360         64 bit versions:
45361         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45362         for high GPRs (uc_high_gprs) and for future extensions
45363         (__reserved).
45364         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45365         for future extensions (__reserved).
45366         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45367         64 bit versions:
45368         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45369         SC_HIGHGPRS offset definition.
45370         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45371         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45373         * Versions.def: Add GLIBC_2.19 for libpthread.
45374         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45375         siglongjmp for libpthread with GLIBC_2.19 symver.
45376         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45377         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45378         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45379         * sysdeps/s390/__longjmp.c: New file.
45380         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45381         * sysdeps/s390/longjmp.c: New file.
45382         * sysdeps/s390/setjmp.S: New file.
45383         * sysdeps/s390/sigjmp.S: New file.
45384         * sysdeps/s390/v1-longjmp.c: New file.
45385         * sysdeps/s390/v1-setjmp.h: New file.
45386         * sysdeps/s390/v1-sigjmp.c: New file.
45387         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45388         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45389         GLIBC_2.19 version.
45390         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45391         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45392         versioned symbols for ____longjmp_chk.
45393         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45394         Likewise.
45395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45396         Regenerate.
45397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45398         Regenerate.
45399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45400         Regenerate.
45401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45402         Regenerate.
45403         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45404         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45405         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45406         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45407         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45408         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45409         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45410         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45411         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45412         * sysdeps/s390/rtld-__longjmp.c: New file.
45413         * sysdeps/s390/rtld-setjmp.S: New file.
45415 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45417         [BZ #16400]
45418         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45419         Return -__logl (x) for small positive arguments without evaluating
45420         a polynomial.
45422 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45424         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45425         Rename to ...
45426         (__ptrace_peeksiginfo_args): ... this.
45427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45431 2014-01-06  Allan McRae  <allan@archlinux.org>
45433         * inet/netinet/in.h: Fix typo in comment.
45435 2014-01-05  Andreas Jaeger  <aj@suse.de>
45437         * sysdeps/i386/fpu/libm-test-ulps: Update.
45439 2014-01-05  Allan McRae  <allan@archlinux.org>
45441         * po/libc.pot: Regenerated.
45443         * malloc/memusagestat.c: Fix gettext call formatting.
45445 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45447         * nscd/nscd.c: Improve usage() output.
45449 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45451         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45452         * sysdeps/unix/sysv/linux/configure: Regenerated.
45453         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45454         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45456 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45458         [BZ #16390]
45459         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45460         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45462 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45465         extra tokens at end of #undef directive.
45466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45467         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45468         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45470 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45472         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45474         * math/auto-libm-test-in: Mark various tests with
45475         xfail-rounding:ldbl-128ibm.
45476         * math/auto-libm-test-out: Regenerated.
45478 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45480         [BZ #16386]
45481         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45482         numbers with subnormal high part when calculating exponent.
45484         [BZ #16385]
45485         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45486         fabs.
45488         [BZ #16384]
45489         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45490         M_LN2l.
45491         (__ieee754_acoshl): Use __log1pl not __log1p.
45493 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45495         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45496         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45497         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45498         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45499         (reused_arena, arena_get2): Convert to GNU style.
45500         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45501         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45502         (memalign_check, __malloc_set_state): Likewise.
45503         * malloc/mallocbug.c (main): Likewise.
45504         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45505         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45506         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45507         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45508         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45509         (__posix_memalign, malloc_info): Likewise.
45510         * malloc/malloc.h: Likewise.
45511         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45512         (mallochook, memalignhook, reallochook, mabort): Likewise.
45513         * malloc/mcheck.h: Likewise.
45514         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45515         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45516         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45517         * malloc/morecore.c (__default_morecore): Likewise.
45518         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45519         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45520         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45521         (print_and_abort): Likewise.
45522         * malloc/obstack.h: Likewise.
45523         * malloc/set-freeres.c (__libc_freeres): Likewise.
45524         * malloc/tst-mallocstate.c (main): Likewise.
45525         * malloc/tst-mtrace.c (main): Likewise.
45526         * malloc/tst-realloc.c (do_test): Likewise.
45528 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45530         [BZ #16366]
45531         * nscd/netgroupcache.c (do_notfound): New function.
45532         (addgetnetgrentX): Use it.
45534         [BZ # 16365]
45535         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45536         NSS_STATUS_NOTFOUND.
45538 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45540         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45543 2014-01-01  Allan McRae  <allan@archlinux.org>
45545         * scripts/update-copyrights: Update configure input file suffix.
45547         * NEWS: Update copyright year.
45548         * catgets/gencat.c: Likewise.
45549         * csu/version.c: Likewise.
45550         * debug/catchsegv.sh: Likewise.
45551         * debug/pcprofiledump.c: Likewise.
45552         * debug/xtrace.sh: Likewise.
45553         * elf/ldconfig.c: Likewise.
45554         * elf/ldd.bash.in: Likewise.
45555         * elf/pldd.c: Likewise.
45556         * elf/sotruss.ksh: Likewise.
45557         * elf/sprof.c: Likewise.
45558         * iconv/iconv_prog.c: Likewise.
45559         * iconv/iconvconfig.c: Likewise.
45560         * locale/programs/locale.c: Likewise.
45561         * locale/programs/localedef.c: Likewise.
45562         * login/programs/pt_chown.c: Likewise.
45563         * malloc/memusage.sh: Likewise.
45564         * malloc/memusagestat.c: Likewise.
45565         * malloc/mtrace.pl: Likewise.
45566         * manual/libc.texinfo: Likewise.
45567         * nscd/nscd.c: Likewise.
45568         * nss/getent.c: Likewise.
45569         * nss/makedb.c: Likewise.
45570         * posix/getconf.c: Likewise.
45571         * scripts/test-installation.pl: Likewise.
45573         * All files with FSF copyright notices: Update copyright dates
45574         using scripts/update-copyrights.
45575         * intl/plural.c: Regenerated.
45576         * locale/programs/charmap-kw.h: Likewise.
45577         * locale/programs/locfile-kw.h: Likewise.
45579 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45581         * sysdeps/unix/sysv/linux/configure: Regenerated.
45582         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45583         the linux/fanotify.h header.
45584         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45585         HAVE_LINUX_FANOTIFY_H is defined.
45587 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45589         * benchtests/cos-inputs: New inputs.
45590         * benchtests/sin-inputs: Likewise.
45592         * benchtests/atan-inputs: New inputs. Fix name of multiple
45593         precision fallback inputs.
45595         * benchtests/atanh-inputs: New inputs.
45596         * benchtests/tanh-inputs: Likewise.
45598         * benchtests/acosh-inputs: New inputs.
45599         * benchtests/asinh-inputs: Likewise.
45601         * benchtests/cosh-inputs: New inputs.
45602         * benchtests/sinh-inputs: Likewise.
45604         * benchtests/acos-inputs: Add more inputs.
45605         * benchtests/asin-inputs: Likewise.
45607 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45609         [BZ #16375]
45610         * manual/arith.texi: Fix spelling.
45611         * manual/charset.texi: Likewise.
45612         * manual/errno.texi: Likewise.
45613         * manual/filesys.texi: Likewise.
45614         * manual/lang.texi: Likewise.
45615         * manual/llio.texi: Likewise.
45616         * manual/locale.texi: Likewise.
45617         * manual/message.texi: Likewise.
45618         * manual/resource.texi: Likewise.
45619         * manual/search.texi: Likewise.
45620         * manual/setjmp.texi: Likewise.
45621         * manual/stdio.texi: Likewise.
45622         * manual/string.texi: Likewise.
45623         * manual/sysinfo.texi: Likewise.
45624         * manual/time.texi: Likewise.
45626 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45628         * po/sl.po: New file.
45630 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45632         * .gitignore: Add core/.gdbinit/.gdb_history.
45634 2013-12-27  Allan McRae  <allan@archlinux.org>
45636         [BZ #16369]
45637         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45638         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45640 2013-12-24  Brooks Moses  <bmoses@google.com>
45642         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45643         all compilers that claim C++98 compliance, not just GCC.
45644         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45645         Likewise.
45647 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45649         * NEWS: Restore accidentally deleted bug-fix entries.
45651 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45652             Ondřej Bílka  <neleai@seznam.cz>
45654         [BZ #15073]
45655         * malloc/malloc.c (_int_free): Perform sanity check only if we
45656         have_lock.
45658 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45660         [BZ #12986]
45661         * manual/stdio.texi (String Input Conversions): Clarify that character
45662         classes are not supported.
45664 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45668 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45670         [BZ #16337]
45671         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45672         Calculate results for small negative arguments directly rather
45673         than using reflection formula with special underflow handling.
45675         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45676         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45677         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45678         (fchflags): Likewise.
45679         (revoke): Likewise.
45680         (setlogin): Likewise.
45681         (sigaltstack): Likewise.
45682         (wait4): Likewise.
45683         (sigblock): Remove.
45684         (sigsetmask): Likewise.
45685         (wait3): Likewise.
45686         (waitpid): Likewise.
45687         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45688         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45689         file.
45690         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45691         * sysdeps/unix/bsd/Makefile: ... here.
45692         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45693         * sysdeps/unix/bsd/Versions: ... here.
45694         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45695         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45696         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45697         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45698         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45699         * sysdeps/unix/bsd/sigblock.c: ... here.
45700         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45701         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45702         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45703         * sysdeps/unix/bsd/sigvec.c: ... here.
45704         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45705         * sysdeps/unix/bsd/tcdrain.c: ... here.
45706         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45707         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45708         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45709         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45710         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45711         * sysdeps/unix/bsd/wait.c: ... here.
45712         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45713         * sysdeps/unix/bsd/wait3.c: ... here.
45714         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45715         * sysdeps/unix/bsd/waitpid.c: ... here.
45717 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45719         [BZ #16356]
45720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45721         round-to-nearest for [!USE_AS_EXPM1L].
45722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45723         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45724         more tests of exp and exp10.  Expect some exp10 tests to miss
45725         exceptions or fail in directed rounding modes.
45726         * math/auto-libm-test-out: Regenerated.
45727         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45728         (exp10_test_tonearest): New function.
45729         (exp10_towardzero_test_data): New array.
45730         (exp10_test_towardzero): New function.
45731         (exp10_downward_test_data): New array.
45732         (exp10_test_downward): New function.
45733         (exp10_upward_test_data): New array.
45734         (exp10_test_upward): New function.
45735         (main): Call the new functions.
45736         * sysdeps/i386/fpu/libm-test-ulps: Update.
45737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45739 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45741         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45742         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45743         * math/auto-libm-test-out: Regenerated.
45744         * math/libm-test.inc (acosh_test_data): Add more tests.
45745         (atanh_test_data): Likewise.
45746         (ceil_test_data): Likewise.
45747         (copysign_test_data): Likewise.
45748         * sysdeps/i386/fpu/libm-test-ulps: Update.
45749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45751         * timezone/checktab.awk: Update from tzcode 2013i.
45752         * timezone/private.h: Likewise.
45753         * timezone/scheck.c: Likewise.
45754         * timezone/tzfile.h: Likewise.
45755         * timezone/tzselect.ksh: Likewise.
45756         * timezone/zdump.c: Likewise.
45757         * timezone/zic.c: Likewise.
45759         * math/auto-libm-test-in: Add tests of cpow.
45760         * math/auto-libm-test-out: Regenerated.
45761         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45762         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45763         mpc_cc_c.
45764         (func_calc_desc): Add mpc_cc_c union field.
45765         (test_functions): Add cpow.
45766         (special_fill_2pi): New function.
45767         (special_real_inputs): Add 2pi.
45768         (calc_generic_results): Handle mpc_cc_c.
45769         * sysdeps/i386/fpu/libm-test-ulps: Update.
45770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45772         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45773         csqrt, ctan and ctanh.
45774         * math/auto-libm-test-out: Regenerated.
45775         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45776         (TEST_COND_x86): Likewise.
45777         (ccos_test_data): Use AUTO_TESTS_c_c.
45778         (ccosh_test_data): Likewise.
45779         (cexp_test_data): Likewise.
45780         (clog_test_data): Likewise.
45781         (csqrt_test_data): Likewise.
45782         (ctan_test_data): Likewise.
45783         (ctan_tonearest_test_data): Likewise.
45784         (ctan_towardzero_test_data): Likewise.
45785         (ctan_downward_test_data): Likewise.
45786         (ctan_upward_test_data): Likewise.
45787         (ctanh_test_data): Likewise.
45788         (ctanh_tonearest_test_data): Likewise.
45789         (ctanh_towardzero_test_data): Likewise.
45790         (ctanh_downward_test_data): Likewise.
45791         (ctanh_upward_test_data): Likewise.
45792         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45793         mpc_c_c.
45794         (func_calc_desc): Add mpc_c_c union field.
45795         (FUNC_mpc_c_c): New macro.
45796         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45797         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45798         ctanh.
45799         (special_fill_min_subnorm_p120): New function.
45800         (special_real_inputs): Add min_subnorm_p120.
45801         (calc_generic_results): Handle mpc_c_c.
45802         * sysdeps/i386/fpu/libm-test-ulps: Update.
45803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45805 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45807         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45808         (do_sin_slow): New functions.
45809         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45810         (cslow2, csloww1, csloww2): Use the new functions.
45812         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45813         Use M to change sign of result instead of X.  Assume X is
45814         positive.
45815         (csloww1): Likewise.
45816         (__sin): Adjust.
45817         (__cos): Adjust.
45819         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45820         arguments A and DA.
45821         (__sin): Adjust.
45822         (__cos): Likewise.
45824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45825         (__cos): Likewise.
45826         (sloww1): Don't adjust sign of DX.
45827         (csloww1): Likewise.
45828         (sloww2): Use X directly and don't adjust sign of DX.
45829         (csloww2): Likewise.
45831 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45833         * math/auto-libm-test-in: Add tests of cabs and carg.
45834         * math/auto-libm-test-out: Regenerated.
45835         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45836         (carg_test_data): Likewise.
45837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45838         mpc_c_f.
45839         (func_calc_desc): Add mpc_c_f union field.
45840         (test_functions): Add cabs and carg.
45841         (calc_generic_results): Handle mpc_c_f.
45843         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45844         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45845         as a macro and a compat symbol.
45846         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45847         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45848         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45849         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45850         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45852         not use .hidden.
45853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45854         Likewise.
45855         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45856         Likewise.
45857         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45858         Likewise.
45859         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45860         Likewise.
45861         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45862         Likewise.
45863         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45864         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45865         from GLIBC_2.3.2.
45867 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45871 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45873         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45874         trailing whitespace removed.
45875         * scripts/config.guess: Update to version 2013-11-29.
45876         * scripts/config.sub: Update to version 2013-10-01.
45878         * math/auto-libm-test-in: Add tests of sincos.
45879         * math/auto-libm-test-out: Regenerated.
45880         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45881         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45882         mpfr_f_11.
45883         (func_calc_desc): Add mpfr_f_11 union field.
45884         (test_functions): Add sincos.
45885         (calc_generic_results): Handle mpfr_f_11.
45886         * sysdeps/i386/fpu/libm-test-ulps: Update.
45887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45889 2013-12-19  Andreas Schwab  <schwab@suse.de>
45891         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45892         CALL_MCOUNT.
45893         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45894         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45895         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45897 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45899         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45900         * sysdeps/i386/fpu/libm-test-ulps: Update.
45901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45903         [BZ #16293]
45904         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45905         round-to-nearest mode when using frndint.
45906         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45907         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45909         Likewise.
45910         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45911         sinh test to fail.
45912         * math/auto-libm-test-out: Regenerated.
45913         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45914         (TEST_COND_x86): Likewise.
45915         (expm1_tonearest_test_data): New array.
45916         (expm1_test_tonearest): New function.
45917         (expm1_towardzero_test_data): New array.
45918         (expm1_test_towardzero): New function.
45919         (expm1_downward_test_data): New array.
45920         (expm1_test_downward): New function.
45921         (expm1_upward_test_data): New array.
45922         (expm1_test_upward): New function.
45923         (main): Run the new test functions.
45924         * sysdeps/i386/fpu/libm-test-ulps: Update.
45925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45927         * include/features.h: Update comment documenting feature test
45928         macros.  Mention _DEFAULT_SOURCE in comment.
45929         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45930         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45931         _BSD_SOURCE and _SVID_SOURCE.
45932         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45933         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45934         !_SVID_SOURCE]: Likewise.
45935         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45936         (__USE_POSIX_IMPLICITLY): Define.
45937         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45938         (_POSIX_SOURCE): Undefine and redefine.
45939         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45940         (_POSIX_C_SOURCE): Likewise.
45941         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45942         (Feature Test Macros): Update documentation of default features.
45944 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45946         * benchtests/Makefile: Add bench-strtok.
45947         * benchtests/bench-strtok.c: New file: strtok benchtest.
45949 2013-12-19  Allan McRae  <allan@archlinux.org>
45951         * manual/install.texi: Suppress menu for plain text output.
45952         * INSTALL: Regenerated.
45954 2013-12-18  Brooks Moses  <bmoses@google.com>
45956         [BZ #15846]
45957         * misc/getauxval.c: Include errno.h.
45958         (__getauxval): Set errno to ENOENT if the requested type is not
45959         found.
45960         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45961         don't declare with __attribute_const__.
45962         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45963         * manual/startup.texi: Document that getauxval sets errno.
45965 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45967         * math/auto-libm-test-in: Add tests of jn and yn.
45968         * math/auto-libm-test-out: Regenerated.
45969         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45970         (yn_test_data): Likewise.
45971         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45972         mpfr_if_f.
45973         (func_calc_desc): Add mpfr_if_f union field.
45974         (FUNC_mpfr_if_f): New macro.
45975         (test_functions): Add jn and yn.
45976         (calc_generic_results): Assert type of second input for
45977         mpfr_ff_f.  Handle mpfr_if_f.
45978         (output_for_one_input_case): Disable all checking for arguments
45979         fitting floating-point types in case of an integer argument.
45980         * sysdeps/i386/fpu/libm-test-ulps: Update.
45981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45984         Don't expect fegetround reference in libm.so.
45986 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45988         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45989         $(config-cflags-nofma).
45991 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45993         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45994         * math/auto-libm-test-out: Regenerated.
45996         [BZ #16338]
45997         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45998         to determine exponent and adjust argument to have exponent of -1.
45999         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46000         log2.
46001         * math/auto-libm-test-out: Regenerated.
46002         * sysdeps/i386/fpu/libm-test-ulps: Update.
46003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46005 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46007         * manual/probes.texi: Remove cases when per-thread arenas are
46008         disabled.
46010 2013-12-18  Andreas Schwab  <schwab@suse.de>
46012         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46013         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46014         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46015         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46016         * sysdeps/i386/i686/multiarch/Makefile: Update.
46017         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46019 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46021         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46022         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46024 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46026         [BZ #15968]
46027         Support TZ transition times < 00:00:00.
46028         This is needed for version-3 tz-format files; it supports time
46029         stamps past 2037 for America/Godthab (the only entry in the tz
46030         database for which this change is relevant).
46031         * manual/time.texi (TZ Variable): Document transition times
46032         from -167:59:59 through -00:00:01.
46033         * time/tzset.c (tz_rule): Time of day is now signed.
46034         (__tzset_parse_tz): Parse negative time of day.
46036         Document TZ transition times >= 25:00:00.
46037         * manual/time.texi (TZ Variable): Document transition times from
46038         25:00:00 through 167:59:59.  These are already supported, and this
46039         support will help with version-3 tz-format files.
46041         * manual/time.texi (TZ Variable): Modernize North America example
46042         to reflect current (i.e., 2007-and-later) daylight saving rules.
46044         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46046 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46048         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46049         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46051         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46052         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46053         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46054         * sysdeps/unix/bsd/clock.c: Likewise.
46055         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46056         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46057         * sysdeps/unix/bsd/init-posix.c: Likewise.
46058         * sysdeps/unix/bsd/poll.c: Likewise.
46059         * sysdeps/unix/bsd/ptsname.c: Likewise.
46060         * sysdeps/unix/bsd/seekdir.c: Likewise.
46061         * sysdeps/unix/bsd/setegid.c: Likewise.
46062         * sysdeps/unix/bsd/seteuid.c: Likewise.
46063         * sysdeps/unix/bsd/setgid.c: Likewise.
46064         * sysdeps/unix/bsd/setrgid.c: Likewise.
46065         * sysdeps/unix/bsd/setruid.c: Likewise.
46066         * sysdeps/unix/bsd/setsid.c: Likewise.
46067         * sysdeps/unix/bsd/setuid.c: Likewise.
46068         * sysdeps/unix/bsd/sigaction.c: Likewise.
46069         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46070         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46071         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46072         * sysdeps/unix/bsd/telldir.c: Likewise.
46073         * sysdeps/unix/bsd/times.c: Likewise.
46074         * sysdeps/unix/bsd/usleep.c: Likewise.
46076         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46077         ($(objpfx)libbsd-compat.a): Remove rule.
46079         * include/features.h (__FAVOR_BSD): Do not define.
46080         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46081         features conflicting with POSIX.
46082         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46083         (_BSD_SOURCE): Remove description of not being a subset of other
46084         feature test macros.
46085         * manual/job.texi (getpgrp): Do not document BSD version.
46086         (getpgid): Do not document by reference to BSD getpgrp.
46087         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46088         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46089         * signal/signal.h [__FAVOR_BSD]: Likewise.
46090         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46091         instead of making contents conditional on [__FAVOR_BSD].
46092         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46094 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46098 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46100         [BZ #16314]
46101         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46102         values below 2**-450, not 2**-500.
46103         * math/auto-libm-test-in: Don't allow spurious underflow from
46104         hypot.
46105         * math/auto-libm-test-out: Regenerated.
46107         [BZ #16316]
46108         [BZ #16330]
46109         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46110         values of ha and hb and sort them after adjusting subnormal
46111         arguments.
46112         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46113         Likewise.
46114         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46115         values of ea and eb and sort them after adjusting subnormal
46116         arguments.
46117         * math/auto-libm-test-in: Do not expect some hypot tests of
46118         subnormals to fail.  Add more hypot tests.
46119         * math/auto-libm-test-out: Regenerated.
46121 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46123         [BZ #13304]
46124         * sysdeps/sh/s_fma.c: New file.
46125         * sysdeps/sh/s_fmaf.c: New file.
46126         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46127         version.
46128         * sysdeps/sh/Implies: Add sh/soft-fp.
46130 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46132         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46133         level of indirection to members `objname', `errstring', `malloced'.
46134         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46135         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46136         it as the __longjmp argument (just pass 1 instead).
46137         (_dl_catch_error): Initialize C with argument pointers and address of
46138         volatile local ERRCODE rather than copying values out of C at return.
46140 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46142         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46143         * math/auto-libm-test-out: Regenerated.
46144         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46145         (hypot_test_data): Likewise.
46146         (pow_test_data): Likewise.
46147         (pow_tonearest_test_data): Likewise.
46148         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46149         mpfr_ff_f.
46150         (func_calc_desc): Add mpfr_ff_f union field.
46151         (FUNC_mpfr_ff_f): New macro.
46152         (test_functions): Add atan2, hypot and pow.
46153         (special_fill_min): New function.
46154         (special_fill_minus_min): Likewise.
46155         (special_fill_min_subnorm): Likewise.
46156         (special_fill_minus_min_subnorm): Likewise.
46157         (special_real_inputs): Add min, -min, min_subnorm and
46158         -min_subnorm.
46159         (calc_generic_results): Handle mpfr_ff_f.
46160         * sysdeps/i386/fpu/libm-test-ulps: Update.
46161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46163 2013-12-16  Will Newton  <will.newton@linaro.org>
46165         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46166         (Aligned Memory Blocks): Add documentation for aligned_alloc
46167         and suggest it as an alternative to posix_memalign.
46168         (Hooks for Malloc): Document __memalign_hook is also called
46169         for aligned_alloc.  (Summary of Malloc): Add summary for
46170         aligned alloc.  Document __memalign_hook is also called
46171         for aligned_alloc.
46173 2013-12-16  Will Newton  <will.newton@linaro.org>
46175         * manual/memory.texi (Malloc Examples): Clarify default
46176         alignment documentation.  Suggest posix_memalign rather
46177         than memalign or valloc.
46178         (Aligned Memory Blocks): Remove suggestion to use memalign
46179         or valloc.  Remove obsolete comment about BSD.
46180         Document memalign errno values and mark the function obsolete.
46181         Document posix_memalign returned error codes.  Mark valloc
46182         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46183         called for posix_memalign and valloc.
46184         (Summary of Malloc): Add posix_memalign to function summary.
46185         __memalign_hook is also called for posix_memalign and valloc.
46187 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46189         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46190         TAYLOR_SIN.
46191         (__sin): Adjust.
46192         (__cos): Likewise.
46193         (sloww): Use mynumber union.  Expand ternary operator into
46194         if-else statements.
46195         (cslow): use mynumber union.
46197 2013-12-16  Allan McRae  <allan@archlinux.org>
46199         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46200         * configure: Regenerated.
46202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46204         [BZ #14120]
46205         * configure.ac: Added --enable-maintainer-mode. Check for
46206         autoconf when enabled.
46207         * configure: Regenerated.
46209         * nscd/nscd.service: New file.
46210         * nscd/nscd.tmpfiles: New file.
46212 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46214         [BZ #12100]
46215         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46216         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46217         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46218         (strstr): Add __strstr_sse2_unaligned ifunc.
46219         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46220         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46221         (strcasestr): Remove __strcasestr_sse42 ifunc.
46222         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46226 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46228         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46229         * sysdeps/sh/bits/fenv.h: ... here.
46230         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46232 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46234         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46237         hypotf multiarch implementations.
46238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46239         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46240         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46241         multiarch hypot for PPC64.
46242         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46243         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46244         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46245         multiarch hypotf for PPC64.
46247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46248         modff multiarch implementations.
46249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46252         multiarch modf for PPC64.
46253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46256         multiarch modff for PPC64.
46258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46259         and logl multiarch implementations.
46260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46263         multiarch logb for PPC64.
46264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46267         multiarch logb for PPC64.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46271         multiarch logb for PPC64.
46273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46274         isinff multiarch implementation.
46275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46276         file.
46277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46279         multiarch isinf for PPC64.
46280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46281         file.
46282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46283         multiarch isinff for PPC64.
46285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46286         finitef multiarch implementation.
46287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46288         file.
46289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46291         multiarch finite for PPC64.
46292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46293         file.
46294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46295         multiarch finitef for PPC64.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46298         lrint multiarch implementation.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46300         file.
46301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46303         multiarch llrint for PPC64.
46304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46305         multiarch lrint for PPC64.
46307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46308         copysignf multiarch implementation.
46309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46310         file.
46311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46312         file.
46313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46314         multiarch copysign for PPC64.
46315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46316         multiarch copysignf for PPC64.
46318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46319         multiarch implementation.
46320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46321         file.
46322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46323         file.
46324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46325         file.
46326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46327         file.
46328         multiarch llround for PPC64.
46329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46330         multiarch trunc for PPC64.
46331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46332         multiarch truncf for PPC64.
46334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46335         multiarch implementation.
46336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46337         file.
46338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46339         file.
46340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46341         file.
46342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46343         file.
46344         multiarch llround for PPC64.
46345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46346         multiarch round for PPC64.
46347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46348         multiarch roundf for PPC64.
46350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46351         multiarch implementation.
46352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46353         file.
46354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46355         file.
46356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46357         file.
46358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46359         file.
46360         multiarch llround for PPC64.
46361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46362         multiarch floor for PPC64.
46363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46364         multiarch floorf for PPC64.
46366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46367         multiarch implementation.
46368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46369         file.
46370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46371         file.
46372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46373         file.
46374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46375         file.
46376         multiarch llround for PPC64.
46377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46378         multiarch ceil for PPC64.
46379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46380         multiarch ceilf for PPC64.
46382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46383         multiarch implementation.
46384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46385         file.
46386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46387         file.
46388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46389         file.
46390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46391         multiarch llround for PPC64.
46392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46393         multiarch lround for PPC64.
46395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46396         multiarch implementation.
46397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46400         file.
46401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46404         multiarch isnan for PPC64.
46405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46406         multiarch isnanf for PPC64.
46408         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46409         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46410         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46411         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46412         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46415         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46416         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46417         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46418         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46421         multiarch implementations.
46422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46423         (__libc_ifunc_impl_list): Likewise.
46424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46426         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46427         multiarch stpcpy for PPC64.
46429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46430         multiarch implementations.
46431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46432         (__libc_ifunc_impl_list): Likewise.
46433         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46434         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46435         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46436         multiarch strcpy for PPC64.
46438         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46439         redefine function name.
46440         (_wordcopy_fwd_dest_aligned): Likewise.
46441         (_wordcopy_bwd_aligned): Likewise.
46442         (_wordcopy_bwd_dest_aligned): Likewise.
46443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46444         multiarch implementations.
46445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46446         (__libc_ifunc_impl_list): Likewise.
46447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46449         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46450         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46451         multiarch wcscpy for PPC64.
46453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46454         multiarch implementations.
46455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46456         (__libc_ifunc_impl_list): Likewise.
46457         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46458         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46459         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46461         multiarch wcscpy for PPC64.
46463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46464         multiarch implementations.
46465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46466         (__libc_ifunc_impl_list): Likewise.
46467         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46468         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46469         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46470         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46471         multiarch wcsrchr for PPC64.
46473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46474         multiarch implementations.
46475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46476         (__libc_ifunc_impl_list): Likewise.
46477         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46478         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46479         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46480         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46481         multiarch wcschr for PPC64.
46483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46484         multiarch implementations.
46485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46486         (__libc_ifunc_impl_list): Likewise.
46487         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46488         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46489         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46490         multiarch strchrnul for PPC64.
46492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46493         implementations.
46494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46495         (__libc_ifunc_impl_list): Likewise.
46496         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46497         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46498         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46499         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46500         strchr for PPC64.
46502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46503         implementations.
46504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46505         (__libc_ifunc_impl_list): Likewise.
46506         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46507         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46508         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46509         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46510         strncmp for PPC64.
46512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46513         multiarch implementations.
46514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46515         (__libc_ifunc_impl_list): Likewise.
46516         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46517         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46518         strncasecmp for PPC64.
46519         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46520         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46521         multiarch strncasecmp_l for PPC64.
46523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46524         multiarch implementations.
46525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46526         (__libc_ifunc_impl_list): Likewise.
46527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46528         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46529         multiarch strcasecmp for PPC64.
46530         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46531         file.
46532         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46533         multiarch strcasecmp_l for PPC64.
46535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46536         implementations.
46537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46538         (__libc_ifunc_impl_list): Likewise.
46539         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46540         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46541         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46542         strnlen for PPC64.
46544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46545         implementations.
46546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46547         (__libc_ifunc_impl_list): Likewise.
46548         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46549         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46550         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46551         strlen for PPC64.
46553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46554         implementations.
46555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46556         (__libc_ifunc_impl_list): Likewise.
46557         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46558         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46559         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46560         rawmemrchr for PPC64.
46562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46563         implementation.
46564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46565         (__libc_ifunc_impl_list): Likewise.
46566         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46567         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46568         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46569         memrchr for PPC64.
46571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46572         implementation.
46573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46574         (__libc_ifunc_impl_list): Likewise.
46575         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46576         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46577         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46578         memchr for PPC64.
46580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46581         implementation.
46582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46583         (__libc_ifunc_impl_list): Likewise.
46584         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46585         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46586         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46587         mempcpy for PPC64.
46589         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46590         avoid cretion of __bzero symbol.
46591         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46592         Likewise.
46593         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46594         Likewise.
46595         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46596         Likewise.
46597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46598         multiarch implementations.
46599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46600         (__libc_ifunc_impl_list): Likewise.
46601         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46602         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46603         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46604         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46605         bzero for PPC32.
46606         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46607         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46608         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46609         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46610         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46611         memset for PPC64.
46612         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46614         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46616         implementations.
46617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46618         (__libc_ifunc_impl_list): Likewise.
46619         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46620         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46621         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46622         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46623         memcmp for PPC64.
46625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46626         multiarch for POWER/PPC64.
46627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46628         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46629         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46630         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46631         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46632         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46633         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46634         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46635         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46636         memcpy for PPC64.
46638         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46639         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46640         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46641         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46642         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46643         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46644         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46645         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46646         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46647         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46648         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46649         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46650         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46651         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46652         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46661 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46663         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46665 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46667         * benchtests/Makefile (bench): Add exp2 and log2.
46668         (LDLIBS-bench-exp2): Add -lm.
46669         (LDLIBS-bench-log2): Likewise.
46670         * benchtests/exp2-inputs: New inputs file.
46671         * benchtests/log2-inputs: New inputs file.
46672         * benchtests/log-inputs: Add new inputs.
46673         * benchtests/tan-inputs: Likewise.
46675 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46677         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46678         definition...
46679         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46680         (csloww2): ... from here.
46682         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46683         instead of structures.
46684         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46685         (POLYNOMIAL): Likewise.
46686         (TAYLOR_SLOW): Likewise.
46687         (__sin): Likewise.
46688         (__cos): Likewise.
46689         (slow1): Likewise.
46690         (slow2): Likewise.
46691         (sloww): Likewise.
46692         (sloww1); Likewise.
46693         (sloww2): Likewise.
46694         (bsloww1): Likewise.
46695         (bsloww2): Likewise.
46696         (cslow2): Likewise.
46697         (csloww): Likewise.
46698         (csloww1): Likewise.
46699         (csloww2): Likewise.
46701 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46703         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46704         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46705         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46706         * malloc/hooks.c (realloc_check): Likewise.
46708         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46709         * malloc/arena.c: Remove PER_THREAD conditional.
46710         [!PER_THREAD]: Remove code.
46711         (ptmalloc_unlock_all2): Likewise.
46712         (ptmalloc_init): Likewise.
46713         (_int_new_arena): Likewise.
46714         (arena_get2): Likewise.
46715         * malloc/hooks.c (__malloc_get_state): Likewise.
46716         (__malloc_set_state): Likewise.
46717         * malloc/malloc.c: Likewise.
46718         (struct malloc_state): Likewise.
46719         (struct malloc_par): Likewise.
46720         (__libc_realloc): Likewise.
46721         (__libc_mallopt): Likewise.
46723 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46725         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46727 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46729         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46730         macro to a function.  Check for zero perturb_byte.
46731         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46733         * malloc/malloc.c: (force_reg): Remove.
46734         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46735         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46736         force_reg by atomic_forced_read.
46737         * malloc/arena.c (ptmalloc_init): Likewise.
46738         * malloc/hooks.c (top_check): Likewise.
46740 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46744 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46748 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46750         * math/auto-libm-test-in: Add tests of lgamma.
46751         * math/auto-libm-test-out: Regenerated.
46752         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46753         (M_LOG_2_SQRT_PIl): Likewise.
46754         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46755         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46756         mpfr_f_f1.
46757         (func_calc_desc): Add mpfr_f_f1 union field.
46758         (ARGS1): New macro.
46759         (ARGS2): Likewise.
46760         (ARGS3): Likewise.
46761         (ARGS4): Likewise.
46762         (RET1): Likewise.
46763         (RET2): Likewise.
46764         (CALC): Likewise.
46765         (FUNC): Likewise.
46766         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46767         (test_functions): Add lgamma.
46768         (calc_generic_results): Handle mpfr_f_f1.
46769         * sysdeps/i386/fpu/libm-test-ulps: Update.
46770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46772 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46774         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46775         __mpn_add_n for PowerPC64/POWER7.
46776         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46777         __mpn_sub_n for PowerPC64/POWER7.
46779         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46780         __mpn_addmul_1 for PowerPC64.
46781         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46782         __mpn_submul_1 for PowerPC64.
46783         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46784         for PowerPC64.
46785         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46786         for PowerPC64.
46788 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46790         [BZ #15089]
46791         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46795         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46797         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46798         add multiarch folders.
46799         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46800         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46801         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46802         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46803         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46804         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46805         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46806         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46807         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46808         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46809         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46818         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46820         New file.
46821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46822         New file.
46823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46824         multiarch __ieee754_hypot for PowerPC32.
46825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46826         New file.
46827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46828         New file.
46829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46830         multiarch __ieee754_hypotf for PowerPC32.
46832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46833         long_double_symbol only if __logbl is defined.
46834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46835         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46837         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46839         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46840         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46841         path for implementation.
46842         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46843         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46845         logb, and logbl multiarch implementations for PowerPC32.
46846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46847         file.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46849         file.
46850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46851         multiarch logb for PowerPC32.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46853         file.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46855         file.
46856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46857         multiarch logbf for PowerPC32.
46858         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46860         file.
46861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46862         multiarch logbl implementation for PowerPC32.
46864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46865         and modff multiarch implementations.
46866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46867         New file.
46868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46869         New file.
46870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46871         multiarch modf for PowerPC32.
46872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46873         New file.
46874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46875         New file.
46876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46877         multiarch modff for PowerPC32.
46879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46880         and lrintf multiarch implementations.
46881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46882         New file.
46883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46884         New file.
46885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46886         multiarch lrint for PowerPC32.
46887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46888         file: multiarch lrintf for PowerPC32.
46890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46891         and lroundf multiarch implementations.
46892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46893         New file.
46894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46895         New file.
46896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46897         New file.
46898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46899         multiarch lround for PowerPC32.
46900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46901         file: multiarch lroundf for PowerPC32.
46903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46904         copysign and copysignf multiarch implementations.
46905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46906         New file.
46907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46908         New file.
46909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46910         file: multiarch copysign for PowerPC32.
46911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46912         file: multiarch copysignf for PowerPC32.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46915         and truncf multiarch implementations.
46916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46917         New file.
46918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46919         file.
46920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46921         multiarch trunc for PowerPC32.
46922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46923         New file.
46924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46925         New file.
46926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46927         multiarch truncf for PowerPC32.
46929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46930         and roundf multiarch implementations.
46931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46932         New file.
46933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46934         file.
46935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46936         multiarch round for PowerPC32.
46937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46938         New file.
46939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46940         New file.
46941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46942         multiarch roundf for PowerPC32.
46944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46945         and floorf multiarch implementations.
46946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46947         New file.
46948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46949         file.
46950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46951         multiarch floor for PowerPC32.
46952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46953         New file.
46954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46955         New file.
46956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46957         multiarch floorf for PowerPC32.
46959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46960         and ceilf multiarch implementations.
46961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46962         New file.
46963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46964         file.
46965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46966         multiarch ceil for PowerPC32.
46967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46968         New file.
46969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46970         file.
46971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46972         multiarch ceilf for PowerPC32.
46974         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46975         is defined.
46976         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46977         FINITEF is defined.
46978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46979         and finitef multiarch implementations.
46980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46981         New file.
46982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46983         file.
46984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46985         multiarch finite for PowerPC32.
46986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46987         New file.
46988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46989         file: multiarch finitef for PowerPC32.
46991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46992         and isinff multiarch implementations.
46993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46994         file.
46995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46996         file.
46997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46998         multiarch isinf for PowerPC32.
46999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47000         New file.
47001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47002         multiarch isinff for PowerPC32.
47004         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47005         alias when __isnan is defined.
47006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47007         and isnanf multiarch implementations.
47008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47009         file.
47010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47011         file.
47012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47013         file.
47014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47015         file.
47016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47017         multiarch isnan for PowerPC32.
47018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47019         New file.
47020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47021         New file.
47022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47023         multiarch isnanf for PowerPC32.
47025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47026         and sqrtf multiarch implementations.
47027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47028         file.
47029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47030         file.
47031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47032         multiarch sqrt for PowerPC32.
47033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47034         file.
47035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47036         file.
47037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47038         multiarch sqrtf for PowerPC32.
47040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47041         and llroundf multiarch implementations.
47042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47043         New file.
47044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47045         New file.
47046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47047         New file.
47048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47049         file: multiarch llround for PowerPC32.
47050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47051         file: multiarch llroundf for PowerPC32.
47053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47054         multiarch PowerPC32 fpu implementations.
47055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47056         New file.
47057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47058         New file.
47059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47060         multiarch llrint for PowerPC32.
47061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47062         New file.
47063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47064         New file.
47065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47066         file.
47068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47070         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47071         file.
47072         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47073         file.
47074         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47075         file.
47076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47077         multiarch wordcopy for PPC32.
47078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47079         wordcopy objects.
47080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47081         (__libc_ifunc_impl_list): Likewise.
47082         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47083         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47084         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47085         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47086         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47087         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47089         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47091         file.
47092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47093         file.
47094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47095         file.
47096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47097         multiarch wcscpy for PPC32.
47098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47099         multiarch objects.
47100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47101         (__libc_ifunc_impl_list): Likewise.
47102         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47103         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47104         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47105         sysdeps/powerpc/power6/wcscpy.c.
47107         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47109         file.
47110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47111         file.
47112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47113         file.
47114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47115         multiarch wcsrchr for PPC32.
47116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47117         multiarch objects.
47118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47119         (__libc_ifunc_impl_list): Likewise.
47120         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47121         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47122         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47123         sysdeps/powerpc/power6/wcsrchr.c.
47125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47126         file.
47127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47128         file.
47129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47131         multiarch wcschr for PPc32.
47132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47133         multiarch objects.
47134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47135         (__libc_ifunc_impl_list): Likewise.
47136         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47137         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47138         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47139         sysdeps/powerpc/power6/wcschr.c.
47141         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47142         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47143         file.
47144         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47145         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47146         file: multiarch strchr for PPC32.
47147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47148         multiarch objects.
47149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47150         (__libc_ifunc_impl_list): Likewise.
47152         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47153         name.
47154         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47155         file.
47156         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47157         file.
47158         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47159         multiarch strchrnul for PPC32.
47160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47161         multiarch objects.
47162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47163         (__libc_ifunc_impl_list): Likewise.
47165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47166         file.
47167         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47168         multiarch strncasecmp for PPC32.
47169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47170         file.
47171         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47172         multiarch strncasecmp_l for PPC32.
47173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47174         strncasecmp multiarch objects.
47175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47176         (__libc_ifunc_impl_list): Likewise.
47178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47179         file.
47180         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47181         multiarch strncasecmp for PPC32.
47182         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47183         New file.
47184         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47185         multiarch strcasecmp_l for PPC32.
47186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47187         multiarch objects.
47188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47189         (__libc_ifunc_impl_list): Likewise.
47191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47192         file.
47193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47194         file.
47195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47196         multiarch strncmp for PPC32.
47197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47198         multiarch objects.
47199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47200         (__libc_ifunc_impl_list): Likewise.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47203         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47204         file.
47205         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47206         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47208         multiarch objects.
47209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47210         (__libc_ifunc_impl_list): Likewise.
47212         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47213         file.
47214         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47215         file.
47216         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47218         multiarch objects.
47219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47220         (__libc_ifunc_impl_list): Likewise.
47222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47223         file.
47224         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47225         file.
47226         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47227         multiarch rawmemchr for PPC32.
47228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47229         multiarch objects.
47230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47231         (__libc_ifunc_impl_list): Likewise.
47233         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47234         file.
47235         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47236         file.
47237         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47238         file: memrchr multiarch for PPC32.
47239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47240         multiarch objects.
47241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47242         (__libc_ifunc_impl_list): Likewise.
47244         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47246         file.
47247         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47248         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47249         multiarch memchr for PPC32.
47250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47251         multiarch objects.
47252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47253         (__libc_ifunc_impl_list): Likewise.
47255         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47256         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47257         file.
47258         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47259         file.
47260         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47261         file: multiarch mempcpy for PPC32.
47262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47263         multiarch objects.
47264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47265         (__libc_ifunc_impl_list): Likewise.
47267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47268         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47269         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47270         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47271         multiarch bzero for PPC32.
47272         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47273         file.
47274         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47275         file.
47276         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47277         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47278         file: multiarch memset for PPC32.
47279         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47281         memset multiarch objects.
47282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47283         (__libc_ifunc_impl_list): Likewise.
47285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47286         file.
47287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47289         memcmp for PPC32.
47290         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47292         multiarch objects.
47293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47294         (__libc_ifunc_impl_list): Likewise.
47296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47299         file.
47300         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47301         file.
47302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47303         file.
47304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47305         multiarch memcpy for PPC32.
47306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47307         multiarch objects.
47308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47309         (__libc_ifunc_impl_list): Likewise.
47311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47312         support multiarch for POWER/PPC32.
47313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47314         Likewise.
47315         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47317         Implies file to make multiarch folder appers before the fpu and
47318         default folder for power4 configuration.
47320 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47322         * scripts/bench.pl: Append volatile keyword to type.
47324 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47326         * sysdeps/sh/sotruss-lib.c: New file.
47327         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47329 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47333 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47335         [BZ #6810]
47336         * math/w_tgamma.c: Include <errno.h>.
47337         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47338         * math/w_tgammaf.c: Include <errno.h>.
47339         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47340         * math/w_tgammal.c: Include <errno.h>.
47341         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47342         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47343         underflow.  Add more tgamma tests.
47344         * math/auto-libm-test-out: Regenerated.
47345         * sysdeps/i386/fpu/libm-test-ulps: Update.
47346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47348         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47349         sin, sinh, tan, tanh, tgamma, y0 and y1.
47350         * math/auto-libm-test-out: Regenerated.
47351         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47352         (TEST_COND_x86): Likewise.
47353         (M_E2l): Remove macro.
47354         (M_E3l): Likewise.
47355         (M_2_SQRT_PIl): Likewise.
47356         (M_SQRT_PIl): Likewise.
47357         (M_1_DIV_El): Likewise.
47358         (log_test_data): Use AUTO_TESTS_f_f.
47359         (log10_test_data): Likewise.
47360         (log1p_test_data): Likewise.
47361         (log2_test_data): Likewise.
47362         (sin_test_data): Likewise.
47363         (sin_tonearest_test_data): Likewise.
47364         (sin_towardzero_test_data): Likewise.
47365         (sin_downward_test_data): Likewise.
47366         (sin_upward_test_data): Likewise.
47367         (sinh_test_data): Likewise.
47368         (sinh_tonearest_test_data): Likewise.
47369         (sinh_towardzero_test_data): Likewise.
47370         (sinh_downward_test_data): Likewise.
47371         (sinh_upward_test_data): Likewise.
47372         (tan_test_data): Likewise.
47373         (tan_tonearest_test_data): Likewise.
47374         (tan_towardzero_test_data): Likewise.
47375         (tan_downward_test_data): Likewise.
47376         (tan_upward_test_data): Likewise.
47377         (tanh_test_data): Likewise.
47378         (tgamma_test_data): Likewise.
47379         (y0_test_data): Likewise.
47380         (y1_test_data): Likewise.
47381         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47382         (special_real_inputs): Add pi/4.
47383         * sysdeps/i386/fpu/libm-test-ulps: Update.
47384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47386 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47388         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47389         "longjmp_target" static probes.
47390         (__longjmp): Rename to __longjmp_symbol.
47391         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47392         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47393         on which longjmp to generate.
47394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47395         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47396         probe.
47397         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47398         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47399         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47400         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47401         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47402         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47404         __longjmp_symbol based on which __longjmp to generate.
47405         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47406         probe.
47407         (setjmp): Rename to setjmp_symbol.
47408         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47409         (_setjmp): Rename to _setjmp_symbol.
47410         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47411         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47412         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47413         which setjmp to generate.
47414         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47415         "longjmp_target" static probes.
47417 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47419         * benchtests/README: Add note about output arguments.
47420         * benchtests/bench-sincos.c: Remove file.
47421         * benchtests/sincos-inputs: New file.
47422         * scripts/bench.pl: Identify output arguments and define
47423         static variables for them.
47425         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47427         [BZ #15941]
47428         * Makefile (INSTALL): Add install-plain.texi as the primary
47429         dependency.
47430         * manual/install-plain.texi: New file.
47431         * manual/install.texi: Include node directive only for
47432         non-plaintext output.
47434 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47436         * stdlib/longlong.h: Update from GCC.
47438         [BZ #6807]
47439         [BZ #15901]
47440         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47441         * math/w_j0f.c (y0f): Likewise.
47442         * math/w_j0l.c (__y0l): Likewise.
47443         * math/w_j1.c (y1): Likewise.
47444         * math/w_j1f.c (y1f): Likewise.
47445         * math/w_j1l.c (__y1l): Likewise.
47446         * math/w_jn.c (yn): Likewise.
47447         * math/w_jnf.c (ynf): Likewise.
47448         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47449         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47450         value for Bessel function domain errors outside _SVID_ mode.
47451         Adjust sign of return value for yn (negative integer, 0).
47452         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47453         by zero in return for negative x and set sign appropriately for
47454         negative n.
47455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47456         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47457         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47458         expectations in error cases.
47459         (y1_test_data): Likewise.
47460         (yn_test_data): Likewise.
47461         * sysdeps/i386/fpu/libm-test-ulps: Update.
47462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47464 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47466         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47467         "64" to "64-v1".  Add "64-v2".
47468         (abi-64-options): Rename to ...
47469         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47470         (abi-64-condition): Rename to ...
47471         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47472         (abi-64-ld-soname): Rename to ...
47473         (abi-64-v1-ld-soname): ... this.
47474         (abi-64-v2-options): Define.
47475         (abi-64-v2-condition): Likewise.
47476         (abi-64-v2-ld-soname): Likewise.
47477         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47478         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47483 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47484             Alan Modra  <amodra@gmail.com>
47486         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47487         New versions for use with the ELFv2 ABI.
47488         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47489         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47490         declaration.
47491         (struct La_ppc64v2_retval): Likewise.
47492         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47493         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47494         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47495         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47496         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47498         Do not save or restore CR.
47499         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47500         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47501         return values for ELFv2 ABI.  Fix location of FPR return registers.
47502         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47503         updated values for _CALL_ELF == 2.
47504         (La_regs, La_retval, int_retval): Likewise.
47506 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47508         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47509         (FRAME_MIN_SIZE_PARM): Likewise.
47510         (FRAME_BACKCHAIN): Likewise.
47511         (FRAME_CR_SAVE): Likewise.
47512         (FRAME_LR_SAVE): Likewise.
47513         (FRAME_TOC_SAVE): Likewise.
47514         (FRAME_PARM_SAVE): Likewise.
47515         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47516         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47517         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47518         (call_mcount_parm_offset): New macro.
47519         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47520         (PROF): Use symbolic stack frame offsets.
47521         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47522         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47523         Redefine in terms of FRAME_MIN_SIZE.
47524         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47525         (_dl_profile_resolve): Likewise.  Update comment.
47526         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47527         symbols stack frame offsets.
47528         (__sigsetjmp): Likewise.
47529         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47530         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47531         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47532         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47535         (FRAME_BACKCHAIN): Remove.
47536         (FRAME_CR_SAVE): Likewise.
47537         (FRAME_LR_SAVE): Likewise.
47538         (FRAME_COMPILER_DW): Likewise.
47539         (FRAME_LINKER_DW): Likewise.
47540         (FRAME_TOC_SAVE): Likewise.
47541         (FRAME_PARM_SAVE): Likewise.
47542         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47543         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47544         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47546         (CHECK_SP): Use symbolic stack frame offsets.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47548         zone" instead of caller's parameter save area for temp storage.
47549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47550         Likewise.  Also, use symbolic stack frame offsets.
47551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47552         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47553         our own stack frame instead of the caller's.
47554         (__socket): Use symbolic stack frame offsets.
47556 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47557             Alan Modra  <amodra@gmail.com>
47559         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47560         Define.
47561         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47562         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47563         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47564         New function.
47565         (elf_machine_fixup_plt): Call it.
47566         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47567         reloc arguments.
47568         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47570         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47571         r2 before calling target.
47573 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47574             Alan Modra  <amodra@gmail.com>
47576         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47577         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47578         versions of macros to support ELFv2 ABI.
47579         (LOCALENTRY): New macro.
47580         (ENTRY, EALIGN): Use it.
47581         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47582         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47583         fall through into ENTRY entry point.
47584         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47585         Only define if _CALL_ELF != 2.
47587         (elf_machine_matches_host): Verify ABI version matches.
47588         (RTLD_START): Use LOCALENTRY.
47589         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47590         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47591         (PLT_ENTRY_WORDS): New macro.
47592         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47593         (elf_machine_runtime_setup): Support ELFv2 ABI.
47594         (elf_machine_fixup_plt): Likewise.
47595         (elf_machine_plt_conflict): Likewise.
47596         (resolve_ifunc): Likewise.
47597         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47599         Likewise.
47600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47601         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47603         (makecontext): Support ELFv2 ABI.
47604         * elf/elf.h (EF_PPC64_ABI): Define.
47606 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47608         * sysdeps/powerpc/powerpc64/sysdep.h
47609         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47610         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47611         (ENTRY) [ASSEMBLER]: ... but instead here ...
47612         (EALIGN) [ASSEMBLER]: ... and here.
47613         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47614         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47615         (ENTRY_2) [!ASSEMBLER]: Use it.
47616         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47617         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47619         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47620         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47622         Use PPC64_LOAD_FUNCPTR.
47624         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47626 2013-12-04  Alan Modra  <amodra@gmail.com>
47628         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47629         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47630         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47631         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47634         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47635         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47636         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47637         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47638         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47640 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47643         (__makecontext): Fix incorrect CFI when backtracing out of
47644         context created via makecontext.
47645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47646         (__setcontext): Fix incorrect CFI during switch to new context.
47647         (__novec_setcontext): Likewise.
47649 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47651         [BZ #4772]
47652         * time/strptime_l.c (__strptime_internal): Allow modifiers
47653         in strptime.
47654         * time/tst-strptime.c (day_tests): Add testcase.
47656 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47658         * scripts/bench.pl: Skip over blank lines.
47660 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47662         [BZ #926]
47663         * manual/time.texi (Calendar Time): Clarify what timezone functions
47664         use.
47666 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47670 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47672         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47673         implementation.
47674         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47675         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47676         * debug/memset_chk.c (__memset_chk): Likewise.
47677         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47678         * debug/strncpy_chk.c: Likewise.
47680 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47682         [BZ #15268]
47683         [BZ #15425]
47684         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47685         (__ieee754_exp): For possibly underflowing results, check size of
47686         result and force underflow exception if required.
47687         * math/auto-libm-test-in: Add more tests of exp.
47688         * math/auto-libm-test-out: Regenerated.
47689         * sysdeps/i386/fpu/libm-test-ulps: Update.
47690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47692         [BZ #16283]
47693         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47694         * math/w_exp2f.c (__exp2f): Likewise.
47695         * math/w_exp2l.c (__exp2l): Likewise.
47696         * math/auto-libm-test-in: Do not allow missing errno on exp2
47697         underflow.
47698         * math/auto-libm-test-out: Regenerated.
47700 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47702         [BZ #16274]
47703         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47704         handle filename validation.
47705         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47706         (do_open): Delete.
47708 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47710         [BZ #6786]
47711         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47712         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47713         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47714         <float.h>.
47715         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47716         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47717         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47719         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47721         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47722         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47723         Add more erfc tests.
47724         * math/auto-libm-test-out: Regenerated.
47725         * sysdeps/i386/fpu/libm-test-ulps: Update.
47726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47728         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47729         exp2, expm1, j0 and j1.
47730         * math/auto-libm-test-out: Regenerated.
47731         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47732         (erfc_test_data): Likewise.
47733         (exp_test_data): Likewise.
47734         (exp_tonearest_test_data): Likewise.
47735         (exp_towardzero_test_data): Likewise.
47736         (exp_downward_test_data): Likewise.
47737         (exp_upward_test_data): Likewise.
47738         (exp10_test_data): Likewise.
47739         (exp2_test_data): Likewise.
47740         (expm1_test_data): Likewise.
47741         (j0_test_data): Likewise.
47742         (j1_test_data): Likewise.
47743         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47744         (input_flag_type): Add flag_xfail_rounding.
47745         (input_flags): Add xfail-rounding.
47746         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47747         (output_for_one_input_case): Handle flag_xfail_rounding.
47748         * sysdeps/i386/fpu/libm-test-ulps: Update.
47749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47753         [BZ #16289]
47754         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47755         division by 0.
47757 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47759         [BZ #16195]
47760         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47761         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47762         (STAP_PROBE0): New macro.
47763         (STAP_PROBE1): Likewise.
47764         (STAP_PROBE2): Likewise.
47765         (STAP_PROBE3): Likewise.
47766         (STAP_PROBE4): Likewise.
47768 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47770         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47772 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47774         * benchtests/Makefile (bench): Add sqrt.
47775         (LDLIBS-bench-sqrt): New.
47776         * benchtests/sqrt-input: New.
47778 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47780         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47781         (GAIH_EAI): Likewise.
47782         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47783         (gaih_inet): Likewise.
47784         (getaddrinfo): Don't use GAIH_EAI.
47786         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47787         (struct gaih): Remove definition.
47789 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47791         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47792         Use HERRNOP directly.
47794 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47798 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47800         * math/gen-auto-libm-tests.c (test_functions): Add more
47801         single-argument functions.
47802         (special_fill_pi_2): New function.
47803         (special_fill_minus_pi_2): Likewise.
47804         (special_fill_pi_6): Likewise.
47805         (special_fill_minus_pi_6): Likewise.
47806         (special_fill_pi_3): Likewise.
47807         (special_fill_2pi_3): Likewise.
47808         (special_fill_e): Likewise.
47809         (special_fill_1_e): Likewise.
47810         (special_fill_e_minus_1): Likewise.
47811         (special_real_inputs): Add more special inputs.
47812         (output_for_one_input_case): Do not require ERANGE on underflow to
47813         zero if round-to-nearest result does not underflow to zero, unless
47814         exact results required.
47815         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47816         atan, atanh, cbrt, cos and cosh.
47817         * math/auto-libm-test-out: Regenerated.
47818         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47819         (acos_tonearest_test_data): Likewise.
47820         (acos_towardzero_test_data): Likewise.
47821         (acos_downward_test_data): Likewise.
47822         (acos_upward_test_data): Likewise.
47823         (acosh_test_data): Likewise.
47824         (asin_test_data): Likewise.
47825         (asin_tonearest_test_data): Likewise.
47826         (asin_towardzero_test_data): Likewise.
47827         (asin_upward_test_data): Likewise.
47828         (asinh_test_data): Likewise.
47829         (atan_test_data): Likewise.
47830         (atanh_test_data): Likewise.
47831         (cbrt_test_data): Likewise.
47832         (cos_test_data): Likewise.
47833         (cos_tonearest_test_data): Likewise.
47834         (cos_towardzero_test_data): Likewise.
47835         (cos_downward_test_data): Likewise.
47836         (cos_upward_test_data): Likewise.
47837         (cosh_test_data): Likewise.
47838         (cosh_tonearest_test_data): Likewise.
47839         (cosh_towardzero_test_data): Likewise.
47840         (cosh_downward_test_data): Likewise.
47841         (cosh_upward_test_data): Likewise.
47842         * sysdeps/i386/fpu/libm-test-ulps: Update.
47843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47845 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47847         [BZ #6787]
47848         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47849         * math/w_exp10f.c (__exp10f): Likewise.
47850         * math/w_exp10l.c (__exp10l): Likewise.
47851         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47852         errno settings in existing tests.
47854         [BZ #14032]
47855         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47856         precision control set to double precision.
47857         * sysdeps/i386/fpu/w_sqrt.c: New file.
47858         * math/auto-libm-test-in: Add more tests.
47859         * math/auto-libm-test-out: Update.
47861         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47862         (sqrt_test_tonearest): New function.
47863         (sqrt_towardzero_test_data): New variable.
47864         (sqrt_test_towardzero): New function.
47865         (sqrt_downward_test_data): New variable.
47866         (sqrt_test_downward): New function.
47867         (sqrt_upward_test_data): New variable.
47868         (sqrt_test_upward): New function.
47869         (main): Call the new functions.
47871         * math/gen-auto-libm-tests.c: New file.
47872         * math/auto-libm-test-in: Likewise.
47873         * math/auto-libm-test-out: New generated file.
47874         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47875         variables.
47876         (%beautify): Add generated representations of zero.
47877         (top level): Set $auto_input and call parse_auto_input.
47878         (beautify): Remove trailing "f" from hex float constants.
47879         (parse_args): Handle XFAIL_TEST.
47880         (convert_condition): New function.
47881         (or_value): Likewise.
47882         (or_cond_value): Likewise.
47883         (generate_testfile): Handle AUTO_TESTS_* lines.
47884         (parse_auto_input): New function.
47885         * math/libm-test.inc (XFAIL_TEST): New macro.
47886         (ERRNO_UNCHANGED): Update value.
47887         (ERRNO_EDOM): Likewise.
47888         (ERRNO_ERANGE): Likewise.
47889         (IGNORE_RESULT): Likewise.
47890         (TEST_COND_flt_32): New macro.
47891         (TEST_COND_dbl_64): Likewise.
47892         (TEST_COND_ldbl_96_intel): Likewise.
47893         (TEST_COND_ldbl_96_m68k): Likewise.
47894         (TEST_COND_ldbl_128): Likewise.
47895         (TEST_COND_ldbl_128ibm): Likewise.
47896         (TEST_COND_long32): Likewise.
47897         (TEST_COND_long64): Likewise.
47898         (TEST_COND_before_rounding): Likewise.
47899         (TEST_COND_after_rounding): Likewise.
47900         (enable_test): Handle XFAIL_TEST flag.
47901         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47902         with finite results.
47903         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47904         auto-libm-test-out.
47906 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47907             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47909         [BZ #16214]
47910         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47911         __tls_get_addr_internal instead of __tls_get_offset in order to
47912         avoid GOT pointer dependency.  Make rtld export
47913         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47914         __tls_get_addr since we are a __tls_get_offset platform.
47915         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47916         GOT pointer being set up before.
47917         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47919 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47921         * manual/math.texi (Errors in Math Functions): Document accuracy
47922         goals.
47924         [BZ #15004]
47925         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47926         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47927         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47928         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47929         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47930         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47931         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47932         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47933         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47934         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47935         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47936         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47937         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47938         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47939         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47940         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47942         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47943         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47944         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47945         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47946         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47947         Likewise.
47948         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47949         Likewise.
47950         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47951         Likewise.
47952         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47953         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47954         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47955         atomic-feupdateenv and flt-rounds.
47956         * sysdeps/powerpc/nofpu/Versions (libc): Add
47957         __atomic_feholdexcept, __atomic_feclearexcept,
47958         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47959         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47960         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47961         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47962         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47963         here.
47964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47965         Update.
47967         * manual/arith.texi (FP Exceptions): Document that exceptions may
47968         not be raised when matherr is used.
47969         (Math Error Reporting): Document overflow in directed rounding
47970         modes.  Document that errno may not be set when finite values are
47971         returned on overflow.  Document intent to set errno on underflow
47972         only for underflow to zero.
47974         [BZ #16271]
47975         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47976         round-to-nearest then adjust result for other rounding modes.
47977         * include/fenv.h (fegetround): Use libm_hidden_proto.
47978         * math/fegetround.c (fegetround): Use libm_hidden_def.
47979         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47980         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47981         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47982         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47983         Likewise.
47984         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47985         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47986         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47987         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47989 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47991         [BZ #16077]
47992         * nss/Versions (libnss_files): Add
47993         _nss_files_gethostbyname3_r.
47994         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47995         New function.
47996         (HOST_DB_LOOKUP): Remove macro.
47997         (_nss_files_gethostbyname_r): Implement function without the
47998         HOST_DB_LOOKUP macro.
47999         (_nss_files_gethostbyname2_r): Likewise.
48001 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48003         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48005 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48007         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48008         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48009         warning.
48011 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48014         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48015         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48016         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48017         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48018         __fe_nomask_env_priv and attribute_hidden.
48019         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48020         (libc_feupdateenv_test_ppc): Likewise.
48021         (libc_feresetround_ppc): Likewise.
48022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48023         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48024         compat_symbol macro.
48025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48026         (__fe_nomask_env): Likewise.
48027         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48029 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48031         * string/Makefile: Remove ifunc tests.
48032         * string/test-string.h: Define TEST_IFUNC.
48033         * string/test-bcopy-ifunc.c: Remove.
48034         * string/test-bzero-ifunc.c: Likewise.
48035         * string/test-memccpy-ifunc.c: Likewise.
48036         * string/test-memchr-ifunc.c: Likewise.
48037         * string/test-memcmp-ifunc.c: Likewise.
48038         * string/test-memcpy-ifunc.c: Likewise.
48039         * string/test-memmem-ifunc.c: Likewise.
48040         * string/test-memmove-ifunc.c: Likewise.
48041         * string/test-mempcpy-ifunc.c: Likewise.
48042         * string/test-memrchr-ifunc.c: Likewise.
48043         * string/test-memset-ifunc.c: Likewise.
48044         * string/test-rawmemchr-ifunc.c: Likewise.
48045         * string/test-stpcpy-ifunc.c: Likewise.
48046         * string/test-stpncpy-ifunc.c: Likewise.
48047         * string/test-strcasecmp-ifunc.c: Likewise.
48048         * string/test-strcasestr-ifunc.c: Likewise.
48049         * string/test-strcat-ifunc.c: Likewise.
48050         * string/test-strchr-ifunc.c: Likewise.
48051         * string/test-strchrnul-ifunc.c: Likewise.
48052         * string/test-strcmp-ifunc.c: Likewise.
48053         * string/test-strcpy-ifunc.c: Likewise.
48054         * string/test-strcspn-ifunc.c: Likewise.
48055         * string/test-strlen-ifunc.c: Likewise.
48056         * string/test-strncasecmp-ifunc.c: Likewise.
48057         * string/test-strncat-ifunc.c: Likewise.
48058         * string/test-strncmp-ifunc.c: Likewise.
48059         * string/test-strncpy-ifunc.c: Likewise.
48060         * string/test-strnlen-ifunc.c: Likewise.
48061         * string/test-strpbrk-ifunc.c: Likewise.
48062         * string/test-strrchr-ifunc.c: Likewise.
48063         * string/test-strspn-ifunc.c: Likewise.
48064         * string/test-strstr-ifunc.c: Likewise.
48066 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48068         * benchtests/Makefile: Remove ifunc tests.
48069         * benchtests/bench-string.h: Define TEST_IFUNC.
48070         * benchtests/bench-bcopy-ifunc.c: Remove.
48071         * benchtests/bench-bzero-ifunc.c: Likewise.
48072         * benchtests/bench-memccpy-ifunc.c: Likewise.
48073         * benchtests/bench-memchr-ifunc.c: Likewise.
48074         * benchtests/bench-memcmp-ifunc.c: Likewise.
48075         * benchtests/bench-memcpy-ifunc.c: Likewise.
48076         * benchtests/bench-memmem-ifunc.c: Likewise.
48077         * benchtests/bench-memmove-ifunc.c: Likewise.
48078         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48079         * benchtests/bench-memrchr-ifunc.c: Likewise.
48080         * benchtests/bench-memset-ifunc.c: Likewise.
48081         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48082         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48083         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48084         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48085         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48086         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48087         * benchtests/bench-strcat-ifunc.c: Likewise.
48088         * benchtests/bench-strchr-ifunc.c: Likewise.
48089         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48090         * benchtests/bench-strcmp-ifunc.c: Likewise.
48091         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48092         * benchtests/bench-strcpy-ifunc.c: Likewise.
48093         * benchtests/bench-strcspn-ifunc.c: Likewise.
48094         * benchtests/bench-strlen-ifunc.c: Likewise.
48095         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48096         * benchtests/bench-strncat-ifunc.c: Likewise.
48097         * benchtests/bench-strncmp-ifunc.c: Likewise.
48098         * benchtests/bench-strncpy-ifunc.c: Likewise.
48099         * benchtests/bench-strnlen-ifunc.c: Likewise.
48100         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48101         * benchtests/bench-strrchr-ifunc.c: Likewise.
48102         * benchtests/bench-strsep-ifunc.c: Likewise.
48103         * benchtests/bench-strspn-ifunc.c: Likewise.
48104         * benchtests/bench-strstr-ifunc.c: Likewise.
48106 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48108         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48110 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48112         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48113         * rt/aio.h: Likewise.
48114         * sysdeps/gnu/bits/utmp.h: Likewise.
48115         * sysdeps/gnu/bits/utmpx.h: Likewise.
48116         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48117         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48118         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48119         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48120         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48121         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48122         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48123         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48124         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48125         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48126         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48127         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48128         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48130         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48131         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48132         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48133         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48134         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48135         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48136         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48137         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48138         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48139         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48140         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48142         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48143         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48144         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48145         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48146         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48147         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48148         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48149         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48150         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48151         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48152         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48153         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48154         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48155         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48156         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48157         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48159 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48161         [BZ #16245]
48162         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48163         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48165 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48167         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48168         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48169         Likewise.
48171 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48174         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48175         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48176         (__fesetround): Remove define.
48177         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48178         rounding and exceptions handling.
48179         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48180         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48181         (__fe_nomask_env): Likewise.
48182         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48183         __fegetround instead of fegetround.
48184         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48185         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48187 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48189         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48190         it's there.
48192         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48194 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48196         [BZ #11157]
48197         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48198         (encrypt_r): Likewise.
48199         * malloc/obstack.h (obstack_free): Likewise.
48200         * posix/unistd.h (encrypt): Likewise.
48202 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48204         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48205         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48206         DL_CALL_DT_FINI() that call the functions directly.
48207         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48208         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48209         * elf/dl-fini.c: Likewise.
48211 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48213         * malloc/hooks.c (memalign_check): Add alignment rounding.
48214         * malloc/malloc.c (_mid_memalign): New function.
48215         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48216         Implement by calling _mid_memalign.
48217         * manual/probes.texi (Memory Allocation Probes): Remove
48218         memory_valloc_retry and memory_pvalloc_retry.
48220 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48222         * locale/programs/locarchive.c (open_archive): Add const
48223         qualifier to ARCHIVEFNAME and copy default fname to
48224         DEFAULT_FNAME.
48226         [BZ #15601]
48227         * libio/tst-widetext.input: Rename Oriya to Odia.
48228         * locale/iso-639.def: Likewise.
48230         * manual/probes.texi (Mathematical Function Probes): Add
48231         documentation for sin, cos, asin and acos probes.
48232         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48233         (__sin32): Add slowasin probe.
48234         (__cos32): Add slowacos probe.
48235         (__mpsin): Add slowsin probe.
48236         (__mpcos): Add slowcos probe.
48238 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48240         [BZ #15483]
48241         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48242         thread-local __sim_exceptions_thread and global
48243         __sim_exceptions_global.
48244         (__sim_disabled_exceptions): Change to thread-local
48245         __sim_disabled_exceptions_thread and global
48246         __sim_disabled_exceptions_global.
48247         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48248         and global __sim_round_mode_global.
48249         (__simulate_exceptions): Use thread-local floating-point state and
48250         set global state from it as needed.
48251         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48252         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48253         __sim_round_mode_thread.
48254         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48255         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48256         and global __sim_exceptions_global.
48257         (__sim_disabled_exceptions): Change to thread-local
48258         __sim_disabled_exceptions_thread and global
48259         __sim_disabled_exceptions_global.
48260         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48261         and global __sim_round_mode_global.
48262         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48263         (SIM_SET_GLOBAL): Likewise.
48264         * sysdeps/powerpc/soft-fp/sfp-machine.h
48265         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48266         __sim_round_mode_thread.
48267         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48268         __sim_disabled_exceptions_thread.
48269         (__sim_exceptions): Change to __sim_exceptions_thread.
48270         (__sim_disabled_exceptions): Change to
48271         __sim_disabled_exceptions_thread.
48272         (__sim_round_mode): Change to __sim_round_mode_thread.
48273         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48274         thread-local floating-point state and set global state from it as
48275         needed.
48276         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48277         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48278         (__sim_disabled_exceptions): Remove extern declaration.
48279         (feenableexcept): Use thread-local floating-point state and set
48280         global state from it as needed.
48281         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48282         extern declaration.
48283         (__sim_disabled_exceptions): Likewise.
48284         (__sim_round_mode): Likewise.
48285         (__fegetenv): Use thread-local floating-point state.
48286         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48287         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48288         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48289         floating-point state and set global state from it as needed.
48290         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48291         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48292         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48293         Likewise.
48294         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48295         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48296         Likewise.
48297         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48298         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48299         Use __sim_round_mode_thread.
48300         * math/test-fenv-tls.c: New file.
48301         * math/Makefile (tests): Add test-fenv-tls.
48302         ($(objpfx)test-fenv-tls): Depend on
48303         $(common-objpfx)nptl/libpthread.so.
48305 2013-11-19  Andreas Schwab  <schwab@suse.de>
48307         * locale/programs/locale.c (show_info): Decode wordarray elements.
48308         * locale/categories.def (LC_MONETARY): Add element for
48309         _NL_MONETARY_CRNCYSTR.
48310         * locale/C-monetary.c (conversion_rate): New variable.
48311         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48312         element.
48314 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48316         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48317         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48319 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48321         * elf/Makefile (tst-auxv): New test.
48322         * elf/tst-auxv.c: New
48323         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48325 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48327         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48328         (hidden_proto): Caller changed.
48329         (hidden_tls_proto): New macro.
48330         (libc_hidden_tls_proto): Likewise.
48331         (rtld_hidden_tls_proto): Likewise.
48332         (libm_hidden_tls_proto): Likewise.
48333         (libresolv_hidden_tls_proto): Likewise.
48334         (librt_hidden_tls_proto): Likewise.
48335         (libdl_hidden_tls_proto): Likewise.
48336         (libnss_files_hidden_tls_proto): Likewise.
48337         (libnsl_hidden_tls_proto): Likewise.
48338         (libnss_nisplus_hidden_tls_proto): Likewise.
48339         (libutil_hidden_tls_proto): Likewise.
48341 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48343         [BZ #10253]
48344         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48345         (decompose_rpath): Defer expansion to fillin_rpath.
48346         (_dl_init_paths): Pass linkmap to fillin_rpath.
48348 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48350         * benchtests/Makefile: Add strsep.
48351         * benchtests/bench-strsep.c: New file: strsep benchtest.
48352         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48354 2013-11-18  Andreas Schwab  <schwab@suse.de>
48356         * locale/programs/locale.c (show_info) [case byte]: Check for
48357         '\377' instead of '\177'.
48358         * locale/C-monetary.c (not_available): Always use "\377".
48359         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48360         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48361         detect unavailable sign_posn locale elements.
48362         * locale/localeconv.c (__localeconv): For grouping and
48363         mon_grouping handle "\177" and "\377" like no grouping.
48364         (INT_ELEM): New macro.  Use it to set all numeric members.
48365         * locale/programs/ld-monetary.c (monetary_read)
48366         <tok_mon_grouping>: Normalize single -1 to the empty string.
48367         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48368         Likewise.
48370 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48372         [BZ #16055]
48373         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48374         when we match (nil).
48375         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48377 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48379         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48380         (NO_TEST_INLINE): Update value.
48381         (ERRNO_UNCHANGED): Likewise.
48382         (ERRNO_EDOM): Likewise.
48383         (ERRNO_ERANGE): Likewise.
48384         (IGNORE_RESULT): Likewise.
48385         (check_float_internal): Check signs of NaN results if
48386         TEST_NAN_SIGN used.
48387         (check_complex): Pass TEST_NAN_SIGN flag through to second
48388         check_float_internal call.
48389         (copysign_test_data): Add tests with quiet NaNs as second
48390         argument.  Use TEST_NAN_SIGN.
48391         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48392         TEST_NAN_SIGN.
48393         (signbit_test_data): Add tests of quiet NaN argument.
48394         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48396         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48397         $ignore_result.
48398         (parse_args): Handle function results specified as IGNORE.
48399         * math/libm-test.inc (IGNORE_RESULT): New macro.
48400         (check_float_internal): Do not check numerical result if flag
48401         IGNORE_RESULT set.
48402         (check_complex): Pass through IGNORE_RESULT to second
48403         check_float_internal call.
48404         (check_int): Do not check numerical result if flag IGNORE_RESULT
48405         set.
48406         (check_long): Likewise.
48407         (check_bool): Likewise.
48408         (check_longlong): Likewise.
48409         (lrint_test_data): Add tests of infinite and NaN arguments.
48410         (lrint_tonearest_test_data): Likewise.
48411         (lrint_towardzero_test_data): Likewise.
48412         (lrint_downward_test_data): Likewise.
48413         (lrint_upward_test_data): Likewise.
48414         (llrint_test_data): Likewise.
48415         (llrint_tonearest_test_data): Likewise.
48416         (llrint_towardzero_test_data): Likewise.
48417         (llrint_downward_test_data): Likewise.
48418         (llrint_upward_test_data): Likewise.
48419         (lround_test_data): Likewise.
48420         (llround_test_data): Likewise.
48422         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48423         (ERRNO_UNCHANGED): Update value.
48424         (ERRNO_EDOM): Likewise.
48425         (ERRNO_ERANGE): Likewise.
48426         (NO_TEST_INLINE_FLOAT): New macro.
48427         (NO_TEST_INLINE_DOUBLE): Likewise.
48428         (enable_test): New function.
48429         (RUN_TEST_f_f): Check enable_test before running test.
48430         (RUN_TEST_2_f): Likewise.
48431         (RUN_TEST_fff_f): Likewise.
48432         (RUN_TEST_c_f): Likewise.
48433         (RUN_TEST_f_f1): Likewise.
48434         (RUN_TEST_fF_f1): Likewise.
48435         (RUN_TEST_fI_f1): Likewise.
48436         (RUN_TEST_ffI_f1): Likewise.
48437         (RUN_TEST_c_c): Likewise.
48438         (RUN_TEST_cc_c): Likewise.
48439         (RUN_TEST_f_i): Likewise.
48440         (RUN_TEST_f_i_tg): Likewise.
48441         (RUN_TEST_ff_i_tg): Likewise.
48442         (RUN_TEST_f_b): Likewise.
48443         (RUN_TEST_f_b_tg): Likewise.
48444         (RUN_TEST_f_l): Likewise.
48445         (RUN_TEST_f_L): Likewise.
48446         (RUN_TEST_fFF_11): Likewise.
48447         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48448         conditionals.
48449         (cosh_test_data): Likewise.
48450         (exp_test_data): Likewise.
48451         (expm1_test_data): Likewise.
48452         (hypot_test_data): Likewise.
48453         (pow_test_data): Likewise.
48454         (sinh_test_data): Likewise.
48455         (tanh_test_data): Likewise.
48456         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48457         flags argument.
48459         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48460         tests with quiet NaN input and output.
48461         (acosh_test_data): Likewise.
48462         (asin_test_data): Likewise.
48463         (asinh_test_data): Likewise.
48464         (atan_test_data): Likewise.
48465         (atanh_test_data): Likewise.
48466         (atan2_test_data): Likewise.
48467         (cbrt_test_data): Likewise.
48468         (cos_test_data): Likewise.
48469         (cosh_test_data): Likewise.
48470         (erf_test_data): Likewise.
48471         (erfc_test_data): Likewise.
48472         (exp_test_data): Likewise.
48473         (exp10_test_data): Likewise.
48474         (exp2_test_data): Likewise.
48475         (expm1_test_data): Likewise.
48476         (hypot_test_data): Likewise.
48477         (j0_test_data): Likewise.
48478         (j1_test_data): Likewise.
48479         (jn_test_data): Likewise.
48480         (lgamma_test_data): Likewise.
48481         (log_test_data): Likewise.
48482         (log10_test_data): Likewise.
48483         (log1p_test_data): Likewise.
48484         (log2_test_data): Likewise.
48485         (pow_test_data): Likewise.
48486         (scalb_test_data): Likewise.
48487         (sin_test_data): Likewise.
48488         (sincos_test_data): Likewise.
48489         (sinh_test_data): Likewise.
48490         (tan_test_data): Likewise.
48491         (tanh_test_data): Likewise.
48492         (tgamma_test_data): Likewise.
48493         (y0_test_data): Likewise.
48494         (y1_test_data): Likewise.
48495         (yn_test_data): Likewise.
48497         [BZ #16167]
48498         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48499         argument being NaN and avoid computations with second argument in
48500         that case.
48501         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48502         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48503         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48505 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48507         * locale/iso-639.def: Add Chitwani Tharu (the).
48509 2013-11-14  Andreas Schwab  <schwab@suse.de>
48511         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48512         word instead of empty string.
48514 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48517         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48519         (__fe_nomask_env): Likewise.
48521 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48523         * benchtests/bench-timing.h: Include time.h.
48525 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48527         [BZ #15997]
48528         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48529         to 3.4.0 for x32.
48530         * sysdeps/unix/sysv/linux/configure: Regenerated.
48532 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48534         [BZ #16151]
48535         * stdlib/strtod_l.c (round_and_return): Do not consider
48536         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48537         exponent one less than half the least subnormal exponent.
48538         * stdlib/test-strtod-round-data: Add more tests.
48539         * stdlib/tst-strtod-round.c (tests): Regenerated.
48541 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48543         [BZ #14143]
48544         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48545         (__fe_mask_env): Likewise.
48546         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48547         libm_hidden_proto and add function prototype.
48548         (__fe_mask_env): Add function prototype.
48549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48550         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48552         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48554         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48556 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48558         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48559         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48561 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48563         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48564         of htab_find_slot().
48566 2013-11-11  David S. Miller  <davem@davemloft.net>
48568         [BZ #16150]
48569         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48570         symbol in the non-vis3 case in static builds.
48571         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48572         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48573         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48574         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48576 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48578         [BZ #387]
48579         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48580         it is empty.
48582 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48584         * benchtests/Makefile: Add bench-strtod.
48585         * benchtests/bench-strtod.c: New file: strtod benchtest
48587 2013-11-11  Andreas Schwab  <schwab@suse.de>
48589         [BZ #16153]
48590         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48591         terminating NUL in key length.
48593 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48595         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48596         Add artificial ODP entry for vDSO symbol for PPC64.
48597         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48598         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48600 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48602         [BZ #15374]
48603         * nss/getent.c (services_keys): Recognize services starting with digit.
48605 2013-11-06  David S. Miller  <davem@davemloft.net>
48607         [BZ #15985]
48608         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48609         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48611 2013-11-06  Will Newton  <will.newton@linaro.org>
48613         * manual/memory.texi (Malloc Examples): Remove register
48614         keyword from examples.
48616 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48618         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48620 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48622         [BZ #6981]
48623         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48624         depending on [__GCC_IEC_559 > 0].
48625         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48626         depending on [__GCC_IEC_559_COMPLEX > 0].
48628 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48630         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48631         to iso-639.def.
48633 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48635         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48637 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48639         [BZ #16112]
48640         * malloc/malloc (malloc_info): Do not handle first bin as
48641         special case.
48643 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48645         * locale/iso-639.def: Add Central Nahuatl (nhn).
48647 2013-11-01  Bruno Haible  <bruno@clisp.org>
48649         [BZ #7003]
48650         * manual/math.texi (BSD Random): Specify range upper bound as
48651         in POSIX.
48653 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48655         * locale/iso-639.def: Add Meadow Mari (mhr).
48657 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48659         [BZ #14752], [BZ #15763]
48660         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48661         Validate name.
48662         * rt/tst_shm.c: Add test for escaping directory.
48664 2013-10-31  Andreas Schwab  <schwab@suse.de>
48666         [BZ #15917]
48667         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48668         followed by 'x' as part of digit sequence.
48669         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48671 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48673         [BZ #16037]
48674         * configure.ac: allow GNU Make 4.0 and greater.
48675         * configure: Regenerated.
48677 2013-10-30  Will Newton  <will.newton@linaro.org>
48679         [BZ #16038]
48680         * malloc/hooks.c (memalign_check): Limit alignment to the
48681         maximum representable power of two.
48682         * malloc/malloc.c (__libc_memalign): Likewise.
48683         * malloc/tst-memalign.c (do_test): Add test for very
48684         large alignment values.
48685         * malloc/tst-posix_memalign.c (do_test): Likewise.
48687 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48689         [BZ #11087]
48690         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48691         (munmap_chunk): Likewise.
48692         (mremap_chunk): Likewise.
48694 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48696         [BZ #15799]
48697         * stdlib/div.c (div): Remove obsolete code.
48698         * stdlib/ldiv.c (ldiv): Likewise.
48699         * stdlib/lldiv.c (lldiv): Likewise.
48701 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48703         [BZ #16071]
48704         * nss/nss_files/files-XXX.c (get_contents_ret): New
48705         enumerator.
48706         (get_contents): New function.
48707         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48709 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48711         * configure.in: Moved to ...
48712         * configure.ac: ... here. Change reference to configure.in
48713         to configure.ac.
48714         * sysdeps/arm/preconfigure.ac: ... here.
48715         configure.in to configure.ac.
48716         * sysdeps/gnu/configure.in: Moved to ...
48717         * sysdeps/gnu/configure.ac: ... here.
48718         * sysdeps/i386/configure.in: Moved to ...
48719         * sysdeps/i386/configure.ac: ... here.
48720         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48721         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48722         * sysdeps/mach/configure.in: Moved to ...
48723         * sysdeps/mach/configure.ac: ... here.
48724         * sysdeps/mach/hurd/configure.in: Moved to ...
48725         * sysdeps/mach/hurd/configure.ac: ... here.
48726         * sysdeps/powerpc/configure.in: Moved to ...
48727         * sysdeps/powerpc/configure.ac: ... here.
48728         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48729         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48730         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48731         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48732         * sysdeps/s390/s390-32/configure.in: Moved to ...
48733         * sysdeps/s390/s390-32/configure.ac: ... here.
48734         * sysdeps/s390/s390-64/configure.in: Moved to ...
48735         * sysdeps/s390/s390-64/configure.ac: ... here.
48736         * sysdeps/sh/configure.in: Moved to ...
48737         * sysdeps/sh/configure.ac: ... here.
48738         * sysdeps/sparc/configure.in: Moved to ...
48739         * sysdeps/sparc/configure.ac: ... here.
48740         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48741         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48742         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48743         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48744         * sysdeps/x86_64/configure.in: Moved to ...
48745         * sysdeps/x86_64/configure.ac: ... here.
48746         * sysdeps/x86_64/preconfigure.in: Moved to ...
48747         * sysdeps/x86_64/preconfigure.ac: ... here.
48748         * aclocal.m4: Change reference to configure.in to configure.ac.
48749         * config.h.in: Likewise.
48750         * manual/install.texi: Likewise.
48751         * manual/maint.texi: Likewise.
48752         * Makefile: Likewise.
48753         * malloc/Makefile: Likewise.
48754         * nscd/Makefile: Likewise.
48755         * Makeconfig: Change reference to configure.in and
48756         preconfigure.in to configure.ac and preconfigure.ac
48757         respectively.
48758         * INSTALL: Regenerated.
48759         * configure: Likewise.
48760         * sysdeps/gnu/configure: Likewise.
48761         * sysdeps/i386/configure: Likewise.
48762         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48763         * sysdeps/mach/configure: Likewise.
48764         * sysdeps/mach/hurd/configure: Likewise.
48765         * sysdeps/powerpc/configure: Likewise.
48766         * sysdeps/powerpc/powerpc32/configure: Likewise.
48767         * sysdeps/powerpc/powerpc64/configure: Likewise.
48768         * sysdeps/s390/s390-32/configure: Likewise.
48769         * sysdeps/s390/s390-64/configure: Likewise.
48770         * sysdeps/sh/configure: Likewise.
48771         * sysdeps/sparc/configure: Likewise.
48772         * sysdeps/unix/sysv/linux/configure: Likewise.
48773         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48774         * sysdeps/x86_64/configure: Likewise.
48775         * sysdeps/x86_64/preconfigure: Likewise.
48777 2013-10-29  Andreas Schwab  <schwab@suse.de>
48779         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48781 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48783         * benchtests/pow-inputs: Add new inputs.
48785         * benchtests/exp-inputs: Add new inputs.
48787         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48788         conditional check for return value.
48789         (__cos32): Likewise.
48791 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48793         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48794         to provide a boost for large inputs with word alignment.
48795         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48796         implementation based on optimized PPC64 strcpy.
48797         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48798         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48799         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48800         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48802 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48804         [BZ #2801]
48805         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48807 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48809         [BZ #14876]
48810         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48811         * time/tst-strptime.c (day_tests): Add testcase.
48813 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48815         [BZ #14029]
48816         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48818 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48820         [BZ #16074]
48821         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48822         MAP_FAILED on error.
48824 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48826         [BZ #16072]
48827         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48828         heap for large requests.
48830 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48832         [BZ #9954]
48833         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48834         result if the result has no associated interface.
48835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48836         interface for all 127.X.Y.Z addresses.
48838 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48840         * locale/iso-639.def: Add Ligurian (lij)
48842 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48844         [BZ #15825]
48845         * sunrpc/rpc_main.c: Document rpcgen -5.
48847 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48849         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48851 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48853         [BZ #10278]
48854         * posix/glob.c: Match only directories when trailing slash is present.
48855         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48856         (main): Add testcase.
48858 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48860         [BZ #15670]
48861         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48863 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48865         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48866         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48867         AUTH_DES and cindex for FIPS 140-2.
48868         (DES Encryption): Add cindex FIPS 46-3.
48870         * locale/locarchive.h (struct locarhandle): Add fname.
48871         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48872         if an optional argument was specified to --list-archive,
48873         otherwise NULL.
48874         * locale/programs/locarchive.c (show_archive_content): Take new
48875         argument fname and pass it via ah.fname to open_archive.
48876         * locale/programs/localedef.h: Update decl.
48877         (open_archive): If AH->fname is non-null, open that file
48878         rather than the default file name, and don't ignore ENOENT.
48879         (create_archive): Set AH.fname to NULL.
48880         (delete_locales_from_archive): Likewise.
48881         (add_locales_to_archive): Likewise.
48882         * locale/programs/locfile.c (write_all_categories): Likewise.
48884 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48885             Aldy Hernandez  <aldyh@redhat.com>
48887         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48888         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48889         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48890         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48891         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48892         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48893         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48894         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48895         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48896         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48897         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48898         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48899         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48900         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48901         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48902         Likewise.
48903         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48904         Likewise.
48905         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48906         Likewise.
48907         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48908         Likewise.
48909         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48910         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48911         Likewise.
48912         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48913         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48914         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48915         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48916         Likewise.
48917         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48918         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48919         * sysdeps/powerpc/preconfigure: Likewise.
48920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48921         Likewise.
48922         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48923         Replace contents of file by #include of <fenv_libc.h>.
48924         * sysdeps/powerpc/soft-fp/sfp-machine.h
48925         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48926         and <sys/prctl.h>.
48927         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48934         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48935         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48936         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48937         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48938         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48940         Allow copysignl PLT reference to be missing.
48942 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48943             Joseph Myers  <joseph@codesourcery.com
48945         [BZ #15948]
48946         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48947         single character.
48948         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48950 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48952         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48953         * elf/tst-tls1.c: Likewise.
48954         * elf/tst-tls10.h: Likewise.
48955         * elf/tst-tls14.c: Likewise.
48956         * elf/tst-tls2.c: Likewise.
48957         * elf/tst-tls3.c: Likewise.
48958         * elf/tst-tls4.c: Likewise.
48959         * elf/tst-tls5.c: Likewise.
48960         * elf/tst-tls6.c: Likewise.
48961         * elf/tst-tls7.c: Likewise.
48962         * elf/tst-tls8.c: Likewise.
48963         * elf/tst-tls9.c: Likewise.
48964         * elf/tst-tlsmod1.c: Likewise.
48965         * elf/tst-tlsmod13.c: Likewise.
48966         * elf/tst-tlsmod13a.c: Likewise.
48967         * elf/tst-tlsmod14a.c: Likewise.
48968         * elf/tst-tlsmod16a.c: Likewise.
48969         * elf/tst-tlsmod16b.c: Likewise.
48970         * elf/tst-tlsmod2.c: Likewise.
48971         * elf/tst-tlsmod3.c: Likewise.
48972         * elf/tst-tlsmod4.c: Likewise.
48973         * elf/tst-tlsmod5.c: Likewise.
48974         * elf/tst-tlsmod6.c: Likewise.
48976 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48978         [BZ #12486]
48979         * malloc/malloc.c: remove checks for statistics.
48981 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48983         [BZ #15277]
48984         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48985         * inet/tst-network.c: Add testcase.
48987 2013-10-17  Andreas Schwab  <schwab@suse.de>
48989         [BZ #15218]
48990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48991         to determine canonical name.
48993 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48995         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48996         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48998         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49000         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49001         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49002         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49003         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49004         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49005         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49006         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49009         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49010         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49011         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49012         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49013         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49014         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49015         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49017         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49018         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49019         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49020         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49021         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49024         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49025         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49028         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49029         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49030         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49034         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49035         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49036         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49037         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49038         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49041         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49042         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49043         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49044         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49045         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49046         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49047         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49048         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49050         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49051         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49052         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49054 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49056         [BZ #16041]
49057         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49058         make result into a quiet NaN.
49060 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49062         * soft-fp/adddf3.c: Fix horizontal whitespace.
49063         * soft-fp/addsf3.c: Likewise.
49064         * soft-fp/addtf3.c: Likewise.
49065         * soft-fp/divdf3.c: Likewise.
49066         * soft-fp/divsf3.c: Likewise.
49067         * soft-fp/divtf3.c: Likewise.
49068         * soft-fp/double.h: Likewise.
49069         * soft-fp/eqdf2.c: Likewise.
49070         * soft-fp/eqsf2.c: Likewise.
49071         * soft-fp/eqtf2.c: Likewise.
49072         * soft-fp/extenddftf2.c: Likewise.
49073         * soft-fp/extended.h: Likewise.
49074         * soft-fp/extendsfdf2.c: Likewise.
49075         * soft-fp/extendsftf2.c: Likewise.
49076         * soft-fp/extendxftf2.c: Likewise.
49077         * soft-fp/fixdfdi.c: Likewise.
49078         * soft-fp/fixdfsi.c: Likewise.
49079         * soft-fp/fixdfti.c: Likewise.
49080         * soft-fp/fixsfdi.c: Likewise.
49081         * soft-fp/fixsfsi.c: Likewise.
49082         * soft-fp/fixsfti.c: Likewise.
49083         * soft-fp/fixtfdi.c: Likewise.
49084         * soft-fp/fixtfsi.c: Likewise.
49085         * soft-fp/fixtfti.c: Likewise.
49086         * soft-fp/fixunsdfdi.c: Likewise.
49087         * soft-fp/fixunsdfsi.c: Likewise.
49088         * soft-fp/fixunsdfti.c: Likewise.
49089         * soft-fp/fixunssfdi.c: Likewise.
49090         * soft-fp/fixunssfsi.c: Likewise.
49091         * soft-fp/fixunssfti.c: Likewise.
49092         * soft-fp/fixunstfdi.c: Likewise.
49093         * soft-fp/fixunstfsi.c: Likewise.
49094         * soft-fp/fixunstfti.c: Likewise.
49095         * soft-fp/floatdidf.c: Likewise.
49096         * soft-fp/floatdisf.c: Likewise.
49097         * soft-fp/floatditf.c: Likewise.
49098         * soft-fp/floatsidf.c: Likewise.
49099         * soft-fp/floatsisf.c: Likewise.
49100         * soft-fp/floatsitf.c: Likewise.
49101         * soft-fp/floattidf.c: Likewise.
49102         * soft-fp/floattisf.c: Likewise.
49103         * soft-fp/floattitf.c: Likewise.
49104         * soft-fp/floatundidf.c: Likewise.
49105         * soft-fp/floatundisf.c: Likewise.
49106         * soft-fp/floatunditf.c: Likewise.
49107         * soft-fp/floatunsidf.c: Likewise.
49108         * soft-fp/floatunsisf.c: Likewise.
49109         * soft-fp/floatunsitf.c: Likewise.
49110         * soft-fp/floatuntidf.c: Likewise.
49111         * soft-fp/floatuntisf.c: Likewise.
49112         * soft-fp/floatuntitf.c: Likewise.
49113         * soft-fp/fmadf4.c: Likewise.
49114         * soft-fp/fmasf4.c: Likewise.
49115         * soft-fp/fmatf4.c: Likewise.
49116         * soft-fp/gedf2.c: Likewise.
49117         * soft-fp/gesf2.c: Likewise.
49118         * soft-fp/getf2.c: Likewise.
49119         * soft-fp/ledf2.c: Likewise.
49120         * soft-fp/lesf2.c: Likewise.
49121         * soft-fp/letf2.c: Likewise.
49122         * soft-fp/muldf3.c: Likewise.
49123         * soft-fp/mulsf3.c: Likewise.
49124         * soft-fp/multf3.c: Likewise.
49125         * soft-fp/negdf2.c: Likewise.
49126         * soft-fp/negsf2.c: Likewise.
49127         * soft-fp/negtf2.c: Likewise.
49128         * soft-fp/op-1.h: Likewise.
49129         * soft-fp/op-2.h: Likewise.
49130         * soft-fp/op-4.h: Likewise.
49131         * soft-fp/op-8.h: Likewise.
49132         * soft-fp/op-common.h: Likewise.
49133         * soft-fp/quad.h: Likewise.
49134         * soft-fp/single.h: Likewise.
49135         * soft-fp/soft-fp.h: Likewise.
49136         * soft-fp/sqrtdf2.c: Likewise.
49137         * soft-fp/sqrtsf2.c: Likewise.
49138         * soft-fp/sqrttf2.c: Likewise.
49139         * soft-fp/subdf3.c: Likewise.
49140         * soft-fp/subsf3.c: Likewise.
49141         * soft-fp/subtf3.c: Likewise.
49142         * soft-fp/truncdfsf2.c: Likewise.
49143         * soft-fp/trunctfdf2.c: Likewise.
49144         * soft-fp/trunctfsf2.c: Likewise.
49145         * soft-fp/trunctfxf2.c: Likewise.
49146         * soft-fp/unorddf2.c: Likewise.
49147         * soft-fp/unordsf2.c: Likewise.
49148         * soft-fp/unordtf2.c: Likewise.
49150 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49152         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49153         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49155 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49157         * elf/dl-libc.c: Clear initfini list after freeing.
49159 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49161         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49162         * soft-fp/addsf3.c: Likewise.
49163         * soft-fp/addtf3.c: Likewise.
49164         * soft-fp/divdf3.c: Likewise.
49165         * soft-fp/divsf3.c: Likewise.
49166         * soft-fp/divtf3.c: Likewise.
49167         * soft-fp/double.h: Likewise.
49168         * soft-fp/eqdf2.c: Likewise.
49169         * soft-fp/eqsf2.c: Likewise.
49170         * soft-fp/eqtf2.c: Likewise.
49171         * soft-fp/extenddftf2.c: Likewise.
49172         * soft-fp/extended.h: Likewise.
49173         * soft-fp/extendsfdf2.c: Likewise.
49174         * soft-fp/extendsftf2.c: Likewise.
49175         * soft-fp/extendxftf2.c: Likewise.
49176         * soft-fp/fixdfdi.c: Likewise.
49177         * soft-fp/fixdfsi.c: Likewise.
49178         * soft-fp/fixdfti.c: Likewise.
49179         * soft-fp/fixsfdi.c: Likewise.
49180         * soft-fp/fixsfsi.c: Likewise.
49181         * soft-fp/fixsfti.c: Likewise.
49182         * soft-fp/fixtfdi.c: Likewise.
49183         * soft-fp/fixtfsi.c: Likewise.
49184         * soft-fp/fixtfti.c: Likewise.
49185         * soft-fp/fixunsdfdi.c: Likewise.
49186         * soft-fp/fixunsdfsi.c: Likewise.
49187         * soft-fp/fixunsdfti.c: Likewise.
49188         * soft-fp/fixunssfdi.c: Likewise.
49189         * soft-fp/fixunssfsi.c: Likewise.
49190         * soft-fp/fixunssfti.c: Likewise.
49191         * soft-fp/fixunstfdi.c: Likewise.
49192         * soft-fp/fixunstfsi.c: Likewise.
49193         * soft-fp/fixunstfti.c: Likewise.
49194         * soft-fp/floatdidf.c: Likewise.
49195         * soft-fp/floatdisf.c: Likewise.
49196         * soft-fp/floatditf.c: Likewise.
49197         * soft-fp/floatsidf.c: Likewise.
49198         * soft-fp/floatsisf.c: Likewise.
49199         * soft-fp/floatsitf.c: Likewise.
49200         * soft-fp/floattidf.c: Likewise.
49201         * soft-fp/floattisf.c: Likewise.
49202         * soft-fp/floattitf.c: Likewise.
49203         * soft-fp/floatundidf.c: Likewise.
49204         * soft-fp/floatundisf.c: Likewise.
49205         * soft-fp/floatunsidf.c: Likewise.
49206         * soft-fp/floatunsisf.c: Likewise.
49207         * soft-fp/floatuntidf.c: Likewise.
49208         * soft-fp/floatuntisf.c: Likewise.
49209         * soft-fp/floatuntitf.c: Likewise.
49210         * soft-fp/fmadf4.c: Likewise.
49211         * soft-fp/fmasf4.c: Likewise.
49212         * soft-fp/fmatf4.c: Likewise.
49213         * soft-fp/gedf2.c: Likewise.
49214         * soft-fp/gesf2.c: Likewise.
49215         * soft-fp/getf2.c: Likewise.
49216         * soft-fp/ledf2.c: Likewise.
49217         * soft-fp/lesf2.c: Likewise.
49218         * soft-fp/letf2.c: Likewise.
49219         * soft-fp/muldf3.c: Likewise.
49220         * soft-fp/mulsf3.c: Likewise.
49221         * soft-fp/multf3.c: Likewise.
49222         * soft-fp/negdf2.c: Likewise.
49223         * soft-fp/negsf2.c: Likewise.
49224         * soft-fp/negtf2.c: Likewise.
49225         * soft-fp/op-1.h: Likewise.
49226         * soft-fp/op-2.h: Likewise.
49227         * soft-fp/op-4.h: Likewise.
49228         * soft-fp/op-8.h: Likewise.
49229         * soft-fp/op-common.h: Likewise.
49230         * soft-fp/quad.h: Likewise.
49231         * soft-fp/single.h: Likewise.
49232         * soft-fp/soft-fp.h: Likewise.
49233         * soft-fp/sqrtdf2.c: Likewise.
49234         * soft-fp/sqrtsf2.c: Likewise.
49235         * soft-fp/sqrttf2.c: Likewise.
49236         * soft-fp/subdf3.c: Likewise.
49237         * soft-fp/subsf3.c: Likewise.
49238         * soft-fp/subtf3.c: Likewise.
49239         * soft-fp/truncdfsf2.c: Likewise.
49240         * soft-fp/trunctfdf2.c: Likewise.
49241         * soft-fp/trunctfsf2.c: Likewise.
49242         * soft-fp/trunctfxf2.c: Likewise.
49243         * soft-fp/unorddf2.c: Likewise.
49244         * soft-fp/unordsf2.c: Likewise.
49245         * soft-fp/unordtf2.c: Likewise.
49247 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49249         [BZ #15672]
49250         * misc/error.c (error_tail): Fix possible buffer overflow.
49252 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49254         [BZ #13028]
49255         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49256         address.
49258 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49260         [BZ #832]
49261         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49262         testing pipefail option.
49264 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49266         * soft-fp/double.h: Indent preprocessor directives inside #if.
49267         * soft-fp/extended.h: Likewise.
49268         * soft-fp/op-2.h: Likewise.
49269         * soft-fp/op-4.h: Likewise.
49270         * soft-fp/op-common.h: Likewise.
49271         * soft-fp/quad.h: Likewise.
49272         * soft-fp/single.h: Likewise.
49273         * soft-fp/soft-fp.h: Likewise.
49275 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49277         * iconv/iconv_prog.c: Fix typos.
49278         * stdio-common/psiginfo-data.h: Likewise.
49280 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49282         [BZ #15764]
49283         * locale/setlocale.c: Fix typo.
49285 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49287         [BZ #16036]
49288         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49289         signaling NaN arguments.
49290         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49291         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49293         [BZ #14910]
49294         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49295         unordered operands.
49296         * soft-fp/gesf2.c (__gesf2): Likewise.
49297         * soft-fp/getf2.c (__getf2): Likewise.
49298         * soft-fp/ledf2.c (__ledf2): Likewise.
49299         * soft-fp/lesf2.c (__lesf2): Likewise.
49300         * soft-fp/letf2.c (__letf2): Likewise.
49302         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49303         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49304         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49305         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49306         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49307         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49308         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49309         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49310         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49311         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49312         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49313         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49314         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49315         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49316         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49317         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49318         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49319         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49320         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49321         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49322         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49323         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49324         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49325         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49326         * soft-fp/floattidf.c (__floattidf): Likewise.
49327         * soft-fp/floattisf.c (__floattisf): Likewise.
49328         * soft-fp/floattitf.c (__floattitf): Likewise.
49329         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49330         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49331         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49332         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49333         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49334         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49335         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49336         * soft-fp/gesf2.c (__gesf2): Likewise.
49337         * soft-fp/getf2.c (__getf2): Likewise.
49338         * soft-fp/ledf2.c (__ledf2): Likewise.
49339         * soft-fp/lesf2.c (__lesf2): Likewise.
49340         * soft-fp/letf2.c (__letf2): Likewise.
49342         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49343         Undefine and redefine.
49344         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49345         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49346         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49347         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49348         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49349         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49350         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49351         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49352         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49353         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49354         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49355         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49356         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49357         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49358         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49360         [BZ #16032]
49361         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49362         without decrementing exponent if mantissa >= that for the
49363         denominator, not >.
49364         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49365         denominator, not >.  Decrement exponent in < case instead of
49366         incrementing in >= case.
49367         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49368         without decrementing exponent if mantissa >= that for the
49369         denominator, not >.
49371         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49372         computing saturated result for unsigned overflow.
49374 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49375             Jeff Law  <law@redhat.com>
49377         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49378         (atan2Mp): Add systemtap probe marker.
49379         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49380         (__ieee754_log): Add systemtap probe marker.
49381         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49382         (atanMp): Add systemtap probe marker.
49383         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49384         (tanMp): Add systemtap probe marker.
49385         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49386         (__slowexp): Add systemtap probe marker.
49387         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49388         (__slowpow): Add systemtap probe marker.
49389         * manual/probes.texi: Document probes.
49391 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49393         [BZ #15362]
49394         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49395         written.
49396         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49397         written.
49398         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49399         written to buffer but not flushed.
49400         * libio/iofwrite_u.c:  Likewise.
49401         * libio/iopadn.c:  Return bytes returned even if EOF was
49402         encountered.
49403         * libio/iowpadn.c:  Likewise.
49404         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49405         if _IO_padn does not write the whole buffer.
49406         [!COMPILE_WPRINTF] (PAD): Likewise.
49408 2013-10-10  David S. Miller  <davem@davemloft.net>
49410         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49411         directory block.
49413 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49415         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49416         instead of FSF address.
49417         * soft-fp/fixdfti.c: Likewise.
49418         * soft-fp/fixsfti.c: Likewise.
49419         * soft-fp/fixtfti.c: Likewise.
49420         * soft-fp/fixunsdfti.c: Likewise.
49421         * soft-fp/fixunssfti.c: Likewise.
49422         * soft-fp/fixunstfti.c: Likewise.
49423         * soft-fp/floattidf.c: Likewise.
49424         * soft-fp/floattisf.c: Likewise.
49425         * soft-fp/floattitf.c: Likewise.
49426         * soft-fp/floatuntidf.c: Likewise.
49427         * soft-fp/floatuntisf.c: Likewise.
49428         * soft-fp/floatuntitf.c: Likewise.
49429         * soft-fp/trunctfxf2.c: Likewise.
49431         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49432         * soft-fp/fixdfti.c: Likewise.
49433         * soft-fp/fixsfti.c: Likewise.
49434         * soft-fp/fixtfti.c: Likewise.
49435         * soft-fp/fixunsdfti.c: Likewise.
49436         * soft-fp/fixunssfti.c: Likewise.
49437         * soft-fp/fixunstfti.c: Likewise.
49438         * soft-fp/floattidf.c: Likewise.
49439         * soft-fp/floattisf.c: Likewise.
49440         * soft-fp/floattitf.c: Likewise.
49441         * soft-fp/floatuntidf.c: Likewise.
49442         * soft-fp/floatuntisf.c: Likewise.
49443         * soft-fp/floatuntitf.c: Likewise.
49444         * soft-fp/trunctfxf2.c: Likewise.
49446 2013-10-10  David S. Miller  <davem@davemloft.net>
49448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49450 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49452         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49453         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49454         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49455         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49456         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49457         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49458         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49460         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49461         for NaNs before doing comparisons on argument.
49462         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49463         Likewise.
49465 2013-10-10  Will Newton  <will.newton@linaro.org>
49467         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49468         passed to _int_memalign does not overflow.
49470 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49472         * scripts/bench.pl: Add include-sources directive.
49473         * benchtests/README: Update documentation.
49475 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49477         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49478         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49479         instead of FP_INIT_ROUNDMODE.
49480         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49481         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49483         [BZ #16034]
49484         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49485         copy class of input value.
49486         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49487         not handle exceptions.
49488         * soft-fp/negsf2.c (__negsf2): Likewise.
49489         * soft-fp/negtf2.c (__negtf2): Likewise.
49490         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49492 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49494         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49495         semicolon.  From Linux kernel.
49497 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49499         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49501 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49503         [BZ #156]
49504         * manual/socket.texi: Added statement about buffer
49505         for gethostbyname2_r.
49507 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49509         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49510         Use .p2align directive instead, throughout.
49511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49512         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49513         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49514         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49515         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49516         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49517         * sysdeps/x86_64/strchr.S: Likewise.
49518         * sysdeps/x86_64/strrchr.S: Likewise.
49520 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49522         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49524         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49526         * sysdeps/generic/math_private.h (__mpsin1): Remove
49527         declaration.
49528         (__mpcos1): Likewise.
49529         (__mpsin): New argument __range_reduce.
49530         (__mpcos): Likewise.
49531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49532         (slow): Use __mpsin and __mpcos.
49533         (slow1): Likewise.
49534         (slow2): Likewise.
49535         (sloww): Likewise.
49536         (sloww1): Likewise.
49537         (sloww2): Likewise.
49538         (bsloww): Likewise.
49539         (bsloww1): Likewise.
49540         (bsloww2): Likewise.
49541         (cslow2): Likewise.
49542         (csloww): Likewise.
49543         (csloww1): Likewise.
49544         (csloww2): Likewise.
49545         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49546         range_reduce.  Merge in __mpsin1.
49547         (__mpcos): Likewise.
49548         (__mpsin1): Remove.
49549         (__mpcos1): Likewise.
49551 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49553         * locale/loadlocale.c (_nl_intern_locale_data): Use
49554         LOCFILE_ALIGNED_P.
49555         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49556         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49557         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49558         obstack data is appropriately aligned.
49559         (obstack_int32_grow_fast): Likewise.
49560         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49561         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49562         (add_locale_uint32_array): Likewise.
49564 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49566         * benchtests/Makefile: Remove ARGLIST and RET variables.
49567         ($(objpfx)bench-%.c): Pass only function name to the script.
49568         * benchtests/README: Update documentation.
49569         * benchtests/acos-inputs: Add new directives.
49570         * benchtests/acosh-inputs: Likewise.
49571         * benchtests/asin-inputs: Likewise.
49572         * benchtests/asinh-inputs: Likewise.
49573         * benchtests/atan-inputs: Likewise.
49574         * benchtests/atanh-inputs: Likewise.
49575         * benchtests/cos-inputs: Likewise.
49576         * benchtests/cosh-inputs: Likewise.
49577         * benchtests/exp-inputs: Likewise.
49578         * benchtests/log-inputs: Likewise.
49579         * benchtests/pow-inputs: Likewise.
49580         * benchtests/rint-inputs: Likewise.
49581         * benchtests/sin-inputs: Likewise.
49582         * benchtests/sinh-inputs: Likewise.
49583         * benchtests/tan-inputs: Likewise.
49584         * benchtests/tanh-inputs: Likewise.
49585         * scripts/bench.pl: Add support for new directives.
49587 2013-10-07  Alan Modra  <amodra@gmail.com>
49589         * README: Fix careless merge.
49591 2013-10-05  Alan Modra  <amodra@gmail.com>
49593         * NEWS: Mention powerpc64le support and bugs fixed.
49594         * README: Both big-endian and little-endian powerpc64 supported.
49596 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49598         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49599         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49600         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49601         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49603 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49605         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49606         match prototype.
49608 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49610         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49611         Move -mhard-float appending from
49612         ports/sysdeps/powerpc/powerpc32/Makefile.
49613         [$(with-fp) = yes] (ASFLAGS): Likewise.
49614         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49615         * sysdeps/powerpc/nofpu: Move directory from
49616         ports/sysdeps/powerpc/nofpu.
49617         * sysdeps/powerpc/soft-fp: Move directory from
49618         ports/sysdeps/powerpc/soft-fp.
49619         * sysdeps/powerpc/powerpc32/405: Move directory from
49620         ports/sysdeps/powerpc/powerpc32/405.
49621         * sysdeps/powerpc/powerpc32/440: Move directory from
49622         ports/sysdeps/powerpc/powerpc32/440.
49623         * sysdeps/powerpc/powerpc32/464: Move directory from
49624         ports/sysdeps/powerpc/powerpc32/464.
49625         * sysdeps/powerpc/powerpc32/476: Move directory from
49626         ports/sysdeps/powerpc/powerpc32/476.
49627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49630         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49632         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49634         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49636         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49637         * README: Update for powerpc-*-linux-gnu software floating point
49638         support in libc.
49640         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49641         case to powerpc/powerpc32*.
49642         * sysdeps/unix/sysv/linux/configure: Regenerated.
49644         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49645         (_FPU_MASK_OM): Define as 0x04.
49646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49648         0x00c10080.
49649         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49650         0x0000003c.
49651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49654         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49655         getcontext_e500.
49656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49657         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49658         setcontext_e500.
49659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49660         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49661         and setcontext_e500.
49663 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49665         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49667 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49669         * manual/threads.texi (Default Thread Attributes): Fix typo.
49671 2013-10-04  Will Newton  <will.newton@linaro.org>
49673         * malloc/Makefile: Add tst-memalign.
49674         * malloc/tst-memalign.c: New file.
49676         * malloc/tst-posix_memalign.c: Add comments.
49677         (do_test): Add comments and call free on all potentially
49678         allocated pointers. Add space after cast.
49680         * malloc/tst-pvalloc.c: Add comments.
49681         (do_test): Add comments and call free on all potentially
49682         allocated pointers. Remove duplicate check for NULL pointer.
49683         Add space after cast.
49685         * malloc/tst-valloc.c: Add comments.
49686         (do_test): Add comments and call free on all potentially
49687         allocated pointers. Remove duplicate check for NULL pointer.
49688         Add space after cast.
49690 2013-10-04  Alan Modra  <amodra@gmail.com>
49692         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49693         Use stdint types in rather than __attribute__((mode())).
49694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49696 2013-10-04  Alan Modra  <amodra@gmail.com>
49698         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49699         Correct handling of unaligned relocs for little-endian.
49700         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49702 2013-10-04  Alan Modra  <amodra@gmail.com>
49704         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49705         * configure: Regenerate.
49706         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49707         * shlib-versions: Likewise.
49709 2013-10-04  Alan Modra  <amodra@gmail.com>
49711         * string/tester.c (test_memrchr): Increment reported test cycle.
49713 2013-10-04  Alan Modra  <amodra@gmail.com>
49715         * string/test-memcpy.c (do_one_test): When reporting errors, print
49716         string address and don't overrun end of string.
49718 2013-10-04  Alan Modra  <amodra@gmail.com>
49720         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49721         insrdi.  Make better use of reg selection to speed exit slightly.
49722         Schedule entry path a little better.  Remove useless "are we done"
49723         checks on entry to main loop.  Handle wrapping around zero address.
49724         Correct main loop count.  Handle single left-over word from main
49725         loop inline rather than by using loop_small.  Remove extra word
49726         case in loop_small caused by wrong loop count.  Add little-endian
49727         support.
49728         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49730         cache hint.
49731         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49732         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49733         support.  Avoid rlwimi.
49734         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49736 2013-10-04  Alan Modra  <amodra@gmail.com>
49738         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49739         insrdi.  Formatting.
49740         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49741         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49742         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49743         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49744         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49745         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49747 2013-10-04  Alan Modra  <amodra@gmail.com>
49749         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49751         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49752         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49753         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49754         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49755         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49756         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49757         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49758         use of regs.  Use power7 mtocrf.  Tidy function tails.
49760 2013-10-04  Alan Modra  <amodra@gmail.com>
49762         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49763         Formatting.  Consistently use rXXX register defines or rN defines.
49764         Use early exit labels that avoid restoring unused non-volatile regs.
49765         Make cr field use more consistent with rWORDn compares.  Rename
49766         regs used as shift registers for unaligned loop, using rN defines
49767         for short lifetime/multiple use regs.
49768         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49769         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49770         addi 1,1,64 to pop stack frame.  Simplify return value code.
49771         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49773 2013-10-04  Alan Modra  <amodra@gmail.com>
49775         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49776         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49777         rather than rlwimi.
49778         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49779         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49780         little-endian support.  Correct typos.
49781         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49782         rather than rlwimi.
49783         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49784         in loop and entry code to keep "and." results.
49785         (strchr): Add little-endian support.  Comment.  Move cntlzd
49786         earlier in tail.
49787         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49789 2013-10-04  Alan Modra  <amodra@gmail.com>
49791         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49792         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49793         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49794         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49796 2013-10-04  Alan Modra  <amodra@gmail.com>
49798         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49799         (rTMP): Define as r11.
49800         (strcmp): Add little-endian support.  Optimise tail.
49801         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49802         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49803         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49804         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49809 2013-10-04  Alan Modra  <amodra@gmail.com>
49811         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49812         little-endian support.  Remove unnecessary "are we done" tests.
49813         Handle "s" wrapping around zero and extremely large "size".
49814         Correct main loop count.  Handle single left-over word from main
49815         loop inline rather than by using small_loop.  Correct comments.
49816         Delete "zero" tail, use "end_max" instead.
49817         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49819 2013-10-04  Alan Modra  <amodra@gmail.com>
49821         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49822         support.  Don't branch over align.
49823         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49824         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49825         support.  Rearrange tmp reg use to suit.  Comment.
49826         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49828 2013-10-04  Alan Modra  <amodra@gmail.com>
49830         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49832 2013-10-04  Alan Modra  <amodra@gmail.com>
49834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49835         conditional form of branch and link when obtaining pc.
49836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49838 2013-10-04  Alan Modra  <amodra@gmail.com>
49840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49841         HIWORD/LOWORD.
49842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49845 2013-10-04  Alan Modra  <amodra@gmail.com>
49847         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49848         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49849         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49850         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49851         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49852         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49853         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49854         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49855         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49856         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49858 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49859             Alistair Popple <alistair@ozlabs.au.ibm.com>
49860             Alan Modra <amodra@gmail.com>
49862         [BZ #15723]
49863         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49864         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49865         _dl_hwcap access for little-endian.
49866         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49867         destroy vmx regs when saving unaligned.
49868         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49869         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49870         destroy vmx regs when saving unaligned.
49872 2013-10-04  Alan Modra  <amodra@gmail.com>
49874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49875         Don't use a union to pack hi/low value.
49877 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49879         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49880         for little-endian.
49881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49883         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49884         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49885         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49887 2013-10-04  Alan Modra  <amodra@gmail.com>
49889         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49890         constants to usual value for .cst8 section, and remove redundant
49891         high address load.
49892         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49893         constant for 0x1p52.  Load little-endian words of double from
49894         correct stack offsets.
49896 2013-10-04  Alan Modra  <amodra@gmail.com>
49898         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49899         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49900         words of double from correct stack offsets.
49901         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49902         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49903         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49904         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49905         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49906         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49907         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49908         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49909         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49910         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49911         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49912         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49913         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49914         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49915         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49916         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49917         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49919 2013-10-04  Alan Modra  <amodra@gmail.com>
49921         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49922         64-bit int/double union.
49923         (_FPU_SETCW): Likewise.
49924         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49925         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49927 2013-10-04  Alan Modra  <amodra@gmail.com>
49929         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49930         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49932 2013-10-04  Alan Modra  <amodra@gmail.com>
49934         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49935         use vector int constants.
49936         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49938 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49940         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49941         array with long long.
49942         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49943         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49944         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49945         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49946         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49947         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49948         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49949         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49950         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49951         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49952         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49953         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49954         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49956 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49958         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49959         (__signbit): Likewise.  Correct for little-endian.
49960         (__signbitl): Call __signbit.
49961         (lrint): Correct for little-endian.
49962         (lrintf): Call lrint.
49964 2013-10-04  Alan Modra  <amodra@gmail.com>
49966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49967         union 32-bit int array member with 64-bit int array.
49968         (t515, tm256): Double rather than long double.
49969         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49971 2013-10-04  Alan Modra  <amodra@gmail.com>
49973         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49974         Delete.
49975         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49977         version of math_ldbl.h.
49979 2013-10-04  Alan Modra  <amodra@gmail.com>
49981         [BZ #15734], [BZ #15735]
49982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49983         all uses of ieee875 long double macros and unions.  Simplify test
49984         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49985         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49986         normalize after ldbl_extract_mantissa, and don't add hidden bit
49987         already handled.  Don't treat low word of ieee854 mantissa like
49988         low word of IBM long double and mask off bit when testing for
49989         zero.
49990         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49991         all uses of ieee875 long double macros and unions.  Simplify tests
49992         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49993         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49994         two1022, instead use their values.  Recognise that tests for large
49995         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49996         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49997         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49998         test for 0.0L and nan.  Correct negation.
49999         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50000         ieee875 long double macros and unions.  Correct output for large
50001         magnitude x.  Correct absolute value calculation.
50002         (__erfcl): Likewise.
50003         * math/libm-test.inc: Add tests for errors discovered in IBM long
50004         double versions of fmodl, remainderl, erfl and erfcl.
50006 2013-10-04  Alan Modra  <amodra@gmail.com>
50008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50009         all uses of ieee854 long double macros and unions.  Simplify tests
50010         for long doubles that are fully specified by the high double.
50011         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50012         Likewise.
50013         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50014         Remove dead code too.
50015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50016         (__ieee754_ynl): Likewise.
50017         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50018         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50019         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50020         Remove dead code too.
50021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50024         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50025         Simplify.
50026         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50027         Simplify.
50028         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50029         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50031         Comment on variable precision.
50032         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50033         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50034         Likewise.
50035         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50036         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50037         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50038         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50039         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50041 2013-10-04  Alan Modra  <amodra@gmail.com>
50043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50044         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50045         all uses of ieee854 long double macros and unions.
50046         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50048         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50050         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50051         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50052         Likewise.
50053         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50054         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50055         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50056         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50057         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50058         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50059         Simplify sign and nan test too.
50060         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50061         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50062         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50063         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50064         Likewise.
50065         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50066         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50067         Likewise.
50068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50069         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50070         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50071         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50072         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50075 2013-10-04  Alan Modra  <amodra@gmail.com>
50077         * stdio-common/printf_size.c (__printf_size): Don't use
50078         union ieee854_long_double in fpnum union.
50079         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50080         signbit macro to retrieve sign from long double.
50081         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50082         retrieve sign from long double.
50083         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50084         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50085         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50086         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50087         * math/test-misc.c (main): Don't use union ieee854_long_double.
50089 2013-10-04  Alan Modra  <amodra@gmail.com>
50091         [BZ #15680]
50092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50093         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50094         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50095         calculation.  Remove unnecessary test for denormal exponent.
50096         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50097         Correct handling of denormals.  Avoid undefined shift behaviour.
50098         Correct normalisation of low mantissa when low double is denormal.
50099         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50100         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50101         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50102         Correct normalisation of low mantissa.  Test for overflow of high
50103         mantissa and normalise.
50104         (ldbl_nearbyint): Use more readable constant for two52.
50105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50106         (__mpn_construct_long_double): Fix test for overflow of high
50107         mantissa and correct normalisation.  Avoid undefined shift.
50109 2013-10-04  Alan Modra  <amodra@gmail.com>
50111         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50112         (union ibm_extended_long_double): Define as an array of ieee754_double.
50113         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50114         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50115         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50116         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50118         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50120         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50121         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50122         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50123         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50125 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50127         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50128         page size instead of calling getpagesize.
50130         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50131         (LOCFILE_ALIGN_MASK): Likewise.
50132         (LOCFILE_ALIGN_UP): Likewise.
50133         (LOCFILE_ALIGNED_P): Likewise.
50134         * locale/programs/ld-collate.c (collate_output): Use the new
50135         macros instead of __alignof__ (int32_t).
50136         * locale/weight.h (findidx): Likewise.
50138 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50140         [BZ #431]
50141         * manual/string.texi: Fix strncat and wcsncat.
50143 2013-10-03  Brooks Moses  <bmoses@google.com>
50145         [BZ #15915]
50146         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50147         * Makerules: ...here, and adjust associated comments.
50149 2013-10-02  Will Newton  <will.newton@linaro.org>
50151         * malloc/Makefile: Add tst-pvalloc.
50152         * malloc/tst-pvalloc.c: New file.
50154 2013-10-02  Will Newton  <will.newton@linaro.org>
50156         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50157         improve test coverage.
50159 2013-10-02  Will Newton  <will.newton@linaro.org>
50161         * malloc/Makefile: Add tst-posix_memalign.
50162         * malloc/tst-posix_memalign.c: New file.
50164 2013-10-01  Eric Blake  <eblake@redhat.com>
50166         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50167         Use __THROWNL rather than __THROW on static functions.
50169 2013-09-30  Petr Machata  <pmachata@redhat.com>
50171         * elf/elf.h (R_AARCH64_ABS16): New macro.
50172         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50173         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50174         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50175         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50176         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50177         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50178         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50179         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50180         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50181         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50182         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50183         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50184         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50185         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50186         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50187         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50188         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50189         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50190         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50191         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50192         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50193         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50194         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50195         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50196         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50197         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50198         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50199         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50200         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50201         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50202         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50203         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50204         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50205         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50206         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50207         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50208         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50209         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50210         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50211         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50212         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50213         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50214         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50215         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50216         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50217         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50218         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50219         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50220         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50221         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50222         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50223         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50224         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50225         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50226         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50227         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50228         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50229         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50230         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50231         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50232         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50233         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50234         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50235         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50236         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50237         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50238         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50239         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50240         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50241         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50242         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50243         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50244         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50245         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50246         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50247         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50248         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50249         (R_AARCH64_TLSDESC_LDR): Likewise.
50250         (R_AARCH64_TLSDESC_ADD): Likewise.
50251         (R_AARCH64_TLSDESC_CALL): Likewise.
50253 2013-09-30  Andreas Schwab  <schwab@suse.de>
50255         [BZ #15048]
50256         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50257         the nss database lookup.
50258         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50261 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50263         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50265 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50267         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50268         ${Bash-specific parameter/pattern/string} parameter expansion.
50269         * sysdeps/unix/make-syscalls.sh: Likewise.
50271 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50273         * sysdeps/sh/stackguard-macros.h: New file.
50275 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50279         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50280         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50281         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50282         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50284 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50286         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50287         Fix thread ID register.
50289 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50291         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50292         [POSIX || UNIX98]: Require rather than permitting all symbols from
50293         <time.h>.
50294         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50295         element of struct sched_param.
50296         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50297         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50298         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50299         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50300         constant.
50302 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50304         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50305         argument calculation.
50307 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50309         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50310         Expect macro.
50311         [POSIX] (pthread_attr_t): Do not require type.
50312         [POSIX] (pthread_cond_t): Likewise.
50313         [POSIX] (pthread_condattr_t): Likewise.
50314         [POSIX] (pthread_key_t): Likewise.
50315         [POSIX] (pthread_mutex_t): Likewise.
50316         [POSIX] (pthread_mutexattr_t): Likewise.
50317         [POSIX] (pthread_once_t): Likewise.
50318         [POSIX] (pthread_t): Likewise.
50319         [POSIX-based standards] (pthread_atfork): Expect function.
50321 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50322             Richard Sandiford  <richard@codesourcery.com>
50324         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50325         (swap_endianness_p): New extern variable.
50326         (set_big_endian): New inline function.
50327         (maybe_swap_uint32): Likewise.
50328         (maybe_swap_uint32_array): Likewise.
50329         (maybe_swap_uint32_obstack): Likewise.
50330         * locale/programs/locfile.c: Include <stdbool.h>.
50331         (swap_endianness_p): New variable.
50332         (add_locale_uint32): Call maybe_swap_uint32.
50333         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50334         (write_locale_data): Call maybe_swap_uint32_array.
50335         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50336         maybe_swap_uint32.
50337         (obstack_int32_grow_fast): Likewise.
50338         (output_weightwc): Call maybe_swap_uint32_obstack.
50339         (collate_output): Likewise.
50340         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50341         (OPT_LITTLE_ENDIAN): Likewise.
50342         (options): Add --little-endian and --big-endian options.
50343         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50344         * locale/programs/locarchive.c: Include "locfile.h".
50345         (GET): New macro.
50346         (SET): Likewise.
50347         (INC): Likewise.
50348         (create_archive): Use the new macros to access fields of
50349         structures directly mapped from or written to locale archives.
50350         (oldlocrecentcmp): Likewise.
50351         (enlarge_archive): Likewise.
50352         (insert_name): Likewise.
50353         (add_alias): Likewise.
50354         (add_locale): Likewise.
50355         (delete_locales_from_archive): Likewise.
50356         (show_archive_content): Likewise.
50357         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50358         locale data.
50360 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50362         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50363         http://www.gnu.org/doc/freemanuals.texi.
50364         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50366 2013-09-24  Will Newton  <will.newton@linaro.org>
50368         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50369         macro.
50371 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50373         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50374         unsigned char.
50376 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50378         * manual/threads.texi (POSIX Threads): Fix a typo.
50380 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50382         [BZ #14547]
50383         * string/tst-strcoll-overflow.c: New test case.
50384         * string/Makefile (xtests): Add tst-strcoll-overflow.
50385         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50386         cache if string sizes may cause integer overflow.
50388         [BZ #14547]
50389         * string/strcoll_l.c (coll_seq): New members rule, idx,
50390         save_idx and back_us.
50391         (get_next_seq_nocache): New function.
50392         (do_compare_nocache): New function.
50393         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50394         when malloc fails.
50396 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50398         [BZ #15754]
50399         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50400         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50401         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50403         [BZ #15754]
50404         * elf/Makefile (tests): Add tst-ptrguard1.
50405         (tests-static): Add tst-ptrguard1-static.
50406         (tst-ptrguard1-ARGS): Define.
50407         (tst-ptrguard1-static-ARGS): Define.
50408         * elf/tst-ptrguard1.c: New file.
50409         * elf/tst-ptrguard1-static.c: New file.
50410         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50411         * sysdeps/i386/stackguard-macros.h: Likewise.
50412         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50413         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50414         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50415         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50416         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50417         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50419 2013-09-23  Hector Marco  <hecmargi@upv.es>
50420             Ismael Ripoll  <iripoll@disca.upv.es>
50421             Carlos O'Donell  <carlos@redhat.com>
50423         [BZ #15754]
50424         * sysdeps/generic/stackguard-macros.h: Define
50425         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50426         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50427         Define __pointer_chk_guard_local.
50428         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50429         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50431 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50433         [BZ #15859]
50434         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50436 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50438         * include/string.h (__ffs): Declare as hidden.
50439         * string/ffs.c (__ffs): Define as hidden.
50440         * sysdeps/i386/ffs.c (__ffs): Likewise.
50441         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50442         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50443         * sysdeps/s390/ffs.c (__ffs): Likewise.
50444         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50446 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50448         * NEWS: Mention malloc probes.
50450         * malloc/arena.c (new_heap): New memory_heap_new probe.
50451         (grow_heap): New memory_heap_more probe.
50452         (shrink_heap): New memory_heap_less probe.
50453         (heap_trim): New memory_heap_free probe.
50454         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50455         (systrim): New memory_sbrk_less probe.
50456         * manual/probes.texi: Document them.
50458         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50459         * manual/probes.texi: Document it.
50461         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50462         (__libc_realloc): Add memory_realloc_retry probe.
50463         (__libc_memalign): Add memory_memalign_retry probe.
50464         (__libc_valloc): Add memory_valloc_retry probe.
50465         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50466         (__libc_calloc): Add memory_calloc_retry probe.
50467         * manual/probes.texi: Document them.
50469         * malloc/arena.c (get_free_list): Add probe
50470         memory_arena_reuse_free_list.
50471         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50472         and memory_arena_reuse.
50473         (arena_get2) [!PER_THREAD]: Likewise.
50474         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50475         memory_arena_reuse_realloc.
50476         * manual/probes.texi: Document them.
50478         * malloc/malloc.c (__libc_free): Add
50479         memory_mallopt_free_dyn_thresholds probe.
50480         (__libc_mallopt): Add multiple memory_mallopt probes.
50481         * manual/probes.texi: Document them.
50483         * malloc/malloc.c: Include stap-probe.h.
50484         (__libc_mallopt): Add memory_mallopt probe.
50485         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50486         * manual/probes.texi: New.
50487         * manual/Makefile (chapters): Add probes.
50488         * manual/threads.texi: Set next node.
50490 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50492         [BZ #15963, #13985]
50493         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50494         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50495         Add `Chinese' to `nan' entry name.
50497 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50499         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50500         (POLYNOMIAL): Likewise.
50501         (TAYLOR_SINCOS): Likewise.
50502         (TAYLOR_SLOW): Likewise.
50503         (__sin): Use TAYLOR_SINCOS.
50504         (__cos): Likewise.
50505         (slow): Use TAYLOR_SLOW.
50506         (sloww): Likewise.
50507         (bsloww): Likewise.
50508         (csloww): Likewise.
50510 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50512         * stdlib/strtod_l.c: Fix buffer overrun.
50514 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50516         * benchtests/Makefile (bench): Add sincos.
50517         * benchtests/bench-sincos.c: New file.
50519         * math/libm-test.inc (cos_test_data): New test inputs.
50520         (sin_test_data): Likewise.
50522         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50523         macro.
50524         (__sin): Use it.
50525         (__cos): Likewise.
50526         (slow1): Likewise.
50527         (slow2): Likewise.
50528         (sloww1): Likewise.
50529         (sloww2): Likewise.
50530         (bsloww1): Likewise.
50531         (bsloww2): Likewise.
50532         (cslow2): Likewise.
50533         (csloww1): Likewise.
50534         (csloww2): Likewise.
50536         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50537         function.
50538         (__sin): Use it.
50539         (__cos): Likewise.
50541         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50542         gotos.
50543         (__cos): Likewise.
50545 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50547         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50548         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50549         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50550         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50551         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50552         * elf/cache.c (print_entry): Handle the new cache flags.
50554 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50555             Aldy Hernandez  <aldyh@redhat.com>
50557         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50558         Change condition to [_SOFT_FLOAT].
50559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50571         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50574         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50575         declaration.
50577 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50579         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50580         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50581         (__longjmp): Use LOAD_GP to load saved GPRs.
50582         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50583         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50584         (__sigsetjmp): Use SAVE_GP to save GPRs.
50586         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50587         Do not append -msoft-float.
50588         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50590 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50592         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50594 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50596         [BZ #15966]
50597         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50598         (_FPU_GETCW): Use initial "__" on variable and field names but not
50599         on macro parameter name.
50600         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50601         parentheses around reference to macro parameter.
50603 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50605         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50606         prototype.
50607         (ctype_startup): Use uint32_t in cast and sizeof for
50608         ctype->charnames.
50610 2013-09-11  Jia Liu  <proljc@gmail.com>
50612         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50613         __daddr_t_defined.
50614         [__FreeBSD__]: Likewise.
50616 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50619         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50620         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50621         (strchr): Remove __strchr_sse42 ifunc selection.
50622         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50623         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50625 2013-09-11  Will Newton  <will.newton@linaro.org>
50627         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50628         parameter to RES. Remove hardcoded 1000 value.
50629         * benchtests/bench-skeleton.c (main): Pass RES parameter
50630         to TIMING_INIT and multiply result by 1000.
50632 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50636 2013-09-11  Andreas Schwab  <schwab@suse.de>
50638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50639         if not defined.
50640         (O_TMPFILE) [__USE_GNU]: Define.
50641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50642         Define.
50644 2013-09-11  Will Newton  <will.newton@linaro.org>
50646         [BZ #15857]
50647         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50648         does not overflow.
50650 2013-09-11  Will Newton  <will.newton@linaro.org>
50652         [BZ #15856]
50653         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50654         does not overflow.
50656 2013-09-11  Will Newton  <will.newton@linaro.org>
50658         [BZ #15855]
50659         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50660         does not overflow.
50662 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50664         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50666         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50667         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50668         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50670 2013-09-10  Allan McRae  <allan@archlinux.org>
50672         [BZ #15748]
50673         * manual/arith.texi (Parsing of Floats): Clarify
50674         cross-reference.
50676         [BZ #15849]
50677         * manual/install.texi (Running make install): Mention
50678         --enable-pt-chown.
50679         * INSTALL: Regenerated.
50681 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50683         * csu/init-first.c (_init): Remove the !SHARED condition around
50684         FPU control word initialization.
50685         * elf/dl-support.c (_dl_fpu_control): New variable.
50686         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50687         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50688         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50689         * math/test-fpucw-static.c: New file.
50690         * math/test-fpucw-ieee.c: New file.
50691         * math/test-fpucw-ieee-static.c: New file.
50692         * math/Makefile (tests): Add `test-fpucw-ieee' and
50693         `$(tests-static)'.
50694         (tests-static): New variable.
50695         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50696         dependency to...
50697         [($(build-shared),yes)]
50698         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50699         ... this.
50700         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50701         New dependency.
50703 2013-09-09  Allan McRae  <allan@archlinux.org>
50705         [BZ #15939]
50706         * manual/string.texi (Collation Functions): Fix typo in
50707         strcoll example.
50708         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50710         [BZ #15893]
50711         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50713         [BZ #15892]
50714         * libio/memstream.c (open_memstream): Fix memory leak.
50715         * libio/wmemstream.c (open_wmemstream): Likewise.
50717         [BZ #15895]
50718         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50720 2013-09-09  Will Newton  <will.newton@linaro.org>
50722         * malloc/Makefile: Add tst-realloc to tests.
50723         * malloc/tst-realloc.c: New file.
50725 2013-09-09  Allan McRae  <allan@archlinux.org>
50727         [BZ #15844]
50728         * COPYING: Update from GNU website to fix FSF address.
50729         * COPYING.LIB: Likewise.
50731 2013-09-06  David S. Miller  <davem@davemloft.net>
50733         * po/zh_TW.po: Update Chinese (traditional) translation from
50734         translation project.
50736 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50737             Joseph Myers  <joseph@codesourcery.com>
50739         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50740         "localeinfo.h".
50741         (obstack_chunk_alloc): New macro.
50742         (obstack_chunk_free): Likewise.
50743         (record_offset): New function.
50744         (init_locale_data): Likewise.
50745         (align_locale_data): Likewise.
50746         (add_locale_empty): Likewise.
50747         (add_locale_raw_data): Likewise.
50748         (add_locale_raw_obstack): Likewise.
50749         (add_locale_string): Likewise.
50750         (add_locale_wstring): Likewise.
50751         (add_locale_uint32): Likewise.
50752         (add_locale_uint32_array): Likewise.
50753         (add_locale_char): Likewise.
50754         (start_locale_structure): Likewise.
50755         (end_locale_structure): Likewise.
50756         (start_locale_prelude): Likewise.
50757         (end_locale_prelude): Likewise.
50758         (write_locale_data): Take locale_file structure rather than an
50759         iovec.
50760         * locale/programs/locfile.h: Include "obstack.h".
50761         (struct locale_file): Change to store locale file contents instead
50762         of header.
50763         (init_locale_data): New prototype.
50764         (align_locale_data): Likewise.
50765         (add_locale_empty): Likewise.
50766         (add_locale_raw_data): Likewise.
50767         (add_locale_raw_obstack): Likewise.
50768         (add_locale_string): Likewise.
50769         (add_locale_wstring): Likewise.
50770         (add_locale_uint32): Likewise.
50771         (add_locale_uint32_array): Likewise.
50772         (add_locale_char): Likewise.
50773         (start_locale_structure): Likewise.
50774         (end_locale_structure): Likewise.
50775         (start_locale_prelude): Likewise.
50776         (end_locale_prelude): Likewise.
50777         (write_locale_data): Update prototype.
50778         * locale/programs/3level.h (struct TABLE): Remove result field.
50779         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50780         Use new locale_file interface.
50781         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50782         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50783         * locale/programs/ld-address.c (address_output): Use new
50784         locale_file interface.
50785         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50786         NO_ADD_LOCALE.
50787         (collate_finish): Don't call collseq_table_finalize.
50788         (collate_output): Use new locale_file interface.
50789         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50790         in file.
50791         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50792         (TABLE): Move defines earlier in file.
50793         (ELEMENT): Likewise.
50794         (DEFAULT): Likewise.
50795         (wctrans_table_add): Move macro and inline function earlier in
50796         file.
50797         (struct wctype_table): Move type earlier in file.
50798         (add_locale_wctype_table): New static prototype.
50799         (struct locale_ctype_t): Use logical types instead of struct iovec
50800         pointers for members.
50801         (ctype_output): Use new locale_file interface.
50802         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50803         new locale_file interface.
50804         (allocate_arrays): Update for use of new locale_file interface.
50805         * locale/programs/ld-identification.c (identification_output): Use
50806         new locale_file interface.
50807         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50808         * locale/programs/ld-messages.c (messages_output): Likewise.
50809         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50810         * locale/programs/ld-name.c (name_output): Likewise.
50811         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50812         * locale/programs/ld-paper.c (paper_output): Likewise.
50813         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50814         * locale/programs/ld-time.c (time_output): Likewise.
50816 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50818         * benchtests/Makefile: Add memrchr benchmark.
50819         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50820         benchmark as memrchr.
50821         * benchtests/bench-memrchr-ifunc.c: New file.
50822         * benchtests/bench-memrchr.c: New file.
50824 2013-09-06   Will Newton  <will.newton@linaro.org>
50826         * benchtests/Makefile (string-bench): Add memcpy.
50828 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50829             Cong Wang  <amwang@redhat.com>
50831         [BZ #15850]
50832         * sysdeps/unix/sysv/linux/bits/in.h
50833         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50834         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50835         before __USE_KERNEL_IPV6_DEFS uses.
50836         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50837         IPPROTO_BEETPH.
50838         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50839         sockaddr_in6, or ipv6_mreq.
50841 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50843         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50844         memory access for final bytes in some large inputs.
50845         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50847 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50849         * string/test-memrchr.c: New file.
50850         * string/test-memrchr-ifunc.c: New file.
50851         * string/Makefile: Add new memrchr testcase.
50853 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50855         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50856         fanotify_init returns EPERM.
50858 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50860         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50861         errors.
50862         (top level): Treat second token from macro or constant entries for
50863         allowed headers as allowed.
50864         * include/complex.h: Condition internal declarations on
50865         [!_ISOMAC].
50866         * include/fenv.h: Condition include of <stdbool.h> and internal
50867         declarations on [!_ISOMAC].
50869 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50871         [BZ #15923]
50872         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50874 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50876         * configure.in (--enable-versioning): Remove configure option.
50877         (libc_cv_asm_symver_directive): Remove configure test.
50878         (libc_cv_ld_version_script_option): Likewise.
50879         (VERSIONING): Remove variable and AC_SUBST.
50880         (DO_VERSIONING): Remove AC_DEFINE.
50881         * configure: Regenerated.
50882         * config.h.in (DO_VERSIONING): Remove macro.
50883         * Makerules [$(versioning) = yes]: Change conditionals to
50884         [$(build-shared) = yes].
50885         * config.make.in (versioning): Remove variable.
50886         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50887         [$(build-shared) = yes].
50888         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50889         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50890         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50891         [$(build-shared) = yes].
50892         * extra-lib.mk [$(versioning) = yes]: Likewise.
50893         * hurd/Makefile [$(versioning) = yes]: Likewise.
50894         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50895         [SHARED].
50896         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50897         [SHARED].
50898         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50899         [SHARED && !NO_HIDDEN].
50900         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50901         [SHARED].
50902         [SHARED && DO_VERSIONING]: Likewise..
50903         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50904         [$(build-shared) = yes].
50905         * manual/install.texi (--disable-versioning): Remove
50906         documentation.
50907         * INSTALL: Regenerated.
50908         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50909         to [SHARED].
50910         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50911         [$(build-shared) = yes].
50912         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50913         * sysdeps/i386/i686/multiarch/strstr-c.c
50914         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50915         [SHARED && !NO_HIDDEN].
50916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50917         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50918         * sysdeps/powerpc/powerpc32/dl-machine.c
50919         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50920         * sysdeps/powerpc/powerpc32/sysdep.h
50921         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50922         to [SHARED && PIC && !NO_HIDDEN].
50923         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50924         conditional to [SHARED].
50926 2013-09-04   Will Newton  <will.newton@linaro.org>
50928         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50929         * benchtests/bench-string.h: Include bench-timing.h instead
50930         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50931         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50932         call to HP_TIMING_DIFF_INIT.
50933         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50934         instead of hp-timing.h macros.
50935         * benchtests/bench-memchr.c: Likewise.
50936         * benchtests/bench-memcmp.c: Likewise.
50937         * benchtests/bench-memcpy.c: Likewise.
50938         * benchtests/bench-memmem.c: Likewise.
50939         * benchtests/bench-memmove.c: Likewise.
50940         * benchtests/bench-memset.c: Likewise.
50941         * benchtests/bench-rawmemchr.c: Likewise.
50942         * benchtests/bench-strcasecmp.c: Likewise.
50943         * benchtests/bench-strcasestr.c: Likewise.
50944         * benchtests/bench-strcat.c: Likewise.
50945         * benchtests/bench-strchr.c: Likewise.
50946         * benchtests/bench-strcmp.c: Likewise.
50947         * benchtests/bench-strcpy.c: Likewise.
50948         * benchtests/bench-strcpy_chk.c: Likewise.
50949         * benchtests/bench-strlen.c: Likewise.
50950         * benchtests/bench-strncasecmp.c: Likewise.
50951         * benchtests/bench-strncat.c: Likewise.
50952         * benchtests/bench-strncmp.c: Likewise.
50953         * benchtests/bench-strncpy.c: Likewise.
50954         * benchtests/bench-strnlen.c: Likewise.
50955         * benchtests/bench-strpbrk.c: Likewise.
50956         * benchtests/bench-strrchr.c: Likewise.
50957         * benchtests/bench-strspn.c: Likewise.
50958         * benchtests/bench-strstr.c: Likewise.
50960 2013-09-04  Will Newton  <will.newton@linaro.org>
50962         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50964 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50966         [BZ #15427]
50967         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50968         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50969         * math/libm-test.inc (lgamma_test_data): Add more tests.
50970         * sysdeps/i386/fpu/libm-test-ulps: Update.
50971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50973 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50975         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50977         Add ifunc.
50978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50979         Add strcmp-sse2-unaligned
50980         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50982 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50984         * Versions.def (libc): Add GLIBC_2.19.
50986 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50988         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50989         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50991 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50993         [BZ #14155]
50994         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50995         intermediate calculations in recurrence.
50996         (__ieee754_ynf): Likewise.
50997         * math/libm-test.inc (jn_test_data): Do not allow spurious
50998         underflow exception.  Add more tests.
50999         (yn_test_data): Add more tests.
51000         * sysdeps/i386/fpu/libm-test-ulps: Update.
51001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51003 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51007 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51009         * csu/init-first.c: Fix then/than typos.
51010         * locale/programs/ld-collate.c: Likewise.
51011         * locale/programs/linereader.h: Likewise.
51012         * manual/charset.texi: Likewise.
51013         * manual/filesys.texi: Likewise.
51014         * manual/stdio.texi: Likewise.
51015         * manual/string.texi: Likewise.
51016         * stdlib/fmtmsg.c: Likewise.
51017         * sysdeps/i386/stpncpy.S: Likewise.
51018         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51019         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51020         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51021         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51023 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51025         * elf/dl-open.c: Fix typos.
51026         * iconvdata/gbbig5.c: Likewise.
51027         * iconvdata/iso-2022-jp.c: Likewise.
51028         * iconv/gconv_int.h: Likewise.
51029         * iconv/loop.c: Likewise.
51030         * nis/rpcsvc/nis.h: Likewise.
51031         * resolv/ns_name.c: Likewise.
51032         * stdio-common/vfscanf.c: Likewise.
51033         * streams/stropts.h: Likewise.
51034         * sunrpc/rpc_thread.c: Likewise.
51035         * sysdeps/i386/strpbrk.S: Likewise.
51036         * sysdeps/ieee754/k_standard.c: Likewise.
51037         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51039         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51040         * sysdeps/mach/hurd/profil.c: Likewise.
51041         * sysdeps/s390/dl-procinfo.h: Likewise.
51042         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51043         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51044         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51045         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51046         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51048 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51050         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51053 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51055         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51056         aix specific files.
51057         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51058         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51059         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51060         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51061         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51062         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51063         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51064         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51066 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51067             Roland McGrath  <roland@hack.frob.com>
51069         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51070         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51072 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51074         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51075         __executable_start symbol instead of _start.
51077 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51079         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51080         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51081         Move macros to...
51082         * sysdeps/gnu/ldsodefs.h: ... this new file.
51084         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51085         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51086         instead of ELFOSABI_LINUX.
51088         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51089         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51090         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51091         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51092         Likewise.
51093         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51094         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51095         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51096         Likewise.
51097         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51098         (ibm_extended_long_double): Add ieee_nan member.
51099         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51100         (do_test): New function.
51102         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51103         TEST_TRUNC.
51104         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51105         functions, renamed from truncdfsf_test, trunctfsf_test,
51106         trunctfdf_test.
51107         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51108         functions.
51109         (do_test): Run all these.
51111 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51113         * argp/argp-help.c: Fix typos.
51114         * argp/argp-parse.c: Likewise.
51115         * debug/backtracesyms.c: Likewise.
51116         * elf/elf.h: Likewise.
51117         * malloc/malloc.c: Likewise.
51118         * nis/nis_print.c: Likewise.
51119         * resolv/res_comp.c: Likewise.
51120         * stdlib/stdlib.h: Likewise.
51121         * sunrpc/clnt_tcp.c: Likewise.
51122         * sunrpc/clnt_udp.c: Likewise.
51123         * sunrpc/clnt_unix.c: Likewise.
51124         * sysdeps/unix/bsd/ptsname.c: Likewise.
51125         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51126         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51128         Likewise.
51129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51130         Likewise.
51131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51132         Likewise.
51133         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51135 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51137         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51140 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51142         [BZ #15897]
51143         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51144         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51145         ($(objpfx)bug-dl-leaf): New rule.
51146         ($(objpfx)bug-dl-leaf.so): Likewise.
51147         ($(objpfx)bug-dl-leaf.out): Likewise.
51148         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51149         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51150         * dlfcn/bug-dl-leaf.c: New test.
51151         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51152         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51153         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51154         (dlclose): Likewise.
51155         (dlmopen): Likewise.
51157 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51159         * include/netdb.h [!_ISOMAC]:
51160         Don't include <tls.h>.
51161         (h_errno, __libc_h_errno): Move declaration and macros out of
51162         [_LIBC_REENTRANT].
51164         * include/resolv.h [_RESOLV_H_]:
51165         Don't include <tls.h>.
51166         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51167         * resolv/res_libc.c: Don't include <tls.h>.
51168         (_res): Use __attribute__ ((nocommon)) in place of
51169         __attribute__ ((section (".bss"))).
51171         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51172         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51174         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51176         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51177         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51179         * resolv/res_mkquery.c: Include <sys/time.h>.
51181         * inet/ifreq.c: Moved to ...
51182         * sysdeps/unix/ifreq.c: ... here.
51183         * inet/ifreq.c: New file, true stub version.
51185         * socket/sa_len.c: New file.
51186         * socket/Makefile (aux): Add it.
51187         * sysdeps/unix/sysv/linux/Makefile
51188         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51189         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51190         and #include <socket/sa_len.c>.
51191         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51192         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51194         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51195         * bits/socket.h: ... here.
51197         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51198         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51199         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51201 2013-08-27  Andreas Schwab  <schwab@suse.de>
51203         [BZ #15736]
51204         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51205         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51206         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51207         * string/test-strcasecmp.c (test_main): Run tests in several
51208         locales.
51209         * string/test-strncasecmp.c (test_main): Likewise.
51211         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51212         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51213         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51214         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51215         (__strncasecmp_ssse3) [PIC]: Likewise.
51217 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51219         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51221         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51222         instead of explicitly declaring xdecrypt.
51223         * nis/nss_nis/nis-publickey.c: Likewise.
51225 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51227         [BZ #15890]
51228         * nscd/aicache.c: Include res_hconf.h.
51229         (addhstaiX): Initialize res_hconf.
51231 2013-08-26  Andreas Schwab  <schwab@suse.de>
51233         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51234         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51236 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51238         * nscd/aicache.c (addhstaiX): Fix indentation.
51240 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51242         * configure.ac: Quote $build_pt_chown test.
51243         * configure: Regenerated.
51245 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51247         [BZ #15532]
51248         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51249         * math/s_cexpf.c (__cexpf): Likewise.
51250         * math/s_cexpl.c (__cexpl): Likewise.
51251         * math/libm-test.inc (cexp_test_data): Correct expected return
51252         value for NaN + i0.  Add another test.
51254 2013-08-22  David S. Miller  <davem@davemloft.net>
51256         * po/ca.po: Update Catalan translation from translation project.
51257         * po/uk.po: Add Ukrainian translations from translation project.
51259 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51261         [BZ #15797]
51262         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51263         is infinite, not alongside NaN test.
51264         * math/s_fdimf.c (__fdimf): Likewise.
51265         * math/s_fdiml.c (__fdiml): Likewise.
51266         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51267         errno is unchanged.
51269 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51271         * argp/argp-help.c: Fix typos.
51272         * crypt/speeds.c: Likewise.
51273         * csu/check_fds.c: Likewise.
51274         * elf/dl-load.c: Likewise.
51275         * elf/dl-open.c: Likewise.
51276         * elf/reldep3.c: Likewise.
51277         * elf/reldep.c: Likewise.
51278         * elf/sprof.c: Likewise.
51279         * iconv/iconv_charmap.c: Likewise.
51280         * iconv/skeleton.c: Likewise.
51281         * iconv/strtab.c: Likewise.
51282         * io/lockf64.c: Likewise.
51283         * libio/libioP.h: Likewise.
51284         * resolv/gai_notify.c: Likewise.
51285         * resolv/ns_name.c: Likewise.
51286         * resolv/ns_samedomain.c: Likewise.
51287         * resolv/res_send.c: Likewise.
51288         * stdlib/random.c: Likewise.
51289         * sunrpc/rpc/xdr.h: Likewise.
51290         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51291         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51292         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51293         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51294         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51295         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51296         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51297         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51298         * sysdeps/mach/hurd/check_fds.c: Likewise.
51299         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51300         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51301         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51302         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51303         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51304         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51305         * sysdeps/pthread/aio_notify.c: Likewise.
51306         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51307         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51308         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51309         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51310         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51312 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51314         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51315         version if bit_Slow_SSE4_2 is set.
51316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51317         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51319 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51321         [BZ #15867]
51322         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51323         trampoline stack frame information.
51324         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51325         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51326         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51327         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51328         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51329         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51330         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51331         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51332         sa_flags value.
51333         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51334         interrupting a syscall and set with option SA_SIGINFO.
51336 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51338         [BZ #15531]
51339         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51340         argument is infinite.
51341         * math/s_cprojf.c (__cprojf): Likewise.
51342         * math/s_cprojl.c (__cprojl): Likewise.
51343         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51344         * math/libm-test.inc (cproj_test_data): Add more tests.
51346         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51348         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51349         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51350         size.  Use __ffs to determine corresponding shift.
51352 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51353             Roland McGrath  <roland@hack.frob.com>
51355         * Makefile (INSTALL): Remove trailing blank lines from output of
51356         makeinfo.
51358 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51360         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51361         Align 32 bit compat elf_greg to 8 bytes.
51363 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51365         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51367 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51369         * string/strcoll_l.c (coll_seq): New structure.
51370         (get_next_seq_cached): New function.
51371         (get_next_seq): New function.
51372         (do_compare): New function.
51373         (STRCOLL): Use GNU style definition.  Simplify implementation
51374         by using get_next_seq, get_next_seq_cached and do_compare.
51376 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51378         [BZ #14699]
51379         CVE-2013-4237
51380         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51381         member.
51382         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51383         member.
51384         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51385         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51386         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51387         conditional.
51388         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51389         GETDENTS_64BIT_ALIGNED.
51390         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51391         * manual/filesys.texi (Reading/Closing Directory): Document
51392         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51393         strongly.
51394         * manual/conf.texi (Limits for Files): Add portability note to
51395         NAME_MAX, PATH_MAX.
51396         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51398 2013-08-13  Andreas Schwab  <schwab@suse.de>
51400         [BZ #15749]
51401         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51402         of fabs.
51403         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51404         LDBL_MAX_EXP >= 16384]: Add tests for it.
51406 2013-08-12  David S. Miller  <davem@davemloft.net>
51408         * version.h (RELEASE): Set to "development".
51409         (VERSION): Set to "2.18.90".
51410         * NEWS: Add 2.19 section.
51412 2013-08-03  David S. Miller  <davem@davemloft.net>
51414         * po/ko.po: Update Korean translation from translation project.
51416 2013-08-01  David S. Miller  <davem@davemloft.net>
51418         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51419         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51420         Bilka.
51422 2013-07-30  David S. Miller  <davem@davemloft.net>
51424         * po/fr.po: Update French translation from translation project.
51426 2013-07-28  David S. Miller  <davem@davemloft.net>
51428         * po/cs.po: Update Czech translation from translation project.
51430         * po/sv.po: Update Swedish translation from translation project.
51432 2013-07-27  David S. Miller  <davem@davemloft.net>
51434         * po/eo.po: Update Esperanto translation from translation project.
51436         * po/vi.po: Update Vietnamese translation from translation project.
51438         * po/de.po: Update German translation from translation project.
51440 2013-07-26  David S. Miller  <davem@davemloft.net>
51442         * po/bg.po: Update Bulgarian translation from translation project.
51444         * po/nl.po: Update Dutch translation from translation project.
51445         * po/pl.po: Update Polish translation from translation project.
51446         * po/ru.po: Update Russian translation from translation project.
51448 2013-07-24  David S. Miller  <davem@davemloft.net>
51450         * po/libc.pot: Update.
51452 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51454         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51455         variable page size.
51456         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51457         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51458         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51460 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51462         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51464 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51465             Andreas Schwab  <schwab@suse.de>
51466             Roland McGrath  <roland@hack.frob.com>
51467             Joseph Myers  <joseph@codesourcery.com>
51468             Carlos O'Donell  <carlos@redhat.com>
51470         [BZ #15755]
51471         * config.h.in: Define HAVE_PT_CHOWN.
51472         * config.make.in (build-pt-chown): New variable.
51473         * configure.in (--enable-pt_chown): New configure option.
51474         * configure: Regenerate.
51475         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51476         build-pt-chown is enabled.
51477         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51478         pt_chown to fix pty ownership.
51479         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51480         CLOSE_ALL_FDS.
51481         * manual/install.texi (Configuring and compiling): Mention
51482         --enable-pt_chown. Add @findex for grantpt.
51483         * INSTALL: Regenerate.
51485 2013-07-20  David S. Miller  <davem@davemloft.net>
51487         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51488         difference between 32-bit and 64-bit.
51490 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51492         [BZ #15711]
51493         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51494         Avoid system header dependency with -ffreestanding.
51495         ($(objpfx)bits/syscall%d): Likewise.
51497 2013-07-13  David S. Miller  <davem@davemloft.net>
51499         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51500         underflows from atanl/atan2l due to bug 15319.
51501         (casinh_test_data): Likewise.
51503 2013-07-07  David S. Miller  <davem@davemloft.net>
51505         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51507 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51509         * sysdeps/i386/fpu/libm-test-ulps: Update.
51510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51512 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51514         * configure.in (--enable-lock-elision): Fix message text.
51515         * INSTALL: Regenerate.
51516         * configure: Regenerate.
51518 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51522 2013-07-03  Andreas Jaeger  <aj@suse.de>
51524         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51525         define.
51526         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51527         (ptrace_peeksiginfo_args): Add.
51528         (__ptrace_peeksiginfo_flags): Add.
51529         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51533 2013-07-03  Allan McRae  <allan@archlinux.org>
51535         * sysdeps/i386/fpu/libm-test-ulps: Update.
51537 2013-07-02  David S. Miller  <davem@davemloft.net>
51539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51541 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51545 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51547         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51550 2013-07-02  Andi Kleen <ak@linux.intel.com>
51552         * config.h.in (ENABLE_LOCK_ELISION): Add.
51553         * configure.in (--enable-lock-elision): Add option.
51554         * manual/install.texi: Document --enable lock elision.
51555         * configure: Regenerate
51556         * INSTALL: Regenerate.
51558 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51560         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51561         SSE4.2 strcasecmp for libc.a.
51562         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51564 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51566         [BZ #13304]
51567         * soft-fp/op-common.h (_FP_FMA): New macro.
51568         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51569         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51570         (_FP_MUL_MEAT_1_imm): ... here.
51571         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51572         (_FP_MUL_MEAT_1_wide): ... here.
51573         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51574         (_FP_MUL_MEAT_1_hard): ... here.
51575         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51576         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51577         (_FP_MUL_MEAT_2_wide): ... here.
51578         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51579         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51580         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51581         (_FP_MUL_MEAT_2_gmp): ... here.
51582         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51583         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51584         (_FP_MUL_MEAT_4_wide): ... here.
51585         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51586         (_FP_MUL_MEAT_4_gmp): ... here.
51587         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51588         (_FP_WFRACBITS_DW_S): Likewise.
51589         (_FP_WFRACXBITS_DW_S): Likewise.
51590         (_FP_HIGHBIT_DW_S): Likewise.
51591         (FP_FMA_S): Likewise.
51592         (_FP_FRAC_HIGH_DW_S): Likewise.
51593         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51594         (_FP_WFRACBITS_DW_D): Likewise.
51595         (_FP_WFRACXBITS_DW_D): Likewise.
51596         (_FP_HIGHBIT_DW_D): Likewise.
51597         (FP_FMA_D): Likewise.
51598         (_FP_FRAC_HIGH_DW_D): Likewise.
51599         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51600         (_FP_WFRACBITS_DW_E): Likewise.
51601         (_FP_WFRACXBITS_DW_E): Likewise.
51602         (_FP_HIGHBIT_DW_E): Likewise.
51603         (FP_FMA_E): Likewise.
51604         (_FP_FRAC_HIGH_DW_E): Likewise.
51605         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51606         (_FP_WFRACBITS_DW_Q): Likewise.
51607         (_FP_WFRACXBITS_DW_Q): Likewise.
51608         (_FP_HIGHBIT_DW_Q): Likewise.
51609         (FP_FMA_Q): Likewise.
51610         (_FP_FRAC_HIGH_DW_Q): Likewise.
51611         * soft-fp/fmasf4.c: New file.
51612         * soft-fp/fmadf4.c: Likewise.
51613         * soft-fp/fmatf4.c: Likewise.
51615 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51618         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51619         Silvermont.
51620         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51621         macro.
51622         (index_Slow_SSE4_2): Likewise.
51623         (index_Prefer_PMINUB_for_stringop): Likewise.
51624         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51625         bit_Slow_SSE4_2 is set.
51626         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51627         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51629 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51631         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51632         rtld_global._dl_hwcap2.
51633         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51634         POWER8.
51635         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51636         POWER8 feature descriptions defined in _dl_hwcap2.
51637         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51638         string handling for POWER8 feature bits.
51639         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51640         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51641         _dl_powerpc_cap_flags.
51642         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51643         * sysdeps/powerpc/rtld-global-offsets.sym
51644         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51645         _dl_hwcap2 in the rtld_global_ro structure.
51647 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51649         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51650         hardware capabilities in support of AT_HWCAP2.
51651         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51652         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51653         GLRO(dl_hwcap2).
51654         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51655         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51656         explicitly the unknown a_type display mechanism is used.
51657         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51658         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51659         struct member.
51660         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51661         to macro prototype for AT_HWCAP2 support.
51662         * sysdeps/i386/dl-procinfo.h: Likewise.
51663         * sysdeps/s390/dl-procinfo.h: Likewise.
51664         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51665         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51666         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51667         return -1 for unknown a_type display fallback.
51668         * sysdeps/sparc/dl-procinfo.h: Likewise.
51669         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51670         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51672 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51674         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51675         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51677 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51679         [BZ #12492]
51680         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51681         mprotect making __stack_prot writable.
51683 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51684             Joseph Myers  <joseph@codesourcery.com>
51686         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51687         as being properly aligned.
51689 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51691         * dlfcn/modstatic5.c: New file.
51692         * dlfcn/tststatic5.c: New file.
51693         * dlfcn/Makefile (tests): Add tststatic5.
51694         (tests-static): Likewise.
51695         (modules-names): Add modstatic5.
51696         (tststatic5-ENV): New variable.
51697         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51699         [BZ #15022]
51700         * elf/dl-support.c (_dl_main_map): New variable.
51701         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51702         (_dl_nns, _dl_load_adds): Set to 1.
51703         (_dl_initial_searchlist): Refer to _dl_main_map.
51704         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51705         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51706         call to _dl_get_origin.
51707         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51708         around call_map.
51709         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51710         * dlfcn/modstatic3.c: New file.
51711         * dlfcn/tststatic3.c: New file.
51712         * dlfcn/tststatic4.c: New file.
51713         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51714         (tests-static): Likewise.
51715         (modules-names): Add modstatic3.
51716         (tststatic3-ENV, tststatic4-ENV): New variables.
51717         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51718         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51720 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51722         * configure.in (CC): Require GCC version 4.4 or later.
51723         * configure: Regenerated.
51724         * manual/install.texi (Tools for Compilation): Update GCC version
51725         requirement.
51726         * INSTALL: Regenerated.
51728 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51730         [BZ #15674]
51731         * string/test-memcmp.c (check2): New.
51732         (main): Call check2.
51734         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51736 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51738         [BZ #15022]
51739         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51740         over to...
51741         (dl_open_worker) [!SHARED]: ... here.
51743 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51745         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51747 2013-06-25  Richard Henderson  <rth@redhat.com>
51749         * locale/programs/locarchive.c: Include <libc-internal.h>
51751 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51753         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51754         trailing whitespace removed.
51756 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51758         [BZ #10283]
51759         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51760         * locale/programs/locarchive.c: Include libc-mmap.h.
51761         (prepare_address_space): Take two new outputs (the mmap base and len).
51762         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51763         values.
51764         (create_archive): Declare new mmap base and len values for
51765         prepare_address_space, and store the result in ah.
51766         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51767         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51768         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51769         Declare new mmap base and len values for
51770         prepare_address_space, and store the result in new_ah.
51771         (open_archive): Declare new mmap base and len values for
51772         prepare_address_space, and store the result in ah.
51773         (close_archive): If ah->mmap_base is not NULL, use that and
51774         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51775         * sysdeps/generic/libc-mmap.h: New file.
51777 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51779         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51780         (ALIGN_UP): Likewise.
51781         (PTR_ALIGN_DOWN): Likewise.
51782         (PTR_ALIGN_UP): Likewise.
51784 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51786         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51787         entry mapped to PPC_PLATFORM_POWER8.
51788         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51789         POWER8.
51790         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51791         (_dl_string_platform): Add case for exporting platform position for
51792         POWER8.
51793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51794         search path to sysdeps/powerpc/powerpc32/power8 directory.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51796         search path to sysdeps/powerpc/powerpc64/power8 directory.
51797         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51798         power7 directories.
51799         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51800         power7 directories.
51802 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51804         * INSTALL: Regenerate.
51806         * nscd/connections.c (nscd_init): Fix comment.
51808 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51810         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51812         [BZ #15667]
51813         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51814         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51816 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51818         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51819         DL_DST_REQ_STATIC.
51820         (DL_DST_REQ_STATIC): Remove macro.
51822 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51824         [BZ #7006]
51825         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51826         with a shift of 0 bits.
51828 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51830         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51831         $(tststatic-ENV).
51833 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51835         [BZ #15655]
51836         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51838 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51840         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51841         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51842         accepts -fno-tree-loop-distribute-patterns.
51843         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51844         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51845         recursive call.
51846         * string/memset.c (memset): Likewise.
51847         * string/test-memmove.c (simple_memmove): Disable loop transformation
51848         to library calls.
51849         * string/test-memset.c (simple_memset): Likewise.
51850         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51851         * benchtests/bench-memset.c (simple_memset): Likewise.
51852         * configure: Regenerated.
51854 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51856         * math/test-misc.c (main): Ignore fesetround failure when failures
51857         of subsequent rounding tests would be ignored.
51859         [BZ #15654]
51860         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51861         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51862         * math/fegetenv.c (__fegetenv): Return 0.
51863         * math/fegetexcept.c (fegetexcept): Return 0.
51864         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51865         FE_TONEAREST.
51866         * math/feholdexcpt.c (feholdexcept): Return 0.
51867         * math/fesetenv.c (__fesetenv): Return 0.
51868         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51869         argument FE_TONEAREST.
51870         * math/feupdateenv.c (__feupdateenv): Return 0.
51871         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51873 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51875         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51876         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51877         ($(objpfx)rtld-%.os rules): Use them.
51879 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51881         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51882         fields.
51884 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51886         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51887         length of target pattern, then descending length of dependency pattern.
51888         * configure.in (AWK): Require gawk 3.1.2 or newer.
51889         * manual/install.texi (Tools for Compilation): Say that we do.
51890         * configure: Regenerated.
51892         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51893         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51894         * scripts/sysd-rules.awk: ... this new script.
51895         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51896         than a glob-style pattern.
51898 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51900         * math/test-misc.c (main): Do not treat incorrectly rounded
51901         conversions as failure unless ROUNDING_TESTS passes.
51903 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51905         [BZ #15631]
51906         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51907         restore exception state around main square root computation, then
51908         check for inexactness explicitly.
51910         * math/libm-test.inc (fma_test_data): Add another test.
51912 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51914         * manual/threads.texi (Non-POSIX Extensions): New document
51915         node.  Document pthread_getattr_default_np and
51916         pthread_setattr_default_np.
51918         * Versions.def (libpthread): Add GLIBC_2.18.
51919         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51921         Likewise.
51922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51923         Likewise.
51924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51925         Likewise.
51926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51927         Likewise.
51928         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51929         Likewise.
51930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51931         Likewise.
51932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51933         Likewise.
51934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51935         Likewise.
51936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51937         Likewise.
51939 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51942         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51944 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51945             H.J. Lu  <hjl.tools@gmail.com>
51947         [BZ #15627]
51948         * sysdeps/x86_64/rtld-memset.c: Remove file.
51949         * sysdeps/x86_64/rtld-memset.S: New file.
51951 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51953         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51954         (test_in_one_mode): Take arguments for whether the rounding mode
51955         is supported for each floating-point type.
51956         (do_test): Pass new arguments to test_in_one_mode using
51957         ROUNDING_TESTS.
51959 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51961         * posix/tst-waitid.c (do_test): Distinguish different instances of
51962         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51963         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51964         before entering the kernel for waitpid.
51966 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51968         * NEWS: Fix note on clock function precision.  Text by Roland
51969         McGrath.
51971 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51973         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51974         it into place only when and if the sanity check passes.
51976 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51978         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51979         output for whether conversion result is exact.  Take argument
51980         indicating whether type is IBM long double.
51981         (round_for_all): Change need_exact field to ibm_ld.
51982         * stdlib/tst-strtod-round.c (struct exactness): New type.
51983         (struct test): Change bool ld_ok field to struct exactness exact.
51984         (TEST): Update all definitions for change to field.
51985         (tests): Regenerate array contents.
51986         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51987         field value.  Check for IBM long double here.
51988         (do_test): Update calls to test_in_one_mode.
51990 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51992         [BZ #12515]
51993         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51994         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51996 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51998         [BZ #15605]
51999         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52000         generated by the compiler on loop optimizations.
52001         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52002         general definitions.
52004 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52006         * math/bug-nextafter.c: Include <math-tests.h>.
52007         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52008         the relevant type.
52009         * math/bug-nexttoward.c: Include <math-tests.h>.
52010         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52011         the relevant type.
52012         * math/test-misc.c: Include <math-tests.h>.
52013         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52014         the relevant type.
52016 2013-06-12  Andreas Jaeger  <aj@suse.de>
52018         * po/ia.po: Update Interlingua translation from translation
52019         project.
52021 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52023         * include/fenv.h: Include stdbool.h.
52024         (struct rm_ctx): New structure.
52025         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52026         Define macro.
52027         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52028         (SET_RESTORE_ROUNDF): Likewise.
52029         (SET_RESTORE_ROUNDL): Likewise.
52030         (SET_RESTORE_ROUND_NOEX): Likewise.
52031         (SET_RESTORE_ROUND_NOEXF): Likewise.
52032         (SET_RESTORE_ROUND_NOEXL): Likewise.
52033         (SET_RESTORE_ROUND_53BIT): Likewise.
52034         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52035         (libc_feresetround_noexf_ctx): Likewise.
52036         (libc_feresetround_noexl_ctx): Likewise.
52037         (libc_feholdsetround_53bit_ctx): Likewise.
52038         (libc_feresetround_53bit_ctx): Likewise.
52039         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52040         (libc_feholdexcept_setround_sse_ctx): New function.
52041         (libc_fesetenv_sse_ctx): Likewise.
52042         (libc_feupdateenv_sse_ctx): Likewise.
52043         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52044         (libc_feholdexcept_setround_387_ctx): Likewise.
52045         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52046         (libc_feholdsetround_387_prec_ctx): Likewise.
52047         (libc_feholdsetround_387_ctx): Likewise.
52048         (libc_feholdsetround_387_53bit_ctx): Likewise.
52049         (libc_feholdsetround_sse_ctx): Likewise.
52050         (libc_feresetround_sse_ctx): Likewise.
52051         (libc_feresetround_387_ctx): Likewise.
52052         (libc_feupdateenv_387_ctx): Likewise.
52053         (libc_feholdexcept_setroundf_ctx): Define macro.
52054         (libc_fesetenvf_ctx): Likewise.
52055         (libc_feupdateenvf_ctx): Likewise.
52056         (libc_feholdsetroundf_ctx): Likewise.
52057         (libc_feresetroundf_ctx): Likewise.
52058         (libc_feholdexcept_setround_ctx): Likewise.
52059         (libc_fesetenv_ctx): Likewise.
52060         (libc_feupdateenv_ctx): Likewise.
52061         (libc_feholdsetround_ctx): Likewise.
52062         (libc_feresetround_ctx): Likewise.
52063         (libc_feholdexcept_setroundl_ctx): Likewise.
52064         (libc_feupdateenvl_ctx): Likewise.
52065         (libc_feholdsetroundl_ctx): Likewise.
52066         (libc_feresetroundl_ctx): Likewise.
52067         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52068         (libc_feresetround_53bit_ctx): Likewise.
52070 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52072         * locale/iso-639.def: Convert to UTF-8.
52074 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52076         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52077         (EXCEPTION_TESTS_double): Likewise.
52078         (EXCEPTION_TESTS_long_double): Likewise.
52079         (EXCEPTION_TESTS): Likewise.
52080         * math/libm-test.inc (test_exceptions): Only test exceptions if
52081         EXCEPTION_TESTS (FLOAT).
52083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52085         * benchtests/Makefile (string-bench): Add strcpy_chk and
52086         stpcpy_chk.
52087         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52088         * benchtests/bench-stpcpy_chk.c: New file.
52089         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52090         * benchtests/bench-strcpy_chk.c: New file.
52091         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52092         code.
52093         (do_test): Likewise.
52095 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52097         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52098         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52099         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52100         with tabs where appropriate.
52101         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52102         dl-procinfo.h.
52103         [PPC_PLATFORM_PPC440]: Likewise.
52104         [PPC_PLATFORM_PPC464]: Likewise.
52105         [PPC_PLATFORM_PPC476]: Likewise.
52106         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52107         ppc464, and ppc476 platform strings merging from ports/
52108         dl-procinfo.h.
52110 2013-06-11  Andreas Schwab  <schwab@suse.de>
52112         [BZ #14991]
52113         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52114         (from_ucs4_idx): Regenerate.
52115         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52116         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52117         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52118         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52119         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52120         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52121         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52122         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52123         from FROM_LOOP and TO_LOOP specific macros.
52124         (BODY): Handle combining characters.
52125         * iconvdata/BIG5HKSCS.irreversible: Update.
52126         * iconvdata/BIG5HKSCS.precomposed: New file.
52127         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52128         characters.
52129         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52131 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52133         * include/sys/time.h: Fix indentation and add copyright header.
52135         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52136         (do_test): Likewise.
52137         * string/test-memchr.c (do_one_test): Likewise.
52138         (do_test): Likewise.
52139         * string/test-memcmp.c (do_one_test): Likewise.
52140         (do_test): Likewise.
52141         * string/test-memcpy.c (do_one_test): Likewise.
52142         (do_test): Likewise.
52143         * string/test-memmem.c (do_one_test): Likewise.
52144         (do_test): Likewise.
52145         (do_random_tests): Likewise.
52146         * string/test-memmove.c (do_one_test): Likewise.
52147         (do_test): Likewise.
52148         * string/test-memset.c (do_one_test): Likewise.
52149         (do_test): Likewise.
52150         * string/test-rawmemchr.c (do_one_test): Likewise.
52151         (do_test): Likewise.
52152         * string/test-strcasecmp.c (do_one_test): Likewise.
52153         (do_test): Likewise.
52154         * string/test-strcasestr.c (do_one_test): Likewise.
52155         (do_test): Likewise.
52156         * string/test-strcat.c (do_one_test): Likewise.
52157         (do_test): Likewise.
52158         * string/test-strchr.c (do_one_test): Likewise.
52159         (do_test): Likewise.
52160         * string/test-strcmp.c (do_one_test): Likewise.
52161         (do_test): Likewise.
52162         * string/test-strcpy.c (do_one_test): Likewise.
52163         (do_test): Likewise.
52164         * string/test-string.h: Likewise.
52165         (test_init): Likewise.
52166         * string/test-strlen.c (do_one_test): Likewise.
52167         (do_test): Likewise.
52168         * string/test-strncasecmp.c (do_one_test): Likewise.
52169         (do_test): Likewise.
52170         * string/test-strncat.c (do_one_test): Likewise.
52171         (do_test): Likewise.
52172         * string/test-strncmp.c (do_one_test): Likewise.
52173         (do_test_limit): Likewise.
52174         (do_test): Likewise.
52175         * string/test-strncpy.c (do_one_test): Likewise.
52176         (do_test): Likewise.
52177         * string/test-strnlen.c (do_one_test): Likewise.
52178         (do_test): Likewise.
52179         * string/test-strpbrk.c (do_one_test): Likewise.
52180         (do_test): Likewise.
52181         * string/test-strrchr.c (do_one_test): Likewise.
52182         (do_test): Likewise.
52183         * string/test-strspn.c (do_one_test): Likewise.
52184         (do_test): Likewise.
52185         * string/test-strstr.c (do_one_test): Likewise.
52186         (do_test): Likewise.
52188         * benchtests/Makefile (string-bench): Add string benchmarks.
52189         * benchtests/bench-bcopy-ifunc.c: New file.
52190         * benchtests/bench-bcopy.c: New file.
52191         * benchtests/bench-bzero-ifunc.c: New file.
52192         * benchtests/bench-bzero.c: New file.
52193         * benchtests/bench-memccpy-ifunc.c: New file.
52194         * benchtests/bench-memccpy.c: New file.
52195         * benchtests/bench-memchr-ifunc.c: New file.
52196         * benchtests/bench-memchr.c: New file.
52197         * benchtests/bench-memcmp-ifunc.c: New file.
52198         * benchtests/bench-memcmp.c: New file.
52199         * benchtests/bench-memmem-ifunc.c: New file.
52200         * benchtests/bench-memmem.c: New file.
52201         * benchtests/bench-memmove-ifunc.c: New file.
52202         * benchtests/bench-memmove.c: New file.
52203         * benchtests/bench-mempcpy-ifunc.c: New file.
52204         * benchtests/bench-mempcpy.c: New file.
52205         * benchtests/bench-memset-ifunc.c: New file.
52206         * benchtests/bench-memset.c: New file.
52207         * benchtests/bench-rawmemchr-ifunc.c: New file.
52208         * benchtests/bench-rawmemchr.c: New file.
52209         * benchtests/bench-stpcpy-ifunc.c: New file.
52210         * benchtests/bench-stpcpy.c: New file.
52211         * benchtests/bench-stpncpy-ifunc.c: New file.
52212         * benchtests/bench-stpncpy.c: New file.
52213         * benchtests/bench-strcasecmp-ifunc.c: New file.
52214         * benchtests/bench-strcasecmp.c: New file.
52215         * benchtests/bench-strcasestr-ifunc.c: New file.
52216         * benchtests/bench-strcasestr.c: New file.
52217         * benchtests/bench-strcat-ifunc.c: New file.
52218         * benchtests/bench-strcat.c: New file.
52219         * benchtests/bench-strchr-ifunc.c: New file.
52220         * benchtests/bench-strchr.c: New file.
52221         * benchtests/bench-strchrnul-ifunc.c: New file.
52222         * benchtests/bench-strchrnul.c: New file.
52223         * benchtests/bench-strcmp-ifunc.c: New file.
52224         * benchtests/bench-strcmp.c: New file.
52225         * benchtests/bench-strcpy-ifunc.c: New file.
52226         * benchtests/bench-strcpy.c: New file.
52227         * benchtests/bench-strcspn-ifunc.c: New file.
52228         * benchtests/bench-strcspn.c: New file.
52229         * benchtests/bench-strlen-ifunc.c: New file.
52230         * benchtests/bench-strlen.c: New file.
52231         * benchtests/bench-strncasecmp-ifunc.c: New file.
52232         * benchtests/bench-strncasecmp.c: New file.
52233         * benchtests/bench-strncat-ifunc.c: New file.
52234         * benchtests/bench-strncat.c: New file.
52235         * benchtests/bench-strncmp-ifunc.c: New file.
52236         * benchtests/bench-strncmp.c: New file.
52237         * benchtests/bench-strncpy-ifunc.c: New file.
52238         * benchtests/bench-strncpy.c: New file.
52239         * benchtests/bench-strnlen-ifunc.c: New file.
52240         * benchtests/bench-strnlen.c: New file.
52241         * benchtests/bench-strpbrk-ifunc.c: New file.
52242         * benchtests/bench-strpbrk.c: New file.
52243         * benchtests/bench-strrchr-ifunc.c: New file.
52244         * benchtests/bench-strrchr.c: New file.
52245         * benchtests/bench-strspn-ifunc.c: New file.
52246         * benchtests/bench-strspn.c: New file.
52247         * benchtests/bench-strstr-ifunc.c: New file.
52248         * benchtests/bench-strstr.c: New file.
52250         * benchtests/Makefile: Disable parallel execution of targets.
52251         (string-bench): Add memcpy.
52252         (benchset): New variable to store a list of benchmark sets.
52253         (bench-func): Renamed from bench.
52254         (bench-set): New target.
52255         (bench): Depend on bench-func and bench-set.
52256         * benchtests/README: Add section on benchmark sets.
52257         * benchtests/bench-memcpy-ifunc.c: New file.
52258         * benchtests/bench-memcpy.c: New file.
52259         * benchtests/bench-string.h: New file.
52261 2013-06-11  Andreas Schwab  <schwab@suse.de>
52263         [BZ #15577]
52264         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52265         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52266         values in the triple.
52267         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52268         terminator in the group key.
52270 2013-06-11  Andreas Jaeger  <aj@suse.de>
52272         * po/zh_TW.po: Update Chinese (traditional) translation from
52273         translation project.
52275 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52277         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52278         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52279         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52280         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52281         (clock_getcpuclockid): Likewise.
52282         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52283         Add weak_alias and libc_hidden_def.
52284         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52285         * rt/clock_gettime.c (clock_gettime): Rename to
52286         __clock_gettime.  Add weak_alias and libc_hidden_def.
52287         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52288         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52289         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52290         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52291         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52292         Likewise.
52293         * rt/clock_settime.c (clock_settime): Rename to
52294         __clock_settime.  Add weak_alias and libc_hidden_def.
52295         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52297 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52299         * mach/err_boot.sub: Remove trailing whitespace.
52300         * mach/err_ipc.sub: Likewise.
52301         * mach/err_mach.sub: Likewise.
52303         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52304         (ROUNDING_TESTS_double): Likewise.
52305         (ROUNDING_TESTS_long_double): Likewise.
52306         (ROUNDING_TESTS): Likewise.
52307         * math/libm-test.inc: Include <math-tests.h>.
52308         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52309         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52310         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52311         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52313 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52315         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52316         of assigning.
52318 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52320         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52321         otherwise empty TRANS lines.
52322         * sysdeps/gnu/errlist.c: Regenerated.
52324         * catgets/gencat.c (error_print): Use (void) in function
52325         definition.
52326         * crypt/crypt_util.c (__init_des): Likewise.
52327         * crypt/speeds.c (Stop): Likewise.
52328         (main): Likewise.
52329         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52330         * inet/ruserpass.c (token): Likewise.
52331         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52332         * intl/localealias.c (extend_alias_table): Likewise.
52333         * intl/plural-exp.c (init_germanic_plural): Likewise.
52334         * libio/fcloseall.c (__fcloseall): Likewise.
52335         * libio/genops.c (_IO_flush_all): Likewise.
52336         (_IO_flush_all_linebuffered): Likewise.
52337         (_IO_cleanup): Likewise.
52338         (_IO_iter_begin): Likewise.
52339         (_IO_iter_end): Likewise.
52340         (_IO_list_lock): Likewise.
52341         (_IO_list_unlock): Likewise.
52342         (_IO_list_resetlock): Likewise.
52343         * libio/getchar.c (getchar): Likewise.
52344         * libio/getchar_u.c (getchar_unlocked): Likewise.
52345         * libio/getwchar.c (getwchar): Likewise.
52346         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52347         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52348         * login/getpt.c (__getpt): Likewise.
52349         * login/tst-utmp.c (main): Likewise.
52350         * malloc/hooks.c (__malloc_check_init): Likewise.
52351         * malloc/malloc.c (__malloc_stats): Likewise.
52352         * malloc/mtrace.c (tr_break): Likewise.
52353         (mtrace): Likewise.
52354         (muntrace): Likewise.
52355         * misc/fstab.c (endfsent): Likewise.
52356         * misc/getclktck.c (__getclktck): Likewise.
52357         * misc/getdtsz.c (__getdtablesize): Likewise.
52358         * misc/gethostid.c (gethostid): Likewise.
52359         * misc/getpagesize.c (__getpagesize): Likewise.
52360         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52361         (__get_nprocs): Likewise.
52362         (__get_phys_pages): Likewise.
52363         (__get_avphys_pages): Likewise.
52364         * misc/getttyent.c (getttyent): Likewise.
52365         (setttyent): Likewise.
52366         (endttyent): Likewise.
52367         * misc/getusershell.c (getusershell): Likewise.
52368         (endusershell): Likewise.
52369         (setusershell): Likewise.
52370         (initshells): Likewise.
52371         * misc/hsearch.c (__hdestroy): Likewise.
52372         * misc/sync.c (sync): Likewise.
52373         * misc/syslog.c (closelog_internal): Likewise.
52374         (closelog): Likewise.
52375         * misc/ttyslot.c (ttyslot): Likewise.
52376         * misc/vhangup.c (vhangup): Likewise.
52377         * posix/fork.c (__fork): Likewise.
52378         * posix/getegid.c (__getegid): Likewise.
52379         * posix/geteuid.c (__geteuid): Likewise.
52380         * posix/getgid.c (__getgid): Likewise.
52381         * posix/getpid.c (__getpid): Likewise.
52382         * posix/getppid.c (__getppid): Likewise.
52383         * posix/getuid.c (__getuid): Likewise.
52384         * posix/pause.c (pause): Likewise.
52385         * posix/setpgrp.c (setpgrp): Likewise.
52386         * posix/setsid.c (__setsid): Likewise.
52387         * posix/test-vfork.c (noop): Likewise.
52388         * resolv/gethnamaddr.c (_endhtent): Likewise.
52389         (_gethtent): Likewise.
52390         (ht_endhostent): Likewise.
52391         (gethostent): Likewise.
52392         (dns_service): Likewise.
52393         * stdlib/drand48.c (drand48): Likewise.
52394         * stdlib/lrand48.c (lrand48): Likewise.
52395         * stdlib/mrand48.c (mrand48): Likewise.
52396         * stdlib/rand.c (rand): Likewise.
52397         * stdlib/random.c (__random): Likewise.
52398         * stdlib/setenv.c (clearenv): Likewise.
52399         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52400         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52401         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52402         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52403         (__get_nprocs): Likewise.
52404         (__get_phys_pages): Likewise.
52405         (__get_avphys_pages): Likewise.
52406         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52407         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52408         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52409         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52410         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52411         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52412         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52413         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52414         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52415         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52416         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52417         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52418         * sysdeps/posix/clock.c (clock): Likewise.
52419         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52420         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52421         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52422         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52423         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52425         (__get_nprocs_conf): Likewise.
52426         (__get_phys_pages): Likewise.
52427         (__get_avphys_pages): Likewise.
52428         * time/clock.c (clock): Likewise.
52429         * time/tzset.c (__tzname_max): Likewise.
52431 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52433         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52434         (__bswap_32): Do not use "register".
52435         * crypt/crypt.c (_ufc_doit_r): Likewise.
52436         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52437         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52438         * gmon/gmon.c (__monstartup): Likewise.
52439         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52440         * hurd/hurdmalloc.c (more_memory): Likewise.
52441         (malloc): Likewise.
52442         (free): Likewise.
52443         (realloc): Likewise.
52444         (malloc_fork_prepare): Likewise.
52445         (malloc_fork_parent): Likewise.
52446         (malloc_fork_child): Likewise.
52447         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52448         (_svcauth_des): Likewise.
52449         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52450         * inet/inet_net.c (inet_network): Likewise.
52451         * inet/inet_netof.c (inet_netof): Likewise.
52452         * inet/rcmd.c (__validuser2_sa): Likewise.
52453         * io/fts.c (fts_open): Likewise.
52454         (fts_load): Likewise.
52455         (fts_close): Likewise.
52456         (fts_read): Likewise.
52457         (fts_children): Likewise.
52458         (fts_build): Likewise.
52459         (fts_stat): Likewise.
52460         (fts_sort): Likewise.
52461         (fts_alloc): Likewise.
52462         (fts_lfree): Likewise.
52463         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52464         (_IO_file_xsgetn): Likewise.
52465         (_IO_file_xsgetn_mmap): Likewise.
52466         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52467         (_IO_cookie_write): Likewise.
52468         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52469         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52470         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52471         * malloc/obstack.c (_obstack_begin): Likewise.
52472         (_obstack_begin_1): Likewise.
52473         (_obstack_newchunk): Likewise.
52474         (_obstack_allocated_p): Likewise.
52475         (obstack_free): Likewise.
52476         (_obstack_memory_used): Likewise.
52477         * misc/getttyent.c (getttynam): Likewise.
52478         (getttyent): Likewise.
52479         (skip): Likewise.
52480         (value): Likewise.
52481         * misc/getusershell.c (initshells): Likewise.
52482         * misc/syslog.c (__vsyslog_chk): Likewise.
52483         * misc/ttyslot.c (ttyslot): Likewise.
52484         * nis/nis_hash.c (__nis_hash): Likewise.
52485         * posix/fnmatch_loop.c (FCT): Likewise.
52486         * posix/getconf.c (print_all): Likewise.
52487         (main): Likewise.
52488         * posix/getopt.c (exchange): Likewise.
52489         * posix/glob.c (globfree): Likewise.
52490         (prefix_array): Likewise.
52491         (__glob_pattern_type): Likewise.
52492         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52493         (NS_GET32): Likewise.
52494         (NS_PUT16): Likewise.
52495         (NS_PUT32): Likewise.
52496         * resolv/gethnamaddr.c (getanswer): Likewise.
52497         (gethostbyname2): Likewise.
52498         (gethostbyaddr): Likewise.
52499         (_gethtent): Likewise.
52500         (_gethtbyname2): Likewise.
52501         (_gethtbyaddr): Likewise.
52502         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52503         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52504         * resolv/res_init.c (__res_vinit): Likewise.
52505         (net_mask): Likewise.
52506         * resolv/res_mkquery.c (outchar): Likewise.
52507         (PRINT): Likewise.
52508         * stdio-common/printf_fp.c (outchar): Likewise.
52509         (PRINT): Likewise.
52510         * stdio-common/printf_fphex.c (outchar): Likewise.
52511         (PRINT): Likewise.
52512         * stdio-common/printf_size.c (outchar): Likewise.
52513         (PRINT): Likewise.
52514         * stdio-common/test_rdwr.c (main): Likewise.
52515         * stdio-common/tfformat.c (matches): Likewise.
52516         * stdio-common/vfprintf.c (outchar): Likewise.
52517         (printf_unknown): Likewise.
52518         (buffered_vfprintf): Likewise.
52519         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52520         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52521         (ReadFile): Likewise.
52522         * stdlib/qsort.c (SWAP): Likewise.
52523         (_quicksort): Likewise.
52524         * stdlib/setenv.c (__add_to_environ): Likewise.
52525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52526         * stdlib/strtol_l.c (__strtol_l): Likewise.
52527         * stdlib/tst-strtod.c (main): Likewise.
52528         * stdlib/tst-strtol.c (main): Likewise.
52529         * stdlib/tst-strtoll.c (main): Likewise.
52530         * string/bits/string2.h (__strcmp_cc): Likewise.
52531         (__strcmp_cg): Likewise.
52532         (__strcspn_c1): Likewise.
52533         (__strcspn_c2): Likewise.
52534         (__strcspn_c3): Likewise.
52535         (__strspn_c1): Likewise.
52536         (__strspn_c2): Likewise.
52537         (__strspn_c3): Likewise.
52538         (__strsep_1c): Likewise.
52539         (__strsep_2c): Likewise.
52540         (__strsep_3c): Likewise.
52541         * string/memccpy.c (__memccpy): Likewise.
52542         * string/stpcpy.c (__stpcpy): Likewise.
52543         * string/strcmp.c (strcmp): Likewise.
52544         * string/strrchr.c (strrchr): Likewise.
52545         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52546         Likewise.
52547         * sysdeps/mach/hurd/getcwd.c
52548         (_hurd_canonicalize_directory_name_internal): Likewise.
52549         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52550         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52551         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52552         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52553         Likewise, in both definitions.
52554         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52555         definitions.
52556         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52557         64] (__bswap_64): Likewise.
52558         * time/test_time.c (main): Likewise.
52559         * time/tzfile.c (__tzfile_read): Likewise.
52560         (__tzfile_compute): Likewise.
52561         * time/tzset.c (__tzset_parse_tz): Likewise.
52562         (tzset_internal): Likewise.
52563         (compute_change): Likewise.
52564         * wcsmbs/wcscat.c (__wcscat): Likewise.
52565         * wcsmbs/wcschr.c (wcschr): Likewise.
52566         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52567         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52568         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52569         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52570         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52571         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52572         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52573         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52574         * wcsmbs/wmemset.c (wmemset): Likewise.
52576 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52578         * scripts/config.guess: Update to version 2013-05-16.
52579         * scripts/config.sub: Update to version 2013-04-24.
52580         * scripts/install-sh: Update to version 2011-11-20.07.
52581         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52582         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52584 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52586         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52587         * elf/sln.c: Likewise.
52588         * hurd/hurd/ioctl.h: Likewise.
52589         * hurd/hurdmalloc.c: Likewise.
52590         * hurd/xattr.c: Likewise.
52591         * include/shlib-compat.h: Likewise.
52592         * inet/ruserpass.c: Likewise.
52593         * libio/iofgets_u.c: Likewise.
52594         * libio/iofgetws_u.c: Likewise.
52595         * locale/programs/ld-identification.c: Likewise.
52596         * locale/programs/ld-time.c: Likewise.
52597         * mach/msg-destroy.c: Likewise.
52598         * nss/nss_files/files-netgrp.c: Likewise.
52599         * resolv/res_data.c: Likewise.
52600         * soft-fp/op-1.h: Likewise.
52601         * soft-fp/op-2.h: Likewise.
52602         * soft-fp/op-4.h: Likewise.
52603         * soft-fp/op-common.h: Likewise.
52604         * stdio-common/printf_fphex.c: Likewise.
52605         * stdlib/strtod_l.c: Likewise.
52606         * sunrpc/rpc/clnt.h: Likewise.
52607         * sysdeps/generic/framestate.c: Likewise.
52608         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52609         * sysdeps/i386/bsd-setjmp.S: Likewise.
52610         * sysdeps/i386/__longjmp.S: Likewise.
52611         * sysdeps/i386/setjmp.S: Likewise.
52612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52613         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52623         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52624         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52625         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52629         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52630         * sysdeps/ieee754/support.c: Likewise.
52631         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52632         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52633         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52634         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52635         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52636         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52637         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52638         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52639         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52640         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52641         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52642         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52643         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52644         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52645         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52646         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52647         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52650 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52652         * posix/transbug.c: Remove executable mode.
52654 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52656         * crypt/speeds.c: Remove trailing whitespace.
52657         * dlfcn/default.c: Likewise.
52658         * elf/ifuncdep2.c: Likewise.
52659         * elf/ifuncmain1.c: Likewise.
52660         * elf/ifuncmain1vis.c: Likewise.
52661         * elf/testobj.h: Likewise.
52662         * elf/tst-stackguard1.c: Likewise.
52663         * gmon/sys/gmon.h: Likewise.
52664         * hurd/hurdmsg.c: Likewise.
52665         * hurd/new-fd.c: Likewise.
52666         * hurd/ports-get.c: Likewise.
52667         * iconvdata/ibm1008_420.c: Likewise.
52668         * inet/tst-getni1.c: Likewise.
52669         * inet/tst-getni2.c: Likewise.
52670         * libio/ioungetc.c: Likewise.
52671         * libio/wfiledoalloc.c: Likewise.
52672         * manual/libm-err-tab.pl: Likewise.
52673         * math/w_dremf.c: Likewise.
52674         * misc/ftruncate.c: Likewise.
52675         * posix/bug-glob2.c: Likewise.
52676         * posix/tst-pcre.c: Likewise.
52677         * posix/wait4.c: Likewise.
52678         * resolv/README: Likewise.
52679         * resolv/res_debug.h: Likewise.
52680         * resolv/tst-inet_ntop.c: Likewise.
52681         * setjmp/bug269-setjmp.c: Likewise.
52682         * soft-fp/extended.h: Likewise.
52683         * soft-fp/op-1.h: Likewise.
52684         * soft-fp/op-2.h: Likewise.
52685         * soft-fp/op-4.h: Likewise.
52686         * soft-fp/op-8.h: Likewise.
52687         * soft-fp/testit.c: Likewise.
52688         * stdio-common/bug16.c: Likewise.
52689         * stdlib/random.c: Likewise.
52690         * sunrpc/rpcsvc/rquota.x: Likewise.
52691         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52692         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52693         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52694         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52695         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52696         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52697         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52698         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52699         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52700         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52701         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52704         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52705         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52706         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52707         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52708         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52709         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52710         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52711         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52712         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52713         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52714         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52715         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52716         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52717         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52719         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52720         * sysdeps/ieee754/s_lib_version.c: Likewise.
52721         * sysdeps/mach/hurd/check_fds.c: Likewise.
52722         * sysdeps/mach/hurd/getsockname.c: Likewise.
52723         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52724         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52725         * sysdeps/powerpc/bits/link.h: Likewise.
52726         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52727         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52728         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52729         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52730         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52731         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52732         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52733         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52734         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52735         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52736         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52737         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52738         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52739         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52740         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52741         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52742         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52743         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52744         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52745         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52746         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52747         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52748         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52749         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52750         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52751         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52752         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52753         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52754         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52755         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52756         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52757         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52759         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52760         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52761         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52762         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52763         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52764         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52765         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52766         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52767         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52768         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52769         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52770         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52771         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52772         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52773         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52774         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52775         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52779         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52780         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52781         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52782         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52784         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52785         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52786         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52787         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52788         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52789         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52790         * sysdeps/powerpc/sysdep.h: Likewise.
52791         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52792         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52793         * sysdeps/sh/dl-trampoline.S: Likewise.
52794         * sysdeps/sh/memset.S: Likewise.
52795         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52796         * sysdeps/sh/strlen.S: Likewise.
52797         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52798         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52799         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52800         * sysdeps/sparc/sparc32/rem.S: Likewise.
52801         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52802         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52803         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52804         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52805         * sysdeps/sparc/sparc32/urem.S: Likewise.
52806         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52807         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52808         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52809         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52811         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52812         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52813         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52814         * sysdeps/unix/bsd/times.c: Likewise.
52815         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52816         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52820         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52821         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52822         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52823         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52824         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52825         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52826         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52827         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52828         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52829         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52830         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52831         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52832         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52833         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52834         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52835         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52836         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52837         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52838         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52839         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52840         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52841         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52842         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52843         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52844         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52845         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52846         * sysdeps/x86_64/strcspn.S: Likewise.
52848 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52850         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52851         generated file.  Regenerate properly from gen-translit.pl.
52852         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52853         locale/C-translit.h.
52855 2013-06-05  Andreas Schwab  <schwab@suse.de>
52857         [BZ #15100]
52858         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52859         week as 6 instead of -1.
52860         * time/tst-strptime.c (day_tests): Add test case.
52862 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52864         * sysdeps/generic/math_private.h
52865         (libc_feholdexcept_setround_53bit): Replace with
52866         libc_feholdsetround_53bit.
52867         (libc_feupdateenv_53bit): Replace with
52868         libc_feresetround_53bit.
52869         (SET_RESTORE_ROUND_53BIT): Adjust.
52871 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52873         * string/test-strchrnul.c: Add copyright header.
52875         * posix/tst-getaddrinfo4.c: Increase test timeout.
52877 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52879         [BZ #15536]
52880         * math/libm-test.inc (MAX_EXP): Remove
52881         (MIN_EXP): Define.
52882         (ulp): Use MIN_EXP - MANT_DIG.
52883         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52885 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52887         * po/be.po: Revert last change.
52888         * po/zh_CN.po: Likewise.
52889         * po/header.pot: Likewise.
52891 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52893         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52894         link-libc-deps to empty as target-specific variable.
52895         * Makerules (link-libc-args): New variable.
52896         (libc-for-link): Likewise.
52897         (link-libc-deps): Likewise.
52898         (lib%.so): Depend on $(link-libc-deps).  Link with
52899         $(link-libc-args).
52900         (build-module): Link with $(link-libc-args).
52901         (build-module-asneeded): Likewise.
52902         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52903         list of objects.
52904         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52905         target-specific variable.
52906         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52907         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52908         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52909         libc.
52910         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52911         libc and ld.so.
52912         ($(objpfx)libpcprofile.so): Likewise.
52913         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52914         libc_nonshared.a.
52915         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52916         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52917         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52918         $(link-libc-deps).
52919         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52920         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52921         * login/Makefile ($(objpfx)libutil.so): Likewise.
52922         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52923         * math/Makefile ($(objpfx)libm.so): Likewise.
52924         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52925         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52926         variable instead of depending directly on libc.
52927         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52928         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52929         $(link-libc-deps).
52930         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52931         libc.
52932         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52933         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52934         ($(objpfx)libanl.so): Likewise.
52935         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52936         ld.so.
52937         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52938         $(link-libc-deps).
52939         * sysdeps/i386/fpu/Makefile: Remove file.
52940         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52941         ($(objpfx)libm.so): Remove dependency on ld.so.
52943 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52945         [BZ # 15553]
52946         * nis/yp_xdr.c (XDRMAXNAME): Define.
52947         (XDRMAXRECORD): Define.
52948         (xdr_domainname): Use XDRMAXNAME.
52949         (xdr_mapname): Likewise.
52950         (xdr_peername): Likewise.
52951         (xdr_keydat): Use XDRMAXRECORD.
52952         (xdr_valdat): Likewise.
52954 2013-05-30  Jeff Law  <law@redhat.com>
52956         [BZ #14256]
52957         * manual/errno.texi (ESTALE): Update to account for more than
52958         just NFS file systems.
52959         * sysdeps/gnu/errlist.c: Regenerated.
52961 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52963         [BZ #15465]
52964         * elf/Makefile (tests): Add tst-null-argv.
52965         (modules-names):  Add tst-null-argv-lib.
52966         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52967         (tst-null-argv-ENV): Set environment for tst-null-argv.
52968         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52969         (RTLD_PROGNAME): New macro.
52970         * elf/tst-null-argv.c: New test case.
52971         * elf/tst-null-argv-lib.c: Library for test case.
52972         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52973         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52974         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52975         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52976         * elf/dl-init.c (call_init): Likewise.
52977         (_dl_init): Likewise.
52978         * elf/dl-load.c (print_search_path): Likewise.
52979         (_dl_map_object): Likewise.
52980         * elf/dl-lookup.c (do_lookup_x): Likewise.
52981         (add_dependency): Likewise.
52982         (_dl_lookup_symbol_x): Likewise.
52983         (_dl_debug_bindings): Likewise.
52984         * elf/dl-open.c (_dl_show_scope): Likewise.
52985         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52986         * elf/dl-version.c (match_symbol): Likewise.
52987         (_dl_check_map_versions): Likewise.
52988         * elf/rtld.c (dl_main): Likewise.
52989         (print_unresolved): Use RTLD_PROGNAME.
52990         (print_missing_version): Likewise.
52991         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52992         (elf_machine_rela): Likewise.
52993         * sysdeps/powerpc/powerpc32/dl-machine.c
52994         (__process_machine_rela): Likewise.
52995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52996         Likewise.
52997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52998         Likewise.
52999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53000         Likewise.
53001         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53002         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53003         Likewise.
53004         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53005         Likewise.
53006         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53008 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53010         * po/be.po: Add descriptive title.
53011         * po/zh_CN.po: Likewise.
53012         * po/header.pot: Likewise.
53014 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53016         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53017         error message.
53018         (enlarge_archive): Likewise.
53020 2013-05-28  Ben North  <ben@redfrontdoor.org>
53022         * manual/arith.texi (frexp): It is the magnitude of the return
53023         value which lies in [0.5, 1), not the return value itself.
53025 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53029 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53031         * stdio-common/bug26.c (main): Correct fscanf template.
53033         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53034         declare _dl_skip_args.
53036         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53037         Don't declare.
53039         * manual/platform.texi: Add missing @end deftypefun.
53041 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53043         [BZ #15529]
53044         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53045         bit of mantissa of 2^16382.
53046         * math/libm-test.inc (hypot_test_data): Add more tests.
53048         * math/libm-test.inc: Add drem and pow10 to list of tested
53049         functions.
53050         (pow10_test): New function.
53051         (drem_test): Likewise.
53052         (drem_test_tonearest): Likewise.
53053         (drem_test_towardzero): Likewise.
53054         (drem_test_downward): Likewise.
53055         (drem_test_upward): Likewise.
53056         (main): Call the new functions.
53058         * math/libm-test.inc (finite_test_data): Remove.
53059         (finite_test): Run tests from isfinite_test_data.
53060         (gamma_test_data): Remove.
53061         (gamma_test): Run tests from lgamma_test_data.
53062         * sysdeps/i386/fpu/libm-test-ulps: Update.
53063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53065 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53067         * manual/platform.texi: Add PowerPC PPR function set documentation.
53068         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53069         implementation.
53071 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53073         * math/libm-test.inc (MAX_EXP): Define.
53074         (ULPDIFF): Define.
53075         (ulp): New function.
53076         (check_float_internal): Use ULPDIFF.
53077         (cpow_test): Disable failing test.
53078         (check_ulp): Test ulp() implemetnation.
53079         (main): Call check_ulp before starting tests.
53081 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53083         * math/gen-libm-test.pl (generate_testfile): Do not handle
53084         START_DATA and END_DATA.
53085         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53086         END_DATA.
53087         (acos_tonearest_test_data): Likewise.
53088         (acos_towardzero_test_data): Likewise.
53089         (acos_downward_test_data): Likewise.
53090         (acos_upward_test_data): Likewise.
53091         (acosh_test_data): Likewise.
53092         (asin_test_data): Likewise.
53093         (asin_tonearest_test_data): Likewise.
53094         (asin_towardzero_test_data): Likewise.
53095         (asin_downward_test_data): Likewise.
53096         (asin_upward_test_data): Likewise.
53097         (asinh_test_data): Likewise.
53098         (atan_test_data): Likewise.
53099         (atanh_test_data): Likewise.
53100         (atan2_test_data): Likewise.
53101         (cabs_test_data): Likewise.
53102         (cacos_test_data): Likewise.
53103         (cacosh_test_data): Likewise.
53104         (carg_test_data): Likewise.
53105         (casin_test_data): Likewise.
53106         (casinh_test_data): Likewise.
53107         (catan_test_data): Likewise.
53108         (catanh_test_data): Likewise.
53109         (cbrt_test_data): Likewise.
53110         (ccos_test_data): Likewise.
53111         (ccosh_test_data): Likewise.
53112         (ceil_test_data): Likewise.
53113         (cexp_test_data): Likewise.
53114         (cimag_test_data): Likewise.
53115         (clog_test_data): Likewise.
53116         (clog10_test_data): Likewise.
53117         (conj_test_data): Likewise.
53118         (copysign_test_data): Likewise.
53119         (cos_test_data): Likewise.
53120         (cos_tonearest_test_data): Likewise.
53121         (cos_towardzero_test_data): Likewise.
53122         (cos_downward_test_data): Likewise.
53123         (cos_upward_test_data): Likewise.
53124         (cosh_test_data): Likewise.
53125         (cosh_tonearest_test_data): Likewise.
53126         (cosh_towardzero_test_data): Likewise.
53127         (cosh_downward_test_data): Likewise.
53128         (cosh_upward_test_data): Likewise.
53129         (cpow_test_data): Likewise.
53130         (cproj_test_data): Likewise.
53131         (creal_test_data): Likewise.
53132         (csin_test_data): Likewise.
53133         (csinh_test_data): Likewise.
53134         (csqrt_test_data): Likewise.
53135         (ctan_test_data): Likewise.
53136         (ctan_tonearest_test_data): Likewise.
53137         (ctan_towardzero_test_data): Likewise.
53138         (ctan_downward_test_data): Likewise.
53139         (ctan_upward_test_data): Likewise.
53140         (ctanh_test_data): Likewise.
53141         (ctanh_tonearest_test_data): Likewise.
53142         (ctanh_towardzero_test_data): Likewise.
53143         (ctanh_downward_test_data): Likewise.
53144         (ctanh_upward_test_data): Likewise.
53145         (erf_test_data): Likewise.
53146         (erfc_test_data): Likewise.
53147         (exp_test_data): Likewise.
53148         (exp_tonearest_test_data): Likewise.
53149         (exp_towardzero_test_data): Likewise.
53150         (exp_downward_test_data): Likewise.
53151         (exp_upward_test_data): Likewise.
53152         (exp10_test_data): Likewise.
53153         (exp2_test_data): Likewise.
53154         (expm1_test_data): Likewise.
53155         (fabs_test_data): Likewise.
53156         (fdim_test_data): Likewise.
53157         (finite_test_data): Likewise.
53158         (floor_test_data): Likewise.
53159         (fma_test_data): Likewise.
53160         (fma_towardzero_test_data): Likewise.
53161         (fma_downward_test_data): Likewise.
53162         (fma_upward_test_data): Likewise.
53163         (fmax_test_data): Likewise.
53164         (fmin_test_data): Likewise.
53165         (fmod_test_data): Likewise.
53166         (fpclassify_test_data): Likewise.
53167         (frexp_test_data): Likewise.
53168         (gamma_test_data): Likewise.
53169         (hypot_test_data): Likewise.
53170         (ilogb_test_data): Likewise.
53171         (isfinite_test_data): Likewise.
53172         (isgreater_test_data): Likewise.
53173         (isgreaterequal_test_data): Likewise.
53174         (isinf_test_data): Likewise.
53175         (isless_test_data): Likewise.
53176         (islessequal_test_data): Likewise.
53177         (islessgreater_test_data): Likewise.
53178         (isnan_test_data): Likewise.
53179         (isnormal_test_data): Likewise.
53180         (issignaling_test_data): Likewise.
53181         (isunordered_test_data): Likewise.
53182         (j0_test_data): Likewise.
53183         (j1_test_data): Likewise.
53184         (jn_test_data): Likewise.
53185         (ldexp_test_data): Likewise.
53186         (lgamma_test_data): Likewise.
53187         (lrint_test_data): Likewise.
53188         (lrint_tonearest_test_data): Likewise.
53189         (lrint_towardzero_test_data): Likewise.
53190         (lrint_downward_test_data): Likewise.
53191         (lrint_upward_test_data): Likewise.
53192         (llrint_test_data): Likewise.
53193         (llrint_tonearest_test_data): Likewise.
53194         (llrint_towardzero_test_data): Likewise.
53195         (llrint_downward_test_data): Likewise.
53196         (llrint_upward_test_data): Likewise.
53197         (log_test_data): Likewise.
53198         (log10_test_data): Likewise.
53199         (log1p_test_data): Likewise.
53200         (log2_test_data): Likewise.
53201         (logb_test_data): Likewise.
53202         (logb_downward_test_data): Likewise.
53203         (lround_test_data): Likewise.
53204         (llround_test_data): Likewise.
53205         (modf_test_data): Likewise.
53206         (nearbyint_test_data): Likewise.
53207         (nextafter_test_data): Likewise.
53208         (nexttoward_test_data): Likewise.
53209         (pow_test_data): Likewise.
53210         (pow_tonearest_test_data): Likewise.
53211         (pow_towardzero_test_data): Likewise.
53212         (pow_downward_test_data): Likewise.
53213         (pow_upward_test_data): Likewise.
53214         (remainder_test_data): Likewise.
53215         (remainder_tonearest_test_data): Likewise.
53216         (remainder_towardzero_test_data): Likewise.
53217         (remainder_downward_test_data): Likewise.
53218         (remainder_upward_test_data): Likewise.
53219         (remquo_test_data): Likewise.
53220         (rint_test_data): Likewise.
53221         (rint_tonearest_test_data): Likewise.
53222         (rint_towardzero_test_data): Likewise.
53223         (rint_downward_test_data): Likewise.
53224         (rint_upward_test_data): Likewise.
53225         (round_test_data): Likewise.
53226         (scalb_test_data): Likewise.
53227         (scalbn_test_data): Likewise.
53228         (scalbln_test_data): Likewise.
53229         (signbit_test_data): Likewise.
53230         (sin_test_data): Likewise.
53231         (sin_tonearest_test_data): Likewise.
53232         (sin_towardzero_test_data): Likewise.
53233         (sin_downward_test_data): Likewise.
53234         (sin_upward_test_data): Likewise.
53235         (sincos_test_data): Likewise.
53236         (sinh_test_data): Likewise.
53237         (sinh_tonearest_test_data): Likewise.
53238         (sinh_towardzero_test_data): Likewise.
53239         (sinh_downward_test_data): Likewise.
53240         (sinh_upward_test_data): Likewise.
53241         (sqrt_test_data): Likewise.
53242         (tan_test_data): Likewise.
53243         (tan_tonearest_test_data): Likewise.
53244         (tan_towardzero_test_data): Likewise.
53245         (tan_downward_test_data): Likewise.
53246         (tan_upward_test_data): Likewise.
53247         (tanh_test_data): Likewise.
53248         (tgamma_test_data): Likewise.
53249         (trunc_test_data): Likewise.
53250         (y0_test_data): Likewise.
53251         (y1_test_data): Likewise.
53252         (yn_test_data): Likewise.
53253         (significand_test_data): Likewise.
53255         * math/gen-libm-test.pl (@functions): Remove variable.
53256         (generate_testfile): Don't handle START and END lines.
53257         * math/libm-test.inc (START): New macro.
53258         (END): Likewise.
53259         (END_COMPLEX): Likewise.
53260         (acos_test): Use END macro without arguments.
53261         (acos_test_tonearest): Likewise.
53262         (acos_test_towardzero): Likewise.
53263         (acos_test_downward): Likewise.
53264         (acos_test_upward): Likewise.
53265         (acosh_test): Likewise.
53266         (asin_test): Likewise.
53267         (asin_test_tonearest): Likewise.
53268         (asin_test_towardzero): Likewise.
53269         (asin_test_downward): Likewise.
53270         (asin_test_upward): Likewise.
53271         (asinh_test): Likewise.
53272         (atan_test): Likewise.
53273         (atanh_test): Likewise.
53274         (atan2_test): Likewise.
53275         (cabs_test): Likewise.
53276         (cacos_test): Use END_COMPLEX macro without arguments.
53277         (cacosh_test): Likewise.
53278         (carg_test): Use END macro without arguments.
53279         (casin_test): Use END_COMPLEX macro without arguments.
53280         (casinh_test): Likewise.
53281         (catan_test): Likewise.
53282         (catanh_test): Likewise.
53283         (cbrt_test): Use END macro without arguments.
53284         (ccos_test): Use END_COMPLEX macro without arguments.
53285         (ccosh_test): Likewise.
53286         (ceil_test): Use END macro without arguments.
53287         (cexp_test): Use END_COMPLEX macro without arguments.
53288         (cimag_test): Use END macro without arguments.
53289         (clog_test): Use END_COMPLEX macro without arguments.
53290         (clog10_test): Likewise.
53291         (conj_test): Likewise.
53292         (copysign_test): Use END macro without arguments.
53293         (cos_test): Likewise.
53294         (cos_test_tonearest): Likewise.
53295         (cos_test_towardzero): Likewise.
53296         (cos_test_downward): Likewise.
53297         (cos_test_upward): Likewise.
53298         (cosh_test): Likewise.
53299         (cosh_test_tonearest): Likewise.
53300         (cosh_test_towardzero): Likewise.
53301         (cosh_test_downward): Likewise.
53302         (cosh_test_upward): Likewise.
53303         (cpow_test): Use END_COMPLEX macro without arguments.
53304         (cproj_test): Likewise.
53305         (creal_test): Use END macro without arguments.
53306         (csin_test): Use END_COMPLEX macro without arguments.
53307         (csinh_test): Likewise.
53308         (csqrt_test): Likewise.
53309         (ctan_test): Likewise.
53310         (ctan_test_tonearest): Likewise.
53311         (ctan_test_towardzero): Likewise.
53312         (ctan_test_downward): Likewise.
53313         (ctan_test_upward): Likewise.
53314         (ctanh_test): Likewise.
53315         (ctanh_test_tonearest): Likewise.
53316         (ctanh_test_towardzero): Likewise.
53317         (ctanh_test_downward): Likewise.
53318         (ctanh_test_upward): Likewise.
53319         (erf_test): Use END macro without arguments.
53320         (erfc_test): Likewise.
53321         (exp_test): Likewise.
53322         (exp_test_tonearest): Likewise.
53323         (exp_test_towardzero): Likewise.
53324         (exp_test_downward): Likewise.
53325         (exp_test_upward): Likewise.
53326         (exp10_test): Likewise.
53327         (exp2_test): Likewise.
53328         (expm1_test): Likewise.
53329         (fabs_test): Likewise.
53330         (fdim_test): Likewise.
53331         (finite_test): Likewise.
53332         (floor_test): Likewise.
53333         (fma_test): Likewise.
53334         (fma_test_towardzero): Likewise.
53335         (fma_test_downward): Likewise.
53336         (fma_test_upward): Likewise.
53337         (fmax_test): Likewise.
53338         (fmin_test): Likewise.
53339         (fmod_test): Likewise.
53340         (fpclassify_test): Likewise.
53341         (frexp_test): Likewise.
53342         (gamma_test): Likewise.
53343         (hypot_test): Likewise.
53344         (ilogb_test): Likewise.
53345         (isfinite_test): Likewise.
53346         (isgreater_test): Likewise.
53347         (isgreaterequal_test): Likewise.
53348         (isinf_test): Likewise.
53349         (isless_test): Likewise.
53350         (islessequal_test): Likewise.
53351         (islessgreater_test): Likewise.
53352         (isnan_test): Likewise.
53353         (isnormal_test): Likewise.
53354         (issignaling_test): Likewise.
53355         (isunordered_test): Likewise.
53356         (j0_test): Likewise.
53357         (j1_test): Likewise.
53358         (jn_test): Likewise.
53359         (ldexp_test): Likewise.
53360         (lgamma_test): Likewise.
53361         (lrint_test): Likewise.
53362         (lrint_test_tonearest): Likewise.
53363         (lrint_test_towardzero): Likewise.
53364         (lrint_test_downward): Likewise.
53365         (lrint_test_upward): Likewise.
53366         (llrint_test): Likewise.
53367         (llrint_test_tonearest): Likewise.
53368         (llrint_test_towardzero): Likewise.
53369         (llrint_test_downward): Likewise.
53370         (llrint_test_upward): Likewise.
53371         (log_test): Likewise.
53372         (log10_test): Likewise.
53373         (log1p_test): Likewise.
53374         (log2_test): Likewise.
53375         (logb_test): Likewise.
53376         (logb_test_downward): Likewise.
53377         (lround_test): Likewise.
53378         (llround_test): Likewise.
53379         (modf_test): Likewise.
53380         (nearbyint_test): Likewise.
53381         (nextafter_test): Likewise.
53382         (nexttoward_test): Likewise.
53383         (pow_test): Likewise.
53384         (pow_test_tonearest): Likewise.
53385         (pow_test_towardzero): Likewise.
53386         (pow_test_downward): Likewise.
53387         (pow_test_upward): Likewise.
53388         (remainder_test): Likewise.
53389         (remainder_test_tonearest): Likewise.
53390         (remainder_test_towardzero): Likewise.
53391         (remainder_test_downward): Likewise.
53392         (remainder_test_upward): Likewise.
53393         (remquo_test): Likewise.
53394         (rint_test): Likewise.
53395         (rint_test_tonearest): Likewise.
53396         (rint_test_towardzero): Likewise.
53397         (rint_test_downward): Likewise.
53398         (rint_test_upward): Likewise.
53399         (round_test): Likewise.
53400         (scalb_test): Likewise.
53401         (scalbn_test): Likewise.
53402         (scalbln_test): Likewise.
53403         (signbit_test): Likewise.
53404         (sin_test): Likewise.
53405         (sin_test_tonearest): Likewise.
53406         (sin_test_towardzero): Likewise.
53407         (sin_test_downward): Likewise.
53408         (sin_test_upward): Likewise.
53409         (sincos_test): Likewise.
53410         (sinh_test): Likewise.
53411         (sinh_test_tonearest): Likewise.
53412         (sinh_test_towardzero): Likewise.
53413         (sinh_test_downward): Likewise.
53414         (sinh_test_upward): Likewise.
53415         (sqrt_test): Likewise.
53416         (tan_test): Likewise.
53417         (tan_test_tonearest): Likewise.
53418         (tan_test_towardzero): Likewise.
53419         (tan_test_downward): Likewise.
53420         (tan_test_upward): Likewise.
53421         (tanh_test): Likewise.
53422         (tgamma_test): Likewise.
53423         (trunc_test): Likewise.
53424         (y0_test): Likewise.
53425         (y1_test): Likewise.
53426         (yn_test): Likewise.
53427         (significand_test): Likewise.
53429 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53431         [BZ #15381]
53432         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53434 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53436         [BZ #14894]
53437         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53438         __ppc_mdoio and __ppc_mdoom.
53439         * manual/platform.texi: Document new functions __ppc_yield,
53440         __ppc_mdoio and __ppc_mdoom.
53442 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53444         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53445         (main): Mention "tls" pseudo-hwcap is legacy.
53446         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53448 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53450         * math/gen-libm-test.pl (parse_args): Output only string of
53451         arguments as text for test name, not full call or descriptions of
53452         tests for extra outputs.
53453         (generate_testfile): Do not pass function name to parse_args.
53454         Generate this_func variable from START.
53455         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53456         field to arg_str.
53457         (struct test_ff_f_data): Likewise.
53458         (test_ff_f_data_nexttoward): Likewise.
53459         (struct test_fi_f_data): Likewise.
53460         (struct test_fl_f_data): Likewise.
53461         (struct test_if_f_data): Likewise.
53462         (struct test_fff_f_data): Likewise.
53463         (struct test_c_f_data): Likewise.
53464         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53465         (struct test_fF_f1_data): Likewise.
53466         (struct test_ffI_f1_data): Likewise.
53467         (struct test_c_c_data): Rename test_name field to arg_str.
53468         (struct test_cc_c_data): Likewise.
53469         (struct test_f_i_data): Likewise.
53470         (struct test_ff_i_data): Likewise.
53471         (struct test_f_l_data): Likewise.
53472         (struct test_f_L_data): Likewise.
53473         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53474         and extra2_name.
53475         (COMMON_TEST_SETUP): New macro.
53476         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53477         (COMMON_TEST_CLEANUP): Likewise.
53478         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53479         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53480         macros.
53481         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53482         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53483         macros.
53484         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53485         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53486         cleanup macros.
53487         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53488         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53489         macros.
53490         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53491         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53492         macros.
53493         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53494         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53495         cleanup macros.
53496         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53497         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53498         cleanup macros.
53499         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53500         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53501         cleanup macros.
53502         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53503         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53504         macros.
53505         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53506         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53507         macros.
53508         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53509         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53510         macros.
53511         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53512         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53513         cleanup macros.
53514         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53515         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53516         cleanup macros.
53517         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53518         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53519         macros.
53520         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53521         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53522         cleanup macros.
53523         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53524         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53525         macros.
53526         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53527         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53528         macros.
53529         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53530         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53531         cleanup macros.
53532         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53534 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53536         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53537         to _sifields.sigfault.
53538         (si_addr_lsb): Define new macro.
53539         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53541         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53543 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53545         [BZ #15441]
53546         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53547         returns -1.
53548         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53549         null return -1.
53550         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53551         loading the domain.
53553 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53555         * math/gen-libm-test.pl (parse_args): Do not include expected
53556         result in test name.
53557         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53558         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53559         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53560         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53561         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53564 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53566         * benchtests/Makefile: Sort function entries.
53568         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53569         tanh, asinh, acosh, atanh.
53570         * benchtests/acos-inputs: New file.
53571         * benchtests/acosh-inputs: New file.
53572         * benchtests/asin-inputs: New file.
53573         * benchtests/asinh-inputs: New file.
53574         * benchtests/atanh-inputs: New file.
53575         * benchtests/cosh-inputs: New file.
53576         * benchtests/log-inputs: New file.
53577         * benchtests/sinh-inputs: New file.
53578         * benchtests/tanh-inputs: New file.
53580 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53582         [BZ #15339]
53583         * posix/tst-getaddrinfo4.c: New test.
53584         * posix/Makefile (tests): Add it.
53586 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53588         [BZ #15339]
53589         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53590         when no services were used.
53591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53592         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53594 2013-05-21  Andreas Schwab  <schwab@suse.de>
53596         [BZ #15014]
53597         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53598         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53599         successful.
53600         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53601         redundant variable declarations and reallocation of buffer when
53602         parsing as IPv6 address.  Always set NSS status when called from
53603         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53604         buffer too small.  Correct computation of needed size.
53605         * nss/Makefile (tests): Add test-digits-dots.
53606         * nss/test-digits-dots.c: New test.
53608 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53610         * benchtests/Makefile: Remove instructions for adding
53611         benchmark tests.
53612         * benchtests/README: New file to explain how to execute and
53613         enhance the benchmark tests.
53615 2013-05-21  Andreas Schwab  <schwab@suse.de>
53617         [BZ #15493]
53618         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53619         * setjmp/tst-sigsetjmp.c: New test.
53621 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53623         * sysdeps/x86_64/memset.S (memset): New implementation.
53624         (__bzero): Likewise.
53625         (__memset_tail): New function.
53627 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53629         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53630         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53631         __memcpy_sse2_unaligned ifunc selection.
53632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53633         Add memcpy-sse2-unaligned.S.
53634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53635         Add: __memcpy_sse2_unaligned.
53637 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53639         [BZ #15490]
53640         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53641         math_force_eval before restoring floating-point envrionment.
53642         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53644         Likewise.
53645         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53646         <math_private.h>.
53647         (__nearbyintl): Use math_force_eval before restoring
53648         floating-point environment.
53649         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53651         * math/gen-libm-test.pl (special_functions): Remove.
53652         (parse_args): Don't handle TEST_extra.  Handle functions with no
53653         return value.
53654         * math/libm-test.inc (struct test_sincos_data): Replace with
53655         struct test_fFF_11_data.
53656         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53657         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53658         (sincos_test_data): Change element type to struct
53659         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53660         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53661         RUN_TEST_LOOP_sincos.
53662         * math/README.libm-test: Don't mention special handling of
53663         individual functions.
53664         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53665         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53666         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53667         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53668         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53671         * math/gen-libm-test.pl (get_variable): Remove function.
53672         (parse_args): Don't show pointer parameters to call in test
53673         names.  Use "extra output N" in test names for extra outputs
53674         rather than naming variables.
53676 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53678         [BZ #15488]
53679         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53680         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53681         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53682         double tests.
53683         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53684         disable.
53685         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53686         check_long_double.
53688         * math/gen-libm-test.pl (@tests): Remove variable.
53689         ($count): Likewise.
53690         (new_test): Remove function.
53691         (show_exceptions): New function.
53692         (special_functions): Use show_exceptions instead of new_test.
53693         (parse_args): Likewise.
53694         (generate_testfile): Pass only function name in generated call to
53695         print_max_error or print_complex_max_error.
53696         (get_ulps): Do not handle complex tests specially.
53697         (output_test): Rename to ...
53698         (get_all_ulps_for_test): ... this.  Return a string rather than
53699         printing to a file.  Require ulps to be present.
53700         (output_ulps): Generate arrays rather than #defines.
53701         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53702         (struct ulp_data): New type.
53703         (BUILD_COMPLEX_ULP): Remove macro.
53704         (compare_ulp_data): New function.
53705         (find_ulps): Likewise.
53706         (find_test_ulps): Likewise.
53707         (find_function_ulps): Likewise.
53708         (find_complex_function_ulps): Likewise.
53709         (print_max_error): Determine allowed ulps using
53710         find_function_ulps.
53711         (print_complex_max_error): Determine allowed ulps using
53712         find_complex_function_ulps.
53713         (check_float_internal): Determine max ulps using find_test_ulps.
53714         (check_float): Do not take max_ulp parameter.  Update call to
53715         check_float_internal.
53716         (check_complex): Likewise.
53717         (check_int): Do not take max_ulp parameter.
53718         (check_long): Likewise.
53719         (check_bool): Likewise.
53720         (check_longlong): Likewise.
53721         (struct test_f_f_data): Remove max_ulp field.
53722         (struct test_ff_f_data): Likewise.
53723         (struct test_ff_f_data_nexttoward): Likewise.
53724         (struct test_fi_f_data): Likewise.
53725         (struct test_fl_f_data): Likewise.
53726         (struct test_if_f_data): Likewise.
53727         (struct test_fff_f_data): Likewise.
53728         (struct test_c_f_data): Likewise.
53729         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53730         (struct test_fF_f1_data): Likewise.
53731         (struct test_ffI_f1_data): Likewise.
53732         (struct test_c_c_data): Remove max_ulp field.
53733         (struct test_cc_c_data): Likewise.
53734         (struct test_f_i_data): Likewise.
53735         (struct test_ff_i_data): Likewise.
53736         (struct test_f_l_data): Likewise.
53737         (struct test_f_L_data): Likewise.
53738         (struct test_sincos_data): Likewise.
53739         (RUN_TEST_f_f): Do not handle ulps.
53740         (RUN_TEST_LOOP_f_f): Likewise.
53741         (RUN_TEST_2_f): Likewise.
53742         (RUN_TEST_LOOP_2_f): Likewise.
53743         (RUN_TEST_fff_f): Likewise.
53744         (RUN_TEST_LOOP_fff_f): Likewise.
53745         (RUN_TEST_c_f): Likewise.
53746         (RUN_TEST_LOOP_c_f): Likewise.
53747         (RUN_TEST_f_f1): Likewise.
53748         (RUN_TEST_LOOP_f_f1): Likewise.
53749         (RUN_TEST_fF_f1): Likewise.
53750         (RUN_TEST_LOOP_fF_f1): Likewise.
53751         (RUN_TEST_fI_f1): Likewise.
53752         (RUN_TEST_LOOP_fI_f1): Likewise.
53753         (RUN_TEST_ffI_f1): Likewise.
53754         (RUN_TEST_LOOP_ffI_f1): Likewise.
53755         (RUN_TEST_c_c): Likewise.
53756         (RUN_TEST_LOOP_c_c): Likewise.
53757         (RUN_TEST_cc_c): Likewise.
53758         (RUN_TEST_LOOP_cc_c): Likewise.
53759         (RUN_TEST_f_i): Likewise.
53760         (RUN_TEST_LOOP_f_i): Likewise.
53761         (RUN_TEST_f_i_tg): Likewise.
53762         (RUN_TEST_LOOP_f_i_tg): Likewise.
53763         (RUN_TEST_ff_i_tg): Likewise.
53764         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53765         (RUN_TEST_f_b): Likewise.
53766         (RUN_TEST_LOOP_f_b): Likewise.
53767         (RUN_TEST_f_b_tg): Likewise.
53768         (RUN_TEST_LOOP_f_b_tg): Likewise.
53769         (RUN_TEST_f_l): Likewise.
53770         (RUN_TEST_LOOP_f_l): Likewise.
53771         (RUN_TEST_f_L): Likewise.
53772         (RUN_TEST_LOOP_f_L): Likewise.
53773         (RUN_TEST_sincos): Likewise.
53774         (RUN_TEST_LOOP_sincos): Likewise.
53776 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53778         [BZ #15480]
53779         [BZ #15485]
53780         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53781         main case of finite arguments, set rounding mode to FE_TONEAREST
53782         and discard exceptions.
53783         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53784         exceptions.
53785         (remainder_tonearest_test_data): New variable.
53786         (remainder_test_tonearest): New function.
53787         (remainder_towardzero_test_data): New variable.
53788         (remainder_test_towardzero): New function.
53789         (remainder_downward_test_data): New variable.
53790         (remainder_test_downward): New function.
53791         (remainder_upward_test_data): New variable.
53792         (remainder_test_upward): New function.
53793         (main): Call the new test functions.
53795         * math/libm-test.inc (struct test_f_f1_data): Remove field
53796         extra_init.
53797         (struct test_fF_f1_data): Likewise.
53798         (struct test_ffI_f1_data): Likewise.
53799         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53800         based on value of EXTRA_EXPECTED.
53801         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53802         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53803         EXTRA_VAR based on value of EXTRA_EXPECTED.
53804         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53805         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53806         EXTRA_VAR based on value of EXTRA_EXPECTED.
53807         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53808         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53809         EXTRA_VAR based on value of EXTRA_EXPECTED.
53810         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53811         * math/gen-libm-test.pl (parse_args): Don't output initializers
53812         for extra output values.
53814         * math/libm-test.inc (check_int): Expect result to be exactly
53815         equal to expected value and do not handle ulps.
53816         (check_long): Likewise.
53817         (check_longlong): Likewise.
53819         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53820         exceptions.
53821         (cimag_test_data): Likewise.
53822         (conj_test_data): Likewise.
53823         (copysign_test_data): Likewise.
53824         (cproj_test_data): Likewise.
53825         (creal_test_data): Likewise.
53826         (fabs_test_data): Likewise.
53827         (fdim_test_data): Likewise.
53828         (finite_test_data): Likewise.
53829         (floor_test_data): Likewise.
53830         (fmax_test_data): Likewise.
53831         (fmin_test_data): Likewise.
53832         (fmod_test_data): Likewise.
53833         (fpclassify_test_data): Likewise.
53834         (frexp_test_data): Likewise.
53835         (ilogb_test_data): Likewise.
53836         (isfinite_test_data): Likewise.
53837         (isgreater_test_data): Likewise.
53838         (isgreaterequal_test_data): Likewise.
53839         (isinf_test_data): Likewise.
53840         (isless_test_data): Likewise.
53841         (islessequal_test_data): Likewise.
53842         (islessgreater_test_data): Likewise.
53843         (isnan_test_data): Likewise.
53844         (isnormal_test_data): Likewise.
53845         (issignaling_test_data): Likewise.
53846         (isunordered_test_data): Likewise.
53847         (ldexp_test_data): Likewise.
53848         (lrint_test_data): Likewise.
53849         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53850         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53851         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53852         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53853         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53854         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53855         test input.
53856         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53857         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53858         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53859         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53860         that test input.
53861         (lrint_downward_test_data): Test for "inexact" exceptions.
53862         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53863         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53864         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53865         test input.
53866         (lrint_upward_test_data): Test for "inexact" exceptions.
53867         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53868         test input.
53869         (llrint_test_data): Test for "inexact" exceptions.
53870         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53871         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53872         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53873         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53874         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53875         (llrint_downward_test_data): Test for "inexact" exceptions.
53876         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53877         (llrint_upward_test_data): Test for "inexact" exceptions.
53878         (logb_test_data): Likewise.
53879         (logb_downward_test_data): Likewise.
53880         (nextafter_test_data): Likewise.
53881         (nexttoward_test_data): Likewise.
53882         (remainder_test_data): Likewise.
53883         (remquo_test_data): Likewise.
53884         (scalbn_test_data): Likewise.
53885         (scalbln_test_data): Likewise.
53886         (signbit_test_data): Likewise.
53887         (sqrt_test_data): Likewise.
53888         (significand_test_data): Likewise.
53890 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53892         [BZ #15424]
53893         * benchtests/bench-modf.c (struct args): Mark arg0 as
53894         volatile.
53895         * scripts/bench.pl: Mark members of struct args as volatile.
53897 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53899         [BZ # 15497]
53900         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53901         negative infinity on POWER6 or lower.
53902         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53904 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53906         [BZ #15442]
53907         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53908         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53909         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53910         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53911         (_FP_SETQNAN): New macro.
53912         (_FP_SETQNAN_SEMIRAW): Likewise.
53913         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53914         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53915         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53916         (FP_EXTEND): Use _FP_FRAC_SNANP.
53917         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53918         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53919         into account.
53920         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53921         New macro.
53922         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53923         Likewise.
53925 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53927         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53928         with DIVIDE_BY_ZERO_EXCEPTION.
53929         (gamma_test_data): Likewise.
53930         (lgamma_test_data): Likewise.
53931         (log_test_data): Likewise.
53932         (log10_test_data): Likewise.
53933         (log2_test_data): Likewise.
53934         (tgamma_test_data): Likewise.
53936         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53937         (acos_test_tonearest): Likewise.
53938         (acos_test_towardzero): Likewise.
53939         (acos_test_downward): Likewise.
53940         (acos_test_upward): Likewise.
53941         (acosh_test): Likewise.
53942         (asin_test): Likewise.
53943         (asin_test_tonearest): Likewise.
53944         (asin_test_towardzero): Likewise.
53945         (asin_test_downward): Likewise.
53946         (asin_test_upward): Likewise.
53947         (asinh_test): Likewise.
53948         (atan_test): Likewise.
53949         (atanh_test): Likewise.
53950         (atan2_test): Likewise.
53951         (cabs_test): Likewise.
53952         (cacos_test): Likewise.
53953         (cacosh_test): Likewise.
53954         (casin_test): Likewise.
53955         (casinh_test): Likewise.
53956         (catan_test): Likewise.
53957         (catanh_test): Likewise.
53958         (cbrt_test): Likewise.
53959         (ccos_test): Likewise.
53960         (ccosh_test): Likewise.
53961         (cexp_test): Likewise.
53962         (clog_test): Likewise.
53963         (clog10_test): Likewise.
53964         (cos_test): Likewise.
53965         (cos_test_tonearest): Likewise.
53966         (cos_test_towardzero): Likewise.
53967         (cos_test_downward): Likewise.
53968         (cos_test_upward): Likewise.
53969         (cosh_test): Likewise.
53970         (cosh_test_tonearest): Likewise.
53971         (cosh_test_towardzero): Likewise.
53972         (cosh_test_downward): Likewise.
53973         (cosh_test_upward): Likewise.
53974         (cpow_test): Likewise.
53975         (csin_test): Likewise.
53976         (csinh_test): Likewise.
53977         (csqrt_test): Likewise.
53978         (ctan_test): Likewise.
53979         (ctan_test_tonearest): Likewise.
53980         (ctan_test_towardzero): Likewise.
53981         (ctan_test_downward): Likewise.
53982         (ctan_test_upward): Likewise.
53983         (ctanh_test): Likewise.
53984         (ctanh_test_tonearest): Likewise.
53985         (ctanh_test_towardzero): Likewise.
53986         (ctanh_test_downward): Likewise.
53987         (ctanh_test_upward): Likewise.
53988         (erf_test): Likewise.
53989         (erfc_test): Likewise.
53990         (exp_test): Likewise.
53991         (exp_test_tonearest): Likewise.
53992         (exp_test_towardzero): Likewise.
53993         (exp_test_downward): Likewise.
53994         (exp_test_upward): Likewise.
53995         (exp10_test): Likewise.
53996         (exp2_test): Likewise.
53997         (expm1_test): Likewise.
53998         (fmod_test): Likewise.
53999         (gamma_test): Likewise.
54000         (hypot_test): Likewise.
54001         (j0_test): Likewise.
54002         (j1_test): Likewise.
54003         (jn_test): Likewise.
54004         (lgamma_test): Likewise.
54005         (log_test): Likewise.
54006         (log10_test): Likewise.
54007         (log1p_test): Likewise.
54008         (log2_test): Likewise.
54009         (logb_test_downward): Likewise.
54010         (pow_test): Likewise.
54011         (pow_test_tonearest): Likewise.
54012         (pow_test_towardzero): Likewise.
54013         (pow_test_downward): Likewise.
54014         (pow_test_upward): Likewise.
54015         (remainder_test): Likewise.
54016         (remquo_test): Likewise.
54017         (sin_test): Likewise.
54018         (sin_test_tonearest): Likewise.
54019         (sin_test_towardzero): Likewise.
54020         (sin_test_downward): Likewise.
54021         (sin_test_upward): Likewise.
54022         (sincos_test): Likewise.
54023         (sinh_test): Likewise.
54024         (sinh_test_tonearest): Likewise.
54025         (sinh_test_towardzero): Likewise.
54026         (sinh_test_downward): Likewise.
54027         (sinh_test_upward): Likewise.
54028         (sqrt_test): Likewise.
54029         (tan_test): Likewise.
54030         (tan_test_tonearest): Likewise.
54031         (tan_test_towardzero): Likewise.
54032         (tan_test_downward): Likewise.
54033         (tan_test_upward): Likewise.
54034         (tanh_test): Likewise.
54035         (tgamma_test): Likewise.
54036         (y0_test): Likewise.
54037         (y1_test): Likewise.
54038         (yn_test): Likewise.
54040         * math/gen-libm-test.pl (adjust_arg): Remove function.
54041         (special_function): Remove argument $in_func.  Only handle
54042         generating output for tables of tests, not inside functions.
54043         (parse_args): Likewise.
54044         (generate_testfile): Remove variable $in_func.  Update call to
54045         parse_args.
54046         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54047         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54048         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54049         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54050         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54051         (MAX_VALUE_INIT): Rename macro to max_value.
54052         (MIN_VALUE_INIT): Rename macro to min_value.
54053         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54054         (plus_zero): Remove variable.
54055         (minus_zero): Likewise.
54056         (plus_infty): Likewise.
54057         (minus_infty): Likewise.
54058         (qnan_value): Likewise.
54059         (max_value): Likewise.
54060         (min_value): Likewise.
54061         (min_subnorm_value): Likewise.
54063 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54065         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54066         uint64_t or uint32_t usage.
54067         * crypt/sha256-block.c: Likewise.
54068         * crypt/sha256-crypt.c: Likewise.
54069         * crypt/sha256.c: Likewise.
54070         * crypt/sha512-block.c: Likewise.
54071         * crypt/sha512-crypt.c: Likewise.
54072         * crypt/sha512.c: Likewise.
54073         * debug/backtrace-tst.c: Likewise.
54074         * debug/pcprofiledump.c: Likewise.
54075         * elf/cache.c: Likewise.
54076         * elf/dl-cache.c: Likewise.
54077         * elf/dl-misc.c: Likewise.
54078         * elf/dl-profile.c: Likewise.
54079         * elf/dl-support.c: Likewise.
54080         * elf/ldconfig.c: Likewise.
54081         * elf/sprof.c: Likewise.
54082         * iconv/dummy-repertoire.c: Likewise.
54083         * iconv/iconv_charmap.c: Likewise.
54084         * iconv/skeleton.c: Likewise.
54085         * iconvdata/8bit-generic.c: Likewise.
54086         * iconvdata/cp737.h: Likewise.
54087         * iconvdata/cp775.h: Likewise.
54088         * iconvdata/ibm1008.h: Likewise.
54089         * iconvdata/ibm1025.h: Likewise.
54090         * iconvdata/ibm1046.h: Likewise.
54091         * iconvdata/ibm1097.h: Likewise.
54092         * iconvdata/ibm1112.h: Likewise.
54093         * iconvdata/ibm1122.h: Likewise.
54094         * iconvdata/ibm1123.h: Likewise.
54095         * iconvdata/ibm1124.h: Likewise.
54096         * iconvdata/ibm1129.h: Likewise.
54097         * iconvdata/ibm1130.h: Likewise.
54098         * iconvdata/ibm1132.h: Likewise.
54099         * iconvdata/ibm1133.h: Likewise.
54100         * iconvdata/ibm1137.h: Likewise.
54101         * iconvdata/ibm1140.h: Likewise.
54102         * iconvdata/ibm1141.h: Likewise.
54103         * iconvdata/ibm1142.h: Likewise.
54104         * iconvdata/ibm1143.h: Likewise.
54105         * iconvdata/ibm1144.h: Likewise.
54106         * iconvdata/ibm1145.h: Likewise.
54107         * iconvdata/ibm1146.h: Likewise.
54108         * iconvdata/ibm1147.h: Likewise.
54109         * iconvdata/ibm1148.h: Likewise.
54110         * iconvdata/ibm1149.h: Likewise.
54111         * iconvdata/ibm1153.h: Likewise.
54112         * iconvdata/ibm1154.h: Likewise.
54113         * iconvdata/ibm1155.h: Likewise.
54114         * iconvdata/ibm1156.h: Likewise.
54115         * iconvdata/ibm1157.h: Likewise.
54116         * iconvdata/ibm1158.h: Likewise.
54117         * iconvdata/ibm1160.h: Likewise.
54118         * iconvdata/ibm1161.h: Likewise.
54119         * iconvdata/ibm1162.h: Likewise.
54120         * iconvdata/ibm1163.h: Likewise.
54121         * iconvdata/ibm1164.h: Likewise.
54122         * iconvdata/ibm1166.h: Likewise.
54123         * iconvdata/ibm1167.h: Likewise.
54124         * iconvdata/ibm12712.h: Likewise.
54125         * iconvdata/ibm1390.h: Likewise.
54126         * iconvdata/ibm1399.h: Likewise.
54127         * iconvdata/ibm16804.h: Likewise.
54128         * iconvdata/ibm4517.h: Likewise.
54129         * iconvdata/ibm4899.h: Likewise.
54130         * iconvdata/ibm4909.h: Likewise.
54131         * iconvdata/ibm4971.h: Likewise.
54132         * iconvdata/ibm5347.h: Likewise.
54133         * iconvdata/ibm803.h: Likewise.
54134         * iconvdata/ibm856.h: Likewise.
54135         * iconvdata/ibm901.h: Likewise.
54136         * iconvdata/ibm902.h: Likewise.
54137         * iconvdata/ibm9030.h: Likewise.
54138         * iconvdata/ibm9066.h: Likewise.
54139         * iconvdata/ibm921.h: Likewise.
54140         * iconvdata/ibm922.h: Likewise.
54141         * iconvdata/ibm9448.h: Likewise.
54142         * iconvdata/isiri-3342.h: Likewise.
54143         * iconvdata/jis0201.h: Likewise.
54144         * include/link.h: Likewise.
54145         * include/netdb.h: Likewise.
54146         * inet/check_native.c: Likewise.
54147         * inet/check_pf.c: Likewise.
54148         * inet/getipv4sourcefilter.c: Likewise.
54149         * inet/getnameinfo.c: Likewise.
54150         * inet/getsourcefilter.c: Likewise.
54151         * inet/htonl.c: Likewise.
54152         * inet/setipv4sourcefilter.c: Likewise.
54153         * inet/setsourcefilter.c: Likewise.
54154         * inet/test-inet6_opt.c: Likewise.
54155         * inet/tst-network.c: Likewise.
54156         * locale/C-collate.c: Likewise.
54157         * locale/C-ctype.c: Likewise.
54158         * locale/C-time.c: Likewise.
54159         * locale/C-translit.h: Likewise.
54160         * locale/loadarchive.c: Likewise.
54161         * locale/programs/3level.h: Likewise.
54162         * locale/programs/charmap.c: Likewise.
54163         * locale/programs/charmap.h: Likewise.
54164         * locale/programs/ld-address.c: Likewise.
54165         * locale/programs/ld-collate.c: Likewise.
54166         * locale/programs/ld-ctype.c: Likewise.
54167         * locale/programs/ld-identification.c: Likewise.
54168         * locale/programs/ld-measurement.c: Likewise.
54169         * locale/programs/ld-messages.c: Likewise.
54170         * locale/programs/ld-monetary.c: Likewise.
54171         * locale/programs/ld-name.c: Likewise.
54172         * locale/programs/ld-numeric.c: Likewise.
54173         * locale/programs/ld-paper.c: Likewise.
54174         * locale/programs/ld-telephone.c: Likewise.
54175         * locale/programs/ld-time.c: Likewise.
54176         * locale/programs/linereader.c: Likewise.
54177         * locale/programs/locale.c: Likewise.
54178         * locale/programs/locarchive.c: Likewise.
54179         * locale/programs/locfile.h: Likewise.
54180         * locale/programs/repertoire.c: Likewise.
54181         * locale/programs/simple-hash.c: Likewise.
54182         * locale/programs/simple-hash.h: Likewise.
54183         * malloc/memusage.c: Likewise.
54184         * malloc/memusagestat.c: Likewise.
54185         * nis/nis_defaults.c: Likewise.
54186         * nis/nis_hash.c: Likewise.
54187         * nis/nis_print.c: Likewise.
54188         * nis/nis_xdr.c: Likewise.
54189         * nscd/connections.c: Likewise.
54190         * nscd/hstcache.c: Likewise.
54191         * nscd/nscd_gethst_r.c: Likewise.
54192         * nscd/nscd_getserv_r.c: Likewise.
54193         * nscd/nscd_helper.c: Likewise.
54194         * nscd/servicescache.c: Likewise.
54195         * nss/makedb.c: Likewise.
54196         * nss/nss_db/db-XXX.c: Likewise.
54197         * nss/nss_db/db-initgroups.c: Likewise.
54198         * nss/nss_db/db-netgrp.c: Likewise.
54199         * nss/nss_files/files-network.c: Likewise.
54200         * nss/nss_files/files-parse.c: Likewise.
54201         * posix/bug-regex5.c: Likewise.
54202         * posix/fnmatch_loop.c: Likewise.
54203         * posix/regcomp.c: Likewise.
54204         * posix/regexec.c: Likewise.
54205         * posix/tst-rfc3484-2.c: Likewise.
54206         * posix/tst-rfc3484-3.c: Likewise.
54207         * posix/tst-rfc3484.c: Likewise.
54208         * resolv/nss_dns/dns-canon.c: Likewise.
54209         * resolv/nss_dns/dns-network.c: Likewise.
54210         * resolv/res_init.c: Likewise.
54211         * resolv/res_mkquery.c: Likewise.
54212         * resolv/tst-aton.c: Likewise.
54213         * stdlib/cxa_atexit.c: Likewise.
54214         * stdlib/cxa_finalize.c: Likewise.
54215         * stdlib/gen-fpioconst.c: Likewise.
54216         * stdlib/strtol_l.c: Likewise.
54217         * string/tst-endian.c: Likewise.
54218         * sunrpc/auth_des.c: Likewise.
54219         * sunrpc/clnt_udp.c: Likewise.
54220         * sunrpc/rtime.c: Likewise.
54221         * sunrpc/svcauth_des.c: Likewise.
54222         * sunrpc/xdr.c: Likewise.
54223         * sunrpc/xdr_intXX_t.c: Likewise.
54224         * sunrpc/xdr_rec.c: Likewise.
54225         * sysdeps/generic/ldconfig.h: Likewise.
54226         * sysdeps/generic/ldsodefs.h: Likewise.
54227         * sysdeps/generic/memusage.h: Likewise.
54228         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54231         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54232         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54233         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54234         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54235         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54236         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54238         * sysdeps/posix/getaddrinfo.c: Likewise.
54239         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54240         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54241         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54242         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54243         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54244         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54245         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54246         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54247         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54248         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54249         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54250         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54251         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54252         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54253         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54254         * sysdeps/x86_64/dl-tls.h: Likewise.
54255         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54256         * time/alt_digit.c: Likewise.
54257         * time/era.c: Likewise.
54258         * wcsmbs/tst-c16c32-1.c: Likewise.
54260 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54262         * math/libm-test.inc (struct test_sincos_data): New type.
54263         (RUN_TEST_LOOP_sincos): New macro.
54264         (sincos_test_data): New variable.
54265         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54267 2013-05-16  Richard Henderson  <rth@redhat.com>
54269         * math/atest-exp2.c (LIMB64): New macro.
54270         (CONSTSZ): New macro.
54271         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54272         (hexdig): Move ...
54273         (print_mpn_fp): ... to function scope.
54274         (read_mpn_hex): Remove.
54275         (get_log2): Remove.
54276         (exp2_mpn): Use mp_log2.
54277         (main): Use mp_exp1.
54279 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54281         * math/libm-test.inc: Remove comment about not testing "inexact"
54282         exceptions.
54283         (INEXACT_EXCEPTION): New macro.
54284         (NO_INEXACT_EXCEPTION): Likewise.
54285         (INVALID_EXCEPTION_OK): Update value.
54286         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54287         (OVERFLOW_EXCEPTION_OK): Likewise.
54288         (UNDERFLOW_EXCEPTION_OK): Likewise.
54289         (IGNORE_ZERO_INF_SIGN): Likewise.
54290         (ERRNO_UNCHANGED): Likewise.
54291         (ERRNO_EDOM): Likewise.
54292         (ERRNO_ERANGE): Likewise.
54293         (test_exceptions): Handle testing "inexact" exceptions.
54294         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54295         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54296         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54297         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54298         INEXACT_EXCEPTION.
54299         (rint_towardzero_test_data): Likewise.
54300         (rint_downward_test_data): Likewise.
54301         (rint_upward_test_data): Likewise.
54303         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54304         with OVERFLOW_EXCEPTION.
54305         (exp10_test_data): Likewise.
54306         (exp2_test_data): Likewise.
54307         (expm1_test_data): Likewise.
54308         (lgamma_test_data): Likewise.
54309         (pow_test_data): Likewise.
54310         (tgamma_test_data): Likewise.
54311         (yn_test_data): Remove duplicate test of overflow.
54313         * math/libm-test.inc (struct test_cc_c_data): New type.
54314         (RUN_TEST_LOOP_cc_c): New macro.
54315         (cpow_test_data): New variable.
54316         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54318         * math/libm-test.inc (struct test_f_L_data): New type.
54319         (RUN_TEST_LOOP_f_L): New macro.
54320         (llrint_test_data): New variable.
54321         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54322         (llrint_tonearest_test_data): New variable.
54323         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54324         (llrint_towardzero_test_data): New variable.
54325         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54326         (llrint_downward_test_data): New variable.
54327         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54328         (llrint_upward_test_data): New variable.
54329         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54330         (llround_test_data): New variable.
54331         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54333 2013-05-13  Peter Collingbourne  <pcc@google.com>
54335         * math/atest-exp2.c (get_log2): Remove const attribute.
54337 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54339         * math/libm-test.inc (struct test_f_l_data): New type.
54340         (RUN_TEST_LOOP_f_l): New macro.
54341         (lrint_test_data): New variable.
54342         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54343         (lrint_tonearest_test_data): New variable.
54344         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54345         (lrint_towardzero_test_data): New variable.
54346         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54347         (lrint_downward_test_data): New variable.
54348         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54349         (lrint_upward_test_data): New variable.
54350         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54351         (lround_test_data): New variable.
54352         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54354 2013-05-15  Peter Collingbourne  <pcc@google.com>
54356         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54357         (EXTRACT_WORDS64) Use where appropriate.
54358         (INSERT_WORDS64) Likewise.
54360         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54361         constraints with x constraints.
54362         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54364         * malloc/obstack.c (_obstack_compat): Add initializer.
54366 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54368         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54369         si_trapno and add si_addr_lsb to _sifields.sigfault.
54370         (si_trapno): Remove macro.
54371         (si_addr_lsb): Define new macro.
54372         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54374 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54376         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54377         instead of TEST_f_l.
54378         (llrint_test_tonearest): Likewise.
54379         (llrint_test_towardzero): Likewise.
54380         (llrint_test_downward): Likewise.
54381         (llrint_test_upward): Likewise.
54382         (llround_test): Likewise.
54384         * math/libm-test.inc (struct test_f_i_data): Add comment.
54385         (RUN_TEST_LOOP_f_b): New macro.
54386         (RUN_TEST_LOOP_f_b_tg): Likewise.
54387         (finite_test_data): New variable.
54388         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54389         (isfinite_test_data): New variable.
54390         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54391         (isinf_test_data): New variable.
54392         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54393         (isnan_test_data): New variable.
54394         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54395         (isnormal_test_data): New variable.
54396         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54397         (issignaling_test_data): New variable.
54398         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54399         (signbit_test_data): New variable.
54400         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54402         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54403         with INVALID_EXCEPTION.
54404         (acosh_test_data): Likewise.
54405         (asin_test_data): Likewise.
54406         (atanh_test_data): Likewise.
54407         (fmod_test_data): Likewise.
54408         (log_test_data): Likewise.
54409         (log10_test_data): Likewise.
54410         (log2_test_data): Likewise.
54411         (pow_test_data): Likewise.
54412         (sqrt_test_data): Likewise.
54413         (y0_test_data): Likewise.
54414         (y1_test_data): Likewise.
54415         (yn_test_data): Likewise.
54417         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54418         function contents.
54420         * math/libm-test.inc (struct test_ff_i_data): New type.
54421         (RUN_TEST_LOOP_ff_i_tg): New macro.
54422         (isgreater_test_data): New variable.
54423         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54424         (isgreaterequal_test_data): New variable.
54425         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54426         (isless_test_data): New variable.
54427         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54428         (islessequal_test_data): New variable.
54429         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54430         (islessgreater_test_data): New variable.
54431         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54432         (isunordered_test_data): New variable.
54433         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54435 2013-05-14  David S. Miller  <davem@davemloft.net>
54437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54439 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54441         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54443         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54444         extra_test to int.
54445         (struct test_f_i_data): Change type of max_ulp to int.
54447         * math/libm-test.inc (test_ffI_f1_data): New type.
54448         (RUN_TEST_LOOP_ffI_f1): New macro.
54449         (remquo_test_data): New variable.
54450         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54452         * setjmp/tst-setjmp-fp.c: New file.
54453         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54454         (link-libm): New variable.
54455         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54457         * math/libm-test.inc (struct test_f_i_data): New type.
54458         (RUN_TEST_LOOP_f_i): New macro.
54459         (RUN_TEST_LOOP_f_i_tg): Likewise.
54460         (fpclassify_test_data): New variable.
54461         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54462         (ilogb_test_data): New variable.
54463         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54465         * math/libm-test.inc (scalbln_test): Correct function name in END
54466         call.
54468         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54469         (RUN_TEST_LOOP_fI_f1): New macro.
54470         (frexp_test_data): New variable.
54471         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54473         * math/libm-test.inc (struct test_fF_f1_data): New type.
54474         (RUN_TEST_LOOP_fF_f1): New macro.
54475         (modf_test_data): New variable.
54476         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54478         * math/libm-test.inc (struct test_f_f1_data): New type.
54479         (RUN_TEST_LOOP_f_f1): New macro.
54480         (gamma_test_data): New variable.
54481         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54482         (lgamma_test_data): New variable.
54483         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54485 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54487         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54488         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54489         (main): Comment "tls" pseudo-hwcap.
54491 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54493         * math/libm-test.inc (struct test_fl_f_data): New type.
54494         (RUN_TEST_LOOP_fl_f): New variable.
54495         (scalbln_test_data): New variable.
54496         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54498         * math/libm-test.inc (struct test_fi_f_data): New type.
54499         (RUN_TEST_LOOP_fi_f): New macro.
54500         (ldexp_test_data): New variable.
54501         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54502         (scalbn_test_data): New variable.
54503         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54505         * math/libm-test.inc (struct test_c_f_data): New type.
54506         (RUN_TEST_LOOP_c_f): New macro.
54507         (cabs_test_data): New variable.
54508         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54509         (carg_test_data): New variable.
54510         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54511         (cimag_test_data): New variable.
54512         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54513         (creal_test_data): New variable.
54514         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54516         * math/libm-test.inc (struct test_if_f_data): New type.
54517         (RUN_TEST_LOOP_if_f): New macro.
54518         (jn_test_data): New variable.
54519         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54520         (yn_test_data): New variable.
54521         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54523         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54525 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54527         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54528         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54530 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54532         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54533         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54534         (bench-deps): Add bench-timing.h.
54535         * benchtests-bench-skeleton.c: Include bench-timing.h.
54536         (main): Use TIMING_* macros instead of clock_gettime.
54537         * benchtests/bench-timing.h: New file.
54539         [BZ #14582]
54540         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54541         Renamed from _LIB_VERSION.
54542         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54544 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54546         * math/libm-test.inc (struct test_fff_f_data): New type.
54547         (RUN_TEST_LOOP_fff_f): New macro.
54548         (fma_test_data): New variable.
54549         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54550         (fma_towardzero_test_data): New variable.
54551         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54552         (fma_downward_test_data): New variable.
54553         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54554         (fma_upward_test_data): New variable.
54555         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54557         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54558         (struct test_c_c_data): New type.
54559         (RUN_TEST_LOOP_c_c): New macro.
54560         (cacos_test_data): New variable.
54561         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54562         (cacosh_test_data): New variable.
54563         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54564         (casin_test_data): New variable.
54565         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54566         (casinh_test_data): New variable.
54567         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54568         (catan_test_data): New variable.
54569         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54570         (catanh_test_data): New variable.
54571         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54572         (ccos_test_data): New variable.
54573         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54574         (ccosh_test_data): New variable.
54575         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54576         (cexp_test_data): New variable.
54577         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54578         (clog_test_data): New variable.
54579         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54580         (clog10_test_data): New variable.
54581         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54582         (conj_test_data): New variable.
54583         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54584         (cproj_test_data): New variable.
54585         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54586         (csin_test_data): New variable.
54587         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54588         (csinh_test_data): New variable.
54589         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54590         (csqrt_test_data): New variable.
54591         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54592         (ctan_test_data): New variable.
54593         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54594         (ctan_tonearest_test_data): New variable.
54595         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54596         (ctan_towardzero_test_data): New variable.
54597         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54598         (ctan_downward_test_data): New variable.
54599         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54600         (ctan_upward_test_data): New variable.
54601         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54602         (ctanh_test_data): New variable.
54603         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54604         (ctanh_tonearest_test_data): New variable.
54605         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54606         (ctanh_towardzero_test_data): New variable.
54607         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54608         (ctanh_downward_test_data): New variable.
54609         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54610         (ctanh_upward_test_data): New variable.
54611         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54612         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54613         of BUILD_COMPLEX.
54615         * math/libm-test.inc (struct test_ff_f_data): New type.
54616         (struct test_ff_f_data_nexttoward): Likewise.
54617         (RUN_TEST_LOOP_2_f): New macro.
54618         (RUN_TEST_LOOP_ff_f): Likewise.
54619         (atan2_test_data): New variable.
54620         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54621         (copysign_test_data): New variable.
54622         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54623         (fdim_test_data): New variable.
54624         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54625         (fmax_test_data): New variable.
54626         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54627         (fmin_test_data): New variable.
54628         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54629         (fmod_test_data): New variable.
54630         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54631         (hypot_test_data): New variable.
54632         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54633         (nextafter_test_data): New variable.
54634         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54635         (nexttoward_test_data): New variable.
54636         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54637         (pow_test_data): New variable.
54638         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54639         (pow_tonearest_test_data): New variable.
54640         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54641         (pow_towardzero_test_data): New variable.
54642         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54643         (pow_downward_test_data): New variable.
54644         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54645         (pow_upward_test_data): New variable.
54646         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54647         (remainder_test_data): New variable.
54648         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54649         (scalb_test_data): New variable.
54650         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54651         * sysdeps/i386/fpu/libm-test-ulps: Update.
54653 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54655         * math/libm-test.inc (fma_test): Use max_value instead of local
54656         variable fltmax.
54657         (nextafter_test): Likewise.
54659         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54660         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54661         (acos_downward_test_data): New variable.
54662         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54663         (acos_upward_test_data): New variable.
54664         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54665         (acosh_test_data): New variable.
54666         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54667         (asin_test_data): New variable.
54668         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54669         (asin_tonearest_test_data): New variable.
54670         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54671         (asin_towardzero_test_data): New variable.
54672         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54673         (asin_downward_test_data): New variable.
54674         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54675         (asin_upward_test_data): New variable.
54676         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54677         (asinh_test_data): New variable.
54678         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54679         (atan_test_data): New variable.
54680         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54681         (atanh_test_data): New variable.
54682         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54683         (cbrt_test_data): New variable.
54684         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54685         (ceil_test_data): New variable.
54686         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54687         (cos_test_data): New variable.
54688         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54689         (cos_tonearest_test_data): New variable.
54690         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54691         (cos_towardzero_test_data): New variable.
54692         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54693         (cos_downward_test_data): New variable.
54694         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54695         (cos_upward_test_data): New variable.
54696         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54697         (cosh_test_data): New variable.
54698         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54699         (cosh_tonearest_test_data): New variable.
54700         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54701         (cosh_towardzero_test_data): New variable.
54702         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54703         (cosh_downward_test_data): New variable.
54704         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54705         (cosh_upward_test_data): New variable.
54706         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54707         (erf_test_data): New variable.
54708         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54709         (erfc_test_data): New variable.
54710         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54711         (exp_test_data): New variable.
54712         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54713         (exp_tonearest_test_data): New variable.
54714         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54715         (exp_towardzero_test_data): New variable.
54716         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54717         (exp_downward_test_data): New variable.
54718         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54719         (exp_upward_test_data): New variable.
54720         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54721         (exp10_test_data): New variable.
54722         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54723         (exp2_test_data): New variable.
54724         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54725         (expm1_test_data): New variable.
54726         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54727         (fabs_test_data): New variable.
54728         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54729         (floor_test_data): New variable.
54730         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54731         (j0_test_data): New variable.
54732         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54733         (j1_test_data): New variable.
54734         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54735         (log_test_data): New variable.
54736         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54737         (log10_test_data): New variable.
54738         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54739         (log1p_test_data): New variable.
54740         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54741         (log2_test_data): New variable.
54742         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54743         (logb_test_data): New variable.
54744         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54745         (logb_downward_test_data): New variable.
54746         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54747         (nearbyint_test_data): New variable.
54748         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54749         (rint_test_data): New variable.
54750         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54751         (rint_tonearest_test_data): New variable.
54752         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54753         (rint_towardzero_test_data): New variable.
54754         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54755         (rint_downward_test_data): New variable.
54756         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54757         (rint_upward_test_data): New variable.
54758         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54759         (round_test_data): New variable.
54760         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54761         (sin_test_data): New variable.
54762         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54763         (sin_tonearest_test_data): New variable.
54764         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54765         (sin_towardzero_test_data): New variable.
54766         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54767         (sin_downward_test_data): New variable.
54768         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54769         (sin_upward_test_data): New variable.
54770         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54771         (sinh_test_data): New variable.
54772         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54773         (sinh_tonearest_test_data): New variable.
54774         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54775         (sinh_towardzero_test_data): New variable.
54776         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54777         (sinh_downward_test_data): New variable.
54778         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54779         (sinh_upward_test_data): New variable.
54780         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54781         (sqrt_test_data): New variable.
54782         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54783         (tan_test_data): New variable.
54784         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54785         (tan_tonearest_test_data): New variable.
54786         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54787         (tan_towardzero_test_data): New variable.
54788         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54789         (tan_downward_test_data): New variable.
54790         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54791         (tan_upward_test_data): New variable.
54792         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54793         (tanh_test_data): New variable.
54794         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54795         (tgamma_test_data): New variable.
54796         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54797         (trunc_test_data): New variable.
54798         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54799         (y0_test_data): New variable.
54800         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54801         (y1_test_data): New variable.
54802         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54803         (significand_test_data): New variable.
54804         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54806 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54808         [BZ #12387]
54809         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54811 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54813         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54815 2013-05-10  Andreas Jaeger  <aj@suse.de>
54817         [BZ #15448]
54818         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54819         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54821 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54823         * math/gen-libm-test.pl (adjust_arg): New function.
54824         (special_functions): Handle generating output in both functions
54825         and arrays.
54826         (parse_args): Likewise.
54827         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54828         $in_func argument to parse_args.
54829         * math/libm-test.inc (struct test_f_f_data): New type.
54830         (IF_ROUND_INIT_): New macro.
54831         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54832         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54833         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54834         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54835         (ROUND_RESTORE_): Likewise.
54836         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54837         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54838         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54839         (ROUND_RESTORE_FE_UPWARD): Likewise.
54840         (RUN_TEST_LOOP_f_f): New macro.
54841         (acos_test_data): New variable.
54842         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54843         (acos_tonearest_test_data): New variable.
54844         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54846 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54848         * benchtests/bench-skeleton.c (startup): Fix coding style.
54850 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54852         [BZ #6809]
54853         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54854         negative infinity argument.
54855         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54856         negative infinity argument.
54857         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54858         negative infinity argument.
54859         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54860         domain errors.
54862 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54864         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54865         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54866         * iconv/iconv_prog.c (main): Likewise.
54867         * locale/programs/charmap-dir.c (charmap_readdir)
54868         (fopen_uncompressed): Likewise.
54869         * locale/programs/locfile.c (siblings_uncached)
54870         (write_locale_data): Use lstat64 instead of lstat.
54871         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54872         stat.
54874 2013-05-10  Andreas Jaeger  <aj@suse.de>
54876         [BZ #15395]
54877         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54878         localization.
54879         Include <locale.h>.
54881 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54883         * elf/dl-close.c (_dl_close_worker): Add comments.
54885 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54887         [BZ #15359]
54888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54889         high part of pi/2.
54890         (__ieee754_rem_pio2l): Update comments.
54892         [BZ #15429]
54893         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54894         high part of pi/2.
54895         (__ieee754_rem_pio2l): Update comments.
54897         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54898         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54900         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54901         M_PI_4l.
54903         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54904         (M_PI_34_LOG10El): Likewise.
54905         (M_PI2_LOG10El): Likewise.
54906         (M_PI4_LOG10El): Likewise.
54907         (M_PI_LOG10El): Likewise.
54909 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54913 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54915         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54916         (MINUS_ZERO_INIT): Likewise.
54917         (PLUS_INFTY_INIT): Likewise.
54918         (MINUS_INFTY_INIT): Likewise.
54919         (QNAN_VALUE_INIT): Likewise.
54920         (MAX_VALUE_INIT): Likewise.
54921         (MIN_VALUE_INIT): Likewise.
54922         (MIN_SUBNORM_VALUE_INIT): Likewise.
54923         (plus_zero): Initialize with PLUS_ZERO_INIT.
54924         (minus_zero): Initialize with MINUS_ZERO_INIT.
54925         (plus_infty): Initialize with PLUS_INFTY_INIT.
54926         (minus_infty): Initialize with MINUS_INFTY_INIT.
54927         (qnan_value): Initialize with QNAN_VALUE_INIT.
54928         (max_value): Initialize with MAX_VALUE_INIT.
54929         (min_value): Initialize with MIN_VALUE_INIT.
54930         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54932         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54933         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54934         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54935         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54937         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54938         (RUN_TEST_2_f): Likewise.
54939         (RUN_TEST_ff_f): Likewise.
54940         (RUN_TEST_fi_f): Likewise.
54941         (RUN_TEST_fl_f): Likewise.
54942         (RUN_TEST_fff_f): Likewise.
54943         (RUN_TEST_c_f): Likewise.
54944         (RUN_TEST_f_f1): Likewise.
54945         (RUN_TEST_fF_f1): Likewise.
54946         (RUN_TEST_fI_f1): Likewise.
54947         (RUN_TEST_ffI_f1): Likewise.
54948         (RUN_TEST_c_c): Likewise.
54949         (RUN_TEST_cc_c): Likewise.
54950         (RUN_TEST_f_i): Likewise.
54951         (RUN_TEST_f_i_tg): Likewise.
54952         (RUN_TEST_ff_i_tg): Likewise.
54953         (RUN_TEST_f_b): Likewise.
54954         (RUN_TEST_f_b_tg): Likewise.
54955         (RUN_TEST_f_l): Likewise.
54956         (RUN_TEST_f_L): Likewise.
54957         (RUN_TEST_sincos): Likewise.
54958         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54959         whether to show exceptions.  Do not include ");\n" in return
54960         value.
54961         (special_functions): Output call to RUN_TEST_sincos instead of
54962         check_float calls.  Update calls to new_test.
54963         (parse_args): Output call to single RUN_TEST_* macro instead of
54964         check_* calls and other assignments.  Update calls to new_test.
54966         [BZ #2546]
54967         [BZ #2560]
54968         [BZ #5159]
54969         [BZ #15426]
54970         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54971         input to result for tgamma overflow.
54972         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54973         (gamma_coeff): New variable.
54974         (NCOEFF): New macro.
54975         (gamma_positive): New function.
54976         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54977         underflow here.  Use gamma_positive instead of exp (lgamma) for
54978         other arguments.
54979         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54980         (gamma_coeff): New variable.
54981         (NCOEFF): New macro.
54982         (gammaf_positive): New function.
54983         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54984         underflow here.  Use gamma_positive instead of exp (lgamma) for
54985         other arguments.
54986         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54987         (gamma_coeff): New variable.
54988         (NCOEFF): New macro.
54989         (gammal_positive): New function.
54990         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54991         underflow here.  Use gamma_positive instead of exp (lgamma) for
54992         other arguments.
54993         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54994         (gamma_coeff): New variable.
54995         (NCOEFF): New macro.
54996         (gammal_positive): New function.
54997         (__ieee754_gammal_r): Handle positive infinity, overflow and
54998         underflow here.  Handle NaN the same as positive infinity.  Remove
54999         check x < 0xffffffff for negative integers.  Use gamma_positive
55000         instead of exp (lgamma) for other arguments.
55001         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55002         (gamma_coeff): New variable.
55003         (NCOEFF): New macro.
55004         (gammal_positive): New function.
55005         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55006         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55010         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55011         * sysdeps/generic/math_private.h (__gamma_productf): New
55012         prototype.
55013         (__gamma_product): Likewise.
55014         (__gamma_productl): Likewise.
55015         * math/Makefile (libm-calls): Add gamma_product.
55016         * math/libm-test.inc (tgamma_test): Add more tests.
55017         * sysdeps/i386/fpu/libm-test-ulps: Update.
55018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55020 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55022         * benchtests/bench-skeleton.c (main): Preheat CPU.
55024 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55026         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55028 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55030         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55031         and _dl_skip_args_internal.
55033 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55035         * manual/message.texi (Message Translation): Talk about users.
55036         Message to key mapping impacts design.
55038 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55040         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55042         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55044         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55045         * sysdeps/wordsize-64/glob64.c: ... here.
55047         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55048         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55049         New macros.
55051         * debug/getlogin_r_chk.c: Moved to ...
55052         * login/getlogin_r_chk.c: ... here.
55053         * debug/Makefile (routines): Move getlogin_r_chk to ...
55054         * login/Makefile (routines): ... here.
55055         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55056         * login/Versions (libc: GLIBC_2.4): ... here.
55058         * io/poll.c (__poll): Renamed from poll.
55059         Add libc_hidden_def.
55060         (poll): Define as weak alias.
55062         * debug/ptsname_r_chk.c: Moved to ...
55063         * login/ptsname_r_chk.c: ... here.
55064         * debug/Makefile (routines): Move ptsname_r_chk to ...
55065         * login/Makefile (routines): ... here.
55066         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55067         * login/Versions (libc: GLIBC_2.4): ... here.
55069         * posix/getlogin.c: Moved to ...
55070         * login/getlogin.c: ... here.
55071         * posix/getlogin_r.c: Moved to ...
55072         * login/getlogin_r.c: ... here.
55073         * posix/getlogin_r.c: Moved to ...
55074         * login/getlogin_r.c: ... here.
55075         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55076         * login/Makefile (routines): ... here.
55077         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55078         * login/Versions (libc: GLIBC_2.0): ... here.
55080         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55081         (setrlimit): Define as weak alias.
55083         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55084         Call __ names for open, ftruncate, and close.
55085         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55086         (truncate): Define as weak alias.
55088 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55090         * math/gen-libm-test.pl (parse_args): Initialize x before each
55091         test of frexp, modf and remquo.
55093         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55094         test signgam value.
55096 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55098         [BZ #15418]
55099         [BZ #15419]
55100         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55101         internal tests.
55102         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55104 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55106         * elf/dl-writev.h: New file.
55107         * elf/dl-misc.c: Include it.
55108         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55109         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55111 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55113         * math/libm-test.inc (noXFails): Remove variable.
55114         (noXPasses): Likewise.
55115         (BUILD_COMPLEX_INT): Remove macro.
55116         (print_screen): Remove xfail argument.
55117         (print_screen_max_error): Likewise.
55118         (update_stats): Likewise.
55119         (print_max_error): Likewise.  Update calls to other affected
55120         functions.
55121         (print_complex_max_error): Likewise.
55122         (test_single_exception): Update calls to print_screen.
55123         (test_single_errno): Likewise.
55124         (check_float_internal): Remove xfail argument.  Update calls to
55125         other affected functions.
55126         (check_float): Likewise.
55127         (check_complex): Likewise.
55128         (check_int): Likewise.
55129         (check_long): Likewise.
55130         (check_bool): Likewise.
55131         (check_longlong): Likewise.
55132         (main): Don't print noXFails and noXPasses.
55133         * math/gen-libm-test.pl (top level): Don't mention expected
55134         failure handling in comment.
55135         (new_test): Don't handle expected failures.
55136         (parse_args): Don't mention expected failure handling in comment.
55137         (generate_testfile): Don't handle expected failures.
55138         (parse_ulps): Likewise.
55139         (print_ulps_file): Likewise.
55140         (get_failure): Remove function.
55141         (output_test): Don't handle expected failures.
55142         * make/README.libm-test: Don't mention expected failure handling.
55144         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55145         (minus_zero): Likewise.
55146         (plus_infty): Likewise.
55147         (minus_infty): Likewise.
55148         (qnan_value): Likewise.
55149         (max_value): Likewise.
55150         (min_value): Likewise.
55151         (min_subnorm_value): Likewise.
55152         (initialize): Do not initialize those variables dynamically.
55154 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55156         * io/open.c (__open_2): Moved to ...
55157         * io/open_2.c: ... this new file.
55158         * io/open64.c (__open64_2): Moved to ...
55159         * io/open64_2.c: ... this new file.
55160         * io/openat.c (__openat_2): Moved to ...
55161         * io/openat_2.c: ... this new file.
55162         * io/openat64.c (__openat64_2): Moved to ...
55163         * io/openat64_2.c: ... this new file.
55164         * io/Makefile (routines): Add them.
55165         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55166         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55167         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55168         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55169         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55170         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55171         (__openat64): Add hidden_ver.
55172         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55173         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55175         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55176         Separately conditionalize setting of GLRO(dl_sysinfo) so
55177         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55178         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55180 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55182         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55184         definition.
55185         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55186         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55187         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55188         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55189         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55191 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55193         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55194         test signgam value.
55196         * math/libm-test.inc (hypot_test): Do not use
55197         IGNORE_ZERO_INF_SIGN.
55199 2013-05-03  Andreas Jaeger  <aj@suse.de>
55201         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55202         Linux 3.9.
55203         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55204         (PF_MAX): Adjust for VSOCK change.
55206 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55210 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55212         [BZ #15264]
55213         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55214         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55215         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55217 2013-05-02  David S. Miller  <davem@davemloft.net>
55219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55221 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55223         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55225 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55227         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55229 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55231         [BZ #14952]
55232         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55233         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55234         Use __attribute__ ((__gnu_inline__)).
55235         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55236         Don't use __attribute__ ((__gnu_inline__)).
55238 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55240         [BZ #15423]
55241         * math/s_catan.c (__catan): Handle small real or imaginary part of
55242         input specially to avoid spurious underflow.
55243         * math/s_catanf.c (__catanf): Likewise.
55244         * math/s_catanh.c (__catanh): Likewise.
55245         * math/s_catanhf.c (__catanhf): Likewise.
55246         * math/s_catanhl.c (__catanhl): Likewise.
55247         * math/s_catanl.c (__catanl): Likewise.
55248         * math/libm-test.inc (catan_test): Add more tests.
55249         (catanh_test): Likewise.
55250         * sysdeps/i386/fpu/libm-test-ulps: Update.
55251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55253 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55257 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55259         [BZ #15416]
55260         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55261         accurately for denominator in atan2.
55262         * math/s_catanf.c (__catanf): Likewise.
55263         * math/s_catanh.c (__catanh): Likewise.
55264         * math/s_catanhf.c (__catanhf): Likewise.
55265         * math/s_catanhl.c (__catanhl): Likewise.
55266         * math/s_catanl.c (__catanl): Likewise.
55267         * math/libm-test.inc (catan_test): Add more tests.
55268         (catanh_test): Likewise.
55269         * sysdeps/i386/fpu/libm-test-ulps: Update.
55270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55272 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55274         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55276         * benchtests/Makefile (bench): Remove slow benchmarks.
55277         * benchtests/atan-inputs: Add slow benchmark inputs.
55278         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55279         (BENCH_FUNC): Accept variant offset.
55280         (VARIANT): Define.
55281         * benchtests/bench-skeleton.c (main): Run benchmark for each
55282         variant.
55283         * benchtests/cos-inputs: Add slow benchmark inputs.
55284         * benchtests/exp-inputs: Likewise.
55285         * benchtests/pow-inputs: Likewise.
55286         * benchtests/sin-inputs: Likewise.
55287         * benchtests/slowatan-inputs: Remove.
55288         * benchtests/slowatan.c: Remove.
55289         * benchtests/slowcos-inputs: Remove.
55290         * benchtests/slowcos.c: Remove.
55291         * benchtests/slowexp-inputs: Remove.
55292         * benchtests/slowexp.c: Remove.
55293         * benchtests/slowpow-inputs: Remove.
55294         * benchtests/slowpow.c: Remove.
55295         * benchtests/slowsin-inputs: Remove.
55296         * benchtests/slowsin.c: Remove.
55297         * benchtests/slowtan-inputs: Remove.
55298         * benchtests/slowtan.c: Remove.
55299         * benchtests/tan-inputs: Add slow benchmark inputs.
55300         * scripts/bench.pl: Parse comments and directives.
55302         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55303         in CPPFLAGS.
55304         ($(objpfx)bench-%.c): Remove *-ITER.
55305         * benchtests/bench-modf.c: Remove definition of ITER.
55306         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55307         (main): Loop for DURATION seconds instead of fixed number of
55308         iterations.
55309         * scripts/bench.pl: Don't expect iterations in parameters.
55311 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55313         * io/fchdir.c (__fchdir): Renamed from fchdir.
55314         (fchdir): Define as weak alias.
55316 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55318         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55319         (ERRNO_EDOM): Likewise.
55320         (ERRNO_ERANGE): Likewise.
55321         (noErrnoTests): New variable.
55322         (init_max_error): Set errno to 0.
55323         (test_single_errno): New function.
55324         (test_errno): Likewise.
55325         (check_float_internal): Call test_errno.  Set errno to 0.
55326         (check_complex): Refer to errno tests in comment.
55327         (check_int): Call test_errno.  Set errno to 0.
55328         (check_long): Likewise.
55329         (check_bool): Likewise.
55330         (check_longlong): Likewise.
55331         (cos_test): Use ERRNO_* flags for errno tests instead of
55332         check_int.
55333         (expm1_test): Likewise.
55334         (fmod_test): Likewise.
55335         (ilogb_test): Likewise.
55336         (lgamma_test): Likewise.
55337         (pow_test): Likewise.
55338         (remainder_test): Likewise.
55339         (sin_test): Likewise.
55340         (tan_test): Likewise.
55341         (yn_test): Likewise.
55342         (initialize): Set errno to 0.
55343         (main): Print number of errno tests.
55344         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55346 2013-04-29  Andreas Jaeger  <aj@suse.de>
55348         [BZ #15084]
55349         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55350         and RES_USEVC.
55352         [BZ #15085]
55353         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55354         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55355         unimplemented.
55357         [BZ #15380]
55358         * stdlib/random.c (__initstate): Return NULL if
55359         __initstate fails.
55361         [BZ #15086]
55362         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55363         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55364         RES_SNGLKUPREOP.
55366 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55370 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55372         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55373         of individual tests.
55374         (casin_test): Likewise.
55375         (casinh_test): Likewise.
55377 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55379         [BZ #15409]
55380         * math/s_catan.c (__catan): Handle arguments with large real or
55381         imaginary part separately without squaring.
55382         * math/s_catanf.c (__catanf): Likewise.
55383         * math/s_catanh.c (__catanh): Likewise.
55384         * math/s_catanhf.c (__catanhf): Likewise.
55385         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55386         and redefine.
55387         (__catanhl): Handle arguments with large real or imaginary part
55388         separately without squaring.
55389         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55390         and redefine.
55391         (__catanl): Handle arguments with large real or imaginary part
55392         separately without squaring.
55393         * math/libm-test.inc (catan_test): Add more tests.
55394         (catanh_test): Likewise.
55395         * sysdeps/i386/fpu/libm-test-ulps: Update.
55396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55398 2013-04-27  Andreas Jaeger  <aj@suse.de>
55400         [BZ #15007]
55401         * stdlib/stdlib.h: Update guards for qecvt.
55402         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55403         <stdlib.h>.
55405 2013-04-27  Allan McRae  <allan@archlinux.org>
55407         * sysdeps/i386/fpu/libm-test-ulps: Update.
55409 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55411         [BZ #15406]
55412         * math/s_catan.c: Include <float.h>.
55413         (__catan): Ensure underflow exception occurs for underflowed
55414         result.
55415         * math/s_catanf.c: Include <float.h>.
55416         (__catanf): Ensure underflow exception occurs for underflowed
55417         result.
55418         * math/s_catanh.c: Include <float.h>.
55419         (__catanh): Ensure underflow exception occurs for underflowed
55420         result.
55421         * math/s_catanhf.c: Include <float.h>.
55422         (__catanhf): Ensure underflow exception occurs for underflowed
55423         result.
55424         * math/s_catanhl.c: Include <float.h>.
55425         (__catanhl): Ensure underflow exception occurs for underflowed
55426         result.
55427         * math/s_catanl.c: Include <float.h>.
55428         (__catanl): Ensure underflow exception occurs for underflowed
55429         result.
55430         * math/libm-test.inc (catan_test): Add more tests.
55431         (catanh_test): Likewise.
55433         [BZ #15405]
55434         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55435         underflowed result.
55436         * math/s_ccoshf.c (__ccoshf): Likewise.
55437         * math/s_ccoshl.c (__ccoshl): Likewise.
55438         * math/s_csin.c (__csin): Likewise.
55439         * math/s_csinf.c (__csinf): Likewise.
55440         * math/s_csinh.c (__csinh): Likewise.
55441         * math/s_csinhf.c (__csinhf): Likewise.
55442         * math/s_csinhl.c (__csinhl): Likewise.
55443         * math/s_csinl.c (__csinl): Likewise.
55444         * math/libm-test.inc (ccos_test): Add more tests.
55445         (ccosh_test): Likewise.
55446         (csin_test): Likewise.
55447         (csinh_test): Likewise.
55449 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55451         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55452         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55453         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55454         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55455         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55456         powerpc/power5+/fpu folders.
55457         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55460 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55464 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55466         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55467         additions to variable.
55468         [$(config-machine) = x86_64] (modules-names): Likewise.
55469         ($(objpfx)tst-audit3): Remove dependency.
55470         ($(objpfx)tst-audit3.out): Likewise.
55471         ($(objpfx)tst-audit4): Likewise.
55472         ($(objpfx)tst-audit4.out): Likewise.
55473         ($(objpfx)tst-audit5): Likewise.
55474         ($(objpfx)tst-audit5.out): Likewise.
55475         ($(objpfx)tst-audit6): Likewise.
55476         ($(objpfx)tst-audit6.out): Likewise.
55477         ($(objpfx)tst-audit7): Likewise.
55478         ($(objpfx)tst-audit7.out): Likewise.
55479         (tst-audit3-ENV): Remove variable.
55480         (tst-audit4-ENV): Likewise.
55481         (tst-audit5-ENV): Likewise.
55482         (tst-audit6-ENV): Likewise.
55483         (tst-audit7-ENV): Likewise.
55484         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55485         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55486         addition to variable.
55487         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55488         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55489         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55490         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55491         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55492         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55493         tst-audit3, tst-audit4 and tst-audit5.
55494         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55495         tst-audit6 and tst-audit7.
55496         [$(subdir) = elf] (modules-names): Add audit modules for those
55497         tests.
55498         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55499         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55500         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55501         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55502         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55503         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55504         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55505         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55506         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55507         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55508         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55509         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55510         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55511         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55512         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55513         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55514         Likewise.
55515         [$(subdir) = elf && $(config-cflags-avx) = yes]
55516         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55517         [$(subdir) = elf && $(config-cflags-avx) = yes]
55518         (CFLAGS-tst-auditmod4a.c): Likewise.
55519         [$(subdir) = elf && $(config-cflags-avx) = yes]
55520         (CFLAGS-tst-auditmod4b.c): Likewise.
55521         [$(subdir) = elf && $(config-cflags-avx) = yes]
55522         (CFLAGS-tst-auditmod6b.c): Likewise.
55523         [$(subdir) = elf && $(config-cflags-avx) = yes]
55524         (CFLAGS-tst-auditmod6c.c): Likewise.
55525         [$(subdir) = elf && $(config-cflags-avx) = yes]
55526         (CFLAGS-tst-auditmod7b.c): Likewise.
55527         * elf/tst-audit3.c: Move to ...
55528         * sysdeps/x86_64/tst-audit3.c: ... here.
55529         * elf/tst-audit4.c: Move to ...
55530         * sysdeps/x86_64/tst-audit4.c: ... here.
55531         * elf/tst-audit5.c: Move to ...
55532         * sysdeps/x86_64/tst-audit5.c: ... here.
55533         * elf/tst-audit6.c: Move to ...
55534         * sysdeps/x86_64/tst-audit6.c: ... here.
55535         * elf/tst-audit7.c: Move to ...
55536         * sysdeps/x86_64/tst-audit7.c: ... here.
55537         * elf/tst-auditmod3a.c: Move to ...
55538         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55539         * elf/tst-auditmod3b.c: Move to ...
55540         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55541         * elf/tst-auditmod4a.c: Move to ...
55542         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55543         * elf/tst-auditmod4b.c: Move to ...
55544         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55545         * elf/tst-auditmod5a.c: Move to ...
55546         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55547         * elf/tst-auditmod5b.c: Move to ...
55548         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55549         * elf/tst-auditmod6a.c: Move to ...
55550         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55551         * elf/tst-auditmod6b.c: Move to ...
55552         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55553         * elf/tst-auditmod6c.c: Move to ...
55554         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55555         * elf/tst-auditmod7a.c: Move to ...
55556         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55557         * elf/tst-auditmod7b.c: Move to ...
55558         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55560 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55562         [BZ #15366]
55563         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55564         define unconditionally.
55565         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55566         define unconditionally.
55567         (INT8_C, INT16_C, etc.): Likewise.
55569 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55571         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55572         __ehdr_start with hidden visibility.
55574         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55576 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55578         * math/libm-test.inc (cos_test): Use accurate hex constants.
55579         (sincost_test): Likewise.
55581 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55583         * math/libm-test.inc (catan_test): Add more tests.
55584         (catanh_test): Likewise.
55586         * math/s_catanf.c (__catanf): Use suffixed floating-point
55587         constants.
55588         * math/s_catanhf.c (__catanhf): Likewise.
55589         * math/s_catanhl.c (__catanhl): Likewise.
55590         * math/s_catanl.c (__catanl): Likewise.
55592         [BZ #15394]
55593         * math/s_catan.c (__catan): Calculate imaginary part of result
55594         with log1p not log unless computing log of number close to 0.
55595         * math/s_catanf.c (__catanf): Likewise.
55596         * math/s_catanl.c (__catanl): Likewise.
55597         * math/s_catanh.c (__catanh): Calculate real part of result with
55598         log1p not log unless computing log of number close to 0.
55599         * math/s_catanhf.c (__catanhf): Likewise.
55600         * math/s_catanhl.c (__catanhl): Likewise.
55601         * math/libm-test.inc (catan_test): Add more tests.
55602         (catanh_test): Likewise.
55603         * sysdeps/i386/fpu/libm-test-ulps: Update.
55604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55606 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55608         * benchtests/Makefile: Mention files in which fast and slow
55609         paths of math functions are implemented.
55611 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55613         * sysdeps/posix/timespec_get.c: New file.
55615 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55617         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55618         POWER.
55619         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55620         for POWER.
55621         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55622         powerpc/power5/fpu folders.
55623         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55624         * benchtests/Makefile: Add modf testcase.
55625         * benchtests/bench-modf.c: New file: Benchmark test for mo
55627 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55629         [BZ #14888]
55630         * time/Makefile (tests): Add tst-strptime-whitespace.
55631         * time/strptime_l.c (get_number): Use ISSPACE.
55632         (__strptime_internal): Likewise.
55633         * time/tst-strptime-whitespace.c: New test case.
55635 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55637         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55638         member.
55639         (_nss_files_init): Set it here.
55641 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55643         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55644         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55645         unsigned.
55647 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55649         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55651 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55654         size just once.
55656 2013-04-21  David S. Miller  <davem@davemloft.net>
55658         * po/ru.po: Update Russion translation from translation project.
55660 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55662         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55663         and setfsgid.
55665 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55667         * configure.in: Remove i386 configure warning. Remove i386 case.
55668         * configure: Regenerate.
55669         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55670         Add example to error message.
55671         * sysdeps/i386/configure: Regenerate.
55673 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55675         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55676         slowtan.
55677         * benchtests/cos-inputs: New file.
55678         * benchtests/slowcos-inputs: New file.
55679         * benchtests/slowcos.c: New file.
55680         * benchtests/slowtan-inputs: New file.
55681         * benchtests/slowtan.c: New file.
55682         * benchtests/tan-inputs: New file.
55684 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55686         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55687         considered kosher.
55689 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55691         * benchtests/Makefile: Include cppflags-iterator.mk to add
55692         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55694         * Makefile.in (bench-clean): New target.
55695         * benchtests/Makefile (bench-clean): Likewise.
55697 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55699         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55701 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55703         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55705 2013-04-15  Andreas Schwab  <schwab@suse.de>
55707         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55709         * nscd/pwdcache.c (cache_addpw): Likewise.
55710         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55711         more than recsize.
55713 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55715         * benchtests/Makefile (bench): Write all output to
55716         bench-out.tmp together.
55718 2013-04-15  Andreas Schwab  <schwab@suse.de>
55720         * nscd/nscd.c (main): Don't fork again after closing files.
55722 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55724         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55726         * benchtests/Rules (bench-deps): Collect dependencies into a
55727         single variable.  Add Makefile to dependencies.
55728         ($(objpfx)bench-%.c): Depend on bench-deps.
55730 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55731             Xavier Roche  <roche+kml2@exalead.com>
55733         [BZ #15361]
55734         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55735         just that it's a file descriptor.
55736         * manual/llio.texi (Synchronizing AIO Operations): Update description
55737         for EBADF error from aio_fsync.
55739 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55741         * Rules (bench): Move target definition...
55742         * benchtests/Makefile: ... here.
55744 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55746         * math/libm-test.inc (cos_test): Fix PI/2 test.
55747         (sincos_test): Likewise.
55748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55749         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55751 2013-04-11  Andreas Schwab  <schwab@suse.de>
55753         [BZ #13988]
55754         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55755         accept exponent character only when digits were seen.
55756         * stdio-common/Makefile (tests): Add bug26.
55757         * stdio-common/bug26.c: New file.
55759         [BZ #14293]
55760         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55761         non-freeable.
55763 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55765         * Makeconfig (rtld-prefix): Define built linker prefix.
55766         * Rules (run-bench): Use it.
55767         * math/Makefile (run-regen-ulps): Likewise.
55769         * Rules (bench): Remove eval.
55771 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55772             Roland McGrath  <roland@hack.frob.com>
55773             Ondrej Bilka  <neleai@seznam.cz>
55775         [BZ #15346]
55776         * time/getdate.c: Include ctype.h and alloca.h.
55777         (__getdate_r): Trim leading and trailing spaces of input.
55778         * time/tst-getdate.c (tests): Add tests with leading and
55779         trailing spaces.
55781 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55783         [BZ #14280]
55784         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55785         when computing value.
55787 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55789         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55790         Use testrun.sh to run libm tests.
55792         [BZ #15309]
55793         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55795 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55797         [BZ #15264]
55798         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55800 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55802         * Makefile.in (regen-ulps): New target.
55803         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55804         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55805         [ifneq (no,$(PERL)] (regen-ulps): New target.
55806         [ifeq (no,$(PERL)] (regen-ulps): New target.
55807         * math/libm-test.inc (ulps_file_name): Define.
55808         (output_dir): New variable.
55809         (options): Add "output-dir" option.
55810         (parse_opt): Handle 'o' case.
55811         (main): If output_dir is non-NULL use it as a prefix
55812         otherwise use "".
55813         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55815 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55817         [BZ #10060, #10062]
55818         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55819         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55820         fail configure if __sync_val_compare_and_swap is not inlined.
55821         * sysdeps/i386/configure: Regenerate.
55822         * configure.in: Build for i686 when configured for i386.
55823         * configure: Regenerate.
55824         * README: Remove i386 reference.
55826 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55828         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55829         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55831 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55833         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55834         (lmsnanval): New variables.
55835         (F): Add conversion tests.
55836         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55837         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55839         * stdio-common/tstdiomisc.c (F): Properly collect individual
55840         tests' results.
55842         [BZ #14686, #15336]
55843         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55844         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55845         Instead, use input NaN values or generate a qNaN by arithmetic
55846         operation.  Also fix bugs to comply with the standard.
55847         * math/libm-test.inc (remainder_test): Add more tests.
55849         [BZ #15335, #15342]
55850         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55852         input NaN values or generate a qNaN by arithmetic operation.
55854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55855         unreachable code.
55857         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55858         definitions.
55860 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55862         [BZ #14478]
55863         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55864         underflowed result.
55865         * math/s_cexpf.c (__cexpf): Likewise.
55866         * math/s_cexpl.c (__cexpl): Likewise.
55867         * math/libm-test.inc (cexp_test): Add more tests.
55869 2013-04-03  Andreas Schwab  <schwab@suse.de>
55871         [BZ #15330]
55872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55873         order arrays from heap if bigger than alloca cutoff.
55875 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55877         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55878         (SNAN_TESTS_double): Refer to GCC PR56831.
55879         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55880         GCC PR56828.
55882 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55884         * Rules (bench): Move bench.out after the run is complete.
55886         * Rules (bench): Echo currently running benchmark.
55888         * benchtests/Makefile (bench): Add atan and slowatan.
55889         * benchtests/atan-inputs: New file.
55890         * benchtests/slowatan-inputs: New file.
55891         * benchtests/slowatan.c: New file.
55893         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55895         its value.
55897         [BZ #15305]
55898         * sysdeps/unix/sysv/linux/kernel-features.h
55899         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55900         __ASSUME_XFS_RESTRICTED_CHOWN.
55901         * sysdeps/unix/sysv/linux/pathconf.c
55902         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55903         Save and restore errno.
55905 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55907         [BZ #15327]
55908         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55909         arguments using __kernel_casinh.
55910         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55911         arguments using __kernel_casinhf.
55912         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55913         arguments using __kernel_casinhl.
55914         * math/libm-test.inc (cacosh_test): Add more tests.
55915         * sysdeps/i386/fpu/libm-test-ulps: Update.
55916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55918 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55920         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55923         * bench/Makefile (bench): Add sin and slowsin.
55924         * benchtests/sin-inputs: New file.
55925         * benchtests/slowsin-inputs: New file.
55926         * benchtests/slowsin.c: New file.
55928         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55929         (bench): Add slowexp and slowpow.
55930         (exp-ITER): Increase iterations.
55931         (pow-ITER): Likewise.
55932         * benchtests/exp-inputs: Change input.
55933         * benchtests/pow-inputs: Likewise.
55934         * benchtests/slowexp-inputs: New file.
55935         * benchtests/slowexp.c: New file.
55936         * benchtests/slowpow-inputs: New file.
55937         * benchtests/slowpow.c: New file.
55939 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55941         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55942         instructions.
55943         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55944         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55945         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55946         * benchtests/Makefile: Add rint benchtest.
55947         * benchtests/rint-inputs: Input for rint benchtest.
55949 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55951         * Versions.def (libm): Add GLIBC_2.18.
55952         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55953         hidden libm prototypes.
55954         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55955         * math/Makefile (libm-calls): Add s_issignaling.
55956         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55957         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55958         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55959         declaration.
55960         * math/math.h [__USE_GNU] (issignaling): New macro.
55961         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55962         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55963         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55964         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55965         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55966         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55967         * manual/arith.texi (issignaling): New section.
55968         * manual/libm-err-tab.pl (@all_functions): Update comment.
55969         * math/gen-libm-test.pl (parse_args): Apply special handling for
55970         issignaling.
55971         * math/libm-test.inc (print_float, issignaling_test): New
55972         functions.
55973         (check_float_internal): Add issignaling checks.
55974         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55975         default definition.
55976         * sysdeps/powerpc/math-tests.h: New file.
55977         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55978         tests.
55979         * math/test-snan.c (TEST_FUNC): Likewise.
55981 2013-03-30  David S. Miller  <davem@davemloft.net>
55983         * po/de.po: Update from translation team.
55985 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55987         [BZ #10357]
55988         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55989         imaginary part less than 1.0 and real part less than 0.5
55990         specially.
55991         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55992         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55993         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55994         (cacos_test): Add more tests.
55995         (casin_test): Likewise.
55996         (casinh_test): Likewise.
55997         * sysdeps/i386/fpu/libm-test-ulps: Update.
55998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56000 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56002         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56003         ONE with its value.
56005         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56006         (__pow_mp): Replace ONE and MONE with their values.
56007         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56008         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56009         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56010         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56011         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56012         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56014         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56016         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56017         (__pow_mp): Replace ZERO and MZERO with their values.
56018         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56020         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56021         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56022         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56023         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56024         (__sqr): Likewise.
56026         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56028         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56030 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56032         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56033         Declare with __attribute__ ((weak)).
56034         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56035         Call __call_tls_dtors only if it's not NULL.
56037 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56039         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56040         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56041         magic __ehdr_start linker symbol if it's defined.
56042         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56043         them up here if it was already done.
56045         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56046         (_dl_aux_init): Use const in cast when setting it.
56047         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56048         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56049         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56051         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56052         Declare them here.
56053         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56054         * csu/libc-tls.c: Nor here.
56055         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56057         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56058         (__libc_message): Never call vsyslog.
56060 2013-03-28  Alan Modra  <amodra@gmail.com>
56062         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56063         Define as empty.
56064         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56065         Likewise.
56067 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56069         [BZ #15214]
56070         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56071         underflow.
56072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56074 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56076         [BZ #15304]
56077         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56078         Don't add gid passed as argument.
56080         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56082 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56084         [BZ #15307]
56085         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56086         imaginary part between 1.0 and 1.5 and real part less than 0.5
56087         specially.
56088         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56089         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56090         * math/libm-test.inc (cacos_test): Add more tests.
56091         (casin_test): Likewise.
56092         (casinh_test): Likewise.
56093         * sysdeps/i386/fpu/libm-test-ulps: Update.
56094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56096 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56098         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56099         constants.
56100         (norm): Likewise.
56101         (denorm): Likewise.
56102         (__dbl_mp): Likewise.
56103         (add_magnitudes): Likewise.
56104         (sub_magnitudes): Likewise.
56105         (__add): Likewise.
56106         (__sub): Likewise.
56107         (__mul): Likewise.
56108         (__sqr): Likewise.
56109         (__inv): Likewise.
56110         (__dvd): Likewise.
56112         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56113         commented code.
56114         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56115         (__dubcos): Likewise.
56116         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56117         (__ieee754_acos): Likewise.
56118         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56119         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56120         (__exp1): Likewise.
56121         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56123         (log1): Likewise.
56124         (my_log2): Likewise.
56125         (checkint): Likewise.
56126         * sysdeps/ieee754/dbl-64/e_remainder.c
56127         (__ieee754_remainder): Likewise.
56128         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56130         (bsloww): Likewise.
56131         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56133         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56134         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56135         MANTISSA_STORE_T to store computations on mantissa.  Use
56136         macros for rounding and division.
56137         (denorm): Likewise.
56138         (__dbl_mp): Likewise.
56139         (add_magnitudes): Likewise.
56140         (sub_magnitudes): Likewise.
56141         (__mul): Likewise.
56142         (__sqr): Likewise.
56143         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56144         powers of two in terms of TWOPOW macro.
56145         (mp_no): Make type of mantissa as MANTISSA_T.
56146         [!RADIXI]: Define RADIXI.
56147         [!TWO52]: Define TWO52.
56148         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56150 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56152         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56153         llroundl symbol when building for PPC32.
56155 2013-03-24  Mark H Weaver  <mhw@netris.org>
56157         * manual/arith.texi (Normalization Functions): Fix prototypes for
56158         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56160 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56162         [BZ #13889]
56163         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56164         high value to check if expl overflow.
56165         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56166         to check for underflow and overflow.
56167         * math/libm-test.inc: Add exp test.
56169 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56171         [BZ #11120]
56172         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56173         with NOT_IN_libc.
56175 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56177         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56178         symbol.
56180 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56182         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56183         wrap blocks consisting of several statements.
56185         * sysdeps/generic/math-tests.h: New file.
56186         * sysdeps/i386/fpu/math-tests.h: Likewise.
56187         * math/test-snan.c: Include it.
56188         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56190 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56192         [BZ #15285]
56193         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56194         (__ieee754_j0l): Do not improve calculations using cos of twice
56195         input for inputs above LDBL_MAX / 2.0L.
56196         (__ieee754_y0l): Likewise.
56197         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56198         (__ieee754_j1l): Do not improve calculations using cos of twice
56199         input for inputs above LDBL_MAX / 2.0L.
56200         (__ieee754_y1l): Likewise.
56201         * math/libm-test.inc (j0_test): Add another test.
56202         (j1_test): Likewise.
56203         (y0_test): Likewise.
56204         (y1_test): Likewise.
56205         * sysdeps/i386/fpu/libm-test-ulps: Update.
56207 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56209         * Rules ($(objpfx)bench-%.c): Include code from a C source
56210         file.
56212 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56214         [BZ #15287]
56215         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56216         imaginary part 1.0 and real part less than 0.5 specially.
56217         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56218         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56219         * math/libm-test.inc (cacos_test): Add more tests.
56220         (casin_test): Likewise.
56221         (casinh_test): Likewise.
56222         * sysdeps/i386/fpu/libm-test-ulps: Update.
56223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56225 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56227         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56228         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56230 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56232         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56233         * config.make.in (config-cflags-sse4): Remove variable.
56234         (config-cflags-avx): Likewise.
56235         (config-cflags-sse2avx): Likewise.
56236         (config-cflags-novzeroupper): Likewise.
56237         (config-asflags-i686): Likewise.
56238         (have-mfma4): Likewise.
56239         (have-as-vis3): Likewise.
56240         (MIG): Likewise.
56241         * configure.in (MIG): Do not AC_SUBST.
56242         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56243         (libc_cv_cc_sse4): Do not AC_SUBST.
56244         (libc_cv_cc_avx): Likewise.
56245         (libc_cv_cc_sse2avx): Likewise.
56246         (libc_cv_cc_novzeroupper): Likewise.
56247         (libc_cv_cc_fma4): Likewise.
56248         (libc_cv_as_i686): Likewise.
56249         (libc_cv_sparc_as_vis3): Likewise.
56250         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56251         LIBC_CONFIG_VAR.
56252         (config-asflags-i686): Likewise.
56253         (config-cflags-avx): Likewise.
56254         (config-cflags-sse2avx): Likewise.
56255         (have-mfma4): Likewise.
56256         (config-cflags-novzeroupper): Likewise.
56257         * sysdeps/mach/configure.in (MIG): Likewise.
56258         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56259         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56260         LIBC_CONFIG_VAR.
56261         (config-cflags-avx): Likewise.
56262         (config-cflags-sse2avx): Likewise.
56263         (have-mfma4): Likewise.
56264         (config-cflags-novzeroupper): Likewise.
56265         * configure: Regenerated.
56266         * sysdeps/i386/configure: Likewise.
56267         * sysdeps/mach/configure: Likewise.
56268         * sysdeps/sparc/configure: Likewise.
56269         * sysdeps/x86_64/configure: Likewise.
56271 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56273         [BZ #14812]
56274         * locale/programs/localedef.c (options): Put N_ translation marker
56275         on argument names, not just descriptions.
56277 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56279         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56281 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56283         [BZ #14176]
56284         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56286 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56288         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56289         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56290         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56291         [!BEFORE_ABORT] (before_abort): New function.
56292         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56293         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56294         (writev_for_fatal): New function.
56295         (WRITEV_FOR_FATAL): New macro; call that.
56296         (backtrace_and_maps): New function.
56297         (BEFORE_ABORT): New macro; call that.
56298         (struct str_list): Type removed.
56299         (__libc_message, __libc_fatal): Functions removed.
56300         Include <sysdeps/posix/libc_fatal.c> instead.
56302 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56304         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56305         constants.
56306         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56307         double constants.
56309 2013-03-19  Andreas Schwab  <schwab@suse.de>
56311         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56312         * sysdeps/gnu/configure: Regenerate.
56314         * configure.in: Substitute libc_cv_rtlddir.
56315         * configure: Regenerate.
56316         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56317         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56318         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56319         * elf/Makefile (install-others, CFLAGS-interp.c)
56320         (ldso_install, common-ldd-rewrite): Likewise.
56321         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56322         $(inst_slibdir)/$(rtld-installed-name).
56323         * scripts/rellns-sh: Add -p option.
56324         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56325         for source.
56327 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56329         * manual/nptl.texi: Renamed to ...
56330         * manual/threads.texi: ... this.
56331         * manual/Makefile (chapters): Update.
56333 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56335         [BZ #14812]
56336         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56337         on argument names, not just descriptions.
56338         * malloc/memusagestat.c (options): Likewise.
56339         * nss/getent.c (options): Likewise.
56341 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56343         [BZ #14812]
56344         * iconv/iconv_prog.c (options): Put N_ translation marker
56345         on argument names, not just descriptions.
56346         * iconv/iconvconfig.c (options): Likewise.
56348 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56350         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56351         implementation which is faster on all x86_64 architectures.
56352         Tested on AMD, Intel Nehalem, SNB, IVB.
56353         * sysdeps/x86_64/strnlen.S: Likewise.
56355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56356         Remove all multiarch strlen and strnlen versions.
56357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56358         Remove strlen and strnlen related parts.
56360         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56361         Inline strlen part.
56362         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56364         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56365         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56366         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56367         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56368         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56369         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56371 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56373         * manual/memory.texi (Malloc Tunable Parameters):
56374         Sort parameters alphabetically. Add comments for missing entries.
56376 2013-03-17  David S. Miller  <davem@davemloft.net>
56378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56380 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56382         [BZ #15283]
56383         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56384         for arguments at most half maximum finite value.
56385         * math/libm-test.inc (j0_test): Add more tests.
56386         (j1_test): Likewise.
56387         (y0_test): Likewise.
56388         (y1_test): Likewise.
56389         * sysdeps/i386/fpu/libm-test-ulps: Update.
56390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56392         [BZ #14155]
56393         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56394         1 / x and functions P and Q for arguments above 0x1p256L.
56395         (__ieee754_y0l): Likewise.
56396         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56397         (__ieee754_y1l): Likewise.
56398         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56399         (j1_test): Likewise.
56400         (y0_test): Likewise.
56401         (y1_test): Likewise.
56403 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56405         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56406         variable.
56408 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56410         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56411         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56412         zero since it's initialized to EXEC_PAGESIZE.
56414         * sysdeps/unix/sysv/linux/ldsodefs.h
56415         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56416         * sysdeps/generic/ldsodefs.h: ... here.
56418 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56420         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56422         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56423         math/test-snan.c.
56424         * math/test-snan.c: Renamed from
56425         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56426         * math/Makefile (tests): Add test-snan.
56427         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56428         test-powerpc-snan.
56430         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56431         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56432         functions.
56433         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56434         __builtin_nan family of functions.
56435         * math/libm-test.inc (initialize): Initialize qnan_value with
56436         __builtin_nan family of functions.
56437         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56438         Remove variables.
56439         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56440         Remove functions.
56441         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56442         storage class.  Initialize qNaN_var and sNaN_var with
56443         __builtin_nan and __builtin_nans families of functions,
56444         respectively.
56446         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56447         (sqrt_test): Remove duplicate test with qNaN input.
56448         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56449         (round_test, signbit_test, significand_test): Note missing +/-Inf
56450         as well as qNaN tests.
56452         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56453         qNaN_var.  Fix a few strings, too.
56454         * math/libm-test.inc (nan_value): Rename to qnan_value.
56455         * math/gen-libm-test.pl (%beautify): Adjust to that.
56456         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56457         * math/test-misc.c (main): Likewise.
56458         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56459         to __qnan_bytes, and __qnan_union, respectively.
56460         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56461         Likewise.
56462         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56463         and lqnanval, respectively.
56464         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56465         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56466         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56467         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56469         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56470         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56471         doubles.
56473         * math/test-misc.c (main): Fix copy'n'pastos.
56474         * misc/tst-efgcvt.c (special): Likewise.
56476         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56477         Remove declarations.
56479 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56481         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56482         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56483         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56484         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56486 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56488         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56489         macro to return vdso values correctly in IFUNC implementations.
56490         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56491         Optimization by using IFUNC.
56493 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56494             Richard Henderson  <rth@redhat.com>
56495             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56497         * Makefile.in (bench): New target.
56498         * NEWS: Mention the benchmark framework.
56499         * Rules (bench): Likewise.
56500         (binaries-bench): Generate binaries for functions to
56501         benchmark.
56502         * benchtests/Makefile: New makefile for benchmark tests.
56503         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56504         programs.
56505         * benchtests/exp-inputs: New input file for EXP function.
56506         * benchtests/pow-inputs: New input file for POW function.
56507         * scripts/bench.pl: New script to generate source files for
56508         benchmark programs.
56510 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56512         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56513         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56514         computations on mantissa.  Use macros for rounding and
56515         division.
56516         (denorm): Likewise.
56517         (__dbl_mp): Likewise.
56518         (add_magnitudes): Likewise.
56519         (sub_magnitudes): Likewise.
56520         (__mul): Likewise.
56521         (__sqr): Likewise.
56522         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56523         powers of two in terms of TWOPOW macro.
56524         (mp_no): Make type of mantissa as MANTISSA_T.
56525         [!RADIXI]: Define RADIXI.
56526         [!TWO52]: Define TWO52.
56527         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56529         * manual/nptl.texi (cindex): Modify threads to pthreads.
56531 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56533         * sysdeps/x86_64/preconfigure: Regenerated.
56535 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56537         [BZ #14155]
56538         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56539         0x1p28 and above.
56540         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56541         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56542         0x1p28 and above.
56543         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56544         * math/libm-test.inc (j0_test): Do not allow one spurious
56545         underflow exception.
56546         (y1_test): Likewise.
56548 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56550         * manual/Makefile (chapters): Add nptl.
56551         * manual/debug.texi (Debugging Support): Add link to Threads
56552         chapter.
56553         * manual/nptl.texi: New file.
56555         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56557 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56559         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56560         for non-NULL pointer before the memory validity test. Pointed
56561         out by Holger Brunck <holger.brunck@keymile.com>.
56563 2013-03-13  Andreas Schwab  <schwab@suse.de>
56565         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56566         instead of .os.
56568 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56570         * timezone/zic.c: Update from tzcode 2013b.
56572 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56574         * manual/install.texi (Configuring and compiling):
56575         Mention i686 and i586.
56576         * INSTALL: Regenerate.
56578 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56580         * sysdeps/init_array/elf-init.c: New file.
56581         * csu/elf-init.c
56582         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56583         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56585         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56586         __gmon_start__ as global, but as static with a .preinit_array pointer.
56587         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56588         * sysdeps/init_array/crti.S: New file, empty except for comments.
56589         * sysdeps/init_array/crtn.S: Likewise.
56591 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56593         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56594         definining bcopy.
56595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56596         Remove Prefer_SSE_for_memop.
56597         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56598         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56599         HAS_PREFER_SSE_FOR_MEMOP.
56600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56601         memset-x86-64.
56602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56603         Remove bzero, memset ifunc support.
56604         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56605         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56606         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56609 2013-03-11  Andreas Schwab  <schwab@suse.de>
56611         [BZ #15234]
56612         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56613         by SHLIB_COMPAT.
56614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56615         (GLIBC_2.16): Remove pthread_atfork.
56617 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56619         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56620         (ptestcases.h): Likewise.
56622 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56624         * Makeconfig ($(common-objpfx)config.status): Depend on
56625         sysdeps/*/preconfigure{,.in} too.
56627 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56629         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56630         (__free_hook): Use void * instead of __malloc_ptr_t.
56631         (__malloc_hook): Likewise.
56632         (__realloc_hook): Likewise.
56633         (__memalign_hook): Likewise.
56634         (__after_morecore_hook): Likewise.
56635         * malloc/arena.c (save_malloc_hook): Likewise.
56636         (save_free_hook): Likewise.
56637         * malloc/hooks.c (malloc_hook_ini): Likewise.
56638         (realloc_hook_ini): Likewise.
56639         (memalign_hook_ini): Likewise.
56640         * malloc/malloc.c (malloc_hook_ini): Likewise.
56641         (realloc_hook_ini): Likewise.
56642         (memalign_hook_ini): Likewise.
56643         (__free_hook): Likewise.
56644         (__malloc_hook): Likewise.
56645         (__realloc_hook): Likewise.
56646         (__memalign_hook): Likewise.
56647         (__libc_malloc): Likewise.
56648         (__libc_free): Likewise.
56649         (__libc_realloc): Likewise.
56650         (__libc_memalign): Likewise.
56651         (__libc_valloc): Likewise.
56652         (__libc_pvalloc): Likewise.
56653         (__libc_calloc): Likewise.
56654         (__posix_memalign): Likewise.
56655         * malloc/morecore.c (__sbrk): Likewise.
56656         (__default_morecore): Likewise.
56658         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56660         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56661         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56662         __malloc_ptrdiff_t.
56664         * malloc/malloc.h (__malloc_size_t): Remove macro.
56665         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56666         __malloc_size_t.
56667         (old_memalign_hook): Likewise.
56668         (old_realloc_hook): Likewise.
56669         (struct hdr): Likewise.
56670         (flood): Likewise.
56671         (mallochook): Likewise.
56672         (memalignhook): Likewise.
56673         (reallochook): Likewise.
56674         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56675         (tr_old_realloc_hook): Likewise.
56676         (tr_old_memalign_hook): Likewise.
56677         (tr_mallochook): Likewise.
56678         (tr_reallochook): Likewise.
56679         (tr_memalignhook): Likewise.
56681 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56683         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56684         default_ldbl_pack and using as default implementation.
56685         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56686         implementation.
56687         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56688         redundant definition.
56689         (ldbl_insert_mantissa): Likewise.
56690         (ldbl_canonicalize): Likewise.
56691         (ldbl_nearbyint): Likewise.
56692         (ldbl_pack): Rename to ldbl_pack_ppc.
56693         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56694         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56695         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56697 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56700         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56701         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56702         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56704         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56705         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56706         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56708 2013-03-07  Andreas Jaeger  <aj@suse.de>
56710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56711         bits/mman-linux.h.
56713 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56715         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56716         Include mpa.h and declare __MPEXP.
56717         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56718         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56719         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56720         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56721         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56722         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56723         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56725         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56726         (__slowpow): Use long double EXPL and LOGL functions to
56727         compute POW.
56728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56729         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56730         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56732         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56733         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56736         intermediate variable to calculate exponent.
56737         (__sqr): Likewise.
56738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56739         Likewise.
56740         (__sqr): Likewise.
56742         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56743         [!NO__SQR]: Define __sqr.
56744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56745         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56746         sysdeps/ieee754/dbl-64/mpa.c.
56747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56749         [BZ #12723]
56750         * posix/Makefile (tests): Add tst-pathconf.
56751         * posix/tst-pathconf.c: New test case.
56752         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56753         _PC_PIPE_BUF.
56754         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56756 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56758         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56760 2013-03-06  Andreas Jaeger  <aj@suse.de>
56762         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56763         definition via __MAP_ANONYMOUS.
56765         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56766         it's not part of Linux headers.
56768         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56769         (MAP_HUGE_MASK): Define.
56771         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56772         Define.
56773         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56774         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56775         Define.
56776         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56777         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56778         Define.
56779         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56780         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56781         Define.
56782         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56784         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56785         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56786         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56787         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56788         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56789         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56792         Handle f2fs.
56794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56795         Handle f2fs and efivarfs.
56797         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56798         f2fs.
56800         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56801         (EFIVARFS_MAGIC): Add.
56802         (F2FS_LINK_MAX): Add.
56804 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56806         * stdio-common/vfprintf.c: Replace __builtin_expect with
56807         __glibc_unlikely.
56809 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56811         [BZ #13550]
56812         * sysdeps/generic/bp-sym.h: Remove file.
56813         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56814         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56815         <bp-sym.h> and <bp-asm.h>.
56816         (__longjmp): Don't use BP_SYM.
56817         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56818         and <bp-asm.h>.
56819         (memcpy): Don't use BP_SYM.
56820         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56821         <bp-sym.h> and <bp-asm.h>.
56822         (memcpy): Don't use BP_SYM.
56823         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56824         <bp-asm.h>.
56825         (memcpy): Don't use BP_SYM.
56826         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56827         <bp-asm.h>.
56828         (memset): Don't use BP_SYM.
56829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56831         (__bzero): Don't use BP_SYM.
56832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56834         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56835         <bp-sym.h> and <bp-asm.h>.
56836         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56837         pointers.
56838         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56839         <bp-sym.h> and <bp-asm.h>.
56840         (memcpy): Don't use BP_SYM.
56841         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56842         <bp-sym.h> and <bp-asm.h>.
56843         (memset): Don't use BP_SYM.
56844         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56845         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56846         (__bzero): Don't use BP_SYM.
56847         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56848         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56849         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56850         <bp-sym.h> and <bp-asm.h>.
56851         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56852         pointers.
56853         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56854         <bp-sym.h> and <bp-asm.h>.
56855         (memcpy): Don't use BP_SYM.
56856         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56857         <bp-sym.h> and <bp-asm.h>.
56858         (memset): Don't use BP_SYM.
56859         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56860         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56861         (__bzero): Don't use BP_SYM.
56862         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56863         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56864         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56865         <bp-sym.h> and <bp-asm.h>.
56866         (__memchr): Don't use BP_SYM.
56867         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56868         <bp-sym.h> and <bp-asm.h>.
56869         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56870         pointers.
56871         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56872         <bp-sym.h> and <bp-asm.h>.
56873         (memcpy): Don't use BP_SYM.
56874         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56875         <bp-sym.h> and <bp-asm.h>.
56876         (__mempcpy): Don't use BP_SYM.
56877         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56878         <bp-sym.h> and <bp-asm.h>.
56879         (__memrchr): Don't use BP_SYM.
56880         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56881         <bp-sym.h> and <bp-asm.h>.
56882         (memset): Don't use BP_SYM.
56883         (__bzero): Likewise.
56884         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56885         <bp-sym.h> and <bp-asm.h>.
56886         (__rawmemchr): Don't use BP_SYM.
56887         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56888         <bp-sym.h> and <bp-asm.h>.
56889         (__STRCMP): Don't use BP_SYM.
56890         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56891         <bp-sym.h> and <bp-asm.h>.
56892         (strchr): Don't use BP_SYM.
56893         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56894         <bp-sym.h> and <bp-asm.h>.
56895         (__strchrnul): Don't use BP_SYM.
56896         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56897         <bp-sym.h> and <bp-asm.h>.
56898         (strlen): Don't use BP_SYM.
56899         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56900         <bp-sym.h> and <bp-asm.h>.
56901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56902         pointers.
56903         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56904         <bp-sym.h> and <bp-asm.h>.
56905         (__strnlen): Don't use BP_SYM.
56906         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56907         <bp-sym.h> and <bp-asm.h>.
56908         (__GI__setjmp): Don't use BP_SYM.
56909         (_setjmp): Likewise.
56910         (__sigsetjmp): Likewise.
56911         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56912         (L(start_addresses)): Don't use BP_SYM.
56913         (_start): Likewise.
56914         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56915         <bp-asm.h>.
56916         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56917         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56918         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56919         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56920         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56921         <bp-asm.h>.
56922         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56923         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56924         about bounded pointers.
56925         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56926         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56927         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56928         <bp-asm.h>.
56929         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56930         about bounded pointers.  Remove GKM FIXME comments.
56931         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56932         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56933         <bp-asm.h>.
56934         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56935         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56936         Remove GKM FIXME comments.
56937         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56938         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56939         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56940         <bp-asm.h>.
56941         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56942         about bounded pointers.  Remove GKM FIXME comment.
56943         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56944         and <bp-asm.h>.
56945         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56946         pointers.
56947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56948         <bp-sym.h> and <bp-asm.h>.
56949         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56951         <bp-sym.h> and <bp-asm.h>.
56952         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56953         comment.
56955 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56957         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56958         call free(NULL).
56960 2013-03-05  David S. Miller  <davem@davemloft.net>
56962         * po/es.po: Update from translation team.
56964 2013-03-05  Andreas Jaeger  <aj@suse.de>
56966         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56967         <bits/mman-linux.h>.
56968         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56969         is fine.
56970         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56971         <bits/mman-linux.h> to end of file.
56972         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56973         is fine.
56974         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56975         <bits/mman-linux.h> to end of file.
56976         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56977         is fine.
56978         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56979         <bits/mman-linux.h> to end of file.
56981         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56982         (MCL_CURRENT, MCL_FUTURE): Define here.
56984 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56986         [BZ #15232]
56987         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56988         attribute_hidden.
56989         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56991 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56993         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56994         fourth parameter needed for rt_sigprocmask syscall.
56995         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56996         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56997         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56998         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56999         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57000         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57002 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57004         [BZ #13550]
57005         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57006         comment about bounded pointers.
57007         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57008         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57010 2013-03-04  Andreas Jaeger  <aj@suse.de>
57012         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57013         common definitions.
57015         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57016         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57017         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57022 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57024         [BZ #15055]
57025         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57026         __ieee754_sqrl instead of __sqrl.
57028 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57030         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57031         * sysdeps/powerpc/fpu_control.h: ... here.
57032         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57033         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57034         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57035         * sysdeps/powerpc/bits/mathinline.h: ... here.
57037 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57039         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57040         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57041         to just [NEED_DL_SYSINFO_DSO].
57042         * elf/dl-support.c: Likewise.
57043         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57044         * elf/rtld.c (dl_main): Likewise.
57045         * elf/setup-vdso.h (setup_vdso): Likewise.
57046         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57047         * sysdeps/unix/sysv/linux/dl-sysdep.c
57048         (_dl_discover_osversion): Likewise.
57050 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57052         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57053         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57055 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57057         * NEWS: Mention libm performance improvements and non-x86 PI
57058         futex support.
57060         * csu/libc-start.c (__pthread_initialize_minimal): Change
57061         function arguments.
57062         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57064 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57066         [BZ #13550]
57067         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57068         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57069         <bp-sym.h> and <bp-asm.h>.
57070         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57071         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57072         and <bp-asm.h>.
57073         (memcpy): Don't use BP_SYM.
57074         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57075         <bp-asm.h>.
57076         (__mpn_add_n): Don't use BP_SYM.
57077         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57078         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57079         and <bp-asm.h>.
57080         (__mpn_addmul_1): Don't use BP_SYM.
57081         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57082         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57083         <bp-sym.h>.
57084         (_setjmp): Don't use BP_SYM.
57085         (__novmx_setjmp): Likewise.
57086         (__GI__setjmp): Likewise.
57087         (__vmx_setjmp): Likewise.
57088         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57089         <bp-sym.h>.
57090         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57091         (__bzero): Don't use BP_SYM.
57092         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57093         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57094         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57095         <bp-sym.h> and <bp-asm.h>.
57096         (memcpy): Don't use BP_SYM.
57097         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57098         <bp-sym.h> and <bp-asm.h>.
57099         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57100         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57101         <bp-sym.h> and <bp-asm.h>.
57102         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57103         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57104         <bp-asm.h>.
57105         (__mpn_lshift): Don't use BP_SYM.
57106         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57107         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57108         <bp-asm.h>.
57109         (memset): Don't use BP_SYM.
57110         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57111         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57112         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57113         <bp-asm.h>.
57114         (__mpn_mul_1): Don't use BP_SYM.
57115         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57116         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57117         <bp-sym.h> and <bp-asm.h>.
57118         (memcmp): Don't use BP_SYM.
57119         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57120         <bp-sym.h> and <bp-asm.h>.
57121         (memcpy): Don't use BP_SYM.
57122         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57123         <bp-sym.h> and <bp-asm.h>.
57124         (memset): Don't use BP_SYM.
57125         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57126         <bp-sym.h> and <bp-asm.h>.
57127         (strncmp): Don't use BP_SYM.
57128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57129         <bp-sym.h> and <bp-asm.h>.
57130         (memcpy): Don't use BP_SYM.
57131         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57132         <bp-sym.h> and <bp-asm.h>.
57133         (memset): Don't use BP_SYM.
57134         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57135         <bp-sym.h> and <bp-asm.h>.
57136         (__memchr): Don't use BP_SYM.
57137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57138         <bp-sym.h> and <bp-asm.h>.
57139         (memcmp): Don't use BP_SYM.
57140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57141         <bp-sym.h> and <bp-asm.h>.
57142         (memcpy): Don't use BP_SYM.
57143         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57144         <bp-sym.h> and <bp-asm.h>.
57145         (__mempcpy): Don't use BP_SYM.
57146         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57147         <bp-sym.h> and <bp-asm.h>.
57148         (__memrchr): Don't use BP_SYM.
57149         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57150         <bp-sym.h> and <bp-asm.h>.
57151         (memset): Don't use BP_SYM.
57152         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57153         <bp-sym.h> and <bp-asm.h>.
57154         (__rawmemchr): Don't use BP_SYM.
57155         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57156         <bp-sym.h> and <bp-asm.h>.
57157         (__STRCMP): Don't use BP_SYM.
57158         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57159         <bp-sym.h> and <bp-asm.h>.
57160         (strchr): Don't use BP_SYM.
57161         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57162         <bp-sym.h> and <bp-asm.h>.
57163         (__strchrnul): Don't use BP_SYM.
57164         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57165         <bp-sym.h> and <bp-asm.h>.
57166         (strlen): Don't use BP_SYM.
57167         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57168         <bp-sym.h> and <bp-asm.h>.
57169         (strncmp): Don't use BP_SYM.
57170         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57171         <bp-sym.h> and <bp-asm.h>.
57172         (__strnlen): Don't use BP_SYM.
57173         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57174         <bp-asm.h>.
57175         (__mpn_rshift): Don't use BP_SYM.
57176         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57177         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57178         <bp-sym.h> and <bp-asm.h>.
57179         (__sigsetjmp): Don't use BP_SYM.
57180         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57181         (L(start_addresses)): Don't use BP_SYM.
57182         (_start): Likewise.
57183         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57184         <bp-asm.h>.
57185         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57186         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57187         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57188         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57189         <bp-asm.h>.
57190         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57191         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57192         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57193         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57194         <bp-asm.h>.
57195         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57196         comments.
57197         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57198         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57199         <bp-asm.h>.
57200         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57201         FIXME comments.
57202         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57203         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57204         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57205         <bp-asm.h>.
57206         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57207         comment.
57208         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57209         and <bp-asm.h>.
57210         (strncmp): Don't use BP_SYM,
57211         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57212         <bp-asm.h>.
57213         (__mpn_sub_n): Don't use BP_SYM.
57214         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57215         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57216         and <bp-asm.h>.
57217         (__mpn_submul_1): Don't use BP_SYM.
57218         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57220         <bp-sym.h> and <bp-asm.h>.
57221         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57223         <bp-sym.h> and <bp-asm.h>.
57224         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57225         comment.
57227 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57230         Use ZK to minimize writes to Z.
57231         (sub_magnitudes): Simplify code a bit.
57232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57233         Use ZK to minimize writes to Z.
57234         (sub_magnitudes): Simplify code a bit.
57236 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57238         * csu/gmon-start.c: Add special exception to license text.
57240 2013-02-27  Richard Henderson  <rth@redhat.com>
57242         * scripts/config.guess: Update from config.git.
57243         * scripts/config.sub: Likewise.
57245 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57247         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57249         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57251         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57253         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57255         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57257 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57259         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57260         [$(build-shared = yes].
57262 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57264         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57265         (__mul): Reduce iterations for calculating mantissa.
57267         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57268         MPTWO.
57269         (__mpranred): Likewise.
57271         [BZ #15160]
57272         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57273         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57275 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57277         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57278         Define __attribute__.
57280 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57282         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57283         unused.
57284         * posix/regex_internal.h (__attribute): Remove.
57285         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57286         (re_string_context_at): Likewise.
57287         (bitset_not): Use __attribute__ and mark function as possibly
57288         unused.
57289         (bitset_merge): Likewise.
57290         (bitset_mask): Likewise.
57291         (re_string_char_size_at): Likewise.
57292         (re_string_wchar_at): Likewise.
57293         (re_string_elem_size_at): Likewise.
57295 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57297         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57298         code.
57299         (cc32): Likewise.
57301         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57302         (__acr): Likewise.
57303         (__cpy): Likewise.
57304         (norm): Likewise.
57305         (denorm): Likewise.
57306         (__dbl_mp): Likewise.
57307         (add_magnitudes): Likewise.
57308         (sub_magnitudes): Likewise.
57309         (__mul): Likewise.
57310         (__inv): Likewise.
57312         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57313         style.
57315         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57316         style.
57318         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57319         code.
57321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57322         up changes with default code.
57323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57324         Likewise.
57326 2013-02-24  Allan McRae  <allan@archlinux.org>
57328         * manual/socket.texi (The Internet Namespace): Order menu items
57329         to match that in the file.
57331         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57332         node listing of the info page menu.
57334 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57336         [BZ #13550]
57337         * sysdeps/i386/bp-asm.h: Remove file.
57338         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57339         (PARMS): Do not use macros from bp-asm.h.
57340         (S1): Likewise.
57341         (S2): Likewise.
57342         (SIZE): Likewise.
57343         (__mpn_add_n): Do not use BP_SYM
57344         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57345         "bp-asm.h".
57346         (PARMS): Do not use macros from bp-asm.h.
57347         (S1): Likewise.
57348         (SIZE): Likewise.
57349         (__mpn_addmul_1): Do not use BP_SYM
57350         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57351         "bp-asm.h".
57352         (PARMS): Do not use macros from bp-asm.h.
57353         (SIGMSK): Likewise.
57354         (_setjmp): Likewise.  Do not use BP_SYM.
57355         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57356         "bp-asm.h".
57357         (PARMS): Do not use macros from bp-asm.h.
57358         (SIGMSK): Likewise.
57359         (setjmp): Likewise.  Do not use BP_SYM.
57360         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57361         "bp-asm.h".
57362         (PARMS): Do not use macros from bp-asm.h.
57363         (__frexp): Do not use BP_SYM.
57364         (frexp): Likewise.
57365         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57366         "bp-asm.h".
57367         (PARMS): Do not use macros from bp-asm.h.
57368         (__frexpf): Do not use BP_SYM.
57369         (frexpf): Likewise.
57370         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57371         "bp-asm.h".
57372         (PARMS): Do not use macros from bp-asm.h.
57373         (__frexpl): Do not use BP_SYM.
57374         (frexpl): Likewise.
57375         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57376         "bp-asm.h".
57377         (PARMS): Do not use macros from bp-asm.h.
57378         (__remquo): Do not use BP_SYM.
57379         (remquo): Likewise.
57380         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57381         "bp-asm.h".
57382         (PARMS): Do not use macros from bp-asm.h.
57383         (__remquof): Do not use BP_SYM.
57384         (remquof): Likewise.
57385         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57386         "bp-asm.h".
57387         (PARMS): Do not use macros from bp-asm.h.
57388         (__remquol): Do not use BP_SYM.
57389         (remquol): Likewise.
57390         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57391         "bp-asm.h".
57392         (PARMS): Do not use macros from bp-asm.h.
57393         (DEST): Likewise.
57394         (SRC): Likewise.
57395         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57396         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57397         "bp-asm.h".
57398         (PARMS): Do not use macros from bp-asm.h.
57399         (strlen): Do not use BP_SYM.
57400         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57401         "bp-asm.h".
57402         (PARMS): Do not use macros from bp-asm.h.
57403         (S1): Likewise.
57404         (S2): Likewise.
57405         (SIZE): Likewise.
57406         (__mpn_add_n): Do not use BP_SYM.
57407         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57408         "bp-asm.h".
57409         (PARMS): Do not use macros from bp-asm.h.
57410         (S1): Likewise.
57411         (SIZE): Likewise.
57412         (__mpn_addmul_1): Do not use BP_SYM.
57413         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57414         weak_alias.
57415         (bzero): Likewise.
57416         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57417         "bp-asm.h".
57418         (PARMS): Do not use macros from bp-asm.h.
57419         (S): Likewise.
57420         (SIZE): Likewise.
57421         (__mpn_lshift): Do not use BP_SYM.
57422         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57423         "bp-asm.h".
57424         (PARMS): Do not use macros from bp-asm.h.
57425         (DEST): Likewise.
57426         (SRC): Likewise.
57427         (LEN): Likewise.
57428         (memcpy): Likewise.  Do not use BP_SYM.
57429         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57430         libc_hidden_def and weak_alias.
57431         (mempcpy): Do not use BP_SYM in weak_alias.
57432         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57433         "bp-asm.h".
57434         (PARMS): Do not use macros from bp-asm.h.
57435         (DEST): Likewise.
57436         (LEN): Likewise.
57437         [!BZERO_P] (CHR): Likewise.
57438         (memset): Likewise.  Do not use BP_SYM.
57439         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57440         "bp-asm.h".
57441         (PARMS): Do not use macros from bp-asm.h.
57442         (S1): Likewise.
57443         (SIZE): Likewise.
57444         (__mpn_mul_1): Do not use BP_SYM.
57445         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57446         "bp-asm.h".
57447         (PARMS): Do not use macros from bp-asm.h.
57448         (S): Likewise.
57449         (SIZE): Likewise.
57450         (__mpn_rshift): Do not use BP_SYM.
57451         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57452         "bp-asm.h".
57453         (PARMS): Do not use macros from bp-asm.h.
57454         (STR): Likewise.
57455         (CHR): Likewise.
57456         (strchr): Likewise.  Do not use BP_SYM.
57457         (index): Do not use BP_SYM in weak_alias.
57458         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57459         "bp-asm.h".
57460         (PARMS): Do not use macros from bp-asm.h.
57461         (DEST): Likewise.
57462         (SRC): Likewise.
57463         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57464         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57465         "bp-asm.h".
57466         (PARMS): Do not use macros from bp-asm.h.
57467         (strlen): Do not use BP_SYM.
57468         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57469         "bp-asm.h".
57470         (PARMS): Do not use macros from bp-asm.h.
57471         (S1): Likewise.
57472         (S2): Likewise.
57473         (SIZE): Likewise.
57474         (__mpn_sub_n): Do not use BP_SYM.
57475         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57476         "bp-asm.h".
57477         (PARMS): Do not use macros from bp-asm.h.
57478         (S1): Likewise.
57479         (SIZE): Likewise.
57480         (__mpn_submul_1): Do not use BP_SYM.
57481         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57482         "bp-asm.h".
57483         (PARMS): Do not use macros from bp-asm.h.
57484         (S1): Likewise.
57485         (S2): Likewise.
57486         (SIZE): Likewise.
57487         (__mpn_add_n): Do not use BP_SYM.
57488         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57489         weak_alias.
57490         (bzero): Likewise.
57491         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57492         "bp-asm.h".
57493         (PARMS): Do not use macros from bp-asm.h.
57494         (BLK2): Likewise.
57495         (LEN): Likewise.
57496         (memcmp): Do not use BP_SYM.
57497         (bcmp): Do not use BP_SYM in weak_alias.
57498         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57499         "bp-asm.h".
57500         (PARMS): Do not use macros from bp-asm.h.
57501         (DEST): Likewise.
57502         (SRC): Likewise.
57503         (LEN): Likewise.
57504         (memcpy): Likewise.  Do not use BP_SYM.
57505         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57506         "bp-asm.h".
57507         (PARMS): Do not use macros from bp-asm.h.
57508         (DEST): Likewise.
57509         (SRC): Likewise.
57510         (LEN): Likewise.
57511         (memmove): Likewise.  Do not use BP_SYM.
57512         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57513         "bp-asm.h".
57514         (PARMS): Do not use macros from bp-asm.h.
57515         (DEST): Likewise.
57516         (SRC): Likewise.
57517         (LEN): Likewise.
57518         (__mempcpy): Likewise.  Do not use BP_SYM.
57519         (mempcpy): Do not use BP_SYM in weak_alias.
57520         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57521         "bp-asm.h".
57522         (PARMS): Do not use macros from bp-asm.h.
57523         (DEST): Likewise.
57524         (LEN): Likewise.
57525         [!BZERO_P] (CHR): Likewise.
57526         (memset): Likewise.  Do not use BP_SYM.
57527         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57528         "bp-asm.h".
57529         (PARMS): Do not use macros from bp-asm.h.
57530         (STR2): Likewise.
57531         (strcmp): Do not use BP_SYM.
57532         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57533         "bp-asm.h".
57534         (PARMS): Do not use macros from bp-asm.h.
57535         (STR): Likewise.
57536         (DELIM): Likewise.
57537         [USE_AS_STRTOK_R] (SAVE): Likewise.
57538         (FUNCTION): Likewise.  Do not use BP_SYM.
57539         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57540         aliases.
57541         (strtok_r): Likewise.
57542         (__GI___strtok_r): Likewise.
57543         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57544         (PARMS): Do not use macros from bp-asm.h.
57545         (S): Likewise.
57546         (SIZE): Likewise.
57547         (__mpn_lshift): Do not use BP_SYM.
57548         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57549         (PARMS): Do not use macros from bp-asm.h.
57550         (STR): Likewise.
57551         (CHR): Likewise.
57552         (__memchr): Do not use BP_SYM.
57553         (memchr): Do not use BP_SYM in weak_alias.
57554         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57555         (PARMS): Do not use macros from bp-asm.h.
57556         (BLK2): Likewise.
57557         (LEN): Likewise.
57558         (memcmp): Do not use BP_SYM.
57559         (bcmp): Do not use BP_SYM in weak_alias.
57560         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57561         (PARMS): Do not use macros from bp-asm.h.
57562         (S1): Likewise.
57563         (SIZE): Likewise.
57564         (__mpn_mul_1): Do not use BP_SYM.
57565         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57566         "bp-asm.h".
57567         (PARMS): Do not use macros from bp-asm.h.
57568         (STR): Likewise.
57569         (CHR): Likewise.
57570         (__rawmemchr): Do not use BP_SYM.
57571         (rawmemchr): Do not use BP_SYM in weak_alias.
57572         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57573         (PARMS): Do not use macros from bp-asm.h.
57574         (S): Likewise.
57575         (SIZE): Likewise.
57576         (__mpn_rshift): Do not use BP_SYM.
57577         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57578         (PARMS): Do not use macros from bp-asm.h.
57579         (SIGMSK): Likewise.
57580         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57581         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57582         (_start): Do not use BP_SYM.
57583         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57584         (PARMS): Do not use macros from bp-asm.h.
57585         (DEST): Likewise.
57586         (SRC): Likewise.
57587         (__stpcpy): Likewise.  Do not use BP_SYM.
57588         (stpcpy): Do not use BP_SYM in weak_alias.
57589         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57590         "bp-asm.h".
57591         (PARMS): Do not use macros from bp-asm.h.
57592         (DEST): Likewise.
57593         (SRC): Likewise.
57594         (LEN): Likewise.
57595         (__stpncpy): Likewise.  Do not use BP_SYM.
57596         (stpncpy): Do not use BP_SYM in weak_alias.
57597         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57598         (PARMS): Do not use macros from bp-asm.h.
57599         (STR): Likewise.
57600         (CHR): Likewise.
57601         (strchr): Likewise.  Do not use BP_SYM.
57602         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
57607         (__strchrnul): Likewise.  Do not use BP_SYM.
57608         (strchrnul): Do not use BP_SYM in weak_alias.
57609         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57610         "bp-asm.h".
57611         (PARMS): Do not use macros from bp-asm.h.
57612         (STOP): Likewise.
57613         (strcspn): Do not use BP_SYM.
57614         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57615         "bp-asm.h".
57616         (PARMS): Do not use macros from bp-asm.h.
57617         (STR): Likewise.
57618         (STOP): Likewise.
57619         (strpbrk): Likewise.  Do not use BP_SYM.
57620         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57621         "bp-asm.h".
57622         (PARMS): Do not use macros from bp-asm.h.
57623         (STR): Likewise.
57624         (CHR): Likewise.
57625         (strrchr): Likewise.  Do not use BP_SYM.
57626         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57627         (PARMS): Do not use macros from bp-asm.h.
57628         (SKIP): Likewise.
57629         (strspn): Do not use BP_SYM.
57630         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57631         (PARMS): Do not use macros from bp-asm.h.
57632         (STR): Likewise.
57633         (DELIM): Likewise.
57634         (SAVE): Likewise.
57635         (FUNCTION): Likewise.  Do not use BP_SYM.
57636         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57637         aliases.
57638         (strtok_r): Likewise.
57639         (__GI___strtok_r): Likewise.
57640         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57641         (PARMS): Do not use macros from bp-asm.h.
57642         (S1): Likewise.
57643         (S2): Likewise.
57644         (SIZE): Likewise.
57645         (__mpn_sub_n): Do not use BP_SYM.
57646         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57647         "bp-asm.h".
57648         (PARMS): Do not use macros from bp-asm.h.
57649         (S1): Likewise.
57650         (SIZE): Likewise.
57651         (__mpn_submul_1): Do not use BP_SYM.
57652         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57653         <bp-sym.h>.
57654         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57655         and <bp-asm.h>.
57656         (PARMS): Do not use macros from bp-asm.h.
57657         (FLAGS): Likewise.
57658         (PTID): Likewise.
57659         (TLS): Likewise.
57660         (CTID): Likewise.
57661         (__clone): Do not use BP_SYM.
57662         (clone): Do not use BP_SYM in weak_alias.
57663         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57664         and <bp-asm.h>.
57665         (PARMS): Do not use macros from bp-asm.h.
57666         (LEN): Likewise.
57667         (__mmap64): Do not use BP_SYM.
57668         (mmap64): Do not use BP_SYM in weak_alias.
57669         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57670         <bp-sym.h> and <bp-asm.h>.
57671         (PARMS): Do not use macros from bp-asm.h.
57672         (__posix_fadvise64_l64): Do not use BP_SYM.
57673         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57674         (PARMS): Do not use macros from bp-asm.h.
57675         (NSOPS): Likewise.
57676         (semtimedop): Do not use BP_SYM.
57677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57678         and <bp-asm.h>.
57680 2013-02-21  Allan McRae  <allan@archlinux.org>
57682         * manual/message.texi (Charset conversion in gettext):
57683         Move @end statement to beginning of line.
57685 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57688         static.
57689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57690         Likewise.
57692         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57693         (denorm): Likewise.
57694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57697 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57699         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57700         tail-call to the resolved function if pltexit isn't needed.
57702 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57705         or Y being zero as being unlikely.
57706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57707         Likewise.
57709 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57711         * manual/nss.texi (System Databases and Name Service Switch):
57712         Remove frobnicate @pxref.
57714 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57716         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57717         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57719 2013-02-20  Petr Machata  <pmachata@redhat.com>
57721         * elf/elf.h (R_ARM_TARGET1): New macro.
57722         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57723         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57724         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57725         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57726         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57727         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57728         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57729         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57730         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57731         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57732         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57733         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57734         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57735         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57736         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57737         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57738         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57739         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57740         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57741         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57742         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57743         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57744         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57745         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57746         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57747         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57748         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57749         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57750         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57751         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57752         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57753         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57754         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57755         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57756         (R_ARM_THM_GOT_BREL12): Likewise.
57757         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57758         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57759         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57760         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57761         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57762         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57763         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57764         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57765         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57767 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57769         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57770         __attribute_used__ to __attribute__ ((unused)).
57772 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57774         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57775         powerpc mpa.c.
57776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57777         comment formatting.
57778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57780 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57782         [BZ #13550]
57783         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57784         Remove macro.
57785         (ENTER): Remove both macro definitions.
57786         (LEAVE): Likewise.
57787         (CHECK_BOUNDS_LOW): Likewise.
57788         (CHECK_BOUNDS_HIGH): Likewise.
57789         (CHECK_BOUNDS_BOTH): Likewise.
57790         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57791         (RETURN_BOUNDED_POINTER): Likewise.
57792         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57793         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57794         (POP_ERRNO_LOCATION_RETURN): Likewise.
57795         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57796         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57797         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57798         macros.
57799         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57800         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57801         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57802         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57803         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57804         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57805         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57806         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57807         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57808         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57809         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57810         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57811         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57812         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57813         removed macros.
57814         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57815         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57816         macros.
57817         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57818         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57819         * sysdeps/i386/i586/memset.S (memset): Likewise.
57820         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57821         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57822         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57823         macros.
57824         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57825         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57826         Change uses of L(2) to L(out).
57827         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57828         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57829         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57830         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57831         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57832         removed macros.
57833         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57834         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57835         macros.
57836         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57837         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57838         (RETURN): Do not use macro LEAVE.
57839         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57840         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57841         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57842         * sysdeps/i386/i686/memset.S (memset): Likewise.
57843         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57844         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57845         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57846         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57847         Likewise.
57848         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57849         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57850         L(1_2) and L(1_3) into L(1).
57851         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57852         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57853         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57854         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57855         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57856         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57857         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57858         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57859         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57860         macros.
57861         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57862         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57863         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57864         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57865         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57866         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57867         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57868         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57869         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57870         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57871         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57872         * sysdeps/i386/strspn.S (strspn): Likewise.
57873         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57874         conditional code.
57875         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57876         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57877         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57878         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57879         L(1_3) into L(1_1).
57880         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57881         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57882         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57883         macros.
57884         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57886 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57888         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57889         macro.
57891 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57893         * math/atest-exp.c (exp_mpn): Remove ROUND.
57894         * math/atest-exp2.c (exp_mpn): Likewise.
57895         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57897         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57898         * stdlib/tst-tls-atexit-lib.c: Likewise.
57899         * stdlib/tst-tls-atexit.c: Likewise.
57901 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57903         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57904         and __attribute_alloc_size__.
57906 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57908         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57909         __attribute_alloc_size__.
57910         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57911         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57913 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57915         * include/programs/xmalloc.h: New file.
57916         * catgets/gencat.c: Include it.
57917         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57918         * elf/pldd.c: Likewise.
57919         * iconv/iconv_charmap.c: Likewise.
57920         * iconv/iconvconfig.c: Likewise.
57921         * iconv/strtab.c: Likewise.
57922         * locale/programs/locale.c: Likewise.
57923         * locale/programs/localedef.h: Likewise.
57924         * locale/programs/simple-hash.c: Likewise.
57925         * nscd/nscd.h: Likewise.
57926         * nss/makedb.c: Likewise.
57927         * sysdeps/generic/ldconfig.h: Likewise.
57929 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57931         * Versions.def: Add GLIBC_2.18.
57932         * include/link.h (struct link_map): New member l_tls_dtor_count.
57933         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57934         (__call_tls_dtors): Likewise.
57935         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57936         __cxa_thread_atexit_impl.
57937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57938         Likewise.
57939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57940         Likewise.
57941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57942         Likewise.
57943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57944         Likewise.
57945         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57947         Likewise.
57948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57949         Likewise.
57950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57952         Likewise.
57953         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57954         (tests): Add test case tst-tls-atexit.
57955         (modules-names): Add shared library for tst-tls-atexit.
57956         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57957         (GLIBC_PRIVATE): Add __call_tls_dtors.
57958         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57959         for libstdc++.
57960         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57961         * stdlib/tst-tls-atexit.c: New test case.
57962         * stdlib/tst-tls-atexit-lib.c: New test case.
57964         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57966         * elf/Versions (ld): Add _dl_find_dso_for_object.
57967         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57968         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57969         (dl_open_worker): Use _dl_find_dso_for_object.
57970         * elf/dl-sym.c (do_sym): Likewise.
57971         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57973 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57975         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57976         Syntactic changes only.
57977         (_dl_runtime_profile): Do a tail-call to the resolved function.
57979 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57981         [BZ #13550]
57982         * sysdeps/x86_64/bp-asm.h: Remove file.
57983         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57984         <bp-sym.h> and <bp-asm.h>.
57985         (__clone): Do not use BP_SYM.
57986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57987         <bp-sym.h> and <bp-asm.h>.
57988         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57989         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57990         "bp-asm.h".
57991         (_setjmp): Do not use BP_SYM.
57992         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57993         "bp-asm.h".
57994         (setjmp): Do not use BP_SYM.
57995         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57996         libc_hidden_def.
57997         (mempcpy): Do not use BP_SYM in weak_alias.
57998         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57999         "bp-asm.h".
58000         (strchr): Do not use BP_SYM.
58001         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58002         "bp-asm.h".
58003         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58004         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58005         (_start): Do not use BP_SYM.
58006         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58007         "bp-asm.h".
58008         (strcat): Do not use BP_SYM.
58009         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58010         "bp-asm.h".
58011         (STRCMP): Do not use BP_SYM.
58012         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58013         "bp-asm.h".
58014         (STRCPY): Do not use BP_SYM.
58015         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58016         "bp-asm.h".
58017         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58018         "bp-asm.h".
58019         (FUNCTION): Do not use BP_SYM.
58020         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58021         weak_alias.
58022         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58024 2013-02-17  Andreas Jaeger  <aj@suse.de>
58026         * time/Versions: Sort entries.
58027         * string/Versions: Likewise.
58028         * resolv/Versions: Likewise.
58029         * posix/Versions: Likewise.
58030         * iconv/Versions: Likewise.
58031         * elf/Versions: Likewise.
58032         * wcsmbs/Versions: Likewise.
58034 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58036         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58037         loop termination condition.
58039         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58040         variable to calculate EZ.
58041         (__sqr): Likewise.
58043         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58044         the lower precision input.
58046 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58048         [BZ #13550]
58049         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58050         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58051         (run-via-rtld-prefix): Do not handle %-bp tests.
58052         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58053         (all-object-suffixes): Remove .ob.
58054         (bppfx): Remove variable.
58055         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58056         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58057         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58058         [$(build-bounded) = yes] (libtype.ob): Likewise.
58059         * Makerules (elide-routines.ob): Remove variable.
58060         (do-tests-clean): Do not handle *-bp.out.
58061         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58062         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58063         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58064         (tests): Do not include $(tests-bp.out).
58065         (xtests): Do not include $(xtests-bp.out).
58066         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58067         [$(build-bounded) = yes] ($(addprefix
58068         $(objpfx),$(binaries-bounded))): Remove rule.
58069         ($(objpfx)%-bp.out): Remove rule.
58070         * config.make.in (build-bounded): Remove variable.
58071         * crypt/Makefile [$(build-bounded) = yes]
58072         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58073         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58074         append to variable.
58075         [$(build-bounded) = yes] (install-lib): Likewise.
58076         [$(build-bounded) = yes] (generated): Likewise.
58077         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58078         Remove rule.
58079         * intl/Makefile [$(build-bounded) = yes]
58080         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58081         * math/Makefile [$(build-bounded) = yes]
58082         ($(tests:%=$(objpfx)%-bp): Likewise.
58083         * misc/Makefile [$(build-bounded) = yes]
58084         ($(objpfx)tst-tsearch-bp): Likewise.
58085         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58086         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58087         Remove dependency.
58088         * string/Makefile (o-objects.ob): Remove variable.
58089         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58090         (CFLAGS-.ob): Remove variable.
58091         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58092         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58093         both definitions of variable.
58094         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58095         (ASFLAGS-.ob): Remove variable.
58097 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58099         [BZ #13550]
58100         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58101         Remove __BOUNDED_POINTERS__ from condition.
58102         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58103         * string/bits/string2.h [!__NO_STRING_INLINES &&
58104         !__BOUNDED_POINTERS__]: Likewise.
58105         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58106         Likewise.
58107         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58108         Remove conditional code.
58109         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58110         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58111         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58112         condition.
58114         [BZ #13550]
58115         * csu/libc-start.c: Do not include <bp-sym.h>.
58116         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58117         * elf/dl-open.c: Do not include <bp-sym.h>.
58118         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58119         * math/fegetenv.c: Do not include <bp-sym.h>.
58120         (fegetenv): Do not use BP_SYM in versioned symbols.
58121         * nptl/sysdeps/pthread/bits/libc-lockP.h
58122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58123         <bp-sym.h>.
58124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58125         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58127         (__pthread_mutex_destroy): Likewise.
58128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58129         (__pthread_mutex_lock): Likewise.
58130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58131         (__pthread_mutex_trylock): Likewise.
58132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58133         (__pthread_mutex_unlock): Likewise.
58134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58135         (__pthread_mutexattr_init): Likewise.
58136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58137         (__pthread_mutexattr_destroy): Likewise.
58138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58139         (__pthread_mutexattr_settype): Likewise.
58140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58141         (__pthread_rwlock_init): Likewise.
58142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58143         (__pthread_rwlock_destroy): Likewise.
58144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58145         (__pthread_rwlock_rdlock): Likewise.
58146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58147         (__pthread_rwlock_tryrdlock): Likewise.
58148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58149         (__pthread_rwlock_wrlock): Likewise.
58150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58151         (__pthread_rwlock_trywrlock): Likewise.
58152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58153         (__pthread_rwlock_unlock): Likewise.
58154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58155         (__pthread_key_create): Likewise.
58156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58157         (__pthread_setspecific): Likewise.
58158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58159         (__pthread_getspecific): Likewise.
58160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58161         Likewise.
58162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58163         (_pthread_cleanup_push_defer): Likewise.
58164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58165         (_pthread_cleanup_pop_restore): Likewise.
58166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58167         (pthread_setcancelstate): Likewise.
58168         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58169         <bp-sym.h>.
58170         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58171         (memchr): Do not use BP_SYM in weak_alias.
58172         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58173         (fegetenv): Do not use BP_SYM in versioned symbols.
58174         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58175         (fesetenv): Do not use BP_SYM in versioned symbols.
58176         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58177         (feupdateenv): Do not use BP_SYM in versioned symbols.
58178         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58179         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58180         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58181         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58182         (open64): Do not use BP_SYM in weak_alias.
58183         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58184         (fegetenv): Do not use BP_SYM in versioned symbols.
58185         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58186         (fesetenv): Do not use BP_SYM in versioned symbols.
58187         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58188         (feupdateenv): Do not use BP_SYM in versioned symbols.
58189         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58190         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58191         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58192         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58193         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58194         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58195         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58196         <bp-sym.h>.
58197         (__libc_start_main): Do not use BP_SYM.
58199 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58202         redundant return line.
58203         (norm): Likewise.
58204         (denorm): Likewise.
58205         (dbl_mp): Likewise.
58206         (sub_magnitudes): Likewise.
58207         (__add): Likewise.
58208         (__sub): Likewise.
58209         (__mul): Likewise.
58210         (__inv): Likewise.
58211         (__dvd): Likewise.
58212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58213         (norm): Likewise.
58214         (denorm): Likewise.
58215         (dbl_mp): Likewise.
58216         (sub_magnitudes): Likewise.
58217         (__add): Likewise.
58218         (__sub): Likewise.
58219         (__mul): Likewise.
58220         (__inv): Likewise.
58221         (__dvd): Likewise.
58223         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58224         instead of __mul.
58225         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58226         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58227         (cc32): Likewise.
58229         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58230         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58232         of __mul for squares.
58233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58234         function
58235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58236         Likewise.
58237         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58238         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58240 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58242         [BZ #13550]
58243         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58244         code.
58245         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58246         prototype or function definition.  Rename ubp_* variables and
58247         parameters.  Remove argv definitions conditional on
58248         [__BOUNDED_POINTERS__].
58249         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58250         * elf/dl-runtime.c (_dl_fixup): Likewise.
58251         * include/set-hooks.h (RUN_HOOK): Likewise.
58252         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58253         definition.
58254         * string/strcpy.c (strcpy): Do not use __unbounded.
58255         * sysdeps/generic/frame.h (struct layout): Likewise.
58256         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58257         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58258         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58259         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58260         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58261         (__backtrace): Likewise.
58262         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58263         use __ptrvalue.
58264         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58265         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58266         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58267         Likewise.
58268         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58269         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58271         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58272         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58273         Do not use __unbounded.
58274         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58275         Rename __unboundedrlimits parameter to rlimits in prototype.
58276         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58277         Do not use __unbounded.
58278         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58279         not use __ptrvalue.
58280         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58281         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58282         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58283         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58284         __ptrvalue or __unbounded.
58285         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58286         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58287         use __unbounded.
58288         (__new_msgctl): Do not use __ptrvalue.
58289         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58290         __unbounded.
58291         (__libc_msgrcv): Do not use __ptrvalue.
58292         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58293         startup_info): Do not use __unbounded.
58294         (__libc_start_main): Likewise.  Rename ubp_* variables and
58295         parameters.  Remove argv definitions conditional on
58296         [__BOUNDED_POINTERS__].
58297         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58298         __ptrvalue.
58299         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58300         use __unbounded.
58301         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58302         or __ptrvalue.
58303         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58304         use __unbounded.
58305         (__new_shmctl): Do not use __ptrvalue.
58306         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58307         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58308         Likewise.
58309         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58311         (__libc_sigaction): Likewise.
58312         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58313         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58314         Likewise.
58315         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58317 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58319         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58321         * string/mempcpy.c: Implement by calling memcpy.
58323 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58328         evaluation.
58330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58331         values in the mantissa.
58333         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58334         minimize writes to Z.
58335         (sub_magnitudes): Simplify code a bit.
58337 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58339         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58340         from the message.  The linker prefixes all warnings with that already.
58342 2013-02-12  Andreas Schwab  <schwab@suse.de>
58344         [BZ #15078]
58345         * posix/regexec.c (extend_buffers): Add parameter min_len.
58346         (check_matching): Pass minimum needed length.
58347         (clean_state_log_if_needed): Likewise.
58348         (get_subexp): Likewise.
58349         * posix/Makefile (tests): Add bug-regex34.
58350         (bug-regex34-ENV): Define.
58351         * posix/bug-regex34.c: New file.
58353         [BZ #11561]
58354         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58355         elements compare against the byte sequence of it, not its name.
58356         * posix/Makefile (tests): Add bug-regex35.
58357         (bug-regex35-ENV): Define.
58358         * posix/bug-regex35.c: New file.
58360 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58362         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58363         comment.
58364         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58365         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58366         (CHECK_EOL): Add undef.
58368 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58370         * bits/stdlib-bsearch.h: New file.
58371         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58372         * stdlib/stdlib.h: Likewise.
58374 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58376         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58377         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58378         declaration.
58379         * manual/search.texi (Array Search Function): Add missing const in
58380         lfind prototype.
58381         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58382         declaration to use rlim_t.
58383         (Basic Scheduling Functions): Remove erroneous const from
58384         sched_getparam prototype.  Remove erroneous * from
58385         sched_get_priority_max and sched_get_priority_min prototypes.
58386         (Resource Usage): Fix summary @comment on vtimes to refer to
58387         sys/vtimes.h rather than vtimes.h.
58388         Add missing *s in vtimes prototype.
58389         (Limits on Resources): Fix ulimit prototype to return long int.
58390         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58391         prototypes to use long int rather than double.
58392         (BSD Random): Fix initstate and setstate to use char *, not void *.
58393         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58394         prototype to make second argument 'struct aiocb64 *const[]'.
58395         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58396         (Status of AIO Operations): Remove erroneous const in aio_return and
58397         aio_return64 prototypes.
58398         (Synchronizing I/O): Fix sync prototype to return void.
58399         * manual/startup.texi (Suboptions): Remove an erroneous const in
58400         getsubopt prototype.
58401         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58402         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58403         use size_t rather than int.
58404         (Scanning All Users): Likewise for getpwent_r.
58405         (Setting Groups): Add missing const to setgroups prototype.
58406         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58407         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58408         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58409         'const void *' rather than 'const char *'.
58410         (Host Address Functions): Likewise for inet_ntop.
58411         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58412         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58413         ssize_t for return value.
58414         (Sending Data): Likewise for send, sendto, sendmsg.
58415         (Socket Option Functions): Add a missing const in setsockopt prototype.
58416         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58417         use wchar_t for the argument.
58418         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58419         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58420         take no arguments.
58421         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58422         double/float/long double for second argument.
58423         Fix return types of significand, significandf, significandl.
58424         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58425         argument in fchmod prototype.
58426         (File Owner): Use uid_t and gid_t in fchown prototype.
58427         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58428         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58429         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58430         use 'const struct dirent **' as argument types to CMP function pointer
58431         argument.
58432         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58433         (File Times): Fix summary magic @comment for struct utimbuf and utime
58434         to refer to utime.h, not time.h.
58435         * manual/string.texi (Argz Functions): Add missing const in
58436         argz_extract and argz_next prototypes.
58437         (Finding Tokens in a String): Likewise for basename.
58438         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58439         (Copying and Concatenation): Fix typo in wmemmove prototype.
58440         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58441         (Signal Stack): Remove erroneous const in sigstack prototype.
58442         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58443         prototype.
58444         (Simple Calendar Time): Likewise for stime.
58445         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58446         prototype.
58447         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58448         say sys/sysctl.h instead.
58449         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58450         and vsyslog prototypes.
58452 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58454         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58455         Remove.
58457 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58459         * misc/sys/mman.h: Fix typo in mremap comment.
58461 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58463         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58464         the '\0' terminator.
58466 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58468         [BZ #13550]
58469         * debug/segfault.c: Don't include <bp-checks.h>.
58470         * sysdeps/generic/bp-checks.h: Remove file.
58471         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58472         (__GETDENTS): Don't use CHECK_N.
58473         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58474         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58475         (__getgroups): Don't use CHECK_N.
58476         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58477         (setgroups): Don't use CHECK_N.
58478         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58479         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58480         (__libc_msgrcv): Don't use CHECK_N.
58481         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58482         (__libc_msgsnd): Don't use CHECK_N.
58483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58484         <bp-checks.h>.
58485         (__libc_pread): Don't use CHECK_N.
58486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58487         include <bp-checks.h>.
58488         (__libc_pread64): Don't use CHECK_N.
58489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58490         include <bp-checks.h>.
58491         (__libc_pwrite): Don't use CHECK_N.
58492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58493         include <bp-checks.h>.
58494         (__libc_pwrite64): Don't use CHECK_N.
58495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58496         <bp-checks.h>.
58497         (__libc_pread): Don't use CHECK_N.
58498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58499         include <bp-checks.h>.
58500         (__libc_pread64): Don't use CHECK_N.
58501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58502         include <bp-checks.h>.
58503         (__libc_pwrite): Don't use CHECK_N.
58504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58505         include <bp-checks.h>.
58506         (__libc_pwrite64): Don't use CHECK_N.
58507         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58508         (do_pread): Don't use CHECK_N.
58509         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58510         (do_pread64): Don't use CHECK_N.
58511         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58512         (do_pwrite): Don't use CHECK_N.
58513         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58514         (do_pwrite64): Don't use CHECK_N.
58515         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58516         (__libc_readv): Don't use CHECK_N.
58517         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58518         (semop): Don't use CHECK_N.
58519         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58520         <bp-checks.h>.
58521         (semtimedop): Don't use CHECK_N.
58522         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58523         (__libc_pread): Don't use CHECK_N.
58524         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58525         <bp-checks.h>.
58526         (__libc_pread64): Don't use CHECK_N.
58527         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58528         <bp-checks.h>.
58529         (__libc_pwrite): Don't use CHECK_N.
58530         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58531         <bp-checks.h>.
58532         (__libc_pwrite64): Don't use CHECK_N.
58533         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58534         <bp-checks.h>.
58535         (__libc_msgrcv): Don't use CHECK_N.
58536         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58537         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58538         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58539         (__libc_writev): Don't use CHECK_N.
58541 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58543         * string/strcpy.c: Removed unused variable.
58545         * Makeconfig (+sysdep-includes): Define with := rather than =.
58546         Use an existing include/ subdir of each sysdeps dir before it.
58548 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58550         * nscd/connection.c (register_traced_file): Comment function.
58551         [HAVE_INOTIFY] (union __inev): Define.
58552         [HAVE_INOTIFY] (inotify_check_files): New function.
58553         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58554         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58555         clear_db_cache.
58556         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58558 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58560         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58561         loaded if not already and that a failure is permanent.
58563 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58565         [BZ #15006]
58566         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58567         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58569 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58571         [BZ #13550]
58572         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58573         (CHECK_1_NULL_OK): Likewise.
58574         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58575         (__fxstat): Do not use CHECK_1.
58576         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58577         <bp-checks.h>.
58578         (___fxstat64): Do not use CHECK_1.
58579         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58580         <bp-checks.h>.
58581         (__fxstatat): Do not use CHECK_1.
58582         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58583         <bp-checks.h>.
58584         (__fxstatat64): Do not use CHECK_1.
58585         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58586         <bp-checks.h>.
58587         (__fxstat): Do not use CHECK_1.
58588         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58589         <bp-checks.h>.
58590         (__fxstatat): Do not use CHECK_1.
58591         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58592         <bp-checks.h>.
58593         (__getresgid): Do not use CHECK_1.
58594         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58595         <bp-checks.h>.
58596         (__getresuid): Do not use CHECK_1.
58597         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58598         <bp-checks.h>.
58599         (__lxstat): Do not use CHECK_1.
58600         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58601         <bp-checks.h>.
58602         (__old_msgctl): Do not use CHECK_1.
58603         (__new_msgctl): Likewise.
58604         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58605         <bp-checks.h>.
58606         (__new_setrlimit): Do not use CHECK_1.
58607         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58608         <bp-checks.h>.
58609         (__old_shmctl): Do not use CHECK_1.
58610         (__new_shmctl): Likewise.
58611         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58612         <bp-checks.h>.
58613         (__xstat): Do not use CHECK_1.
58614         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58615         (__lxstat): Do not use CHECK_1.
58616         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58617         <bp-checks.h>.
58618         (___lxstat64): Do not use CHECK_1.
58619         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58620         (__old_msgctl): Do not use CHECK_1.
58621         (__new_msgctl): Likewise.
58622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58623         <bp-checks.h>.
58624         (__gettimeofday): Do not use CHECK_1.
58625         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58626         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58627         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58628         <bp-checks.h>.
58629         (__gettimeofday): Do not use CHECK_1.
58630         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58631         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58632         (__new_shmctl): Do not use CHECK_1.
58633         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58634         <bp-checks.h>.
58635         (do_sigtimedwait): Do not use CHECK_1.
58636         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58637         <bp-checks.h>.
58638         (do_sigwaitinfo): Do not use CHECK_1.
58639         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58640         <bp-checks.h>.
58641         (msgctl): Do not use CHECK_1.
58642         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58643         <bp-checks.h>.
58644         (shmctl): Do not use CHECK_1.
58645         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58646         (ustat): Do not use CHECK_1.
58647         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58648         <bp-checks.h>.
58649         (__fxstat): Do not use CHECK_1.
58650         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58651         <bp-checks.h>.
58652         (__fxstatat): Do not use CHECK_1.
58653         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58654         <bp-checks.h>.
58655         (__lxstat): Do not use CHECK_1.
58656         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58657         <bp-checks.h>.
58658         (__xstat): Do not use CHECK_1.
58659         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58660         (__xstat): Do not use CHECK_1.
58661         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58662         (___xstat64): Do not use CHECK_1.
58664         [BZ #13550]
58665         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58666         definitions.
58667         (CHECK_BOUNDS_HIGH): Likewise.
58668         * string/strcpy.c: Do not include <bp-checks.h>.
58669         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58671 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58673         * nscd/nscd-client.h (__nscd_drop_map_ref):
58674         Add __attribute__ ((unused)).
58675         * nis/nss-nisplus.h (niserr2nss): Likewise.
58677         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58678         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58680         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58681         Remove inline keyword.
58682         * include/rounding-mode.h (round_away): Likewise.
58683         * libio/wfileops.c (adjust_wide_data): Likewise.
58684         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58685         (__m128i_strloadu_tolower): Likewise.
58686         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58687         (__m128i_strloadu_tolower): Likewise.
58688         * time/mktime.c (ydhms_diff): Likewise.
58689         * locale/elem-hash.h (elem_hash): Likewise.
58690         * locale/setlocale.c (setdata): Likewise.
58691         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58692         (re_string_wchar_at): Likewise.
58693         (bitset_not, bitset_merge, bitset_mask): Likewise.
58694         [!(__GNUC__ > 3)] (inline): Remove macro.
58695         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58696         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58697         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58698         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58699         * string/memcmp.c (memcmp_bytes): Likewise.
58700         * locale/programs/locarchive.c (compute_hashval): Likewise.
58701         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58702         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58703         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58704         * nss/getent.c (print_rpc, print_protocols): Likewise.
58705         (print_passwd, print_group, print_aliases): Likewise.
58706         * nis/nss-nisplus.h (niserr2nss): Likewise.
58707         * nscd/connections.c (restart_p): Likewise.
58708         Change return type to bool.
58710 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58712         * Makeconfig (all-Depend-files): Add existing
58713         $(sorted-subdirs:=/Depend) files.
58714         (all-subdirs): Remove nss.
58715         * sysdeps/unix/inet/Subdirs: Add it here instead.
58716         * hesiod/Depend: New file.
58718         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58719         instead of calling alloca.
58721         * io/lseek.c (__lseek): Rename to __libc_lseek.
58722         Define __lseek as an alias.
58724         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58726 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58728         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58729         else clause and remove check for non-standard endianness.
58731 2013-02-04  David S. Miller  <davem@davemloft.net>
58733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58735 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58737         [BZ #13550]
58738         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58739         (__ubp_memchr): Remove prototype.
58740         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58741         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58742         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58743         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58744         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58745         Remove alias.
58746         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58747         (__ubp_memchr): Likewise.
58748         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58749         (__ubp_memchr): Likewise.
58750         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58751         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58752         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58753         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58754         CHECK_STRING.
58755         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58756         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58757         (__getcwd): Do not use CHECK_STRING.
58758         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58759         <bp-checks.h>.
58760         (__real_chown): Do not use CHECK_STRING.
58761         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58762         <bp-checks.h>.
58763         (fchownat): Do not use CHECK_STRING.
58764         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58765         CHECK_STRING.
58766         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58767         <bp-checks.h>.
58768         (__lchown): Do not use CHECK_STRING.
58769         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58770         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58771         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58772         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58774         include <bp-checks.h>.
58775         (truncate64): Do not use CHECK_STRING.
58776         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58777         <bp-checks.h>.
58778         (__real_chown): Do not use CHECK_STRING.
58779         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58780         <bp-checks.h>.
58781         (__lchown): Do not use CHECK_STRING.
58782         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58783         <bp-checks.h>.
58784         (__chown): Do not use CHECK_STRING.
58785         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58786         <bp-checks.h>.
58787         (truncate64): Do not use CHECK_STRING.
58788         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58789         Likewise.
58790         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58791         (__xmknod): Do not use CHECK_STRING.
58792         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58793         <bp-checks.h>.
58794         (__xmknodat): Do not use CHECK_STRING.
58795         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58796         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58798 2013-02-04  Andreas Schwab  <schwab@suse.de>
58800         [BZ #14142]
58801         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58802         * include/netdb.h: Likewise for h_errno.
58803         * elf/tst-stackguard1.c: Include <tls.h>.
58805 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58807         * elf/link.h (struct link_map): Extend the l_addr comment.
58808         * include/link.h (struct link_map): Likewise.
58810 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58812         [BZ #13550]
58813         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58814         (BOUNDED_1): Remove macro.
58815         * debug/backtrace.c: Don't include <bp-checks.h>.
58816         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58817         (__backtrace): Likewise.
58818         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58819         <bp-checks.h>.
58820         (__backtrace): Don't use BOUNDED_1.
58821         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58822         <bp-checks.h>.
58823         (__backtrace): Don't use BOUNDED_1.
58824         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58825         (__backtrace): Don't use BOUNDED_1.
58826         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58827         (shmat): Don't use BOUNDED_N.
58829 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58831         [BZ #13550]
58832         * sysdeps/generic/bp-start.h: Remove file.
58833         * csu/libc-start.c: Don't include <bp-start.h>.
58834         (LIBC_START_MAIN): Set up __environ directly instead of using
58835         INIT_ARGV_and_ENVIRON.
58836         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58837         <bp-start.h>.
58839         [BZ #13550]
58840         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58841         definitions.
58842         (CHECK_FCNTL): Likewise.
58843         (CHECK_N_PAGES): Likewise.
58845         [BZ #13550]
58846         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58847         definitions.
58848         (CHECK_SIGSET_NULL_OK): Likewise.
58849         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58850         <bp-checks.h>.
58851         (sigpending): Don't use CHECK_SIGSET.
58852         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58853         <bp-checks.h>.
58854         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58855         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58856         <bp-checks.h>.
58857         (do_sigsuspend): Don't use CHECK_SIGSET.
58858         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58859         use CHECK_SIGSET.
58860         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58861         (do_sigwait): Don't use CHECK_SIGSET.
58862         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58863         use CHECK_SIGSET.
58864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58865         include <bp-checks.h>.
58866         (sigpending): Don't use CHECK_SIGSET.
58867         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58868         include <bp-checks.h>.
58869         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58870         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58871         <bp-checks.h>.
58872         (sigpending): Don't use CHECK_SIGSET.
58873         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58874         <bp-checks.h>.
58875         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58877         [BZ #13550]
58878         * sysdeps/generic/bp-semctl.h: Remove file.
58879         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58880         <bp-checks.h> and <bp-semctl.h>.
58881         (__old_semctl): Don't use CHECK_SEMCTL.
58882         (__new_semctl): Likewise.
58883         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58884         and <bp-semctl.h>.
58885         (__old_semctl): Don't use CHECK_SEMCTL.
58886         (__new_semctl): Likewise.
58887         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58888         <bp-checks.h> and <bp-semctl.h>.
58889         (__old_semctl): Don't use CHECK_SEMCTL.
58890         (__new_semctl): Likewise.
58891         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58892         <bp-checks.h> and <bp-semctl.h>.
58893         (semctl): Don't use CHECK_SEMCTL.
58895         [BZ #13550]
58896         * Makerules (elide-bp-thunks): Remove variable.
58897         (elide-routines.oS): Don't use $(elide-bp-thunks).
58898         (elide-routines.os): Likewise.
58899         (elide-routines.o): Likewise.
58900         (elide-routines.op): Likewise.
58901         (elide-routines.og): Likewise.
58902         (objects): Don't use $(bp-thunks).
58903         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58904         include.
58905         (common-generated): Do not add s-proto-bp.d.
58906         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58907         (int): Likewise.
58908         (typ): Likewise.
58909         Do not generate makefile rules for bounded-pointer thunks.
58910         * sysdeps/generic/bp-thunks.h: Remove file.
58911         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58912         * sysdeps/unix/s-proto-bp.S: Likewise.
58914         [BZ #15062]
58915         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58916         parts of result separately when argument is not close to line from
58917         -i to i and one part of argument is small.
58918         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58919         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58920         * math/libm-test.inc (cacos_test): Add more tests.
58921         (casin_test): Likewise.
58922         (casinh_test): Likewise.
58923         * sysdeps/i386/fpu/libm-test-ulps: Update.
58924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58926 2013-01-31  David S. Miller  <davem@davemloft.net>
58928         * po/de.po: Update from translation team.
58930 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58932         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58934 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58936         * configure.in (_AC_PROG_CC_C89): New definition.
58937         * configure: Regenerate.
58939         * configure.in (AC_PROG_CPP): New definition.
58940         * configure: Regenerate.
58942 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58944         * debug/tst-backtrace.h: New file.
58945         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58946         (ret): Remove variable.
58947         (x): Likewise.
58948         (FAIL): Remove macro.
58949         (NO_INLINE): Likewise.
58950         (fn1): Use match function instead of strstr.
58951         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58952         (ret): Remove variable.
58953         (x): Likewise.
58954         (FAIL): Remove macro.
58955         (NO_INLINE): Likewise.
58956         (fn): Use match function instead of strstr.
58957         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58958         (ret): Remove variable.
58959         (x): Likewise.
58960         (FAIL): Remove macro.
58961         (NO_INLINE): Likewise.
58962         (handle_signal): Use match function instead of strstr.
58963         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58964         (ret): Remove variable.
58965         (x): Likewise.
58966         (FAIL): Remove macro.
58967         (NO_INLINE): Likewise.
58968         (handle_signal): Use match function instead of strstr.
58970 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58972         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58974 2013-01-23  David S. Miller  <davem@davemloft.net>
58976         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58977         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58978         argument of CAS if possible.
58979         * sysdeps/sparc/sparc64/bits/atomic.h
58980         (__arch_compare_and_exchange_val_32_acq): Likewise.
58981         (__arch_compare_and_exchange_val_64_acq): Likewise.
58983 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58985         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58986         * sysdeps/posix/ulimit.c: ... this.
58987         Include <limits.h>.
58988         * sysdeps/unix/bsd/ulimit.c: Remove file.
58990 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58992         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58993         (LDFLAGS-tst-array5): Likewise.
58995 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58997         [BZ #15036]
58998         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58999         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59000         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59001         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59003 2013-01-21  David S. Miller  <davem@davemloft.net>
59005         * sysdeps/sparc/backtrace.c: New file.
59006         * sysdeps/sparc/sparc32/backtrace.h: New file.
59007         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59008         * sysdeps/sparc/sparc64/backtrace.h: New file.
59009         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59010         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59011         -funwind-tables.
59013 2013-01-21  Andreas Schwab  <schwab@suse.de>
59015         [BZ #15020]
59016         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59017         closed its stdout.
59019 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59022         "mpa2.h".
59023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59025 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59026             Mark Mitchell  <mark@codesourcery.com>
59027             Tom de Vries  <tom@codesourcery.com>
59028             Paul Pluzhnikov  <ppluzhnikov@google.com>
59030         * debug/tst-backtrace2.c: New file.
59031         * debug/tst-backtrace3.c: Likewise.
59032         * debug/tst-backtrace4.c: Likewise.
59033         * debug/tst-backtrace5.c: Likewise.
59034         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59035         (CFLAGS-tst-backtrace3.c): Likewise.
59036         (CFLAGS-tst-backtrace4.c): Likewise.
59037         (CFLAGS-tst-backtrace5.c): Likewise.
59038         (LDFLAGS-tst-backtrace2): Likewise.
59039         (LDFLAGS-tst-backtrace3): Likewise.
59040         (LDFLAGS-tst-backtrace4): Likewise.
59041         (LDFLAGS-tst-backtrace5): Likewise.
59042         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59043         tst-backtrace4 and tst-backtrace5.
59045 2013-01-18  Anton Blanchard  <anton@samba.org>
59046             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59048         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59049         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59050         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59051         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59053         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59054         "+r" and remove output regs list as redundant.  Add explicit inline
59055         asm to specify register of return val to work around compiler codegen
59056         bug.  Remove (int) cast on return value.  Add return type parameter to
59057         use in macro so that this macro does not truncate return value for
59058         64-bit values.
59059         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59060         pass to INTERNAL_VSYSCALL_NCS.
59061         (INLINE_VSYSCALL): Add 'long int' as return type to
59062         INTERNAL_VSYSCALL_NCS macro invocation.
59063         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59064         INTERNAL_VSYSCALL_NCS macro invocation.
59065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59067 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59069         [BZ #14496]
59070         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59071         Fix application of SIMD FP exception mask.
59073         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59074         mp_no from a power of two.
59075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59076         __mpexp_twomm1.  Use __pow_mp.
59078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59079         multiplication.
59081 2013-01-17  David S. Miller  <davem@davemloft.net>
59083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59085 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59087         [BZ #15023]
59088         * include/complex.h: Condition contents on [!_COMPLEX_H].
59089         (__kernel_casinhf): New prototype.
59090         (__kernel_casinh): Likewise.
59091         (__kernel_casinhl): Likewise.
59092         * math/Makefile (libm_calls): Add k_casinh.
59093         * math/k_casinh.c: New file.
59094         * math/k_casinhf.c: Likewise.
59095         * math/k_casinhl.c: Likewise.
59096         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59097         finite nonzero arguments.
59098         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59099         finite nonzero arguments.
59100         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59101         finite nonzero arguments.
59102         * math/s_casinh.c: Do not include <float.h>.
59103         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59104         * math/s_casinhf.c: Do not include <float.h>.
59105         (__casinhf): Move code for finite nonzero arguments to
59106         k_casinhf.c.
59107         * math/s_casinhl.c: Do not include <float.h>.
59108         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59109         redefine.
59110         (__casinhl): Move code for finite nonzero arguments to
59111         k_casinhl.c.
59112         * math/libm-test.inc (cacos_test): Add more tests.
59113         * sysdeps/i386/fpu/libm-test-ulps: Update.
59114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59116 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59118         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59119         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59120         [!HAVE_MREMAP]: Remove [defined linux] case.
59121         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59123 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59125         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59127 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59129         * elf/elf.h (R_386_SIZE32): New relocation.
59130         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59131         R_386_SIZE32.
59132         (elf_machine_rela): Likewise.
59133         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59134         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59136 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59138         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59139         (FP_FAST_FMA): Do not define.
59140         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59141         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59142         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59143         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59144         !_SOFT_FLOAT]: Likewise.
59145         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59146         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59147         value.
59148         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59149         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59150         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59151         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59152         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59153         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59154         file.
59156 2013-01-16  Andreas Schwab  <schwab@suse.de>
59158         [BZ #14327]
59159         * include/stdlib.h (__mktemp): Add declaration.
59160         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59161         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59163 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59165         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59166         definitions.
59167         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59168         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59169         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59170         definitions here.
59171         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59172         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59173         definitions.
59174         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59175         and ONE.
59176         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59177         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59178         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59179         definitions.
59180         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59181         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59182         definitions.
59183         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59185         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59187 2013-01-15  David S. Miller  <davem@davemloft.net>
59189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59190         trunc{,f} to libm-sysdep_routes.
59191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59193         file.
59194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59196         file.
59197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59198         file.
59199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59201         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59202         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59203         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59204         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59205         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59206         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59209         nearbyint{,f} to libm-sysdep_routes.
59210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59212         New file.
59213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59214         file.
59215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59216         New file.
59217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59218         file.
59219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59221         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59222         file.
59223         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59224         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59225         file.
59226         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59227         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59228         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59230         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59231         libc_feholdexcept and libc_fesetenv.
59233 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59235         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59237 2013-01-14  David S. Miller  <davem@davemloft.net>
59239         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59240         (SPARC_ASM_VIS2_IFUNC): Likewise.
59241         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59243         use of 'siam' instruction.
59244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59245         Likewise.
59246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59247         Likewise.
59248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59249         Likewise.
59250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59255         file.
59256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59257         file.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59259         file.
59260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59261         file.
59262         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59267         new VIS2 routines.
59268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59271         Likewise.
59272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59277         routines to libm-sysdep_routines.
59278         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59281         fdim/fdimf to libm-sysdep_routines.
59282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59283         file.
59284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59286         file.
59287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59290         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59291         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59292         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59293         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59295 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59297         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59298         to optimize copies.
59300         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59305         local variable MPTWO.
59306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59307         Likewise.
59309 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59311         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59312         GLOB_NOESCAPE.
59314 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59316         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59318 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59320         * manual/pattern.texi (glob_t): Document gl_flags.
59321         (glob64_t): Likewise.
59323 2013-01-11  David S. Miller  <davem@davemloft.net>
59325         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59326         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59327         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59328         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59329         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59330         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59331         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59332         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59333         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59334         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59335         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59336         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59337         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59339         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59340         sparc V9 rather than using V8 code.
59341         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59342         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59344         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59345         Move to...
59346         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59347         Here.
59349 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59351         [BZ #14941]
59352         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59353         not in the main loop.
59354         * configure: Regenerated.
59356 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59358         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59359         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59360         to just #else.
59361         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59362         [!__GLIBC_HAVE_LONG_LONG] case.
59363         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59364         condition to just #else.
59365         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59366         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59367         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59368         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59369         unconditional.
59370         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59371         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59372         #elif condition to just #else.
59373         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59374         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59375         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59376         #elif condition to just #else.
59378 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59380         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59381         (EF_MIPS_ARCH_64): Fix value.
59382         (EF_MIPS_ARCH_32R2): New.
59383         (EF_MIPS_ARCH_64R2): New.
59385 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59387         * Makeconfig (+link-pie-before-libc): New.
59388         (+link-pie-after-libc): Likewise.
59389         (+link-pie-tests): Likewise.
59390         (+link-pie): Rewritten.
59391         (link-before-libc): Remove $(config-LDFLAGS).
59392         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59393         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59394         (config-LDFLAGS): Renamed to ...
59395         (rtld-LDFLAGS): This.
59396         (rtld-tests-LDFLAGS): New macro.
59397         (link-libc-rpath-link): Likewise.
59398         (link-libc-tests-rpath-link): Likewise.
59399         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59400         (link-libc): Prepand $(link-libc-rpath-link).
59401         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59402         (test-program-prefix): New macro.
59403         (test-via-rtld-prefix): Likewise.
59404         (test-program-cmd): Likewise.
59405         (host-test-program-cmd): Likewise.
59406         * Makefile ($(common-objpfx)testrun.sh): Replace
59407         $(run-program-prefix) with $(test-program-prefix).
59408         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59409         $(rtld-LDFLAGS).
59410         ($(common-objpfx)shlib.lds): Likewise.
59411         (build-module-helper): Likewise.
59412         ($(common-objpfx)format.lds): Likewise.
59413         * Rules (binaries-pie-tests): New.
59414         (binaries-pie-notests): Likewise.
59415         (binaries-pie): Rewritten.
59416         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59417         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59418         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59419         (make-test-out): Replace $(host-built-program-cmd) with
59420         $(host-test-program-cmd).
59421         * config.make.in (build-hardcoded-path-in-tests): New variable.
59422         * configure.in (--enable-hardcoded-path-in-tests): New configure
59423         option.
59424         (hardcoded_path_in_tests): New AC_SUBST.
59425         * configure: Regenerated.
59426         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59427         $(built-program-cmd) with $(test-program-cmd).
59428         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59429         (test_program_cmd): This.
59430         * elf/Makefile ($(objpfx)order.out): Run test with
59431         $(test-program-prefix).
59432         ($(objpfx)order2.out): Likewise.
59433         ($(objpfx)tst-initorder.out): Likewise.
59434         ($(objpfx)tst-initorder2.out): Likewise.
59435         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59436         $(test-program-cmd).
59437         ($(objpfx)tst-array1-static.out): Likewise.
59438         ($(objpfx)tst-array2.out): Likewise.
59439         ($(objpfx)tst-array3.out): Likewise.
59440         ($(objpfx)tst-array4.out): Likewise.
59441         ($(objpfx)tst-array5.out): Likewise.
59442         ($(objpfx)tst-array5-static.out): Likewise.
59443         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59444         $(test-program-cmd).
59445         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59446         $(run-program-prefix) with $(test-program-prefix).
59447         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59448         (test_program_prefix): This.
59449         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59450         $(run-program-prefix) with $(test-program-prefix).
59451         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59452         (test_program_prefix): This.
59453         * iconvdata/tst-tables.sh: Likewise.
59454         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59455         $(run-program-prefix) with $(test-program-prefix).
59456         ($(objpfx)tst-translit.out): Likewise.
59457         ($(objpfx)tst-gettext2.out): Likewise.
59458         ($(objpfx)tst-gettext4.out): Likewise.
59459         ($(objpfx)tst-gettext6.out): Likewise.
59460         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59461         (test_program_prefix): This.
59462         * intl/tst-gettext2.sh: Likewise.
59463         * intl/tst-gettext4.sh  Likewise.
59464         * intl/tst-gettext6.sh: Likewise.
59465         * intl/tst-translit.sh: Likewise.
59466         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59467         with $(test-program-cmd).
59468         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59469         $(run-program-prefix) with $(test-program-prefix).
59470         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59471         (test_program_prefix): This.
59472         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59473         $(run-program-prefix) with $(test-program-prefix).
59474         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59475         (test_program_prefix): This.
59476         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59477         * posix/Makefile ($(objpfx)globtest.out): Replace
59478         $(run-via-rtld-prefix) and $(test-wrapper) with
59479         $(test-program-prefix) and $(test-via-rtld-prefix).
59480         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59481         $(test-program-prefix).
59482         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59483         $(host-test-program-cmd).
59484         (tst-spawn-ARGS): Likewise.
59485         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59486         $(test-program-prefix).
59487         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59488         (test_via_rtld_prefix): This.
59489         (test_wrapper): Renamed to ...
59490         (test_program_prefix): This.
59491         (run_program_prefix): Replaced by test_program_prefix.
59492         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59493         (test_program_prefix): This.
59494         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59495         with $(host-test-program-cmd).
59496         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59497         $(run-program-prefix) with $(test-program-prefix).
59498         ($(objpfx)tst-printf.out): Likewise.
59499         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59500         $(test-program-cmd).
59501         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59502         (test_program_prefix): This.
59503         * stdio-common/tst-unbputc.sh: Likewise.
59504         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59505         $(run-program-prefix) with $(test-program-prefix).
59506         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59507         (test_program_prefix): This.
59508         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59509         $(built-program-cmd) with $(test-program-cmd).
59511 2013-01-11  Andreas Jaeger  <aj@suse.de>
59513         [BZ #15003]
59514         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59515         value. Sync with Linux 3.7.
59517 2013-01-10  David S. Miller  <davem@davemloft.net>
59519         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59520         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59521         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59523 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59525         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59526         never set.
59527         * configure: Regenerated.
59529 2013-01-10  David S. Miller  <davem@davemloft.net>
59531         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59532         sparc V9 rather than using V8 code.
59533         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59534         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59536 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59538         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59539         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59540         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59541         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59542         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59543         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59544         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59545         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59546         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59547         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59548         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59549         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59550         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59551         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59552         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59553         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59554         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59555         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59556         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59557         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59558         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59559         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59560         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59561         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59562         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59563         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59564         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59566 2013-01-10  David S. Miller  <davem@davemloft.net>
59568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59570 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59572         * posix/Makefile (tests-static): New variable.
59573         (tests): Add $(tests-static).
59574         (tst-exec-static-ARGS): New variable.
59575         (tst-spawn-static-ARGS): Likewise.
59576         * posix/tst-exec-static.c: New file.
59577         * posix/tst-spawn-static.c: Likewise.
59578         * posix/tst-exec.c: Support run directly.
59579         * posix/tst-spawn.c: Likewise.
59581 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59583         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59584         long.
59585         * math/bits/mathcalls.h (llrint): Likewise.
59586         (llround): Likewise.
59587         * stdlib/stdlib.h (struct drand48_data): Likewise.
59588         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59589         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59590         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59591         Likewise.
59592         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59593         Likewise.
59594         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59595         (elf_greg_t): Likewise.
59596         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59597         (__jmp_buf): Likewise.
59598         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59599         definitions.
59600         (llrint): Likewise, for all definitions.
59601         (llrintl): Likewise.
59603         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59604         Remove [__GNUC__] condition.
59605         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59606         condition to just [__USE_ISOC99].
59607         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59609 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59611         [BZ #14200]
59612         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59613         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59614         defined.
59615         (_POSIX_V6_ILP32_OFF32): Likewise.
59616         (_XBS5_ILP32_OFF32): Likewise.
59617         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59618         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59620 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59622         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59625         doubles __mpexp_twomm1.  Adjust usage.
59626         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59627         Remove.
59629 2013-01-10  Andreas Schwab  <schwab@suse.de>
59631         [BZ #14964]
59632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59633         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59635 2013-01-09  David S. Miller  <davem@davemloft.net>
59637         [BZ #15003]
59638         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59639         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59640         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59641         (TCP_FASTOPEN): Define.
59642         (tcp_repair_opt): New structure.
59643         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59644         enum values.
59645         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59646         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59647         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59648         (tcp_cookie_transactions): New structure.
59650 2013-01-09  Anton Blanchard  <anton@samba.org>
59652         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59653         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59655         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59657 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59659         * include/features.h (__USE_ANSI): Remove.
59661 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59663         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59665         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59667 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59669         * sysdeps/s390/fpu/libm-test-ulps: Update.
59671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59673         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59674         (__acr): Likewise.
59675         (__cpy): Likewise.
59676         (norm): Likewise.
59677         (denorm): Likewise.
59678         (__mp_dbl): Likewise.
59679         (__dbl_mp): Likewise.
59680         (add_magnitudes): Likewise.
59681         (sub_magnitudes): Likewise.
59682         (__add): Likewise.
59683         (__sub): Likewise.
59684         (__mul): Likewise.
59685         (__inv): Likewise.
59686         (__dvd): Likewise.
59687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59688         (__acr): Likewise.
59689         (__cpy): Likewise.
59690         (norm): Likewise.
59691         (denorm): Likewise.
59692         (__mp_dbl): Likewise.
59693         (__dbl_mp): Likewise.
59694         (add_magnitudes): Likewise.
59695         (sub_magnitudes): Likewise.
59696         (__add): Likewise.
59697         (__sub): Likewise.
59698         (__mul): Likewise.
59699         (__inv): Likewise.
59700         (__dvd): Likewise.
59701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59702         (__acr): Likewise.
59703         (__cpy): Likewise.
59704         (norm): Likewise.
59705         (denorm): Likewise.
59706         (__mp_dbl): Likewise.
59707         (__dbl_mp): Likewise.
59708         (add_magnitudes): Likewise.
59709         (sub_magnitudes): Likewise.
59710         (__add): Likewise.
59711         (__sub): Likewise.
59712         (__mul): Likewise.
59713         (__inv): Likewise.
59714         (__dvd): Likewise.
59716 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59718         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59719         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59720         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59721         2 && __USE_EXTERN_INLINES]: Likewise.
59723 2013-01-08  Andreas Jaeger  <aj@suse.de>
59725         [BZ# 14985]
59726         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59727         Remove.
59728         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59729         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59731 2013-01-07  Anton Blanchard  <anton@samba.org>
59733         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59734         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59735         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59736         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59737         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59738         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59739         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59740         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59742         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59743         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59744         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59745         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59747         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59748         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59749         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59751         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59752         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59753         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59754         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59755         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59756         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59757         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59758         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59759         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59760         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59762         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59763         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59765         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59766         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59767         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59768         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59769         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59770         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59771         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59772         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59773         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59774         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59775         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59777 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59779         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59780         (__MALLOC_PMT): Likewise.
59781         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59782         [__GNUC__], only on [_LIBC].
59783         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59784         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59785         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59786         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59787         forward declaration.
59788         (realloc_hook_ini): Likewise.
59789         (memalign_hook_ini): Likewise.
59790         (__libc_memalign): Do not use __MALLOC_PMT in variable
59791         declaration.
59792         (__libc_valloc): Likewise.
59793         (__libc_pvalloc): Likewise.
59794         (__libc_calloc): Likewise.
59795         (__posix_memalign): Likewise.
59797         [BZ #14996]
59798         * math/s_casinh.c: Include <float.h>.
59799         (__casinh): Do not do computation with squaring and square root
59800         for large arguments.
59801         * math/s_casinhf.c: Include <float.h>.
59802         (__casinhf): Do not do computation with squaring and square root
59803         for large arguments.
59804         * math/s_casinhl.c: Include <float.h>.
59805         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59806         (__casinhl): Do not do computation with squaring and square root
59807         for large arguments.
59808         * math/libm-test.inc (casin_test): Add more tests.
59809         (casinh_test): Likewise.
59810         * sysdeps/i386/fpu/libm-test-ulps: Update.
59811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59813 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59815         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59816         (__x86_64_raw_data_cache_size): Likewise.
59817         (__x86_64_data_cache_size_half): Likewise.
59818         (__x86_64_raw_data_cache_size_half): Likewise.
59819         (__x86_64_shared_cache_size): Likewise.
59820         (__x86_64_raw_shared_cache_size): Likewise.
59821         (__x86_64_shared_cache_size_half): Likewise.
59822         (__x86_64_raw_shared_cache_size_half): Likewise.
59823         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59824         to ...
59825         (__x86_data_cache_size): This.
59826         (__x86_64_raw_data_cache_size): Renamed to ...
59827         (__x86_raw_data_cache_size): This.
59828         (__x86_64_data_cache_size_half): Renamed to ...
59829         (__x86_data_cache_size_half): This.
59830         (__x86_64_raw_data_cache_size_half): Renamed to ...
59831         (__x86_raw_data_cache_size_half): This.
59832         (__x86_64_shared_cache_size): Renamed to ...
59833         (__x86_shared_cache_size): This.
59834         (__x86_64_raw_shared_cache_size): Renamed to ...
59835         (__x86_raw_shared_cache_size): This.
59836         (__x86_64_shared_cache_size_half): Renamed to ...
59837         (__x86_shared_cache_size_half): This.
59838         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59839         (__x86_raw_shared_cache_size_half): This.
59840         * sysdeps/x86_64/memcpy.S: Updated.
59841         * sysdeps/x86_64/memset.S: Likewise.
59842         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59843         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59844         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59846 2013-01-04  David S. Miller  <davem@davemloft.net>
59848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59850 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59852         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59853         1 to avoid redefinition warning.
59854         (__USE_GNU): Don't define.
59855         (init_signaling_nan): Protoize.
59857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59859 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59861         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59863         (__cpymn): Likewise.
59864         (norm): Remove commented code.
59865         (denorm): Likewise.
59866         (__mp_dbl): Likewise.
59867         (__inv): Likewise.
59868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59869         (__cpymn): Likewise.
59870         (norm): Remove commented code.
59871         (denorm): Likewise.
59872         (__mp_dbl): Likewise.
59873         (__inv): Likewise.
59875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59876         mp_no value for 1.0 and 2.0.
59877         (norm): Use RADIXI instead of radixi.d.
59878         (denorm): Likewise.
59879         (__mul): Use 0.0 instead of zero.d.
59880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59881         mp_no value for 1.0 and 2.0.
59882         (norm): Use RADIXI instead of radixi.d.
59883         (denorm): Likewise.
59884         (__mul): Use 0.0 instead of zero.d.
59886 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59888         [BZ #14994]
59889         * math/s_casinh.c (__casinh): Reduce finite argument to first
59890         quadrant then set signs of results at the end.
59891         * math/s_casinhf.c (__casinhf): Likewise.
59892         * math/s_casinhl.c (__casinhl): Likewise.
59893         * math/libm-test.inc (casin_test): Add more tests.
59894         (casinh_test): Likewise.
59895         * sysdeps/i386/fpu/libm-test-ulps: Update.
59896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59898 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59900         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59902         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59904         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59905         declarations.
59906         (denorm): Likewise.
59907         (__mp_dbl): Likewise.
59908         (__inv): Likewise.
59910         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59911         and adjust the header comment.
59913         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59914         variable name from declaration.
59916 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59919         Initialize COMMON_CPUID_INDEX_7 element.
59920         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59921         (CPUID_RTM): Likewise.
59922         (HAS_RTM): Likewise.
59923         (COMMON_CPUID_INDEX_7): New enum.
59925 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59927         [BZ #14981]
59928         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59929         size is zero, record memory as freed.
59931 2013-01-03  Andreas Jaeger  <aj@suse.de>
59933         * po/ia.po: Add new Interlingua translation.
59935 2012-01-03  Allan McRae  <allan@archlinux.org>
59937         * locale/programs/localedef.c: Fix description of '--posix' flag.
59939 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59941         * NEWS: Update dates in second copyright notice.
59942         * README: Update copyright dates in example.
59943         * manual/libc.texinfo: Update copyright dates.
59944         * scripts/test-installation.pl: Update copyright date in --version
59945         output.
59947         * hurd/ctty-input.c: Fix copyright notice formatting.
59948         * hurd/ctty-output.c: Likewise.
59949         * hurd/dtable.c: Likewise.
59950         * hurd/hurd-raise.c: Likewise.
59951         * hurd/hurdprio.c: Likewise.
59952         * hurd/msgportdemux.c: Likewise.
59953         * misc/sys/file.h: Likewise.
59954         * misc/sys/ioctl.h: Likewise.
59955         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59956         * sysdeps/mach/hurd/chdir.c: Likewise.
59957         * sysdeps/mach/hurd/fchdir.c: Likewise.
59958         * sysdeps/mach/hurd/rename.c: Likewise.
59959         * sysdeps/mach/hurd/rmdir.c: Likewise.
59960         * sysdeps/mach/hurd/seekdir.c: Likewise.
59961         * sysdeps/mach/hurd/setsid.c: Likewise.
59962         * sysdeps/posix/wait3.c: Likewise.
59964         * All files with FSF copyright notices: Update copyright dates
59965         using scripts/update-copyrights.
59966         * intl/plural.c: Regenerated.
59967         * locale/programs/charmap-kw.h: Likewise.
59968         * locale/programs/locfile-kw.h: Likewise.
59970 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59972         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59973         four values.
59975         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59976         calculation loop and add branch prediction.
59978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59979         check access beyond bounds of m1np.
59981         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59982         MPTWO.
59983         (__inv): Remove local variable MPTWO to use the global
59984         constant.
59985         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59986         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59987         variable MPTWO.
59988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59989         MP3HALFS static const.
59991 2013-01-01  David S. Miller  <davem@davemloft.net>
59993         * po/ca.po: Update from translation team.
59995 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59997         * scripts/update-copyrights: New file.
59998         * Makeconfig: Reformat copyright notice.
59999         * ctype/ctype.h: Likewise.
60000         * debug/swprintf_chk.c: Likewise.
60001         * elf/dl-cache.c: Likewise.
60002         * elf/dl-debug.c: Likewise.
60003         * elf/dl-object.c: Likewise.
60004         * grp/initgroups.c: Likewise.
60005         * hurd/Makefile: Likewise.
60006         * hurd/hurd/signal.h: Likewise.
60007         * hurd/hurdfault.c: Likewise.
60008         * hurd/hurdioctl.c: Likewise.
60009         * hurd/hurdlookup.c: Likewise.
60010         * hurd/intr-msg.c: Likewise.
60011         * iconv/gconv_open.c: Likewise.
60012         * libio/swprintf.c: Likewise.
60013         * locale/lc-ctype.c: Likewise.
60014         * locale/nl_langinfo.c: Likewise.
60015         * mach/Machrules: Likewise.
60016         * mach/Makefile: Likewise.
60017         * malloc/obstack.h: Likewise.
60018         * manual/Makefile: Likewise.
60019         * manual/tsort.awk: Likewise.
60020         * misc/bits/stab.def: Likewise.
60021         * nis/nis_print_group_entry.c: Likewise.
60022         * nis/nis_table.c: Likewise.
60023         * nis/nss_compat/compat-pwd.c: Likewise.
60024         * nis/nss_compat/compat-spwd.c: Likewise.
60025         * po/Makefile: Likewise.
60026         * posix/fnmatch.c: Likewise.
60027         * posix/regex.h: Likewise.
60028         * resolv/Makefile: Likewise.
60029         * resolv/nss_dns/dns-network.c: Likewise.
60030         * resolv/res_hconf.c: Likewise.
60031         * scripts/gen-sorted.awk: Likewise.
60032         * soft-fp/soft-fp.h: Likewise.
60033         * stdio-common/printf.h: Likewise.
60034         * stdlib/monetary.h: Likewise.
60035         * stdlib/random.c: Likewise.
60036         * stdlib/random_r.c: Likewise.
60037         * sysdeps/generic/Makefile: Likewise.
60038         * sysdeps/gnu/Makefile: Likewise.
60039         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60040         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60041         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60043         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60046         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60047         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60049         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60050         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60051         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60052         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60053         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60054         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60055         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60056         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60057         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60058         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60059         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60060         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60061         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60062         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60063         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60064         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60065         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60066         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60067         * sysdeps/mach/hurd/errnos.awk: Likewise.
60068         * sysdeps/mach/hurd/fork.c: Likewise.
60069         * sysdeps/mach/hurd/getcwd.c: Likewise.
60070         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60071         * sysdeps/mach/hurd/mmap.c: Likewise.
60072         * sysdeps/mach/hurd/utimes.c: Likewise.
60073         * sysdeps/mach/hurd/xmknod.c: Likewise.
60074         * sysdeps/posix/profil.c: Likewise.
60075         * sysdeps/posix/readdir_r.c: Likewise.
60076         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60077         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60078         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60079         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60081         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60082         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60083         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60085         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60086         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60087         * sysdeps/pthread/lio_listio.c: Likewise.
60088         * sysdeps/sparc/dl-procinfo.h: Likewise.
60089         * sysdeps/unix/i386/sysdep.S: Likewise.
60090         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60091         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60092         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60093         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60095         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60096         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60097         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60098         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60099         * sysdeps/wordsize-32/divdi3.c: Likewise.
60100         * time/sys/time.h: Likewise.
60101         * wcsmbs/Makefile: Likewise.
60103 2013-01-01  David S. Miller  <davem@davemloft.net>
60105         * po/fr.po: Update from translation team.
60107         * catgets/gencat.c: Update copyright year.
60108         * csu/version.c: Likewise.
60109         * debug/catchsegv.sh: Likewise.
60110         * debug/pcprofiledump.c: Likewise.
60111         * debug/xtrace.sh: Likewise.
60112         * elf/ldconfig.c: Likewise.
60113         * elf/ldd.bash.in: Likewise.
60114         * elf/pldd.c: Likewise.
60115         * elf/sotruss.ksh: Likewise.
60116         * elf/sprof.c: Likewise.
60117         * iconv/iconv_prog.c: Likewise.
60118         * iconv/iconvconfig.c: Likewise.
60119         * locale/programs/locale.c: Likewise.
60120         * locale/programs/localedef.c: Likewise.
60121         * login/programs/pt_chown.c: Likewise.
60122         * malloc/memusage.sh: Likewise.
60123         * malloc/memusagestat.c: Likewise.
60124         * malloc/mtrace.pl: Likewise.
60125         * nscd/nscd.c: Likewise.
60126         * nss/getent.c: Likewise.
60127         * nss/makedb.c: Likewise.
60128         * posix/getconf.c: Likewise.
60130 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60132         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60133         numbers.
60135 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60137         * math/bits/mathcalls.h (modf): Use __nonnull.
60139 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60141         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60142         (split): Use macro CN instead of the bare value.
60143         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60144         could be used.
60145         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60146         instead of the bare value.
60147         (power1): Likewise.
60149 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60152         __ATAN_TWOM.
60153         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60155         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60156         their values.
60157         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60158         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60159         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60160         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60162 2012-12-28  Andreas Jaeger  <aj@suse.de>
60164         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60165         values are from Linux 3.7.
60167         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60168         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60170 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60172         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60173         TRUE case.
60175         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60176         (norm): Likewise.
60177         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60178         variables with preprocessor constants.
60179         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60180         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60181         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60183 2012-12-27  Bruno Haible  <bruno@clisp.org>
60185         [BZ #14317]
60186         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60187         only if needed.
60189 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60192         and use variable directly.
60193         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60195         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60196         MPONE.
60197         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60199         variable MPONE.
60200         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60202         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60203         include directive.  Remove local variable MPONE.
60204         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60205         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60206         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60208 2012-12-25  David S. Miller  <davem@davemloft.net>
60210         * version.h (RELEASE): Set to "development".
60211         (VERSION): Set to "2.17.90".
60212         * NEWS: Add 2.18 section.
60214 2012-12-21  David S. Miller  <davem@davemloft.net>
60216         * po/hr.po: Update from translation team.
60218 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60220         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60222 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60224         * NEWS:  Mention new memcpy for MIPS.
60226 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60228         * manual/contrib.texi (Contributors): Spelling correction.
60230 2012-12-15  David S. Miller  <davem@davemloft.net>
60232         * po/ru.po: Update from translation team.
60234 2012-12-13  David S. Miller  <davem@davemloft.net>
60236         * NEWS: Mention IFUNC testsuite enhancements.
60238         * po/pl.po: Update from translation team.
60239         * po/bg.po: Likewise.
60241         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60242         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60244 2012-12-11  David S. Miller  <davem@davemloft.net>
60246         * po/sv.po: Update from translation team.
60248         * po/vi.po: Update from translation team.
60250         * po/cs.po: Update from translation team.
60252         * po/de.po: Update from translation team.
60253         * po/eo.po: Likewise.
60254         * po/nl.po: Likewise.
60256 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60258         [BZ #14246]
60259         * manual/argp.texi (Argp Helper Functions): Move node to follow
60260         Argp Parsing State.
60262         [BZ #14872]
60263         * manual/conf.texi (Limits on File System Capacity): Mention if
60264         terminating null is included in the max size.
60266 2012-12-10  Andreas Jaeger  <aj@suse.de>
60268         * po/cs.po: Update from translation team.
60270 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60272         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60273         void pointer and cast to uintptr_t.
60274         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60275         path.
60276         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60277         * sysdeps/s390/s390-64/memset.S: Likewise.
60279 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60281         [BZ #14833]
60282         * menual/message.texi (Message Translation): Fix typos.
60283         (Helper programs for gettext): Likewise.
60285 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60287         [BZ #14898]
60288         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60289         Change to -1.
60291 2012-12-07  David S. Miller  <davem@davemloft.net>
60293         * po/libc.pot: Update.
60295 2012-12-07  Richard Henderson  <rth@redhat.com>
60297         [BZ #10114]
60298         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60299         normal/normal case to before the switch.
60300         (_FP_DIV): Likewise.
60302 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60303             Mike Frysinger  <vapier@gentoo.org>
60305         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60306         check for __NR_fadvise64_64.
60308 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60310         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60311         0, not just to plain "0" as a statement.
60312         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60313         with cw.
60315 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60317         * NEWS: Use sourceware.org in Bugzilla URL.
60319 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60322         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60324         * stdio-common/tst-put-error.c (do_test): Add newline to the
60325         padded test to ensure flush.
60327 2012-12-05  Jeff Law  <law@redhat.com>
60329         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60331 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60333         * README: Don't refer to ports add-on as distributed separately.
60334         Mention AArch64 in list of systems supported in the ports add-on.
60336         * LICENSES: Add more non-FSF copyright and license notices.
60338         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60339         ((unused)).
60341         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60343         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60344         10000 as width of padded output.
60346 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60348         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60350         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60351         variable LX with __attribute__ ((unused)).
60352         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60353         Likewise.
60354         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60356         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60357         with __attribute__ ((unused)).
60359 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60361         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60363 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60365         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60366         (CFLAGS-nldbl-acos.c): New variable.
60367         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60368         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60369         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60370         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60371         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60372         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60373         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60374         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60375         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60376         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60377         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60378         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60379         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60380         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60381         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60382         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60383         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60384         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60385         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60386         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60387         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60388         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60389         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60390         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60391         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60392         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60393         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60394         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60395         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60396         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60397         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60398         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60399         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60400         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60401         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60402         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60403         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60404         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60405         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60406         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60407         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60408         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60409         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60410         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60411         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60412         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60413         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60414         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60415         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60416         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60417         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60418         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60419         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60420         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60421         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60422         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60423         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60424         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60425         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60426         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60427         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60428         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60429         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60430         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60431         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60432         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60433         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60434         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60435         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60436         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60437         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60438         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60439         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60440         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60441         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60442         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60443         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60444         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60445         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60446         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60447         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60448         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60449         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60450         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60451         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60452         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60453         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60454         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60455         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60456         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60457         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60458         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60459         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60460         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60461         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60462         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60463         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60466         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60468         [BZ #14914]
60469         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60470         whole low double instead of just low 47 bits when splitting values
60471         into two parts.
60473 2012-12-03  Allan McRae  <allan@archlinux.org>
60475         * manual/stdio.texi (Predefined Printf Handlers): Remove
60476         @hsep and @vsep usage.
60478 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60480         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60481         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60483 2012-12-03  Jeff Law  <law@redhat.com>
60485         * time/sys/time.h (settimeofday): Do not mark TV argument
60486         as __nonnull.
60488 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60490         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60491         when currently writing and seek to current position when not.
60492         * libio/Makefile (tests): Remove bug-fclose1.
60493         * libio/bug-fclose1.c: Delete.
60495 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60497         * manual/arith.texi (feenableexcept): Fix typo.
60498         (fedisableexcept): Likewise.
60500 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60502         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60503         second, differently-typed declaration, rather than a cast.
60505 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60507         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60508         * include/rpc/svc.h: ... here.
60510 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60512         [BZ #13013]
60513         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60514         depending n and resplen2 to catch cases where answer
60515         equals answerp2.
60517 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60519         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60520         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60522 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60524         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60526 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60528         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60530 2012-11-28  Jeff Law  <law@redhat.com>
60532         [BZ #13761]
60533         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60534         dataset_temporary.  Track alloca usage into alloca_used.
60535         If dataset is large allocate and release it via malloc/free.
60537 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60539         [BZ #14197]
60540         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60542 2012-11-28  David S. Miller  <davem@davemloft.net>
60544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60546 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60548         [BZ #14803]
60549         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60550         of pi/2 rounded to nearest to 64 bits.
60551         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60552         nearest to 64 bits.
60553         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60554         bits.
60556 2012-11-28  Jeff Law <law@redhat.com>
60557             Martin Osvald <mosvald@redhat.com>
60559         [BZ #14889]
60560         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60561         * sunrpc/svc.c: Include time.h.
60562         (__svc_accept_failed): New function.
60563         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60564         any reason other than EINTR, call __svc_accept_failed.
60565         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60566         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60568 2012-11-28  Andreas Schwab  <schwab@suse.de>
60570         * scripts/abilist.awk: Also handle indirect functions in .opd
60571         section.
60573 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60575         [BZ #13881]
60576         * sysdeps/x86/fpu/powl_helper.c: New file.
60577         * sysdeps/x86/fpu/Makefile: Likewise.
60578         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60579         (p3): New object.
60580         (__ieee754_powl): Use __powl_helper for finite arguments except
60581         integer exponents below 8.
60582         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60583         (p3): New object.
60584         (__ieee754_powl): Use __powl_helper for finite arguments except
60585         integer exponents below 8.
60586         * math/libm-test.inc (pow_test): Add more tests and enable some
60587         previously disabled tests.
60588         * sysdeps/i386/fpu/libm-test-ulps: Update.
60589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60591 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60592             Carlos O'Donell  <carlos_odonell@mentor.com>
60594         * nss/makedb.c (is_prime): Assert that input is odd and greater
60595         than 4.  Note that fact in a comment too.
60596         (next_prime): Add 4 to input.
60598 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60600         [BZ #11741]
60601         * libio/Makefile (tests): Add test case tst-fwrite-error.
60602         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60603         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60604         * libio/tst-fwrite-error.c: New test case.
60606 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60608         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60609         before casting to void *.
60610         * include/libc-internal.h (__pointer_type): New macro.
60611         (__integer_if_pointer_type_sub): Likewise.
60612         (__integer_if_pointer_type): Likewise.
60613         (cast_to_integer): Likewise.
60614         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60615         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60616         before casting to atomic64_t.
60617         (atomic_exchange_acq): Likewise.
60618         (__arch_exchange_and_add_body): Likewise.
60619         (__arch_add_body): Likewise.
60620         (atomic_add_negative): Likewise.
60621         (atomic_add_zero): Likewise.
60623 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60625         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60626         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60627         (add_fdes): Likewise.
60628         (linear_search_fdes): Likewise.
60629         (binary_search_unencoded_fdes): Likewise.
60631 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60633         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60635 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60637         * configure.in: Autodetect C++ header directories.
60638         * configure: Regenerated.
60640 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60642         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60644 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60648 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60650         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60651         LDBL_MANT_DIG == 106]: Disable some tests.
60652         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60653         Likewise.
60654         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60655         Likewise.
60657         [BZ #14871]
60658         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60659         input for small inputs.  Return +/- pi/2 for large inputs.
60660         * math/libm-test.inc (atan_test): Add more tests.
60662         * sysdeps/generic/unwind-dw2-fde-glibc.c
60663         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60664         __attribute__ ((unused)).
60666         [BZ #14645]
60667         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60668         x * y if x and y are nonzero and z is zero.
60670         [BZ #14811]
60671         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60672         nonzero exponents with absolute value below 0x1p-117 to +/-
60673         0x1p-117.
60675         [BZ #14869]
60676         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60677         up arguments below 2**-450, not just those below 2**-500.
60678         * math/libm-test.inc (hypot_test): Add another test.
60680         [BZ #14868]
60681         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60682         Return a+b for ratio over 2**120, not 2**60.
60683         * math/libm-test.inc (hypot_test): Add another test.
60685         * math/libm-test.inc (clog_test): Use
60686         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60687         (clog10_test): Likewise.
60689         [BZ #6778]
60690         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60692 2012-11-22  Andreas Schwab  <schwab@suse.de>
60694         * sysdeps/i386/fpu/libm-test-ulps: Update.
60696 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60698         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60699         printf output with newline.
60701 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60703         [BZ #14865]
60704         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60705         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60706         -z nodlopen, -z initfirst and -z execstack support.
60707         * configure: Regenerated.
60709         * elf/elf.h (DF_1_NODIRECT): New macro.
60710         (DF_1_IGNMULDEF): Likewise.
60711         (DF_1_NOKSYMS): Likewise.
60712         (DF_1_NOHDR): Likewise.
60713         (DF_1_EDITED): Likewise.
60714         (DF_1_NORELOC): Likewise.
60715         (DF_1_SYMINTPOSE): Likewise.
60716         (DF_1_GLOBAUDIT): Likewise.
60717         (DF_1_SINGLETON): Likewise.
60718         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60719         DT_1_SUPPORTED_MASK bits.
60720         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60722 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60724         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60726 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60728         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60729         macro.
60731         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60732         (sendmmsg): Move declarations...
60733         * socket/sys/socket.h: ... here.
60734         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60735         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60736         include it from...
60737         * socket/recvmmsg.c: ... this new file.
60738         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60739         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60740         definition of __sendmmsg hidden.
60741         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60742         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60743         Move ENOSYS stub into and include it from...
60744         * socket/sendmmsg.c: ... this new file.
60745         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60746         (sysdep_routines): Move recvmmsg and sendmmsg...
60747         * socket/Makefile (routines): ... here.
60748         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60749         (GLIBC_PRIVATE): Add __sendmmsg.
60750         * include/sys/socket.h (__sendmmsg): Add declarations.
60751         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60752         sendmmsg.
60754 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60756         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60757         variable I1 with __attribute__ ((unused)).
60758         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60760 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60762         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60763         DUMMY variables with __attribute__ ((unused)).
60765         * bits/byteswap.h: Include <bits/types.h>.
60766         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60768 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60770         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60771         string_t.  Do not manually set errno.
60772         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60773         length with __strnlen.  Make sure to both set errno and return it on
60774         failure.
60776 2012-11-19  David S. Miller  <davem@davemloft.net>
60778         With help from Joseph Myers.
60779         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60780         very large arguments properly.
60781         * math/libm-test.inc (atan_test): New tests.
60782         (atan2_test): New tests.
60783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60786 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60788         [BZ #14856]
60789         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60790         Define to 3.
60792         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60793         [POSIX] (EADDRNOTAVAIL): Likewise.
60794         [POSIX] (EAFNOSUPPORT): Likewise.
60795         [POSIX] (EALREADY): Likewise.
60796         [POSIX] (ECONNABORTED): Likewise.
60797         [POSIX] (ECONNREFUSED): Likewise.
60798         [POSIX] (ECONNRESET): Likewise.
60799         [POSIX] (EDESTADDRREQ): Likewise.
60800         [POSIX] (EDQUOT): Likewise.
60801         [POSIX] (EHOSTUNREACH): Likewise.
60802         [POSIX] (EIDRM): Likewise.
60803         [POSIX] (EISCONN): Likewise.
60804         [POSIX] (ELOOP): Likewise.
60805         [POSIX] (EMULTIHOP): Likewise.
60806         [POSIX] (ENETDOWN): Likewise.
60807         [POSIX] (ENETUNREACH): Likewise.
60808         [POSIX] (ENOBUFS): Likewise.
60809         [POSIX] (ENODATA): Likewise.
60810         [POSIX] (ENOLINK): Likewise.
60811         [POSIX] (ENOMSG): Likewise.
60812         [POSIX] (ENOPROTOOPT): Likewise.
60813         [POSIX] (ENOSR): Likewise.
60814         [POSIX] (ENOSTR): Likewise.
60815         [POSIX] (ENOTCONN): Likewise.
60816         [POSIX] (ENOTSOCK): Likewise.
60817         [POSIX] (EOPNOTSUPP): Likewise.
60818         [POSIX] (EOVERFLOW): Likewise.
60819         [POSIX] (EPROTO): Likewise.
60820         [POSIX] (EPROTONOSUPPORT): Likewise.
60821         [POSIX] (EPROTOTYPE): Likewise.
60822         [POSIX] (ESTALE): Likewise.
60823         [POSIX] (ETIME): Likewise.
60824         [POSIX] (ETXTBSY): Likewise.
60825         [POSIX] (EWOULDBLOCK): Likewise.
60826         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60827         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60828         [POSIX] (SEEK_CUR): Likewise.
60829         [POSIX] (SEEK_END): Likewise.
60830         [POSIX || UNIX98] (mode_t): Do not require.
60831         [POSIX] (off_t): Likewise.
60832         [POSIX] (pid_t): Likewise.
60833         [POSIX] (sys/stat.h): Do not allow header.
60834         [POSIX] (unistd.h): Likewise.
60835         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60836         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60837         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60838         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60839         require.
60840         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60841         sigevent): Specify elements.
60842         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60843         entry.
60844         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60845         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60847         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60848         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60849         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60850         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60851         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60852         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60853         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60854         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60855         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60856         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60857         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60858         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60859         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60860         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60861         Likewise.
60862         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60863         Likewise.
60864         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60865         Likewise.
60866         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60867         Likewise.
60868         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60869         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60870         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60871         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60872         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60873         Specify lower bound on value.
60874         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60875         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60876         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60877         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60878         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60879         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60880         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60881         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60882         value.
60883         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60884         as optional.
60885         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60886         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60887         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60888         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60889         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60890         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60891         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60892         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60893         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60894         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60895         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60896         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60897         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60898         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60899         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60900         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60901         entry.
60902         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60903         optional.
60904         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60905         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60906         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60907         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60908         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60909         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60910         Likewise.
60911         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60912         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60913         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60914         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60915         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60916         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60917         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60918         as optional.
60919         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60920         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60921         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60922         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60923         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60924         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60925         specify as optional.
60926         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60927         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60928         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60929         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60930         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60931         [XPG3] (NL_LANGMAX): Likewise.
60932         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60933         [POSIX || XPG3] (NL_NMAX): Likewise.
60934         [POSIX || XPG3] (NL_SETMAX): Likewise.
60935         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60936         [XPG3] (NZERO): Likewise.
60937         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60938         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60939         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60940         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60941         (REG_ERANGE): Expect.
60942         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60943         optional-constant.
60944         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60945         Use (void) in prototype.
60946         [POSIX] (*_t): Allow.
60947         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60948         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60949         (WRDE_BADVAL): Expect.
60951         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60952         expect.
60953         [XPG3 || XPG4] (O_RSYNC): Likewise.
60954         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60955         Likewise.
60956         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60957         [XPG3 || XPG4] (sigqueue): Likewise.
60958         [XPG3 || XPG4] (sigtimedwait): Likewise.
60959         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60960         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60961         [XPG3 || XPG4] (vsnprintf): Likewise.
60962         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60963         Likewise.
60964         [XPG3 || XPG4] (blksize_t): Likewise.
60965         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60966         Likewise.
60967         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60968         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60969         [XPG3 || XPG4] (struct itimerspec): Likewise.
60970         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60971         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60972         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60973         [XPG3 || XPG4] (clockid_t): Likewise.
60974         [XPG3 || XPG4] (timer_t): Likewise.
60975         [XPG3 || XPG4] (clock_getres): Likewise.
60976         [XPG3 || XPG4] (clock_gettime): Likewise.
60977         [XPG3 || XPG4] (clock_settime): Likewise.
60978         [XPG3 || XPG4] (nanosleep): Likewise.
60979         [XPG3 || XPG4] (timer_create): Likewise.
60980         [XPG3 || XPG4] (timer_delete): Likewise.
60981         [XPG3 || XPG4] (timer_gettime): Likewise.
60982         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60983         [XPG3 || XPG4] (timer_settime): Likewise.
60984         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60985         [XPG3 || XPG4] (getlogin_r): Likewise.
60986         [XPG3 || XPG4] (pread): Likewise.
60987         [XPG3 || XPG4] (pthread_atfork): Likewise.
60988         [XPG3 || XPG4] (pwrite): Likewise.
60990         [BZ #14835]
60991         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60992         <bits/siginfo.h>.
60994 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60996         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60997         finalizing MALLSTREAM.
60999         * sysdeps/mach/hurd/syncfs.c: New file.
61001 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61003         [BZ #14719]
61004         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61005         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61006         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61007         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61008         (_nss_dns_gethostbyname4_r): Likewise.
61009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61010         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61012 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61014         [BZ #13763]
61015         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61017 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61019         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61020         * elf/cache.c (print_entry): Print ",AArch64" for
61021         FLAG_AARCH64_LIB64
61023         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61024         * elf/cache.c (print_entry): Print ",hard-float" for
61025         FLAG_ARM_LIBHF.
61027 2012-11-18  David S. Miller  <davem@davemloft.net>
61029         With help from Joseph Myers.
61030         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61031         cutoff to 2**-13.
61032         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61033         cutoff to 2**-25.
61034         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61035         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61036         small.
61037         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61038         * math/libm-test.inc (y0_test): New tests.
61039         (y1_test): New tests.
61040         * sysdeps/i386/fpu/libm-test-ulps: Update.
61041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61044 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61046         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61047         64-bit targets.
61048         * configure: Regenerated.
61050 2012-11-17  David S. Miller  <davem@davemloft.net>
61052         [BZ #14811]
61053         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61054         nonzero exponents with absolute value below 0x1p-128 to +/-
61055         0x1p-128.
61057 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61059         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61061         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61063         * posix/getconf-speclist.c: New file.
61064         * posix/posix-envs.def: Likewise.
61065         * posix/confstr.c (START_ENV_GROUP): New macro.
61066         (END_ENV_GROUP): Likewise.
61067         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61068         (KNOWN_PRESENT_ENV_STRING): Likewise.
61069         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61070         (UNKNOWN_ENVIRONMENT): Likewise.
61071         (confstr): Include posix-envs.def instead of handling
61072         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61073         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61074         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61075         (END_ENV_GROUP): Likewise.
61076         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61077         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61078         (UNKNOWN_ENVIRONMENT): Likewise.
61079         (__sysconf): Include posix-envs.def instead of handling associated
61080         cases directly here.
61081         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61082         preprocessing getconf-speclist.c rather than running getconf or
61083         generating empty file.
61085 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61087         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61089 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61091         [BZ #14672]
61092         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61094 2012-11-16  David S. Miller  <davem@davemloft.net>
61096         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61097         smaller than LDBL_EPSILON/2.0L, just return xm1.
61099 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61101         * elf/tst-array1.c (init): Set constructor priority to 1000.
61102         (fini): Set destructor priority to 1000.
61103         * elf/tst-array2dep.c: Likewise.
61105 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61107         [BZ #11741]
61108         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61109         (_IO_new_file_xsputn): Also return EOF if none of the input
61110         data was written when overflow failed.
61111         * libio/iopadn.c (_IO_padn): Likewise.
61112         * libio/iowpadn.c (_IO_wpadn): Likewise.
61113         * stdio-common/tst-put-error.c: Add copyright notice.
61114         (do_test): Add case for printing padded string.
61115         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61116         _IO_padn returned error.
61117         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61118         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61119         return EOF.
61121 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61123         * libio/libioP.h: Add comment note that the references to C++
61124         bits are now obsolete.
61126 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61128         * math/libm-test.inc (check_complex): Use asprintf.
61130 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61132         * debug/pcprofiledump.c (print_version): Update copyright year.
61133         * malloc/memusagestat.c (print_version): Likewise.
61135 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61137         [BZ #14831]
61138         * elf/Makefile (tests): Add tst-audit8.
61139         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61140         ($(objpfx)tst-audit8.out): New target.
61141         (tst-audit8-ENV): New variable.
61142         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61143         audit if l_reloc_result is NULL.
61144         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61145         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61146         * elf/tst-audit8.c: New file.
61148 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61150         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61151         * misc/Makefile (CFLAGS-select.c): Define.
61152         * posix/Makefile (CFLAGS-pause.c): Define.
61154 2012-11-13  David S. Miller  <davem@davemloft.net>
61156         * crypt/Makefile: Move test targets after toplevel Rules
61157         inclusion.  Grab any necessary sysdep routines when linking.
61158         * crypt/md5.c (md5_process_block): Remove define, we will always
61159         name it __md5_process_block.
61160         (md5_finish_ctx): Update md5_process_block call.
61161         (md5_stream): Likewise.
61162         (md5_process_bytes): Likewise.
61163         (md5_process_block): Rename to __md5_process_block and move to ...
61164         * crypt/md5-block.c: ... here.
61165         * crypt/sha256.c (sha256_process_block): Move to ...
61166         * crypt/sha256-block.c: ... here.
61167         * crypt/sha512.c (sha512_process_block): Move to ...
61168         * crypt/sha512-block.c: ... here.
61169         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61170         path.
61171         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61172         * sysdeps/sparc/sparc64/multiarch/Makefile
61173         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61174         crypt subdir.
61175         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61176         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61177         multiarch changes.
61178         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61179         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61180         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61181         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61182         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61183         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61184         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61185         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61186         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61187         file.
61188         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61189         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61190         file.
61191         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61193 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61195         * timezone/tzselect.ksh: Update from tzcode git revision
61196         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61197         * timezone/zdump.c: Likewise.
61198         * timezone/zic.c: Likewise.
61199         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61200         in TZVERSION setting, not $(PKGVERSION).
61201         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61202         REPORT_BUGS_TO settings.
61204         [BZ #14838]
61205         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61206         macro.
61208 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61210         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61211         detection to immediately after _FP_ROUND().
61212         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61213         bits are 0.
61215 2012-11-11  David S. Miller  <davem@davemloft.net>
61217         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61218         inttypes.h
61219         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61220         __close rather than their public counterparts.
61222 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61224         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61225         file.
61226         [UNIX98] (sem_timedwait): Do not expect.
61227         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61228         [XPG4 || UNIX98] (sockatmark): Do not expect.
61229         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61230         (clock_getcpuclockid): Do not expect.
61231         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61232         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61233         Do not expect.
61234         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61235         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61236         [UNIX98] (vwscanf): Likewise.
61237         [UNIX98] (vswscanf): Likewise.
61239 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61241         * timezone/version.h: Remove file.
61242         * timezone/README: Do not refer to version.h.
61243         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61244         $(objpfx)version.h.
61245         ($(objpfx)zdump.o): Likewise.
61246         ($(objpfx)version.h): New target.
61248         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61249         2012i.
61250         * timezone/README: Don't mention modification to tzselect.ksh.
61251         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61252         work on unmodified tzselect.ksh.  Substitute version numbers in
61253         tzselect.ksh.
61255         * Makefile (format-me): Remove.
61256         (INSTALL): Adjust indentation.  Use commands directly instead of
61257         using $(format-me).
61259         * aclocal.m4 (ACX_PKGVERSION): New macro.
61260         (ACX_BUGURL): Likewise.
61261         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61262         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61263         (REPORT_BUGS_TO): Likewise.
61264         * configure: Regenerated.
61265         * config.h.in (PKGVERSION): New macro.
61266         (REPORT_BUGS_TO): Likewise.
61267         * config.make.in (PKGVERSION): New variable.
61268         (PKGVERSION_TEXI): Likewise.
61269         (REPORT_BUGS_TO): Likewise.
61270         (REPORT_BUGS_TEXI): Likewise.
61271         * Makefile (format-me): Use -I$(common-objpfx)manual.
61272         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61273         ($(common-objpfx)manual/%): New target.
61274         (manual/%): Remove target.
61275         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61276         (print_version): Use PKGVERSION.
61277         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61278         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61279         and REPORT_BUGS_TO.
61280         ($(objpfx)xtrace): Likewise.
61281         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61282         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61283         (print_version): Use PKGVERSION.
61284         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61285         (do_version): Use PKGVERSION.
61286         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61287         REPORT_BUGS_TO.
61288         (common-ldd-rewrite): Likewise.
61289         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61290         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61291         (print_version): Use PKGVERSION.
61292         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61293         * elf/pldd.c (argp_program_bug_address): Remove variable.
61294         (more_help): New function.
61295         (argp): Use more_help.
61296         (print_version): Use PKGVERSION.
61297         * elf/sln.c (main): Use PKGVERSION.
61298         (usage): Use REPORT_BUGS_TO.
61299         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61300         (top level): Use PKGVERSION.
61301         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61302         (print_version): Use PKGVERSION.
61303         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61304         (print_version): Use PKGVERSION.
61305         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61306         (print_version): Use PKGVERSION.
61307         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61308         (print_version): Use PKGVERSION.
61309         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61310         (print_version): Use PKGVERSION.
61311         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61312         (print_version): Use PKGVERSION.
61313         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61314         and BUGURL.
61315         ($(objpfx)memusage): Likewise.
61316         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61317         (do_version): Use PKGVERSION.
61318         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61319         (print_version): Use PKGVERSION.
61320         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61321         ($PKGVERSION): New variable.
61322         ($REPORT_BUGS_TO): Likewise.
61323         (usage): Use $REPORT_BUGS_TO.
61324         (top level): Use $PKGVERSION.
61325         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61326         ($(objpfx)pkgvers.texi): New rule.
61327         ($(objpfx)stamp-pkgvers): Likewise.
61328         * manual/install.texi: Include pkgvers.texi.
61329         (--with-pkgversion): Document new configure option.
61330         (--with-bugurl): Likewise.
61331         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61332         than necessarily for this particular distribution.  Use
61333         REPORT_BUGS_TO for where to report bugs.
61334         * INSTALL: Regenerated.
61335         * manual/libc.texinfo: Include pkgvers.texi.
61336         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61337         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61338         (print_version): Use PKGVERSION.
61339         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61340         (print_version): Use PKGVERSION.
61341         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61342         (print_version): Use PKGVERSION.
61343         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61344         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61345         macro.
61346         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61347         (print_version): Use PKGVERSION.
61348         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61349         (print_version): Use PKGVERSION.
61350         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61351         and PKGVERSION.
61353         * timezone/checktab.awk: Update from tzcode 2012i.
61354         * timezone/ialloc.c: Likewise.
61355         * timezone/private.h: Likewise.
61356         * timezone/scheck.c: Likewise.
61357         * timezone/tzfile.h: Likewise.
61358         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61359         (TZVERSION): Hardcode tzcode version number.
61360         * timezone/zdump.c: Update from tzcode 2012i.
61361         * timezone/zic.c: Likewise.
61362         * timezone/version.h: New file.
61363         * timezone/README: Describe version.h.  Update upstream location.
61365         [BZ #14824]
61366         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61367         (mktemp): Enable declaration.
61368         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61370         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61372         Likewise.
61373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61374         Likewise.
61375         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61376         Likewise.
61377         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61378         Likewise.
61379         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61380         Likewise.
61381         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61382         Likewise.
61384         [BZ #14821]
61385         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61386         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61387         for copies of such integer values.
61388         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61389         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61391 2012-11-09  Andreas Jaeger  <aj@suse.de>
61393         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61394         definitions and declarations that are provided by
61395         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61397 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61399         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61400         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61401         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61402         definition.
61404 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61406         * elf/elf.h: Update comment before AArch64 relocations.
61408 2012-11-07  David S. Miller  <davem@davemloft.net>
61410         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61411         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61412         (__start_context): Declare.
61413         (__makecontext_ret): Delete.
61414         (__makecontext): Hook up __start_context instead of
61415         __makecontext_ret.
61416         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61417         (sysdep_routines): Add __start_context when in stdlib.
61419 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61421         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61422         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61423         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61424         hardcoded "nm".
61425         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61426         (READELF): New variable.  Use it instead of hardcoded "readelf".
61428 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61430         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61431         * sysdeps/x86/Makefile: Here.
61432         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61433         * sysdeps/x86/tst-xmmymm.sh: This.
61435 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61437         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61438         expectations.
61439         [UNIX98] (pthread_barrier_t): Do not expect.
61440         [UNIX98] (pthread_barrierattr_t): Likewise.
61441         [UNIX98] (pthread_spinlock_t): Likewise.
61442         [UNIX98] (pthread_barrier_destroy): Likewise.
61443         [UNIX98] (pthread_barrier_init): Likewise.
61444         [UNIX98] (pthread_barrier_wait): Likewise.
61445         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61446         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61447         [UNIX98] (pthread_barrierattr_init): Likewise.
61448         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61449         [UNIX98] (pthread_getcpuclockid): Likewise.
61450         [UNIX98] (pthread_mutex_timedlock): Likewise.
61451         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61452         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61453         [UNIX98] (pthread_sigmask): Likewise.
61454         [UNIX98] (pthread_spin_destroy): Likewise.
61455         [UNIX98] (pthread_spin_init): Likewise.
61456         [UNIX98] (pthread_spin_lock): Likewise.
61457         [UNIX98] (pthread_spin_trylock): Likewise.
61458         [UNIX98] (pthread_spin_unlock): Likewise.
61459         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61460         Do not expect.
61461         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61462         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61463         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61464         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61465         [XPG3 || XPG4] (pthread_key_t): Likewise.
61466         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61467         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61468         [XPG3 || XPG4] (pthread_once_t): Likewise.
61469         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61470         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61471         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61472         [XPG3 || XPG4] (pthread_t): Likewise.
61474         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61475         not expect.
61476         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61478         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61479         Change function return type to int.
61481         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61482         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61483         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61484         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61485         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61486         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61487         [!POSIX] (posix_madvise): Likewise.
61488         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61489         && !UNIX98].
61490         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61491         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61492         (mode_t): Likewise.
61493         (posix_mem_offset): Likewise.
61494         (posix_typed_mem_get_info): Likewise.
61495         (posix_typed_mem_open): Likewise.
61497         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61498         Change condition to [XOPEN2K8].
61500         * conform/conformtest.pl: Preprocess allow-header data with -x c
61501         instead of from stdin.
61502         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61503         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61504         [C99-based standards] (cerfc): Likewise.
61505         [C99-based standards] (cexp2): Likewise.
61506         [C99-based standards] (cexpm1): Likewise.
61507         [C99-based standards] (clog10): Likewise.
61508         [C99-based standards] (clog1p): Likewise.
61509         [C99-based standards] (clog2): Likewise.
61510         [C99-based standards] (clgamma): Likewise.
61511         [C99-based standards] (ctgamma): Likewise.
61512         [C99-based standards] (cerff): Likewise.
61513         [C99-based standards] (cerfcf): Likewise.
61514         [C99-based standards] (cexp2f): Likewise.
61515         [C99-based standards] (cexpm1f): Likewise.
61516         [C99-based standards] (clog10f): Likewise.
61517         [C99-based standards] (clog1pf): Likewise.
61518         [C99-based standards] (clog2f): Likewise.
61519         [C99-based standards] (clgammaf): Likewise.
61520         [C99-based standards] (ctgammaf): Likewise.
61521         [C99-based standards] (cerfl): Likewise.
61522         [C99-based standards] (cerfcl): Likewise.
61523         [C99-based standards] (cexp2l): Likewise.
61524         [C99-based standards] (cexpm1l): Likewise.
61525         [C99-based standards] (clog10l): Likewise.
61526         [C99-based standards] (clog1pl): Likewise.
61527         [C99-based standards] (clog2l): Likewise.
61528         [C99-based standards] (clgammal): Likewise.
61529         [C99-based standards] (ctgammal): Likewise.
61530         * conform/data/inttypes.h-data [C99-based standards]: Include
61531         stdint.h-data.  Remove all expectations for stdint.h contents.
61532         [C99-based standards] (PRI*): Do not allow.
61533         [C99-based standards] (SCN*): Likewise.
61534         [C99-based standards] (*_t): Likewise.
61535         [C99-based-standards] (PRId8): Expect macro.
61536         [C99-based-standards] (PRIi8): Likewise.
61537         [C99-based-standards] (PRIo8): Likewise.
61538         [C99-based-standards] (PRIu8): Likewise.
61539         [C99-based-standards] (PRIx8): Likewise.
61540         [C99-based-standards] (PRIX8): Likewise.
61541         [C99-based-standards] (SCNd8): Likewise.
61542         [C99-based-standards] (SCNi8): Likewise.
61543         [C99-based-standards] (SCNo8): Likewise.
61544         [C99-based-standards] (SCNu8): Likewise.
61545         [C99-based-standards] (SCNx8): Likewise.
61546         [C99-based-standards] (PRIdLEAST8): Likewise.
61547         [C99-based-standards] (PRIiLEAST8): Likewise.
61548         [C99-based-standards] (PRIoLEAST8): Likewise.
61549         [C99-based-standards] (PRIuLEAST8): Likewise.
61550         [C99-based-standards] (PRIxLEAST8): Likewise.
61551         [C99-based-standards] (PRIXLEAST8): Likewise.
61552         [C99-based-standards] (SCNdLEAST8): Likewise.
61553         [C99-based-standards] (SCNiLEAST8): Likewise.
61554         [C99-based-standards] (SCNoLEAST8): Likewise.
61555         [C99-based-standards] (SCNuLEAST8): Likewise.
61556         [C99-based-standards] (SCNxLEAST8): Likewise.
61557         [C99-based-standards] (PRIdFAST8): Likewise.
61558         [C99-based-standards] (PRIiFAST8): Likewise.
61559         [C99-based-standards] (PRIoFAST8): Likewise.
61560         [C99-based-standards] (PRIuFAST8): Likewise.
61561         [C99-based-standards] (PRIxFAST8): Likewise.
61562         [C99-based-standards] (PRIXFAST8): Likewise.
61563         [C99-based-standards] (SCNdFAST8): Likewise.
61564         [C99-based-standards] (SCNiFAST8): Likewise.
61565         [C99-based-standards] (SCNoFAST8): Likewise.
61566         [C99-based-standards] (SCNuFAST8): Likewise.
61567         [C99-based-standards] (SCNxFAST8): Likewise.
61568         [C99-based-standards] (PRId16): Likewise.
61569         [C99-based-standards] (PRIi16): Likewise.
61570         [C99-based-standards] (PRIo16): Likewise.
61571         [C99-based-standards] (PRIu16): Likewise.
61572         [C99-based-standards] (PRIx16): Likewise.
61573         [C99-based-standards] (PRIX16): Likewise.
61574         [C99-based-standards] (SCNd16): Likewise.
61575         [C99-based-standards] (SCNi16): Likewise.
61576         [C99-based-standards] (SCNo16): Likewise.
61577         [C99-based-standards] (SCNu16): Likewise.
61578         [C99-based-standards] (SCNx16): Likewise.
61579         [C99-based-standards] (PRIdLEAST16): Likewise.
61580         [C99-based-standards] (PRIiLEAST16): Likewise.
61581         [C99-based-standards] (PRIoLEAST16): Likewise.
61582         [C99-based-standards] (PRIuLEAST16): Likewise.
61583         [C99-based-standards] (PRIxLEAST16): Likewise.
61584         [C99-based-standards] (PRIXLEAST16): Likewise.
61585         [C99-based-standards] (SCNdLEAST16): Likewise.
61586         [C99-based-standards] (SCNiLEAST16): Likewise.
61587         [C99-based-standards] (SCNoLEAST16): Likewise.
61588         [C99-based-standards] (SCNuLEAST16): Likewise.
61589         [C99-based-standards] (SCNxLEAST16): Likewise.
61590         [C99-based-standards] (PRIdFAST16): Likewise.
61591         [C99-based-standards] (PRIiFAST16): Likewise.
61592         [C99-based-standards] (PRIoFAST16): Likewise.
61593         [C99-based-standards] (PRIuFAST16): Likewise.
61594         [C99-based-standards] (PRIxFAST16): Likewise.
61595         [C99-based-standards] (PRIXFAST16): Likewise.
61596         [C99-based-standards] (SCNdFAST16): Likewise.
61597         [C99-based-standards] (SCNiFAST16): Likewise.
61598         [C99-based-standards] (SCNoFAST16): Likewise.
61599         [C99-based-standards] (SCNuFAST16): Likewise.
61600         [C99-based-standards] (SCNxFAST16): Likewise.
61601         [C99-based-standards] (PRId32): Likewise.
61602         [C99-based-standards] (PRIi32): Likewise.
61603         [C99-based-standards] (PRIo32): Likewise.
61604         [C99-based-standards] (PRIu32): Likewise.
61605         [C99-based-standards] (PRIx32): Likewise.
61606         [C99-based-standards] (PRIX32): Likewise.
61607         [C99-based-standards] (SCNd32): Likewise.
61608         [C99-based-standards] (SCNi32): Likewise.
61609         [C99-based-standards] (SCNo32): Likewise.
61610         [C99-based-standards] (SCNu32): Likewise.
61611         [C99-based-standards] (SCNx32): Likewise.
61612         [C99-based-standards] (PRIdLEAST32): Likewise.
61613         [C99-based-standards] (PRIiLEAST32): Likewise.
61614         [C99-based-standards] (PRIoLEAST32): Likewise.
61615         [C99-based-standards] (PRIuLEAST32): Likewise.
61616         [C99-based-standards] (PRIxLEAST32): Likewise.
61617         [C99-based-standards] (PRIXLEAST32): Likewise.
61618         [C99-based-standards] (SCNdLEAST32): Likewise.
61619         [C99-based-standards] (SCNiLEAST32): Likewise.
61620         [C99-based-standards] (SCNoLEAST32): Likewise.
61621         [C99-based-standards] (SCNuLEAST32): Likewise.
61622         [C99-based-standards] (SCNxLEAST32): Likewise.
61623         [C99-based-standards] (PRIdFAST32): Likewise.
61624         [C99-based-standards] (PRIiFAST32): Likewise.
61625         [C99-based-standards] (PRIoFAST32): Likewise.
61626         [C99-based-standards] (PRIuFAST32): Likewise.
61627         [C99-based-standards] (PRIxFAST32): Likewise.
61628         [C99-based-standards] (PRIXFAST32): Likewise.
61629         [C99-based-standards] (SCNdFAST32): Likewise.
61630         [C99-based-standards] (SCNiFAST32): Likewise.
61631         [C99-based-standards] (SCNoFAST32): Likewise.
61632         [C99-based-standards] (SCNuFAST32): Likewise.
61633         [C99-based-standards] (SCNxFAST32): Likewise.
61634         [C99-based-standards] (PRId64): Likewise.
61635         [C99-based-standards] (PRIi64): Likewise.
61636         [C99-based-standards] (PRIo64): Likewise.
61637         [C99-based-standards] (PRIu64): Likewise.
61638         [C99-based-standards] (PRIx64): Likewise.
61639         [C99-based-standards] (PRIX64): Likewise.
61640         [C99-based-standards] (SCNd64): Likewise.
61641         [C99-based-standards] (SCNi64): Likewise.
61642         [C99-based-standards] (SCNo64): Likewise.
61643         [C99-based-standards] (SCNu64): Likewise.
61644         [C99-based-standards] (SCNx64): Likewise.
61645         [C99-based-standards] (PRIdLEAST64): Likewise.
61646         [C99-based-standards] (PRIiLEAST64): Likewise.
61647         [C99-based-standards] (PRIoLEAST64): Likewise.
61648         [C99-based-standards] (PRIuLEAST64): Likewise.
61649         [C99-based-standards] (PRIxLEAST64): Likewise.
61650         [C99-based-standards] (PRIXLEAST64): Likewise.
61651         [C99-based-standards] (SCNdLEAST64): Likewise.
61652         [C99-based-standards] (SCNiLEAST64): Likewise.
61653         [C99-based-standards] (SCNoLEAST64): Likewise.
61654         [C99-based-standards] (SCNuLEAST64): Likewise.
61655         [C99-based-standards] (SCNxLEAST64): Likewise.
61656         [C99-based-standards] (PRIdFAST64): Likewise.
61657         [C99-based-standards] (PRIiFAST64): Likewise.
61658         [C99-based-standards] (PRIoFAST64): Likewise.
61659         [C99-based-standards] (PRIuFAST64): Likewise.
61660         [C99-based-standards] (PRIxFAST64): Likewise.
61661         [C99-based-standards] (PRIXFAST64): Likewise.
61662         [C99-based-standards] (SCNdFAST64): Likewise.
61663         [C99-based-standards] (SCNiFAST64): Likewise.
61664         [C99-based-standards] (SCNoFAST64): Likewise.
61665         [C99-based-standards] (SCNuFAST64): Likewise.
61666         [C99-based-standards] (SCNxFAST64): Likewise.
61667         [C99-based-standards] (PRIdMAX): Likewise.
61668         [C99-based-standards] (PRIiMAX): Likewise.
61669         [C99-based-standards] (PRIoMAX): Likewise.
61670         [C99-based-standards] (PRIuMAX): Likewise.
61671         [C99-based-standards] (PRIxMAX): Likewise.
61672         [C99-based-standards] (PRIXMAX): Likewise.
61673         [C99-based-standards] (SCNdMAX): Likewise.
61674         [C99-based-standards] (SCNiMAX): Likewise.
61675         [C99-based-standards] (SCNoMAX): Likewise.
61676         [C99-based-standards] (SCNuMAX): Likewise.
61677         [C99-based-standards] (SCNxMAX): Likewise.
61678         [C99-based-standards] (PRIdPTR): Likewise.
61679         [C99-based-standards] (PRIiPTR): Likewise.
61680         [C99-based-standards] (PRIoPTR): Likewise.
61681         [C99-based-standards] (PRIuPTR): Likewise.
61682         [C99-based-standards] (PRIxPTR): Likewise.
61683         [C99-based-standards] (PRIXPTR): Likewise.
61684         [C99-based-standards] (SCNdPTR): Likewise.
61685         [C99-based-standards] (SCNiPTR): Likewise.
61686         [C99-based-standards] (SCNoPTR): Likewise.
61687         [C99-based-standards] (SCNuPTR): Likewise.
61688         [C99-based-standards] (SCNxPTR): Likewise.
61689         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61690         allow.
61691         * conform/data/stdint.h-data: Update comments to clarify
61692         requirements.
61693         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61694         type.
61695         [C99-based standards] (INT8_MAX): Likewise.
61696         [C99-based standards] (INT16_MIN): Likewise.
61697         [C99-based standards] (INT16_MAX): Likewise.
61698         [C99-based standards] (INT32_MIN): Likewise.
61699         [C99-based standards] (INT32_MAX): Likewise.
61700         [C99-based standards] (INT64_MIN): Likewise.
61701         [C99-based standards] (INT64_MAX): Likewise.
61702         [C99-based standards] (UINT8_MAX): Likewise.
61703         [C99-based standards] (UINT16_MAX): Likewise.
61704         [C99-based standards] (UINT32_MAX): Likewise.
61705         [C99-based standards] (UINT64_MAX): Likewise.
61706         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61707         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61708         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61709         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61710         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61711         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61712         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61713         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61714         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61715         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61716         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61717         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61718         [C99-based standards] (INT_FAST8_MIN): Likewise.
61719         [C99-based standards] (INT_FAST8_MAX): Likewise.
61720         [C99-based standards] (INT_FAST16_MIN): Likewise.
61721         [C99-based standards] (INT_FAST16_MAX): Likewise.
61722         [C99-based standards] (INT_FAST32_MIN): Likewise.
61723         [C99-based standards] (INT_FAST32_MAX): Likewise.
61724         [C99-based standards] (INT_FAST64_MIN): Likewise.
61725         [C99-based standards] (INT_FAST64_MAX): Likewise.
61726         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61727         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61728         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61729         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61730         [C99-based standards] (INTPTR_MIN): Likewise.
61731         [C99-based standards] (INTPTR_MAX): Likewise.
61732         [C99-based standards] (UINTPTR_MAX): Likewise.
61733         [C99-based standards] (INTMAX_MIN): Likewise.
61734         [C99-based standards] (INTMAX_MAX): Likewise.
61735         [C99-based standards] (UINTMAX_MAX): Likewise.
61736         [C99-based standards] (PTRDIFF_MIN): Likewise.
61737         [C99-based standards] (PTRDIFF_MAX): Likewise.
61738         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61739         [C99-based standards] (SIZE_MAX): Likewise.
61740         [C99-based standards] (WCHAR_MAX): Likewise.
61741         [C99-based standards] (WINT_MAX): Likewise.
61742         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61743         constraint on value.
61744         [C99-based standards] (WCHAR_MIN): Likewise.
61745         [C99-based standards] (WINT_MIN): Likewise.
61746         [C99-based standards] (*_t): Allow.
61747         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61748         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61749         Include math.h-data and complex.h-data.  Remove all expectations
61750         of math.h and complex.h contents.
61751         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61752         at end of line.
61753         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61754         (struct tm): Expect tag.
61755         [C99-based-standards] (wcstof): Expect function.
61756         [C99-based-standards] (wcstold): Likewise.
61757         [C99-based-standards] (wcstoll): Likewise.
61758         [C99-based-standards] (wcstoull): Likewise.
61759         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61760         macro-int-constant.  Specify type.
61761         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61762         constraint on value.
61763         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61764         Specify type.
61765         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61766         Specify value.
61767         [ISO C standards]: Do not allow headers.
61768         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61769         wcs[abcdefghijklmnopqrstuvwxyz]*.
61770         [ISO C standards] (*_t): Do not allow.
61771         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61772         Expect function.
61773         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61774         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61775         Specify type.
61776         [ISO C standards]: Do not allow headers.
61777         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61778         is[abcdefghijklmnopqrstuvwxyz]*.
61779         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61780         to[abcdefghijklmnopqrstuvwxyz]*.
61781         [ISO C standards] (*_t): Do not allow.
61782         * conform/data/stdalign.h-data: New file.
61783         * conform/data/stdbool.h-data: Likewise.
61784         * conform/data/stdnoreturn.h-data: Likewise.
61786 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61788         [BZ #14815]
61789         * manual/filesys.texi (Directory Entries): Typo fix.
61790         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61792 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61794         * elf/elf.h (EM_AARCH64): New macro.
61795         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61796         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61797         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61798         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61799         (R_AARCH64_TLSDESC): Likewise.
61800         (NT_ARM_TLS): Likewise.
61801         (NT_ARM_HW_BREAK): Likewise.
61802         (NT_ARM_HW_WATCH): Likewise.
61804 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61806         [BZ #14811]
61807         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61808         (__ieee754_powl): Saturate nonzero exponents with absolute value
61809         below 0x1p-79 to +/- 0x1p-79.
61810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61811         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61812         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61813         nonzero exponents with absolute value below 0x1p-32 to +/-
61814         0x1p-32.
61815         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61816         (__ieee754_powl): Saturate nonzero exponents with absolute value
61817         below 0x1p-79 to +/- 0x1p-79.
61818         * math/libm-test.inc (pow_test): Add more tests.
61820 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61822         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61823         _dl_s390_cap_flags with kernel. Increase string length.
61824         (_dl_s390_platforms): Add z196 and zEC12.
61826 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61828         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61829         Change XOPEN21K to XOPEN2K.
61831 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61833         * string/memmove.c: Use memcpy when possible.
61835 2012-11-06  Andreas Jaeger  <aj@suse.de>
61837         * po/eo.po: Update from translation team.
61839 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61841         [BZ #14793]
61842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61843         exponent and small x and y exponents, scale x or y up.  Increase
61844         by 2 the exponent used in scaling up.
61845         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61846         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61847         * math/libm-test.inc (fma_test): Add more tests.
61848         (fma_test_towardzero): Likewise.
61849         (fma_test_downward): Likewise.
61850         (fma_test_upward): Likewise.
61852 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61854         [BZ #14805]
61855         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61856         fenv_t *.
61858         [BZ #14801]
61859         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61860         namespace for names of struct fields.
61861         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61862         fenv_t fields.
61863         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61864         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61866 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61868         [BZ #3665]
61869         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61871 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61873         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61874         PTR_DEMANGLE.
61876         [BZ #5246]
61877         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61878         PTR_DEMANGLE.
61880 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61882         [BZ #14797]
61883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61884         definitely overflow as x * y not x * y + z.
61885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61887         * math/libm-test.inc (fma_test): Add more tests.
61888         (fma_test_towardzero): Likewise.
61889         (fma_test_downward): Likewise.
61890         (fma_test_upward): Likewise.
61892 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61894         [BZ #157]
61896         * include/stub-tag.h: Remove file.
61897         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61898         '#include' of it.
61899         * manual/maint.texi (Porting): Don't reference it.
61900         * Makerules ($(objpfx)stubs): Likewise.
61901         * dirent/closedir.c: Don't include <stub-tag.h>.
61902         * dirent/dirfd.c: Likewise.
61903         * dirent/fdopendir.c: Likewise.
61904         * dirent/getdents.c: Likewise.
61905         * dirent/getdents64.c: Likewise.
61906         * dirent/opendir.c: Likewise.
61907         * dirent/readdir.c: Likewise.
61908         * dirent/readdir64.c: Likewise.
61909         * dirent/readdir64_r.c: Likewise.
61910         * dirent/readdir_r.c: Likewise.
61911         * dirent/rewinddir.c: Likewise.
61912         * dirent/seekdir.c: Likewise.
61913         * dirent/telldir.c: Likewise.
61914         * gmon/profil.c: Likewise.
61915         * grp/setgroups.c: Likewise.
61916         * inet/if_index.c: Likewise.
61917         * io/access.c: Likewise.
61918         * io/chdir.c: Likewise.
61919         * io/chmod.c: Likewise.
61920         * io/chown.c: Likewise.
61921         * io/close.c: Likewise.
61922         * io/dup.c: Likewise.
61923         * io/dup2.c: Likewise.
61924         * io/dup3.c: Likewise.
61925         * io/euidaccess.c: Likewise.
61926         * io/faccessat.c: Likewise.
61927         * io/fchdir.c: Likewise.
61928         * io/fchmod.c: Likewise.
61929         * io/fchmodat.c: Likewise.
61930         * io/fchown.c: Likewise.
61931         * io/fchownat.c: Likewise.
61932         * io/fcntl.c: Likewise.
61933         * io/flock.c: Likewise.
61934         * io/fstatfs.c: Likewise.
61935         * io/fstatfs64.c: Likewise.
61936         * io/fstatvfs.c: Likewise.
61937         * io/fstatvfs64.c: Likewise.
61938         * io/futimens.c: Likewise.
61939         * io/fxstat.c: Likewise.
61940         * io/fxstat64.c: Likewise.
61941         * io/fxstatat.c: Likewise.
61942         * io/fxstatat64.c: Likewise.
61943         * io/getcwd.c: Likewise.
61944         * io/isatty.c: Likewise.
61945         * io/lchmod.c: Likewise.
61946         * io/lchown.c: Likewise.
61947         * io/link.c: Likewise.
61948         * io/linkat.c: Likewise.
61949         * io/lseek.c: Likewise.
61950         * io/lseek64.c: Likewise.
61951         * io/lxstat64.c: Likewise.
61952         * io/mkdir.c: Likewise.
61953         * io/mkdirat.c: Likewise.
61954         * io/mkfifo.c: Likewise.
61955         * io/mkfifoat.c: Likewise.
61956         * io/open.c: Likewise.
61957         * io/open64.c: Likewise.
61958         * io/openat.c: Likewise.
61959         * io/openat64.c: Likewise.
61960         * io/pipe.c: Likewise.
61961         * io/pipe2.c: Likewise.
61962         * io/poll.c: Likewise.
61963         * io/posix_fadvise.c: Likewise.
61964         * io/posix_fadvise64.c: Likewise.
61965         * io/posix_fallocate.c: Likewise.
61966         * io/posix_fallocate64.c: Likewise.
61967         * io/read.c: Likewise.
61968         * io/readlink.c: Likewise.
61969         * io/readlinkat.c: Likewise.
61970         * io/rmdir.c: Likewise.
61971         * io/sendfile.c: Likewise.
61972         * io/sendfile64.c: Likewise.
61973         * io/statfs.c: Likewise.
61974         * io/statfs64.c: Likewise.
61975         * io/statvfs.c: Likewise.
61976         * io/statvfs64.c: Likewise.
61977         * io/symlink.c: Likewise.
61978         * io/symlinkat.c: Likewise.
61979         * io/ttyname.c: Likewise.
61980         * io/ttyname_r.c: Likewise.
61981         * io/umask.c: Likewise.
61982         * io/unlink.c: Likewise.
61983         * io/unlinkat.c: Likewise.
61984         * io/utime.c: Likewise.
61985         * io/utimensat.c: Likewise.
61986         * io/write.c: Likewise.
61987         * io/xmknod.c: Likewise.
61988         * io/xmknodat.c: Likewise.
61989         * io/xstat.c: Likewise.
61990         * io/xstat64.c: Likewise.
61991         * login/getpt.c: Likewise.
61992         * login/grantpt.c: Likewise.
61993         * login/unlockpt.c: Likewise.
61994         * math/e_acoshl.c: Likewise.
61995         * math/e_acosl.c: Likewise.
61996         * math/e_asinl.c: Likewise.
61997         * math/e_atan2l.c: Likewise.
61998         * math/e_atanhl.c: Likewise.
61999         * math/e_coshl.c: Likewise.
62000         * math/e_expl.c: Likewise.
62001         * math/e_fmodl.c: Likewise.
62002         * math/e_gammal_r.c: Likewise.
62003         * math/e_hypotl.c: Likewise.
62004         * math/e_j0l.c: Likewise.
62005         * math/e_j1l.c: Likewise.
62006         * math/e_jnl.c: Likewise.
62007         * math/e_lgammal_r.c: Likewise.
62008         * math/e_log10l.c: Likewise.
62009         * math/e_log2l.c: Likewise.
62010         * math/e_logl.c: Likewise.
62011         * math/e_powl.c: Likewise.
62012         * math/e_rem_pio2l.c: Likewise.
62013         * math/e_sinhl.c: Likewise.
62014         * math/e_sqrtl.c: Likewise.
62015         * math/fclrexcpt.c: Likewise.
62016         * math/fedisblxcpt.c: Likewise.
62017         * math/feenablxcpt.c: Likewise.
62018         * math/fegetenv.c: Likewise.
62019         * math/fegetexcept.c: Likewise.
62020         * math/fegetround.c: Likewise.
62021         * math/feholdexcpt.c: Likewise.
62022         * math/fesetenv.c: Likewise.
62023         * math/fesetround.c: Likewise.
62024         * math/feupdateenv.c: Likewise.
62025         * math/fgetexcptflg.c: Likewise.
62026         * math/fraiseexcpt.c: Likewise.
62027         * math/fsetexcptflg.c: Likewise.
62028         * math/ftestexcept.c: Likewise.
62029         * math/k_cosl.c: Likewise.
62030         * math/k_rem_pio2l.c: Likewise.
62031         * math/k_sinl.c: Likewise.
62032         * math/k_tanl.c: Likewise.
62033         * math/s_asinhl.c: Likewise.
62034         * math/s_atanl.c: Likewise.
62035         * math/s_cbrtl.c: Likewise.
62036         * math/s_erfl.c: Likewise.
62037         * math/s_expm1l.c: Likewise.
62038         * math/s_log1pl.c: Likewise.
62039         * math/s_tanhl.c: Likewise.
62040         * misc/acct.c: Likewise.
62041         * misc/brk.c: Likewise.
62042         * misc/chflags.c: Likewise.
62043         * misc/chroot.c: Likewise.
62044         * misc/fchflags.c: Likewise.
62045         * misc/fgetxattr.c: Likewise.
62046         * misc/flistxattr.c: Likewise.
62047         * misc/fremovexattr.c: Likewise.
62048         * misc/fsetxattr.c: Likewise.
62049         * misc/fsync.c: Likewise.
62050         * misc/ftruncate.c: Likewise.
62051         * misc/futimes.c: Likewise.
62052         * misc/futimesat.c: Likewise.
62053         * misc/getdomain.c: Likewise.
62054         * misc/getdtsz.c: Likewise.
62055         * misc/gethostid.c: Likewise.
62056         * misc/gethostname.c: Likewise.
62057         * misc/getloadavg.c: Likewise.
62058         * misc/getpagesize.c: Likewise.
62059         * misc/getsysstats.c: Likewise.
62060         * misc/getxattr.c: Likewise.
62061         * misc/gtty.c: Likewise.
62062         * misc/ioctl.c: Likewise.
62063         * misc/lgetxattr.c: Likewise.
62064         * misc/listxattr.c: Likewise.
62065         * misc/llistxattr.c: Likewise.
62066         * misc/lremovexattr.c: Likewise.
62067         * misc/lsetxattr.c: Likewise.
62068         * misc/lutimes.c: Likewise.
62069         * misc/madvise.c: Likewise.
62070         * misc/mincore.c: Likewise.
62071         * misc/mlock.c: Likewise.
62072         * misc/mlockall.c: Likewise.
62073         * misc/mmap.c: Likewise.
62074         * misc/mprotect.c: Likewise.
62075         * misc/msync.c: Likewise.
62076         * misc/munlock.c: Likewise.
62077         * misc/munlockall.c: Likewise.
62078         * misc/munmap.c: Likewise.
62079         * misc/preadv.c: Likewise.
62080         * misc/preadv64.c: Likewise.
62081         * misc/ptrace.c: Likewise.
62082         * misc/pwritev.c: Likewise.
62083         * misc/pwritev64.c: Likewise.
62084         * misc/readv.c: Likewise.
62085         * misc/reboot.c: Likewise.
62086         * misc/remap_file_pages.c: Likewise.
62087         * misc/removexattr.c: Likewise.
62088         * misc/revoke.c: Likewise.
62089         * misc/select.c: Likewise.
62090         * misc/setdomain.c: Likewise.
62091         * misc/setegid.c: Likewise.
62092         * misc/seteuid.c: Likewise.
62093         * misc/sethostid.c: Likewise.
62094         * misc/sethostname.c: Likewise.
62095         * misc/setregid.c: Likewise.
62096         * misc/setreuid.c: Likewise.
62097         * misc/setxattr.c: Likewise.
62098         * misc/sstk.c: Likewise.
62099         * misc/stty.c: Likewise.
62100         * misc/swapoff.c: Likewise.
62101         * misc/swapon.c: Likewise.
62102         * misc/sync.c: Likewise.
62103         * misc/syncfs.c: Likewise.
62104         * misc/syscall.c: Likewise.
62105         * misc/truncate.c: Likewise.
62106         * misc/ualarm.c: Likewise.
62107         * misc/usleep.c: Likewise.
62108         * misc/ustat.c: Likewise.
62109         * misc/utimes.c: Likewise.
62110         * misc/vhangup.c: Likewise.
62111         * misc/writev.c: Likewise.
62112         * posix/_exit.c: Likewise.
62113         * posix/alarm.c: Likewise.
62114         * posix/execve.c: Likewise.
62115         * posix/fexecve.c: Likewise.
62116         * posix/fork.c: Likewise.
62117         * posix/fpathconf.c: Likewise.
62118         * posix/getaddrinfo.c: Likewise.
62119         * posix/getegid.c: Likewise.
62120         * posix/geteuid.c: Likewise.
62121         * posix/getgid.c: Likewise.
62122         * posix/getgroups.c: Likewise.
62123         * posix/getlogin.c: Likewise.
62124         * posix/getlogin_r.c: Likewise.
62125         * posix/getpgid.c: Likewise.
62126         * posix/getpid.c: Likewise.
62127         * posix/getppid.c: Likewise.
62128         * posix/getresgid.c: Likewise.
62129         * posix/getresuid.c: Likewise.
62130         * posix/getsid.c: Likewise.
62131         * posix/getuid.c: Likewise.
62132         * posix/glob64.c: Likewise.
62133         * posix/nanosleep.c: Likewise.
62134         * posix/pathconf.c: Likewise.
62135         * posix/pause.c: Likewise.
62136         * posix/posix_madvise.c: Likewise.
62137         * posix/pread.c: Likewise.
62138         * posix/pread64.c: Likewise.
62139         * posix/pwrite.c: Likewise.
62140         * posix/pwrite64.c: Likewise.
62141         * posix/sched_getaffinity.c: Likewise.
62142         * posix/sched_getp.c: Likewise.
62143         * posix/sched_gets.c: Likewise.
62144         * posix/sched_primax.c: Likewise.
62145         * posix/sched_primin.c: Likewise.
62146         * posix/sched_rr_gi.c: Likewise.
62147         * posix/sched_setaffinity.c: Likewise.
62148         * posix/sched_setp.c: Likewise.
62149         * posix/sched_sets.c: Likewise.
62150         * posix/sched_yield.c: Likewise.
62151         * posix/setgid.c: Likewise.
62152         * posix/setlogin.c: Likewise.
62153         * posix/setpgid.c: Likewise.
62154         * posix/setresgid.c: Likewise.
62155         * posix/setresuid.c: Likewise.
62156         * posix/setsid.c: Likewise.
62157         * posix/setuid.c: Likewise.
62158         * posix/sleep.c: Likewise.
62159         * posix/spawni.c: Likewise.
62160         * posix/sysconf.c: Likewise.
62161         * posix/times.c: Likewise.
62162         * posix/wait.c: Likewise.
62163         * posix/wait3.c: Likewise.
62164         * posix/wait4.c: Likewise.
62165         * posix/waitpid.c: Likewise.
62166         * resolv/gai_sigqueue.c: Likewise.
62167         * resource/getpriority.c: Likewise.
62168         * resource/getrlimit.c: Likewise.
62169         * resource/getrusage.c: Likewise.
62170         * resource/nice.c: Likewise.
62171         * resource/setpriority.c: Likewise.
62172         * resource/setrlimit.c: Likewise.
62173         * resource/ulimit.c: Likewise.
62174         * rt/aio_cancel.c: Likewise.
62175         * rt/aio_fsync.c: Likewise.
62176         * rt/aio_read.c: Likewise.
62177         * rt/aio_sigqueue.c: Likewise.
62178         * rt/aio_suspend.c: Likewise.
62179         * rt/aio_write.c: Likewise.
62180         * rt/clock_getres.c: Likewise.
62181         * rt/clock_gettime.c: Likewise.
62182         * rt/clock_nanosleep.c: Likewise.
62183         * rt/clock_settime.c: Likewise.
62184         * rt/lio_listio.c: Likewise.
62185         * rt/mq_close.c: Likewise.
62186         * rt/mq_getattr.c: Likewise.
62187         * rt/mq_notify.c: Likewise.
62188         * rt/mq_open.c: Likewise.
62189         * rt/mq_receive.c: Likewise.
62190         * rt/mq_send.c: Likewise.
62191         * rt/mq_setattr.c: Likewise.
62192         * rt/mq_timedreceive.c: Likewise.
62193         * rt/mq_timedsend.c: Likewise.
62194         * rt/mq_unlink.c: Likewise.
62195         * rt/shm_open.c: Likewise.
62196         * rt/shm_unlink.c: Likewise.
62197         * rt/timer_create.c: Likewise.
62198         * rt/timer_delete.c: Likewise.
62199         * rt/timer_getoverr.c: Likewise.
62200         * rt/timer_gettime.c: Likewise.
62201         * rt/timer_settime.c: Likewise.
62202         * setjmp/__longjmp.c: Likewise.
62203         * setjmp/setjmp.c: Likewise.
62204         * signal/kill.c: Likewise.
62205         * signal/killpg.c: Likewise.
62206         * signal/raise.c: Likewise.
62207         * signal/sigaction.c: Likewise.
62208         * signal/sigaltstack.c: Likewise.
62209         * signal/sigblock.c: Likewise.
62210         * signal/sigignore.c: Likewise.
62211         * signal/sigintr.c: Likewise.
62212         * signal/signal.c: Likewise.
62213         * signal/sigpause.c: Likewise.
62214         * signal/sigpending.c: Likewise.
62215         * signal/sigqueue.c: Likewise.
62216         * signal/sigreturn.c: Likewise.
62217         * signal/sigset.c: Likewise.
62218         * signal/sigsetmask.c: Likewise.
62219         * signal/sigstack.c: Likewise.
62220         * signal/sigsuspend.c: Likewise.
62221         * signal/sigtimedwait.c: Likewise.
62222         * signal/sigvec.c: Likewise.
62223         * signal/sigwait.c: Likewise.
62224         * signal/sigwaitinfo.c: Likewise.
62225         * signal/sysv_signal.c: Likewise.
62226         * socket/accept.c: Likewise.
62227         * socket/accept4.c: Likewise.
62228         * socket/bind.c: Likewise.
62229         * socket/connect.c: Likewise.
62230         * socket/getpeername.c: Likewise.
62231         * socket/getsockname.c: Likewise.
62232         * socket/getsockopt.c: Likewise.
62233         * socket/isfdtype.c: Likewise.
62234         * socket/listen.c: Likewise.
62235         * socket/recv.c: Likewise.
62236         * socket/recvfrom.c: Likewise.
62237         * socket/recvmsg.c: Likewise.
62238         * socket/send.c: Likewise.
62239         * socket/sendmsg.c: Likewise.
62240         * socket/sendto.c: Likewise.
62241         * socket/setsockopt.c: Likewise.
62242         * socket/shutdown.c: Likewise.
62243         * socket/sockatmark.c: Likewise.
62244         * socket/socket.c: Likewise.
62245         * socket/socketpair.c: Likewise.
62246         * stdio-common/ctermid.c: Likewise.
62247         * stdio-common/cuserid.c: Likewise.
62248         * stdio-common/remove.c: Likewise.
62249         * stdio-common/rename.c: Likewise.
62250         * stdio-common/renameat.c: Likewise.
62251         * stdio-common/tempname.c: Likewise.
62252         * stdlib/getcontext.c: Likewise.
62253         * stdlib/makecontext.c: Likewise.
62254         * stdlib/setcontext.c: Likewise.
62255         * stdlib/swapcontext.c: Likewise.
62256         * stdlib/system.c: Likewise.
62257         * streams/fattach.c: Likewise.
62258         * streams/fdetach.c: Likewise.
62259         * streams/getmsg.c: Likewise.
62260         * streams/getpmsg.c: Likewise.
62261         * streams/putmsg.c: Likewise.
62262         * streams/putpmsg.c: Likewise.
62263         * sysdeps/unix/bsd/getpt.c: Likewise.
62264         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62265         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62266         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62268         Likewise.
62269         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62270         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62271         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62272         * sysvipc/msgctl.c: Likewise.
62273         * sysvipc/msgget.c: Likewise.
62274         * sysvipc/msgrcv.c: Likewise.
62275         * sysvipc/msgsnd.c: Likewise.
62276         * sysvipc/semctl.c: Likewise.
62277         * sysvipc/semget.c: Likewise.
62278         * sysvipc/semop.c: Likewise.
62279         * sysvipc/semtimedop.c: Likewise.
62280         * sysvipc/shmat.c: Likewise.
62281         * sysvipc/shmctl.c: Likewise.
62282         * sysvipc/shmdt.c: Likewise.
62283         * sysvipc/shmget.c: Likewise.
62284         * termios/tcdrain.c: Likewise.
62285         * termios/tcflow.c: Likewise.
62286         * termios/tcflush.c: Likewise.
62287         * termios/tcgetattr.c: Likewise.
62288         * termios/tcgetpgrp.c: Likewise.
62289         * termios/tcsendbrk.c: Likewise.
62290         * termios/tcsetattr.c: Likewise.
62291         * termios/tcsetpgrp.c: Likewise.
62292         * time/adjtime.c: Likewise.
62293         * time/clock.c: Likewise.
62294         * time/getitimer.c: Likewise.
62295         * time/gettimeofday.c: Likewise.
62296         * time/setitimer.c: Likewise.
62297         * time/settimeofday.c: Likewise.
62298         * time/stime.c: Likewise.
62299         * time/time.c: Likewise.
62301 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62303         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62304         /usr/old/bin.
62306         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62307         instead of spaces.
62308         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62310 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62312         [BZ #14796]
62313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62314         FE_TONEAREST before applying Dekker multiplication and Knuth
62315         addition.  Clear inexact exceptions and check for exact zero
62316         results afterwards.
62317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62318         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62320         * math/libm-test.inc (fma_test): Add more tests.
62321         (fma_test_towardzero): Likewise.
62322         (fma_test_downward): Likewise.
62323         (fma_test_upward): Likewise.
62324         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62325         function.
62326         (libc_fesetround): New macro.
62327         (libc_fesetroundf): Likewise.
62328         (libc_fesetroundl): Likewise.
62329         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62330         function.
62331         (libc_fesetround_387): Likewise.
62332         (libc_fesetroundf): New macro.
62333         (libc_fesetround): Likewise.
62334         (libc_fesetroundl): Likewise.
62335         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62336         function.
62337         (libc_fesetroundf): New macro.
62338         (libc_fesetround): Likewise.
62339         (libc_fesetroundl): Likewise.
62340         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62341         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62342         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62343         libm_hidden_ver.
62344         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62345         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62346         libm_hidden_def.
62347         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62348         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62349         libm_hidden_ver.
62350         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62351         libm_hidden_def.
62353         [BZ #3439]
62354         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62355         integer constant usable in #if and use that to give value to enum
62356         constant.
62357         (FE_DIVBYZERO): Likewise.
62358         (FE_UNDERFLOW): Likewise.
62359         (FE_OVERFLOW): Likewise.
62360         (FE_INVALID): Likewise.
62361         (FE_INVALID_SNAN): Likewise.
62362         (FE_INVALID_ISI): Likewise.
62363         (FE_INVALID_IDI): Likewise.
62364         (FE_INVALID_ZDZ): Likewise.
62365         (FE_INVALID_IMZ): Likewise.
62366         (FE_INVALID_COMPARE): Likewise.
62367         (FE_INVALID_SOFTWARE): Likewise.
62368         (FE_INVALID_SQRT): Likewise.
62369         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62370         (FE_TONEAREST): Likewise.
62371         (FE_TOWARDZERO): Likewise.
62372         (FE_UPWARD): Likewise.
62373         (FE_DOWNWARD): Likewise.
62374         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62375         (FE_DIVBYZERO): Likewise.
62376         (FE_OVERFLOW): Likewise.
62377         (FE_UNDERFLOW): Likewise.
62378         (FE_INEXACT): Likewise.
62379         (FE_TONEAREST): Likewise.
62380         (FE_DOWNWARD): Likewise.
62381         (FE_UPWARD): Likewise.
62382         (FE_TOWARDZERO): Likewise.
62383         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62384         (FE_UNDERFLOW): Likewise.
62385         (FE_OVERFLOW): Likewise.
62386         (FE_DIVBYZERO): Likewise.
62387         (FE_INVALID): Likewise.
62388         (FE_TONEAREST): Likewise.
62389         (FE_TOWARDZERO): Likewise.
62390         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62391         (FE_OVERFLOW): Likewise.
62392         (FE_UNDERFLOW): Likewise.
62393         (FE_DIVBYZERO): Likewise.
62394         (FE_INEXACT): Likewise.
62395         (FE_TONEAREST): Likewise.
62396         (FE_TOWARDZERO): Likewise.
62397         (FE_UPWARD): Likewise.
62398         (FE_DOWNWARD): Likewise.
62399         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62400         (FE_DIVBYZERO): Likewise.
62401         (FE_OVERFLOW): Likewise.
62402         (FE_UNDERFLOW): Likewise.
62403         (FE_INEXACT): Likewise.
62404         (FE_TONEAREST): Likewise.
62405         (FE_DOWNWARD): Likewise.
62406         (FE_UPWARD): Likewise.
62407         (FE_TOWARDZERO): Likewise.
62409 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62411         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62413 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62415         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62416         commands.  Quote $PWD.
62417         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62418         -x" by "export".
62419         (remove_newlines): Remove.
62421 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62423         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62424         * stdlib/stdlib.h (atof): Moved to ...
62425         * include/bits/stdlib-float.h: Here.  New file.
62426         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62427         * stdlib/bits/stdlib-float.h: New file.
62428         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62429         -mno-sse -mno-mmx.
62430         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62431         <xmmintrin.h>.
62433 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62435         * conform/conformtest.pl (@headers): Add fenv.h.
62436         * conform/data/fenv.h-data: New file.
62437         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62438         include of <math/fenv.h>.
62440         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62441         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62442         && !UNIX98].  Enables tests for XOPEN2K8.
62443         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62444         POSIX2008]: Likewise.
62446         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62447         (struct rusage): Do not expect type or its members.
62449         [BZ #3439]
62450         * math/math.h (FP_NAN): Define macro to integer constant usable in
62451         #if and use that to give value to enum constant.
62452         (FP_INFINITE): Likewise.
62453         (FP_ZERO): Likewise.
62454         (FP_SUBNORMAL): Likewise.
62455         (FP_NORMAL): Likewise.
62457 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62459         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62460         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62461         arguments.
62463 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62465         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62466         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62467         autoconf-time if not.
62468         * configure.in: Remove AC_PREREQ.
62470 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62472         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62473         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62474         of the internal implementation.
62476 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62478         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62479         except include of <misc/sys/syslog.h>.
62481 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62484         function returns with a NULL context exit with zero.
62486 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62488         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62490 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62492         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62493         (run_program_cmd): This.
62494         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62495         (tst_langinfo): New variable.  Use it.
62497 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62499         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62500         floating point opcodes.
62502 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62504         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62505         variable.
62507         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62509         * sysdeps/mach/hurd/powerpc: Remove directory.
62510         * sysdeps/mach/powerpc: Likewise.
62512 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62514         * scripts/check-local-headers.sh: Ignore c++ headers.
62516 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62518         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62519         __libc_cleanup_region_start argument.
62521 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62523         [BZ #14784]
62524         [BZ #14785]
62525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62526         x * y using scaling, not as x * y + z.
62527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62529         * math/libm-test.inc (fma_test): Add more tests.
62530         (fma_test_towardzero): Likewise.
62531         (fma_test_downward): Likewise.
62532         (fma_test_upward): Likewise.
62534 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62536         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62538 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62540         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62541         New variable.
62543 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62545         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62547 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62550         Fix sort order.
62551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62552         Likewise.
62554 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62557         Fix the order of the list for glibc 2.17.
62558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62559         Likewise.
62561 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62565 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62567         [BZ #14610]
62568         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62569         for low part of x being zero before using __atanl (y).
62570         * math/libm-test.inc (atan2_test): Add another test.
62572         * manual/install.texi (Configuring and compiling): Document
62573         general use of test-wrapper and test-wrapper-env.
62574         * INSTALL: Regenerated.
62576         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62577         (__fma): Do not extract and scale down low bits on after-rounding
62578         systems when result rounded to normal precision would have normal
62579         exponent.
62580         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62581         (__fmal): Do not extract and scale down low bits on after-rounding
62582         systems when result rounded to normal precision would have normal
62583         exponent.
62584         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62585         (__fmal): Do not extract and scale down low bits on after-rounding
62586         systems when result rounded to normal precision would have normal
62587         exponent.
62588         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62589         macro.
62590         (fma_test): Add more tests.
62591         (fma_test_towardzero): Likewise.
62592         (fma_test_downward): Likewise.
62593         (fma_test_upward): Likewise.
62595 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62597         * sysdeps/i386/tininess.h: Renamed to ...
62598         * sysdeps/x86/tininess.h: This.
62599         * sysdeps/x86_64/tininess.h: Removed.
62601 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62603         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62604         input.  Use $(build-program-cmd).
62605         ($(objpfx)tst-array1-static.out): Likewise.
62606         ($(objpfx)tst-array2.out): Likewise.
62607         ($(objpfx)tst-array3.out): Likewise.
62608         ($(objpfx)tst-array4.out): Likewise.
62609         ($(objpfx)tst-array5.out): Likewise.
62610         ($(objpfx)tst-array5-static.out): Likewise.
62612 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62614         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62615         if defined.
62617         * nss/nsswitch.h (nss_interface_function): Provide new
62618         macro for use with NSS functions.
62619         * grp/initgroups.c: Use new macro.
62620         * nss/getXXbyYY.c: Likewise.
62621         * nss/getXXbyYY_r.c: Likewise.
62622         * nss/getXXent.c: Likewise.
62623         * nss/getXXent_r.c: Likewise.
62624         * sysdeps/posix/getaddrinfo.c: Likewise.
62626 2012-10-30  Andreas Jaeger  <aj@suse.de>
62628         * po/ru.po: Update Russion translation from translation project.
62630 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62632         [BZ #14152]
62633         [BZ #14783]
62634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62635         result and shift together with sticky bit instead of replicating
62636         round-to-nearest rounding.
62637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62639         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62640         missing underflow exceptions.
62641         (fma_test_towardzero): Add more tests.
62642         (fma_test_downward): Likewise.
62643         (fma_test_upward): Likewise.
62645         [BZ #14047]
62646         * sysdeps/generic/tininess.h: New file.
62647         * sysdeps/i386/tininess.h: Likewise.
62648         * sysdeps/sh/tininess.h: Likewise.
62649         * sysdeps/x86_64/tininess.h: Likewise.
62650         * stdlib/tst-strtod-underflow.c: Likewise.
62651         * stdlib/tst-tininess.c: Likewise.
62652         * stdlib/strtod_l.c: Include <tininess.h>.
62653         (round_and_return): Do not set errno for exact underflow cases.
62654         Force an underflow exception when setting errno for underflow.
62655         Determine underflow based on rounding to normal precision if
62656         TININESS_AFTER_ROUNDING.
62657         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62658         ERANGE for exact underflow cases.
62659         * stdlib/Makefile (tests): Add tst-tininess and
62660         tst-strtod-underflow.
62661         ($(objpfx)tst-tininess): Use $(link-libm).
62662         ($(objpfx)tst-strtod-underflow): Likewise.
62664 2012-10-30  Andreas Jaeger  <aj@suse.de>
62666         [BZ#14767]
62667         * elf/Makefile (tests): Remove conditional for have-initfini-array
62668         since this is now always required and the variable does not exist
62669         anymore.
62670         (tests-static): Likewise.
62671         (modules-names): Likewise.
62673         * po/eo.po: Add Esperanto translation from translation project.
62675         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62676         merged with constructor/destructor.
62677         (init_array): Likewise.
62678         * elf/tst-array2dep.c (fini_array): Likewise.
62679         (init_array): Likewise.
62681 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62683         * manual/message.texi: Delete @cartouche tags.
62685 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62687         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62688         EOPNOTSUPP.
62689         * sysdeps/mach/hurd/fsync.c: Likewise.
62691         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62692         [_POSIX_REALTIME_SIGNALS]: Change condition to
62693         [_POSIX_REALTIME_SIGNALS > 0].
62695 2012-10-27  Andreas Jaeger  <aj@suse.de>
62697         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62698         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62699         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62700         [__WORDSIZE != 64]: Likewise.
62702 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62704         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62705         *  iconvdata/tst-tables.sh: Likewise.
62707 2012-10-25  David S. Miller  <davem@davemloft.net>
62709         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62710         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62711         of strtoull.
62713         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62714         ifunc-impl-list.c
62715         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62716         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62717         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62718         file.
62720 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62722         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62723         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62724         __getdirentries.
62726 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62727             Jim Blandy  <jimb@codesourcery.com>
62729         * scripts/cross-test-ssh.sh: New file.
62730         * manual/install.texi (Configuring and compiling): Document use of
62731         cross-test-ssh.sh.
62732         * INSTALL: Regenerated.
62734 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62736         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62737         EOPNOTSUPP.
62739 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62741         * Makeconfig (run-program-prefix): Fix comment.
62743 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62744             Jim Blandy  <jimb@codesourcery.com>
62746         * Makeconfig (test-wrapper): New variable,
62747         (test-wrapper-env): Likewise.
62748         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62749         (run-built-tests): Define to yes.
62750         (run-program-prefix): Use $(test-wrapper).
62751         (built-program-cmd): Likewise.
62752         * Rules (make-test-out): Use $(test-wrapper-env) and
62753         $(host-built-program-cmd).
62754         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62755         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62756         tst-pathopt.sh.
62757         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62758         $(test-wrapper-env) to tst-rtld-load-self.sh.
62759         ($(objpfx)order2.out): Use $(test-wrapper).
62760         ($(objpfx)tst-initorder.out): Likewise.
62761         ($(objpfx)tst-initorder2.out): Likewise.
62762         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62763         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62764         (test_wrapper_env): New variable.  Use it to run ld.so.
62765         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62766         Use it to run ld.so.
62767         (test_wrapper_env): Likewise.
62768         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62769         $(test-wrapper) to run-iconv-test.sh.
62770         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62771         (ICONV): Use $test_wrapper.
62772         * posix/Makefile ($(objpfx)globtest.out): Pass
62773         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62774         globtest.sh, not $(run-program-prefix).
62775         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62776         (test_wrapper): Likewise.
62777         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62778         set together with run_via_rtld_prefix.
62779         (run_program_prefix): Define in terms of test_wrapper and
62780         run_via_rtld_prefix.
62782 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62784         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62785         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62786         Targets removed.
62788         [BZ #14743]
62789         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62790         Declare __clock_getres, __clock_gettime, __clock_settime,
62791         __clock_nanosleep, and __clock_getcpuclockid.
62792         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62793         Remove librt_hidden_def (clock_gettime).
62794         * sysdeps/unix/clock_gettime.c: Likewise.
62795         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62796         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62797         * rt/clock_getres.c: Define __clock_getres as an alias.
62798         * sysdeps/posix/clock_getres.c: Likewise.
62799         * rt/clock_settime.c: Define __clock_settime as an alias.
62800         * sysdeps/unix/clock_settime.c: Likewise.
62801         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62802         * sysdeps/unix/clock_nanosleep.c: Likewise.
62803         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62804         * rt/clock-compat.c: New file.
62805         * rt/Makefile (librt-routines): Add clock-compat and move
62806         $(clock-routines) to ...
62807         (routines): ... here, new variable.
62808         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62809         Don't add get_clockfreq here.
62810         * rt/Versions (libc: GLIBC_2.17): New version set.
62811         Add clock_* symbols here.
62812         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62813         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62814         (GLIBC_2.17): Add clock_* symbols.
62815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62817         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62819         Likewise.
62820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62821         Likewise.
62822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62826         * NEWS: Mention the move.
62828         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62829         Use __open, __read, __close rather than their public counterparts.
62830         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62831         (__get_clockfreq_via_cpuinfo): Likewise.
62832         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62833         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62835         * config.h.in (HAVE_IFUNC): New #undef.
62836         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62837         was successful.
62838         * configure: Regenerated.
62840 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62842         * configure.in: Move READELF check to start of file.
62843         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62844         libc_cv_asm_gnu_indirect_function in the process.
62845         * configure: Regenerated.
62847 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62849         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62850         send the output to /dev/null.
62851         (libc_cv_cc_with_libunwind): Likewise.
62852         (libc_cv_as_noexecstack): Likewise.
62853         * configure: Regenerate.
62855 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62857         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62859         * posix/globtest.sh (TMPDIR): Do not set.
62860         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62861         (testout): Likewise.
62863 2012-10-24  Andreas Jaeger  <aj@suse.de>
62865         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62866         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62867         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62868         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62869         posix_fadvise64, posix_fallocate64.
62871         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62872         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62873         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62874         Likewise.
62875         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62876         Likewise.
62877         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62879         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62880         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62881         <bits/fcntl-linux.h>.
62882         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62885         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62886         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62887         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62888         [__WORDSIZE != 64]: Likewise.
62890 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62892         * Makeconfig (run-built-tests): New variable.
62893         * Rules [$(cross-compiling) = yes]: Change condition to
62894         [$(run-built-tests) = no].
62895         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62896         to [$(run-built-tests) = yes].
62897         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62898         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62899         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62900         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62901         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62902         * io/Makefile [$(cross-compiling) = no]: Likewise.
62903         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62904         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62905         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62906         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62907         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62908         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62909         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62910         * string/Makefile [$(cross-compiling) = no]: Likewise.
62912         * posix/Makefile ($(objpfx)globtest.out): Pass
62913         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62914         $(rtld-installed-name).
62915         * posix/globtest.sh (elf_objpfx): Remove variable.
62916         (rtld_installed_name): Likewise.
62917         (library_path): Likewise.
62918         (run_program_prefix): New variable.  Use for running globtest
62919         binary.
62921 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62922             Joseph Myers  <joseph@codesourcery.com>
62924         * Makeconfig (host-built-program-cmd): New variable.
62925         * elf/Makefile (tst-stackguard1-ARGS): Use
62926         $(host-built-program-cmd).
62927         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62928         (tst-spawn-ARGS): Likewise.
62929         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62931 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62932             Jim Blandy  <jimb@codesourcery.com>
62934         * Makeconfig (run-via-rtld-prefix): New variable.
62935         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62936         (built-program-cmd): Likewise.
62938 2012-10-22  Andreas Jaeger  <aj@suse.de>
62940         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62941         __O_RSYNC if it exists, otherwise to O_SYNC.
62943 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62944             Joseph Myers  <joseph@codesourcery.com>
62946         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62947         /dev/null.
62948         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62949         from /dev/null
62950         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62951         /dev/null.
62953 2012-10-22  Andreas Jaeger  <aj@suse.de>
62955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62956         Define always.
62957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62960         bits/fcntl-linux.h.
62962         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62963         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62965         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62966         to __O_LARGEFILE.
62967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62968         to __O_LARGEFILE.
62970 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62971             Joseph Myers  <joseph@codesourcery.com>
62973         * config.make.in (NM): New variable.
62975 2012-10-21  Andreas Jaeger  <aj@suse.de>
62977         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62978         definitions and declarations that are provided by
62979         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62981 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62983         [BZ #14683]
62984         * elf/Makefile (tests-static): Add tst-leaks1-static.
62985         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62986         ($(objpfx)tst-leaks1-static): New rule.
62987         ($(objpfx)tst-leaks1-static-mem): Likewise.
62988         (tst-leaks1-static-ENV): New macro.
62989         * elf/dl-open.c (dl_open_worker): Check the main application
62990         only if SHARED is defined.
62991         * elf/tst-leaks1-static.c: New file.
62993 2012-10-20  Andreas Jaeger  <aj@suse.de>
62995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62996         generic values for Linux.
62997         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62998         and declarations that are provided by <bits/fcntl-linux.h> and
62999         include <bits/fcntl-linux.h>.
63000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63003 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63005         * io/fcntl.h: Move include of <bits/types.h> to the top and
63006         include it unconditionally.
63008 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63010         * wcsmbs/Makefile (tests-ifunc): New variable.
63011         (tests): Add $(tests-ifunc).
63012         * wcsmbs/test-wcschr-ifunc.c: New file.
63013         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63014         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63015         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63016         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63017         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63019         * string/Makefile (tests-ifunc): New variable.
63020         (tests): Add $(tests-ifunc).
63021         * string/test-memccpy.c (TEST_NAME): New macro.
63022         * string/test-memchr.c (TEST_NAME): Likewise.
63023         * string/test-memcmp.c (TEST_NAME): Likewise.
63024         * string/test-memcpy.c (TEST_NAME): Likewise.
63025         * string/test-memmem.c (TEST_NAME): Likewise.
63026         * string/test-memmove.c (TEST_NAME): Likewise.
63027         * string/test-memset.c (TEST_NAME): Likewise.
63028         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63029         * string/test-stpcpy.c (TEST_NAME): Likewise.
63030         * string/test-stpncpy.c (TEST_NAME): Likewise.
63031         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63032         * string/test-strcasestr.c (TEST_NAME): Likewise.
63033         * string/test-strcat.c (TEST_NAME): Likewise.
63034         * string/test-strchr.c (TEST_NAME): Likewise.
63035         * string/test-strcmp.c(TEST_NAME): Likewise.
63036         * string/test-strcpy.c (TEST_NAME): Likewise.
63037         * string/test-strcspn.c (TEST_NAME): Likewise.
63038         * string/test-strlen.c (TEST_NAME): Likewise.
63039         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63040         * string/test-strncmp.c (TEST_NAME): Likewise.
63041         * string/test-strncpy.c (TEST_NAME): Likewise.
63042         * string/test-strnlen.c (TEST_NAME): Likewise.
63043         * string/test-strpbrk.c (TEST_NAME): Likewise.
63044         * string/test-strrchr.c (TEST_NAME): Likewise.
63045         * string/test-strspn.c (TEST_NAME): Likewise.
63046         * string/test-strstr.c (TEST_NAME): Likewise.
63047         * string/test-bcopy-ifunc.c: New file.
63048         * string/test-bzero-ifunc.c: Likewise.
63049         * string/test-memccpy-ifunc.c: Likewise.
63050         * string/test-memchr-ifunc.c: Likewise.
63051         * string/test-memcmp-ifunc.c: Likewise.
63052         * string/test-memcpy-ifunc.c: Likewise.
63053         * string/test-memmem-ifunc.c: Likewise.
63054         * string/test-memmove-ifunc.c: Likewise.
63055         * string/test-mempcpy-ifunc.c: Likewise.
63056         * string/test-memset-ifunc.c: Likewise.
63057         * string/test-rawmemchr-ifunc.c: Likewise.
63058         * string/test-stpcpy-ifunc.c: Likewise.
63059         * string/test-stpncpy-ifunc.c: Likewise.
63060         * string/test-strcasecmp-ifunc.c: Likewise.
63061         * string/test-strcasestr-ifunc.c: Likewise.
63062         * string/test-strcat-ifunc.c: Likewise.
63063         * string/test-strchr-ifunc.c: Likewise.
63064         * string/test-strchrnul-ifunc.c: Likewise.
63065         * string/test-strcmp-ifunc.c: Likewise.
63066         * string/test-strcpy-ifunc.c: Likewise.
63067         * string/test-strcspn-ifunc.c: Likewise.
63068         * string/test-strlen-ifunc.c: Likewise.
63069         * string/test-strncasecmp-ifunc.c: Likewise.
63070         * string/test-strncat-ifunc.c: Likewise.
63071         * string/test-strncmp-ifunc.c: Likewise.
63072         * string/test-strncpy-ifunc.c: Likewise.
63073         * string/test-strnlen-ifunc.c: Likewise.
63074         * string/test-strpbrk-ifunc.c: Likewise.
63075         * string/test-strrchr-ifunc.c: Likewise.
63076         * string/test-strspn-ifunc.c: Likewise.
63077         * string/test-strstr-ifunc.c: Likewise.
63079         * debug/Makefile (tests-ifunc): New variable.
63080         (tests): Add $(tests-ifunc).
63081         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63082         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63083         * debug/test-stpcpy_chk-ifunc.c: New file.
63084         * debug/test-strcpy_chk-ifunc.c: Likewise.
63086 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63088         [BZ #13601]
63089         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63090         header is not read in.
63092 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63094         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63095         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63096         directly.  Pass built executable to script as
63097         $(built-program-cmd).
63098         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63099         $testprogram without using LD_LIBRARY_PATH and $ldso.
63101         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63102         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63103         $(rtld-installed-name).
63104         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63105         (rtld_installed_name): Likewise.
63106         (library_path): Likewise.
63107         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63108         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63109         $(run-program-prefix) to tst-tables.sh.
63110         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63111         it to run tst-table-from and tst-table-to.
63112         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63113         Pass it to tst-table.sh.
63114         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63115         $(run-program-prefix) to tst-gettext.sh.
63116         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63117         tst-translit.sh.
63118         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63119         tst-gettext2.sh.
63120         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63121         to run tst-gettext.
63122         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63123         to run tst-gettext2.
63124         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63125         to run tst-translit.
63126         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63127         $(run-program-prefix) to tst-mtrace.sh.
63128         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63129         to run tst-mtrace.
63130         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63131         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63132         $(rtld-installed-name).
63133         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63134         (rtld_installed_name): Likewise.
63135         (run_program_prefix): New variable.  Use it to run wordexp-test.
63137         * Makeconfig (ARCH): Remove all definitions.
63138         (machine): Likewise.
63139         [ARCH]: Remove conditional code.
63140         [!objdir]: Give error.
63141         [!objdir] (objpfx): Remove.
63142         [!objdir] (common-objpfx): Likewise.
63143         [!objdir] (common-objdir): Likewise.
63144         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63145         AC_CONFIG_FILES call.
63146         * configure: Regenerated.
63148         [BZ #13888]
63149         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63150         or TMPDIR.
63151         (testout): Likewise.
63153         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63154         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63155         $(rtld-installed-name).
63156         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63157         (rtld_installed_name): Likwise.
63158         (runit): Remove function.
63159         (run_getconf): New variable,  Use it for running getconf binary.
63161 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63163         [BZ #14716]
63164         * string/test-memmem.c (check_result): New function.
63165         (do_one_test): Use it.
63166         (check1): New function.
63167         (test_main): Use it.
63169 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63171         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63173 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63175         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63176         (_G_LSEEK64): Likewise.
63177         (_G_MMAP64): Likewise.
63178         (_G_FSTAT64): Likewise.
63179         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63180         (_G_LSEEK64): Likewise.
63181         (_G_MMAP64): Likewise.
63182         (_G_FSTAT64): Likewise.
63183         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63184         unconditional.  Call __mmap64 directly.
63185         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63186         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63187         __lseek64 directly.
63188         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63189         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63190         __mmap64 directly.
63191         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63192         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63193         __lseek64 directly.
63194         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63195         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63196         __lseek64 directly.
63197         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63198         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63199         __lseek64 directly.
63200         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63201         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63202         __fxstat64 directly.
63203         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63204         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63205         unconditional.
63206         (freopen64) [!_G_OPEN64]: Remove conditional code.
63207         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63208         unconditional.
63209         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63210         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63211         unconditional.
63212         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63213         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63214         unconditional.
63215         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63216         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63217         unconditional.
63218         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63219         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63220         unconditional.
63221         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63222         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63223         unconditional.
63224         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63225         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63226         unconditional.
63227         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63229 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63231         [BZ #12140]
63232         * manual/memory.texi (Malloc Tunable Parameters): Add note
63233         about free list pointers overwriting some perturb bytes.
63234         Wording suggested by Roland McGrath.
63236 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63238         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63239         (lgamma_test): Likewise.
63240         (tgamma_test): Likewise.
63242 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63244         [BZ #14700]
63245         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63246         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63248 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63250         * NEWS: Mention BZ #14716.
63251         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63252         when removing AVAILABLE1_USES_J macro.
63254 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63256         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63257         (__bswap_64): __uint64_t for unsigned 64-bit int.
63259 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63261         * include/string.h (memmem): Declare libc hidden alias.
63262         * string/memmem.c (memmem): Define libc hidden alias.
63263         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63264         __read, __close instead of open, read, close.
63266 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63269         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63270         global and hidden.
63271         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63272         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63273         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63274         Likewise.
63275         (__rawmemchr_sse2): Likewise.
63276         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63277         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63278         (__strchr_sse2): Likewise.
63279         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63280         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63281         (__strcasecmp_sse2): Likewise.
63282         (__strncasecmp_sse2): Likewise.
63283         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63284         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63285         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63286         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63287         (__strrchr_sse2): Likewise.
63288         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63289         ifunc-impl-list.c.
63290         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63291         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63292         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63293         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63294         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63295         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63296         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63297         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63298         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63299         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63300         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63301         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63302         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63303         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63304         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63305         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63306         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63307         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63308         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63309         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63310         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63311         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63312         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63313         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63314         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63315         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63316         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63317         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63318         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63319         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63321         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63322         global and hidden.
63323         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63324         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63325         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63326         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63327         Likewise.
63328         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63329         Likewise.
63330         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63331         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63332         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63333         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63334         ifunc-impl-list.c.
63335         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63336         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63337         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63338         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63339         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63340         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63341         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63342         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63343         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63344         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63345         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63346         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63347         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63348         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63349         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63350         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63351         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63352         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63353         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63354         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63355         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63356         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63357         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63358         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63359         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63360         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63361         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63362         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63363         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63364         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63365         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63366         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63367         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63368         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63369         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63370         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63371         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63372         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63373         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63374         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63375         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63377         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63378         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63379         * include/ifunc-impl-list.h: New file.
63380         * misc/ifunc-impl-list.c: Likewise.
63381         * misc/Makefile (routines): Add ifunc-impl-list.
63382         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63383         * string/test-string.h: Include <ifunc-impl-list.h>.
63384         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63385         TEST_NAME]: New variables.
63386         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63387         are defined.
63388         (test_init): Call __libc_ifunc_impl_list to initialize
63389         func_list if TEST_IFUNC and TEST_NAME are defined.
63391         * string/Makefile (strop-tests): Add bcopy and bzero.
63392         * string/test-bcopy.c: New file.
63393         * string/test-bzero.c: Likewise.
63394         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63395         defined.
63396         * string/test-memset.c: Support bzero test if TEST_BZERO is
63397         defined.
63398         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63399         __libc_memmove.
63400         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63401         __libc_memset.
63402         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63403         of memset.
63405 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63407         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63408         * configure: Regenerated.
63410         * Makeconfig (+link-static-before-libc): Don't include
63411         $(link-static-libc).
63413         * libio/libio.h (_IO_pos_t): Remove.
63415 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63417         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63418         McGrath.
63420 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63422         * crypt/crypt-entry.c: Include fips-private.h.
63423         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63424         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63425         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63426         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63428 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63430         * crypt/crypt-private.h: Include stdbool.h.
63431         (_ufc_setup_salt_r): Return bool.
63432         * crypt/crypt-entry.c: Include errno.h.
63433         (__crypt_r): Return NULL with EINVAL for bad salt.
63434         * crypt/crypt_util.c (bad_for_salt): New.
63435         (_ufc_setup_salt_r): Check that salt is long enough and within
63436         the specified alphabet.
63437         * crypt/badsalttest.c: New file.
63438         * crypt/Makefile (tests): Add it.
63439         ($(objpfx)badsalttest): New.
63441 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63443         * NEWS: Add entry for BZ #14602.
63445 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63447         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63448         type-generic.
63449         * math/libm-test.inc: Update comment listing what functions and
63450         macros are tested.
63451         (isgreater_test): New function.
63452         (isgreaterequal_test): Likewise.
63453         (isless_test): Likewise.
63454         (islessequal_test): Likewise.
63455         (islessgreater_test): Likewise.
63456         (isunordered_test): Likewise.
63457         (main): Call the new functions.
63459 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63461         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63462         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63463         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63464         * sysdeps/i386/configure: Regenerated.
63465         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63466         * sysdeps/mach/configure: Regenerated.
63467         * sysdeps/mach/hurd/configure: Regenerated.
63468         * sysdeps/powerpc/configure: Regenerated.
63469         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63470         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63471         * sysdeps/s390/s390-32/configure: Regenerated.
63472         * sysdeps/s390/s390-64/configure: Regenerated.
63473         * sysdeps/sh/configure: Regenerated.
63474         * sysdeps/sparc/configure: Regenerated.
63475         * sysdeps/unix/sysv/linux/configure: Regenerated.
63476         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63477         * sysdeps/x86_64/configure: Regenerated.
63479         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63480         defined.  Don't check if MAP is NULL.
63482 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63484         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63485         (_G_stat64): Likewise.
63486         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63487         (_G_stat64): Likewise.
63488         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63489         instead of struct _G_stat64.
63490         * libio/fileops.c (mmap_remap_check): Likewise.
63491         (decide_maybe_mmap): Likewise.
63492         (_IO_new_file_seekoff): Likewise.
63493         (_IO_file_stat): Likewise.
63494         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63495         _G_off64_t.
63496         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63497         instead of struct _G_stat64.
63498         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63500 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63502         [BZ #14602]
63503         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63504         Replace with ...
63505         (CHECK_EOL): New macro.
63506         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63507         CHECK_EOL.
63508         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63509         Replace with CHECK_EOL.
63510         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63511         Replace with CHECK_EOL.
63513 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63515         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63516         type-generic.
63517         * math/libm-test.inc: Update comment listing what functions and
63518         macros are tested.
63519         (finite_test): New function.
63520         (isinf_test): Likewise.
63521         (isnan_test): Likewise.
63522         (fpclassify_test): Test subnormal input.
63523         (isfinite_test): Likewise.
63524         (isnormal_test): Likewise.
63525         (main): Call the new functions.
63527 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63529         [BZ #14660]
63530         * Makerules (%.dynsym): Force C locale when running
63531         $(OBJDUMP) --dynamic-syms.
63533 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63535         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63536         <stdint.h>.
63538 2012-10-06  David S. Miller  <davem@davemloft.net>
63540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63541         upper 32-bits of the length value in %o2 since we use branch-on-register
63542         tests which consider the entire 64-bit register.
63544 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63546         * string/test-strstr.c (check2): Add a test for page boundary.
63548 2012-10-05  David S. Miller  <davem@davemloft.net>
63550         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63551         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63552         file.
63553         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63554         sysdep_routines.
63555         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63556         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63557         and bzero when HWCAP_SPARC_CRYPTO is present.
63559 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63561         [BZ #14602]
63562         * string/test-strstr.c (check2): New function.
63563         (test_main): Call check2.
63565         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63566         and bug-strchr1.
63567         * string/bug-strcasestr1.c (do_test): Moved to ...
63568         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
63574         * string/test-strchr.c (check1): Here.  New function.
63575         (do_one_test): Break out result checking code into ...
63576         (check_result): This.  New function.
63577         (do_one_test): Call check_result.
63578         (test_main): Call check1.
63579         * string/bug-strstr1.c (main): Moved to ...
63580         * string/test-strstr.c (check1): Here.  New function.
63581         (do_one_test): Break out result checking code into ...
63582         (check_result): This.  New function.
63583         (do_one_test): Call check_result.
63584         (test_main): Call check1.
63585         * string/bug-strcasestr1.c: Removed.
63586         * string/bug-strchr1.c: Likewise.
63587         * string/bug-strstr1.c: Likewise.
63589         * elf/Makefile (dl-routines): Add hwcaps.
63590         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63591         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63592         (_dl_important_hwcaps): Moved to ...
63593         * elf/dl-hwcaps.c: Here.  New file.
63594         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63596         [BZ #14557]
63597         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63598         if IS_IN_rtld isn't defined.
63600         * elf/dl-support.c (_dl_sysinfo_map): New.
63601         Include "get-dynamic-info.h" and "setup-vdso.h".
63602         (_dl_non_dynamic_init): Call setup_vdso.
63603         * elf/dynamic-link.h: Don't include <assert.h>.
63604         (elf_get_dynamic_info): Moved to ...
63605         * elf/get-dynamic-info.h: Here.  New file.
63606         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63607         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63608         * elf/setup-vdso.h: Here.  New file.
63609         * elf/rtld.c: Include "setup-vdso.h".
63610         (dl_main): Call setup_vdso.
63612 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63614         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63615         creal in comment listing functions tested.  List finite, isinf,
63616         isnan, isless, islessequal, isgreater, isgreaterequal,
63617         islessgreater, isunordered, lgamma_r and pow10 as functions and
63618         macros not tested.  Mention which functions not tested are aliases
63619         for other functions.  Fix typo.  Note that signs of NaNs are not
63620         tested.
63622         * scripts/config.guess: Update from config.git.
63623         * scripts/config.sub: Likewise.
63625 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63627         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63628         * misc/madvise.c (madvise): Renamed to __madvise.
63629         Make madvise a weak alias.
63630         * include/sys/mman.h: Declare __madvise.
63631         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63632         * sysdeps/unix/syscalls.list
63633         (madvise): Make __madvise the strong name, and madvise a weak alias.
63634         * sysdeps/unix/sysv/linux/syscalls.list
63635         (madvise, mmap): Remove redundant entries.
63636         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63637         * malloc/malloc.c (mtrim): Likewise.
63638         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63640 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63642         * sysdeps/mach/hurd/dl-cache.c: File removed.
63643         * config.h.in (USE_LDCONFIG): New #undef.
63644         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63645         * configure: Regenerated.
63646         * elf/Makefile (dl-routines): Add dl-cache only under
63647         [$(use-ldconfig) = yes].
63648         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63649         cache on [USE_LDCONFIG].
63650         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63651         [USE_LDCONFIG].
63652         * elf/rtld.c (dl_main): Likewise.
63654 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63656         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63657         _SC_LEVEL4_CACHE_LINESIZE.
63659 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63661         * sysdeps/unix/bsd/confstr.h: File removed.
63663 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63665         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63666         sys/sdt-config.h.
63668 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63670         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63671         Make 'mapoff' field ElfW(Off) rather than off_t.
63673 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63675         * nscd/Makefile: Remove nscd-cflags and all its users.
63676         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63677         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63679         [BZ #10631]
63680         * malloc.c (malloc_printerr): Clarify error message.
63682 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63684         [BZ #14648]
63685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63686         Set bit_FMA_Usable if FMA is supported.
63687         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63688         macro.
63689         (bit_FMA4_Usable): Updated.
63690         (index_FMA_Usable): New macro.
63691         (CPUID_FMA): Likewise.
63692         (HAS_FMA): Defined with bit_FMA_Usable.
63694 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63696         * bits/types.h (__swblk_t): Type removed.
63697         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63698         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63700         (__SWBLK_T_TYPE): Likewise.
63701         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63702         (__SWBLK_T_TYPE): Likewise.
63703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63704         (__SWBLK_T_TYPE): Likewise.
63705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63706         (__SWBLK_T_TYPE): Likewise.
63708 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63709             Honza Horak <hhorak@redhat.com>
63711         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63712         (xdr_mapname): Use YPMAXMAP as maxsize.
63713         (xdr_peername): Use YPMAXPEER as maxsize.
63714         (xdr_keydat): Use YPAXRECORD as maxsize.
63715         (xdr_valdat): Use YPMAXRECORD as maxsize.
63717 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63719         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63721         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63722         * csu/init-first.c: ... here.
63723         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63724         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63725         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63726         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63727         * sysdeps/i386/init-first.c: File removed.
63728         * sysdeps/sh/init-first.c: File removed.
63730 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63732         [BZ #14645]
63733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63734         if x * y might underflow to zero and z is zero.
63735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63737         * math/libm-test.inc (min_subnorm_value): New variable.
63738         (fma_test): Add more tests.
63739         (fma_test_towardzero): Likewise.
63740         (fma_test_downward): Likewise.
63741         (fma_test_upward): Likewise.
63742         (initialize): Set min_subnorm_value.
63744 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63746         [BZ #14638]
63747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63748         0 + 0.
63749         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63750         mode for addition resulting in exact zero.
63751         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63752         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63753         exact 0 + 0.
63754         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63756         * math/libm-test.inc (fma_test): Add more tests.
63757         (fma_test_towardzero): New function.
63758         (fma_test_downward): Likewise.
63759         (fma_test_upward): Likewise.
63760         (main): Call the new functions.
63762 2012-09-28  David S. Miller  <davem@davemloft.net>
63764         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63766 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63768         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63769         instead of SIGALRM.
63771         * sysdeps/gnu/_G_config.h: Moved to ...
63772         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63773         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63774         * sysdeps/generic/_G_config.h: ... here.
63776         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63778         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63780         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63781         Conditionalize target on [libnss_test1.so-version].
63783         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63785         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63786         (elfobjdir): Move out of conditionals.
63788         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63789         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63790         (__nss_lookup_function): Conditionalize label remove_from_tree on
63791         [!DO_STATIC_NSS || SHARED], matching its only use.
63793 2012-09-28  David S. Miller  <davem@davemloft.net>
63795         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63796         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63797         file.
63798         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63799         sysdep_routines.
63800         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63801         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63802         when HWCAP_SPARC_CRYPTO is present.
63804 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63806         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63808 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63810         [BZ #6530]
63811         * stdio-common/vfprintf.c (process_string_arg): Revert
63812         2000-07-22 change.
63814 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63816         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63817         for testcase.
63818         * stdio-common/tst-sprintf.c: Include <locale.h>
63819         (main): Test sprintf's handling of incomplete multibyte
63820         characters.
63822 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63824         * elf/dl-runtime.c (VERSYMIDX): Removed.
63825         * elf/dl-version.c (VERSYMIDX): Likewise.
63826         * elf/do-rel.h (VERSYMIDX): Likewise.
63827         (VALIDX): Likewise.
63828         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63829         * elf/rtld.c (VALIDX): Likewise.
63830         (ADDRIDX): Likewise.
63831         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63832         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63833         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63834         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63835         (VALIDX): Likewise.
63836         (ADDRIDX): Likewise.
63838 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63840         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63842 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63844         [BZ #11438]
63845         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63846         to global scope.
63847         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63848         addresses are in the same scope as 192.0.2/24.
63849         * posix/gai.conf: Document new scope table defaults.
63851 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63853         [BZ #5298]
63854         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63855         for ftell.  Compute offsets from write pointers instead.
63856         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63858 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63860         [BZ #14543]
63861         * libio/Makefile (tests): New test case tst-fseek.
63862         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63863         combination works in wide mode.
63864         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63865         state when the external buffer state changes.
63867 2012-09-27  David S. Miller  <davem@davemloft.net>
63869         [BZ #14376]
63870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63871         pass reloc->r_addend in as the 'high' argument to
63872         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63876 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63878         * rt/tst-aio2.c: Include <pthread.h>.
63879         * rt/tst-aio3.c: Likewise.
63881 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63883         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63885 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63887         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63888         contents on [SHARED].
63890 2012-09-26  Marek Polacek  <polacek@redhat.com>
63892         [BZ #14530]
63893         [BZ #13741]
63894         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63895         for C++ and GCC <4.3 as well as for non GCC compilers.
63897 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63901 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63903         * Makefile.in (all, install): Declare with .PHONY.
63904         Reported by Michael Hope <michael.hope@linaro.org>.
63906 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63908         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63909         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63910         system header.
63911         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63912         Likewise.
63913         (sydep_routines): Add the new and the internal functions.
63914         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63915         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63917         (GLIBC_2.17): Add the new function.
63918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63919         (GLIBC_2.17): Likewise.
63920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63921         (GLIBC_2.17): Likewise.
63922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63923         (GLIBC_2.17): Likewise.
63924         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63926 2012-09-25  Alan Modra  <amodra@gmail.com>
63928         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63929         Add release barrier before setting once_control to say
63930         initialisation is done.  Add hints on lwarx.  Use macro in
63931         place of isync.
63932         (clear_once_control): Add release barrier.
63934 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63936         [BZ #13629]
63937         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63938         specially.
63939         * math/s_clog10.c (__clog10): Likewise.
63940         * math/s_clog10f.c (__clog10f): Likewise.
63941         * math/s_clog10l.c (__clog10l): Likewise.
63942         * math/s_clogf.c (__clogf): Likewise.
63943         * math/s_clogl.c (__clogl): Likewise.
63944         * math/Makefile (libm-calls): Add x2y2m1.
63945         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63946         (__x2y2m1): Likewise.
63947         (__x2y2m1l): Likewise.
63948         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63949         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63950         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63951         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63952         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63953         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63954         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63955         * sysdeps/i386/fpu/libm-test-ulps: Update.
63956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63958         [BZ #14621]
63959         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63960         int as type of variable DEPTH.
63961         (glob): Use size_t instead of int as type of variables NEWCOUNT
63962         and OLD_PATHC.
63964 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63966         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63967         Add s_sincosf-sse2.
63968         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63969         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63970         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63971         macros for using routine as __sincosf_ia32.
63972         Use macro for function declaration and weak_alias.
63973         * sysdeps/i386/fpu/libm-test-ulps: Update.
63975         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63978         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63979         subnormal argument.
63980         * math/s_cexpf.c (__cexpf): Likewise.
63981         * math/s_csinf.c (__csinf): Likewise.
63982         * math/s_csinhf.c (__csinhf): Likewise.
63983         * math/s_ctanf.c (__ctanf): Likewise.
63984         * math/s_ctanhf.c (__ctanhf): Likewise.
63985         * math/s_ccosh.c (__ccoshf): Likewise.
63986         * math/s_cexp.c (__cexpl): Likewise.
63987         * math/s_csin.c (__csin): Likewise.
63988         * math/s_csinh.c (__csinh): Likewise.
63989         * math/s_ctan.c (__ctan): Likewise.
63990         * math/s_ctanh.c (ctanh): Likewise.
63991         * math/s_ccoshl.c (__ccoshl): Likewise.
63992         * math/s_cexpl.c (__cexpl): Likewise.
63993         * math/s_csinl.c (__csinl): Likewise.
63994         * math/s_csinhl.c (__csinhl): Likewise.
63995         * math/s_ctanl.c (__ctanl): Likewise.
63996         * math/s_ctanhl.c (__ctanhl): Likewise.
63998 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64000         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64001         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64002         (_IO_off_t): Define to __off_t, not _G_off_t.
64003         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64004         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64005         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64006         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64007         type of __dummy and __dummy2 fields.
64008         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64009         (_G_ssize_t): Likewise.
64010         (_G_off_t): Likewise.
64011         (_G_pid_t): Likewise.
64012         (_G_uid_t): Likewise.
64013         (_G_wchar_t): Likewise.
64014         (_G_wint_t): Likewise.
64015         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64016         (_G_ssize_t): Likewise.
64017         (_G_off_t): Likewise.
64018         (_G_pid_t): Likewise.
64019         (_G_uid_t): Likewise.
64020         (_G_wchar_t): Likewise.
64021         (_G_wint_t): Likewise.
64022         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64023         (_G_ssize_t): Likewise.
64024         (_G_off_t): Likewise.
64025         (_G_pid_t): Likewise.
64026         (_G_uid_t): Likewise.
64027         (_G_wchar_t): Likewise.
64028         (_G_wint_t): Likewise.
64030 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64032         * malloc/arena.c: Include malloc-sysdep.h.
64033         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64034         is sufficient to shrink the heap or an unmap is needed.
64035         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64036         new function check_may_shrink_heap.
64037         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64038         new function check_may_shrink_heap.
64040 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64042         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64043         comments.
64045 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64047         * catgets/test-gencat.sh: Add "set -e".
64048         * elf/tst-pathopt.sh: Likewise.
64049         * grp/tst_fgetgrent.sh: Likewise.
64050         * iconvdata/run-iconv-test.sh: Likewise.
64051         * intl/tst-gettext.sh: Likewise.
64052         * intl/tst-gettext2.sh: Likewise.
64053         * intl/tst-gettext4.sh: Likewise.
64054         * intl/tst-gettext6.sh: Likewise.
64055         * intl/tst-translit.sh: Likewise.
64056         * io/ftwtest-sh: Likewise.
64057         * libio/test-freopen.sh: Likewise.
64058         * malloc/tst-mtrace.sh: Likewise.
64059         * posix/globtest.sh: Likewise.
64060         * posix/tst-getconf.sh: Likewise.
64061         * posix/wordexp-tst.sh: Likewise.
64062         * stdio-common/tst-printf.sh: Likewise.
64063         * stdio-common/tst-unbputc.sh: Likewise.
64064         * stdlib/tst-fmtmsg.sh: Likewise.
64065         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64066         * catgets/Makefile: Do not specify -e option when running
64067         testsuite shell scripts.
64068         * elf/Makefile: Likewise.
64069         * grp/Makefile: Likewise.
64070         * iconvdata/Makefile: Likewise.
64071         * intl/Makefile: Likewise.
64072         * io/Makefile: Likewise.
64073         * libio/Makefile: Likewise.
64074         * malloc/Makefile: Likewise.
64075         * posix/Makefile: Likewise.
64076         * stdio-common/Makefile: Likewise.
64077         * stdlib/Makefile: Likewise.
64078         * sysdeps/x86_64/Makefile: Likewise.
64080         * io/ftwtest-sh: Add copyright header.
64081         * posix/globtest.sh: Likewise.
64082         * posix/tst-getconf.sh: Likewise.
64083         * posix/wordexp-tst.sh: Likewise.
64084         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64086 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64088         [BZ #13679]
64089         * Makeconfig (+link): Defined as $(+link-static) if
64090         $(build-shared) isn't yes.
64091         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64092         isn't yes.
64093         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64095         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64097         [BZ #14562]
64098         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64099         new chunk size with MALLOC_ALIGN_MASK.
64101 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64103         [BZ #5044]
64104         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64105         <rounding-mode.h>.
64106         (__printf_fphex): Determine rounding using get_rounding_mode and
64107         round_away.
64108         * stdio-common/tst-printf-round.c (struct hex_test): New
64109         structure.
64110         (hex_tests): New variable.
64111         (test_hex_in_one_mode): New function.
64112         (do_test): Also run tests for hex float output.
64114 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64116         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64117         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64118         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64119         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64120         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64121         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64122         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64123         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64125 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64127         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64128         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64129         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64130         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64132 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64134         [BZ #14579]
64135         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64136         mode only.
64137         * elf/tst-rtld-load-self.sh: New test.
64138         * elf/Makefile: Run it.
64140 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64142         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64143         (tst-writev-ENV): Remove.
64144         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64146 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64148         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64150 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64152         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64153         unconditional.
64154         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64155         Likewise.
64156         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64157         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64158         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64159         Likewise.
64161 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64163         [BZ #14587]
64164         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64165         * config.make.in (have-cpp-asm-debuginfo): Removed.
64166         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64167         * configure: Regenerated.
64169 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64171         [BZ #5044]
64172         * stdio-common/printf_fp.c: Include <stdbool.h> and
64173         <rounding-mode.h>.
64174         (___printf_fp): Determine rounding using get_rounding_mode and
64175         round_away.
64176         * stdio-common/tst-printf-round.c: New file.
64177         * stdio-common/Makefile (tests): Add tst-printf-round.
64178         (link-libm): New variable.
64179         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64181 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64183         [BZ #14576]
64184         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64185         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64186         Likewise.
64187         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64188         Likewise.
64190 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64192         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64193         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64194         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64195         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64197 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64199         [BZ #14518]
64200         * include/rounding-mode.h: New file.
64201         * sysdeps/generic/get-rounding-mode.h: Likewise.
64202         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64203         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64204         (MAX_VALUE): New macro.
64205         (MIN_VALUE): Likewise.
64206         (overflow_value): New function.
64207         (underflow_value): Likewise.
64208         (round_and_return): Use overflow_value and underflow_value to
64209         determine return values in overflow and underflow cases.  Use
64210         round_away to determine rounding depending on rounding mode.
64211         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64212         determine return values in overflow and underflow cases.
64213         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64214         (struct test_results): New structure.
64215         (struct test): Use struct test_results to store expected results
64216         for all rounding modes.
64217         (TEST): Include expected results for all rounding modes.
64218         (test_in_one_mode): New function.
64219         (do_test): Use test_in_one_mode to compute and check results.
64220         Check results for all rounding modes.
64221         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64222         $(link-libm).
64224 2012-12-09  Allan McRae  <allan@archlinux.org>
64226         * sysdeps/i386/fpu/libm-test-ulps: Update
64228 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64230         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64231         (_G_int32_t): Likewise.
64232         (_G_uint16_t): Likewise.
64233         (_G_uint32_t): Likewise.
64234         (_G_HAVE_BOOL): Likewise.
64235         (_G_HAVE_ATEXIT): Likewise.
64236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64237         (_G_HAVE_IO_FILE_OPEN): Likewise.
64238         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64239         (_G_int32_t): Likewise.
64240         (_G_uint16_t): Likewise.
64241         (_G_uint32_t): Likewise.
64242         (_G_HAVE_BOOL): Likewise.
64243         (_G_HAVE_ATEXIT): Likewise.
64244         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64245         (_G_HAVE_IO_FILE_OPEN): Likewise.
64246         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64247         (_G_int32_t): Likewise.
64248         (_G_uint16_t): Likewise.
64249         (_G_uint32_t): Likewise.
64250         (_G_HAVE_BOOL): Likewise.
64251         (_G_HAVE_ATEXIT): Likewise.
64252         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64253         (_G_HAVE_IO_FILE_OPEN): Likewise.
64255 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64257         * csu/libc-tls.c: Update copyright years.
64259 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64261         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64262         [!_G_USING_THUNKS]: Remove conditional code.
64263         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64264         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64266         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64267         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64268         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64269         (_G_VTABLE_LABEL_PREFIX): Likewise.
64270         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64271         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64272         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64273         (_G_VTABLE_LABEL_PREFIX): Likewise.
64274         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64275         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64276         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64277         (_G_VTABLE_LABEL_PREFIX): Likewise.
64278         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64280 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64282         * libio/Makefile: Include ../Makeconfig before tests.
64283         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64284         only if $(build-shared) is yes.
64286         * iconv/gconv_db.c: Update copyright years.
64288 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64290         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64291         unwind info if defined PIC. Fix special cases description.
64292         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64294         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64295         DP_HI_MASK entry.
64296         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64298 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64300         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64302         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64303         is NULL.
64305         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64306         (LDLIBS-tst-chk4): This.
64307         (LDFLAGS-tst-chk5): Renamed to ...
64308         (LDLIBS-tst-chk5): This.
64309         (LDFLAGS-tst-chk6): Renamed to ...
64310         (LDLIBS-tst-chk6): This.
64311         (LDFLAGS-tst-lfschk4): Renamed to ...
64312         (LDLIBS-tst-lfschk4): This.
64313         (LDFLAGS-tst-lfschk5): Renamed to ...
64314         (LDLIBS-tst-lfschk5): This.
64315         (LDFLAGS-tst-lfschk6): Renamed to ...
64316         (LDLIBS-tst-lfschk6): This.
64318         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64319         on $(common-objpfx)soversions.mk.
64321 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64323         [BZ #10014]
64324         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64325         example host name.
64327 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64329         * malloc/arena.c (arena_get_retry): New function that gets
64330         another arena for the caller to try its request on.
64331         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64332         current arena cannot fulfill the request.
64333         (__libc_memalign): Likewise.
64334         (__libc_memalign): Likewise.
64335         (__libc_pvalloc): Likewise.
64336         (__libc_calloc): Likewise.
64338 2012-09-05  John Tobey  <john.tobey@gmail.com>
64340         [BZ #13542]
64341         * manual/arith.texi (Operations on Complex): Fix description
64342         of carg branch cut.
64344 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64346         [BZ #10014]
64347         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64348         host name.
64350         [BZ #10038]
64351         * manual/memory.texi (Memory): Make order of menu items match
64352         order of sections.
64354 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64356         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64357         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64358         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64360 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64362         * csu/libc-tls.c (static_dtv): Renamed to ...
64363         (_dl_static_dtv): This.  Make it global.
64364         (_dl_initial_dtv): Removed.
64365         (__libc_setup_tls): Updated.
64366         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64367         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64368         DL_INITIAL_DTV.
64370 2012-09-06  Petr Machata  <pmachata@redhat.com>
64372         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64373         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64374         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64375         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64377 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64379         [BZ #14545]
64380         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64381         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64382         freeing dtv[-1].
64384 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64386         [BZ #14544]
64387         * Makeconfig (link-static-before-libc): Replace $(+prector)
64388         with $(+prectorT).
64389         (link-static-after-libc): Replace $(+postctor) with
64390         $(+postctorT).
64391         (link-bounded): Replace $(+prector)/$(+postctor) with
64392         $(+prectorT)/$(+postctorT).
64393         (+prectorT): New macro.
64394         (+postctorT): Likewise.
64396 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64398         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64399         (round_str): Handle values above the maximum for IBM long double
64400         as inexact.
64401         * stdlib/tst-strtod-round.c (tests): Regenerated.
64403 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64405         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64406         assembler flag.
64407         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64408         zarch_nohighgprs around the zarch optimized routines.
64409         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64410         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64411         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64412         for zarch.
64414 2012-09-05  David S. Miller  <davem@davemloft.net>
64416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64418         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64419         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64420         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64421         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64422         entries.
64424 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64426         * malloc/arena.c: Fold copyright years.
64427         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64431         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64433 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64435         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64437 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64439         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64440         change internal state upon failure.
64442 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64444         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64445         * malloc/memusage.c (mmap): Likewise.
64446         (mmap64, mremap): Likewise.  Adjust name in comment.
64448 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64450         * libio/fileops.c: Fix typos in comments.
64451         * libio/oldfileops.c: Likewise.
64452         * libio/wfileops.c: Likewise.
64454 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64456         [BZ #1349]
64457         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64458         (tst-malloc-usable-ENV): Set environment for test case.
64459         * malloc/hooks.c (malloc_check_get_size): New function to get
64460         requested size.
64461         * malloc/malloc.c (musable): Use malloc_check_get_size.
64462         * malloc/tst-malloc-usable.c: New test case.
64464 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64466         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64468 2012-09-05  Allan McRae  <allan@archlinux.org>
64470         [BZ #13966]
64471         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64472         determine header location.
64473         * configure: Regenerated.
64475 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64477         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64478         float format.
64479         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64480         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64481         format.
64482         (test): Regenerate.
64484 2012-09-04  David S. Miller  <davem@davemloft.net>
64486         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64487         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64488         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64490 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64492         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64493         failures.
64495         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64497 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64499         [BZ #9914]
64500         * libio/iogetdelim.c: Include <limits.h>.
64501         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64502         + len + 1 would overflow.
64504 2012-09-03  Andreas Jaeger  <aj@suse.de>
64506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64507         * sysdeps/i386/fpu/libm-test-ulps: Update.
64509 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64511         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64512         Add s_sinf-sse2, s_conf-sse2.
64514         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64515         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64516         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64517         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64519         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64520         for using routine as __sinf_ia32.
64521         Use macro for function declaration and weak_alias.
64522         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64523         for using routine as __cosf_ia32.
64524         Use macro for function declaration and weak_alias.
64526         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64527         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64529         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64530         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64533         * math/libm-test.inc (cos_test): Add more test cases.
64534         (sin_test): Likewise.
64535         (sincos_test): Likewise.
64537 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64539         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64540         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64541         hidden.
64542         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64544 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64546         [BZ #14538]
64547         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64548         first element of the GOT.
64549         (elf_machine_load_address): Return the difference between
64550         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64552 2012-09-01  Allan McRae  <allan@archlinux.org>
64554         [BZ #13412]
64555         * configure.in (AWK): Require gawk version 3.0 or later.
64556         * configure: Regenerated.
64558 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64560         * sysdeps/unix/sysv/linux/kernel-features.h
64561         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64562         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64563         [__NR_clock_getres]: Make code unconditional.
64564         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64565         (clock_getcpuclockid): Remove code left unreachable by removal of
64566         conditionals.
64567         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64568         code unconditional.
64569         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64570         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64571         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64572         Make code unconditional.
64573         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64574         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64575         * sysdeps/unix/sysv/linux/clock_settime.c
64576         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64577         conditional code.
64578         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64579         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64581 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64583         [BZ #14476]
64584         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64585         scripts/test-installation.pl.
64587         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64588         and $ld_so_version if it is set.
64590 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64592         [BZ #14516]
64593         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64594         failure if reading from procfs failed.
64595         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64597 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64599         * sysdeps/unix/sysv/linux/kernel-features.h
64600         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64601         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64602         Remove conditional code.
64603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64604         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64605         Remove conditional code.
64606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64607         * sysdeps/unix/sysv/linux/i386/fxstat.c
64608         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64610         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64611         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64613         * sysdeps/unix/sysv/linux/i386/lxstat.c
64614         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64616         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64617         Remove conditional code.
64618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64619         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64620         Remove conditional code.
64621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64622         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64623         <kernel-features.h>.
64624         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64625         Remove.
64626         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64627         Remove conditional code.
64628         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64629         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64630         Remove conditional.
64632 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64634         [BZ #5400]
64635         * NEWS: Add fixed bug number.
64637 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64639         [BZ #14519]
64640         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64641         underflowing exponent in case of negative sign.
64642         * stdlib/tst-strtod-round-data: Add more tests.
64643         * stdlib/tst-strtod-round.c (tests): Regenerated.
64645         [BZ #3479]
64646         * stdlib/strtod_l.c (NDIG): Remove.
64647         (HEXNDIG): Likewise.
64648         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64649         smallest representable value.
64650         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64651         lie within an exact representation of 1/2 ulp of the result.
64652         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64653         unconditionally.
64654         (TENS_P9_IDX): Define unconditionally.
64655         (TENS_P9_SIZE): Likewise.
64656         (TENS_P10_IDX): Likewise.
64657         (TENS_P10_SIZE): Likewise.
64658         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64659         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64660         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64661         entries for 10^2^13 and 10^2^14.
64662         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64663         (TENS_P13_IDX): Define.
64664         (TENS_P13_SIZE): Likewise.
64665         (TENS_P14_IDX): Likewise.
64666         (TENS_P14_SIZE): Likewise.
64667         (_fpioconst_pow10): Change array size to
64668         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64669         unconditional.
64670         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64671         1024]: Add entries for 10^2^13 and 10^2^14.
64672         [LAST_POW10 > _LAST_POW10]: Remove #error.
64673         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64674         (_fpioconst_pow10): Change array size to
64675         FPIOCONST_POW10_ARRAY_SIZE.
64676         * stdlib/gen-fpioconst.c: New file.
64677         * stdlib/gen-tst-strtod-round.c: Likewise.
64678         * stdlib/tst-strtod-round-data: Likewise.
64679         * stdlib/tst-strtod-round.c: Likewise.
64680         * stdlib/Makefile (tests): Add tst-strtod-round.
64682         [BZ #14459]
64683         * stdlib/strtod_l.c: Include <stdint.h>.
64684         (NDEBUG): Do not define.
64685         (round_and_return): Change EXPONENT parameter to type intmax_t.
64686         Rearrange calculations to avoid internal overflow possibilities.
64687         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64688         Rearrange calculations to avoid internal overflow possibilities.
64689         Assert that number fits inside MPNSIZE limbs.
64690         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64691         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64692         calculations and add assertions to avoid internal overflow
64693         possibilities.  Add casts to avoid signed/unsigned operations.
64694         * stdlib/tst-strtod-overflow.c: New file.
64695         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64697 2012-08-25  Marek Polacek  <polacek@redhat.com>
64699         * time/time.h: Fix some typos in comments.
64701 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64703         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64704         * posix/tst-rfc3484-2.c: Likewise.
64705         * posix/tst-rfc3484-3.c: Likewise.
64707 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64709         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64710         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64712 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64714         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64715         #include of fxstatat64.c.
64717 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64719         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64720         * shadow/getspent_r.c: Likewise.
64721         * shadow/getspnam.c: Likewise.
64722         * shadow/getspnam_r.c: Likewise.
64723         * gshadow/getsgent.c: Likewise.
64724         * gshadow/getsgent_r.c: Likewise.
64725         * gshadow/getsgnam.c: Likewise.
64726         * gshadow/getsgnam_r.c: Likewise.
64727         * inet/getnetbyad.c: Likewise.
64728         * inet/getnetbyad_r.c: Likewise.
64729         * inet/getnetbynm.c: Likewise.
64730         * inet/getnetbynm_r.c: Likewise.
64731         * inet/getnetent.c: Likewise.
64732         * inet/getnetent_r.c: Likewise.
64733         * inet/getproto.c: Likewise.
64734         * inet/getproto_r.c: Likewise.
64735         * inet/getprtent.c: Likewise.
64736         * inet/getprtent_r.c: Likewise.
64737         * inet/getprtname.c: Likewise.
64738         * inet/getprtname_r.c: Likewise.
64739         * inet/getrpcbyname.c: Likewise.
64740         * inet/getrpcbyname_r.c: Likewise.
64741         * inet/getrpcbynumber.c: Likewise.
64742         * inet/getrpcbynumber_r.c: Likewise.
64743         * inet/getrpcent.c: Likewise.
64744         * inet/getrpcent_r.c: Likewise.
64745         * inet/getaliasent.c: Likewise.
64746         * inet/getaliasent_r.c: Likewise.
64747         * inet/getaliasname.c: Likewise.
64748         * inet/getaliasname_r.c: Likewise.
64749         * nscd/getgrgid_r.c: Likewise.
64750         * nscd/getgrnam_r.c: Likewise.
64751         * nscd/gethstbyad_r.c: Likewise.
64752         * nscd/gethstbynm3_r.c: Likewise.
64753         * nscd/getpwnam_r.c: Likewise.
64754         * nscd/getpwuid_r.c: Likewise.
64755         * nscd/getsrvbynm_r.c: Likewise.
64756         * nscd/getsrvbypt_r.c: Likewise.
64757         * nscd/gai.c: Likewise.
64759         * configure.in (build_nscd): New substituted variable, set
64760         by --disable-build-nscd and defaults to $use_nscd.
64761         * configure: Regenerated.
64762         * config.make.in (build-nscd): New substituted variable.
64763         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64764         Change conditional to require [$(build-nscd) = yes] as well.
64765         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64767         [BZ# 13696]
64768         * configure.in (use_nscd): New substituted variable, set by
64769         --disable-nscd.  If enabled, define USE_NSCD.
64770         * configure: Regenerated.
64771         * config.h.in: Add USE_NSCD.
64772         * config.make.in (use-nscd): New substituted variable.
64773         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64774         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64775         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64776         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64777         (CFLAGS-getgrnam_r.c): Likewise.
64778         (CFLAGS-initgroups.c): Likewise.
64779         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64780         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64781         Variables removed.
64782         * inet/getnetgrent_r.c
64783         (nscd_setnetgrent): New function, broken out of ...
64784         (setnetgrent): ... here.  Call it.
64785         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64786         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64787         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64788         * nscd/Makefile (routines, aux): Move definitions after include of
64789         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64790         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64791         Conditionalize on [USE_NSCD].
64792         (is_nscd, nscd_init_cb): Likewise.
64793         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64794         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64795         * nss/nss_db/db-init.c: Likewise.
64796         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64797         [USE_NSCD].
64798         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64799         (make_request): Use it.
64800         (cache_valid_p): New function.
64801         (__check_pf): Use it.
64802         * NEWS: Add item for --disable-nscd.
64804 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64806         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64807         to support sed >= 4.2.1-20-ga9bf076.
64808         * configure: Regenerated.
64810 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64812         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64813         Conditionalize whole body on [IREL].
64815 2012-08-22  Jeff Law <law@redhat.com>
64817         [BZ #14505]
64818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64819         if the family is PF_UNSPEC.
64821 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64823         * Makerules (lib-version): Rename from V.
64824         (install-lib-nosubdir): Change V to lib-version.
64826 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64828         [BZ #14252]
64829         * powerpc32/power6/wcschr.c: New file.
64830         * powerpc32/power6/wcscpy.c: New file.
64831         * powerpc32/power6/wcsrchr.c: New file.
64832         * powerpc64/power6/wcschr.c: New file.
64833         * powerpc64/power6/wcscpy.c: New file.
64834         * powerpc64/power6/wcsrchr.c: New file.
64836 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64838         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64839         (two_way_short_needle): Use it.
64840         * string/strstr.c (AVAILABLE1_USES_J): Define.
64841         * string/strcasestr.c: Likewise.
64843         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64844         array references.
64845         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64847         [BZ #11607]
64848         * NEWS: Add an entry.
64849         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64850         define their defaults.
64851         (two_way_short_needle): Detect end-of-string on-the-fly.
64852         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64853         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64854         * string/bug-strcasestr1.c: New test.
64855         * string/Makefile: Run it.
64857 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64859         [BZ #11607]
64860         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64861         the first character.
64863 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64865         * csu/elf-init.c (__libc_csu_irel): Function removed.
64866         * csu/libc-start.c (apply_irel): New function.
64867         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64869 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64871         * sysdeps/unix/sysv/linux/kernel-features.h
64872         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64873         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64874         <kernel-features.h>.
64875         [__NR_fadvise64_64]: Make code unconditional.
64876         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64877         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64878         !__NR_fadvise64_64)]: Likewise.
64879         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64880         !__NR_fadvise64_64))]: Likewise.
64881         [__NR_fadvise64]: Make code unconditional.
64882         [!__NR_fadvise64]: Remove conditional code.
64883         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64884         <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.
64889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64890         not include <kernel-features.h>.
64891         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64892         unconditional.
64893         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64894         conditional code.
64895         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64896         include <kernel-features.h>.
64897         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64898         unconditional.
64899         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64900         conditional code.
64902 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64904         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64905         slight instruction rearrangements per scrollpipe analysis.
64906         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64908 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64910         * manual/syslog.texi (syslog; vsyslog, closelog):
64911         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64912         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64914         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64915         DSOCAPS to match condition on defining it.
64917 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64919         * sysdeps/unix/sysv/linux/kernel-features.h
64920         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64922         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64923         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64925         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64926         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64928         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64929         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64931         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64932         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64934         * sysdeps/unix/sysv/linux/kernel-features.h
64935         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64936         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64937         unconditional.
64938         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64939         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64940         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64941         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64942         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64943         Make code unconditional.
64944         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64945         (__mmap64) [!__NR_mmap2]: Likewise.
64946         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64947         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64948         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64949         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64950         [__NR_mmap2]: Make code unconditional.
64951         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64952         (__mmap64) [!__NR_mmap2]: Likewise.
64954 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64956         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64958 2012-08-18  Andreas Jaeger  <aj@suse.de>
64960         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64962 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64964         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64965         * include/unistd.h (__have_sock_cloexec): Likewise.
64966         (__have_pipe2): Likewise.
64967         (__have_dup3): Likewise.
64969 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64971         [BZ #9685]
64972         * include/unistd.h (__have_pipe2): Change define into an extern int.
64973         (__have_dup3): Likewise.
64974         * socket/have_sock_cloexec.c: Include fcntl.h.
64975         (__have_pipe2): New variable.
64976         (__have_dup3): Likewise.
64978 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64980         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64982 2012-08-17  Marek Polacek  <polacek@redhat.com>
64984         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64985         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64987 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64989         * configure.in: Add AC_SUBST for sysheaders.
64990         * configure: Regenerated.
64991         * config.make.in (sysheaders): New substituted variable.
64993         * sysdeps/unix/mkfifo.c: Moved ...
64994         * sysdeps/posix/mkfifo.c: ... here.
64995         * sysdeps/unix/mkfifoat.c: Moved ...
64996         * sysdeps/posix/mkfifoat.c: ... here.
64998         * sysdeps/unix/utime.c: Moved ...
64999         * sysdeps/posix/utime.c: ... here.
65001         * sysdeps/unix/time.c: Moved ...
65002         * sysdeps/posix/time.c: ... here.
65003         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65004         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65006         * sysdeps/unix/nice.c: Moved ...
65007         * sysdeps/posix/nice.c: ... here.
65009         * sysdeps/unix/alarm.c: Moved ...
65010         * sysdeps/posix/alarm.c: ... here.
65012         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65014 2012-08-17  Jeff Law <law@redhat.com>
65016         * intl/Makefile (codeset_mo): New variable.
65017         ($(codeset_mo)): New target.
65018         (tst-codeset.out): Depend on that.  Remove explicit rule.
65019         (tst-gettext3.out, tst-gettext5.out): Likewise.
65020         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65021         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65022         * intl/tst-codeset.sh: Remove.
65023         * intl/tst-gettext3.sh: Likewise.
65024         * intl/tst-gettext5.sh: Likewise.
65026 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65028         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65029         * sysdeps/unix/syscalls.list: ... here.
65031         * sysdeps/posix/getaddrinfo.c
65032         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65033         (gaiconf_init, gaiconf_reload): Use them.
65034         [!_STATBUF_ST_NSEC]
65035         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65036         Define using time_t rather than struct timespec.
65038         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65039         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65040         Macros removed.
65041         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65042         [!NO_THREADS].
65043         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65044         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65045         Likewise.
65047         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65048         __libc_cleanup_push argument.
65050         * bits/param.h: New file.
65051         * misc/sys/param.h: New file.
65052         * include/sys/param.h: New file.
65053         * misc/Makefile (headers): Add bits/param.h.
65054         * sysdeps/generic/sys/param.h: File removed.
65055         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65056         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65057         * sysdeps/mach/hurd/bits/param.h: New file.
65058         * sysdeps/mach/hurd/sys/param.h: File removed.
65060         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65061         last change.
65063         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65064         [_IO_MTSAFE_IO].
65065         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65066         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65067         New macros.
65069         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65070         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65071         rather than -D_IO_MTSAFE_IO conditionally.
65072         * stdio-common/Makefile (CPPFLAGS): Likewise.
65073         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65074         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65075         Use $(libio-mtsafe).
65076         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65077         of -D_IO_MTSAFE_IO.
65078         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65079         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65080         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65081         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65082         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65083         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65084         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65085         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65086         (CFLAGS-fread_u_chk.c): Likewise.
65087         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65088         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65089         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65090         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65091         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65092         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65093         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65094         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65095         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65097         * libio/Makefile: Test [$(libc-reentrant) = yes]
65098         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65100         * Makeconfig
65101         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65102         * sysdeps/pthread/configure: File removed.
65103         * sysdeps/pthread/Makeconfig: New file.
65104         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65105         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65107 2012-08-16  Gary Benson  <gbenson@redhat.com>
65109         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65110         unmapping the first object in a namespace.
65112 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65114         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65115         (__internal_setnetgrent): ... this.  Add internal_function to
65116         definition.  Add libc_hidden_def.
65117         (setnetgrent): Update caller.
65118         (internal_endnetgrent): Renamed to ...
65119         (__internal_endnetgrent): ... this.  Add internal_function to
65120         definition.  Add libc_hidden_def.
65121         (endnetgrent): Update caller.
65122         (internal_getnetgrent_r): Renamed to ...
65123         (__internal_getnetgrent_r): ... this.  Add internal_function to
65124         definition.  Add libc_hidden_def.
65125         (__getnetgrent_r): Update caller.
65126         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65128 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65130         * stdlib/longlong.h: Update from GCC.
65132 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65134         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65135         on _QL, which is set by umul_ppmm but never used.
65136         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65137         variables, which are set by GMP macros but never used.
65138         * stdio-common/_itowa.c (_itowa): Likewise.
65139         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65140         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65142 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65144         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65145         struct La_sh_regs is not constant.
65146         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65147         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65148         and struct La_sparc64_regs are not constant.
65150 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65152         * sysdeps/unix/sysv/linux/kernel-features.h
65153         (__ASSUME_POSIX_TIMERS): Remove.
65154         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65156         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65157         Make code unconditional.
65158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65159         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65160         Make code unconditional.
65161         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65162         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65163         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65164         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65165         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65166         Make code unconditional.
65167         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65168         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65169         (__libc_missing_posix_timers): Remove.
65171 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65173         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65174         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65176         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65178         * elf/dl-sym.c: Include <stdlib.h>.
65180         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65181         constants, which avoids warnings in 32-bit builds.
65183         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65184         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65186         * misc/lseek.c: File moved to ...
65187         * io/lseek.c: ... here.
65189         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65191         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65192         shifting LEN more than 31 bits at once.
65194 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65196         [BZ #14195]
65197         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65198         segmentation fault for a case of two empty input strings.
65199         * string/test-strncasecmp.c (check1): Renamed to...
65200         (bz12205): ...this.
65201         (bz14195): Add new testcase for two empty input strings and N > 0.
65202         (test_main): Call new testcase, adapt for renamed function.
65204 2012-08-15  Andreas Jaeger  <aj@suse.de>
65206         [BZ #14090]
65207         * crypt/md5test2.c: New test, based on test supplied by Serge
65208         Belyshev <belyshev@depni.sinp.msu.ru>.
65209         * crypt/Makefile (xtests): Add md5test-giant..
65210         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65212 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65214         [BZ #14090]
65215         * crypt/md5.c (md5_process_block): Don't assume the buffer
65216         length is less than 2**32.
65217         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65218         length is less than 2**64.
65220 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65222         * string/str-two-way.h: Include <sys/param.h>.
65223         (MAX): Macro removed.
65225         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65226         Move #define and #undef of memmove to just before and after
65227         including <string.h>.
65229         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65230         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65231         and after including <string.h>.  Move declarations of
65232         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65233         to before #include "string/memmove.c".
65235         * include/dirent.h: Declare __getdirentries.
65237         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65238         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65240 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65242         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65243         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65244         * sysdeps/i386/configure: Regenerated.
65245         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65246         STABS_CURRENT_FILE, and STABS_FUN.
65247         (END): Remove call to STABS_FUN_END.
65248         (STABS_CURRENT_FILE1): Delete.
65249         (STABS_CURRENT_FILE): Likewise.
65250         (STABS_FUN): Likewise.
65251         (STABS_FUN_END): Likewise.
65252         (STABS_FUN2): Likewise.
65253         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65254         * sysdeps/x86_64/configure: Regenerated.
65256 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65258         * elf/dl-open.c: Include <atomic.h>.
65259         * elf/dl-lookup.c: Likewise.
65261 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65263         * sysdeps/unix/sysv/linux/kernel-features.h
65264         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65265         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65266         unconditionally.
65267         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65268         unconditionally.
65269         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65270         condition on __ASSUME_CLONE_THREAD_FLAGS.
65272 2012-08-14  Andreas Jaeger  <aj@suse.de>
65274         * sysdeps/i386/fpu/libm-test-ulps: Update.
65276 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65278         * include/atomic.h (atomic_exchange_and_add): Split into ...
65279         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65280         New atomic macros.
65282 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65286 2012-08-13  Jeff Law <law@redhat.com>
65288         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65289         null byte in the output string.
65291 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65293         * sysdeps/unix/sysv/linux/kernel-features.h
65294         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65295         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65296         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65297         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65298         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65299         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65300         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65302 2012-08-09  Jeff Law <law@redhat.com>
65304         [BZ #13939]
65305         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65306         When avoid_arena is set, don't retry in the that arena.  Pick the
65307         next one, whatever it might be.
65308         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65309         (arena_lock): Pass in new parameter to arena_get2.
65310         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65311         arena_get2.
65312         (__libc_malloc): Unify retrying after main arena failure with
65313         __libc_memalign version.
65314         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65316 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65318         [BZ #14166]
65319         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65320         to __redirect_strstr.
65321         (__strstr_sse42): Use typeof __redirect_strstr.
65322         (__strstr_ia32): Likewise.
65323         (__libc_strstr): New prototype.
65324         (strstr): Renamed to ...
65325         (__libc_strstr): This.
65326         (strstr): New strong alias of __libc_strstr.
65327         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65328         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65329         __redirect_time.
65330         Include <time.h>.
65331         (__libc_time): New prototype.
65332         (time_ifunc): Replace time with __libc_time.
65333         (time): New strong alias and hidden definition of __libc_time.
65334         (__GI_time): Remove strong alias.
65335         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65336         Include <stddef.h>.
65337         (memmove): Redefined to __redirect_memmove.
65338         (__memmove_sse2): Use typeof __redirect_memmove.
65339         (__memmove_ssse3): Likewise.
65340         (__memmove_ssse3_back): Likewise.
65341         (__libc_memmove): New prototype.
65342         (memmove): Renamed to ...
65343         (__libc_memmove): This.
65344         (memmove): New strong alias of __libc_memmove.
65346 2012-08-08  Mark Salter  <msalter@redhat.com>
65348         * elf/elf.h
65349         (R_MN10300_TLS_GD): Define.
65350         (R_MN10300_TLS_LD): Likewise.
65351         (R_MN10300_TLS_LDO): Likewise.
65352         (R_MN10300_TLS_GOTIE): Likewise.
65353         (R_MN10300_TLS_IE): Likewise.
65354         (R_MN10300_TLS_LE): Likewise.
65355         (R_MN10300_TLS_DTPMOD): Likewise.
65356         (R_MN10300_TLS_DTPOFF): Likewise.
65357         (R_MN10300_TLS_TPOFF): Likewise.
65358         (R_MN10300_SYM_DIFF): Likewise.
65359         (R_MN10300_ALIGN): Likewise.
65360         (R_MN10300_NUM): Update.
65362 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65364         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65365         Remove.
65367 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65369         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65371         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65372         sysdeps/unix -> sysdeps/posix move.
65373         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65375 2012-08-07      Allan McRae     <allan@archlinux.org>
65377         [BZ #14303]
65378         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65379         (SUNOS_CPP): Likewise.
65380         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65381         not found.
65382         (open_input): Call CPP using execvp.
65384 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65386         * sysdeps/unix/sysv/linux/kernel-features.h
65387         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65388         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65389         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65390         (__ASSUME_WAITID_SYSCALL): Likewise.
65391         * sysdeps/unix/sysv/linux/dl-execstack.c
65392         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65393         code unconditional.
65394         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65395         conditional code.
65396         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65397         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65398         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65399         code.
65400         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65401         unconditional.
65402         [__ASSUME_WAITID_SYSCALL]: Likewise.
65403         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65405 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65407         * sysdeps/unix/closedir.c: Renamed to ...
65408         * sysdeps/posix/closedir.c: ... here.
65409         * sysdeps/unix/dirfd.c: Renamed to ...
65410         * sysdeps/posix/dirfd.c: ... here.
65411         * sysdeps/unix/dirstream.h: Renamed to ...
65412         * sysdeps/posix/dirstream.h: ... here.
65413         * sysdeps/unix/fdopendir.c: Renamed to ...
65414         * sysdeps/posix/fdopendir.c: ... here.
65415         * sysdeps/unix/opendir.c: Renamed to ...
65416         * sysdeps/posix/opendir.c: ... here.
65417         * sysdeps/unix/readdir.c: Renamed to ...
65418         * sysdeps/posix/readdir.c: ... here.
65419         * sysdeps/unix/readdir_r.c: Renamed to ...
65420         * sysdeps/posix/readdir_r.c: ... here.
65421         * sysdeps/unix/rewinddir.c: Renamed to ...
65422         * sysdeps/posix/rewinddir.c: ... here.
65423         * sysdeps/unix/seekdir.c: Renamed to ...
65424         * sysdeps/posix/seekdir.c: ... here.
65425         * sysdeps/unix/telldir.c: Renamed to ...
65426         * sysdeps/posix/telldir.c: ... here.
65427         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65428         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65429         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65430         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65432         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65433         * bits/fcntl.h: ... here.
65435         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65436         not 0.
65437         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65438         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65439         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65440         (struct flock): Move l_start, l_len to the beginning.
65441         Use __pid_t for l_pid.
65442         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65443         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65444         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65445         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65446         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65447         [__USE_LARGEFILE64] (struct flock64): New type.
65448         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65450         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65451         * bits/dirent.h: ... here.
65453         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65454         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65456 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65458         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65459         Change from 2.6.0 to 2.6.16.
65460         * sysdeps/unix/sysv/linux/configure: Regenerated.
65461         * sysdeps/unix/sysv/linux/kernel-features.h
65462         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65463         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65464         version.
65465         (__ASSUME_UTIMES): Likewise.
65466         (__ASSUME_CLONE_STOPPED): Remove.
65467         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65468         architectures, not kernel version.
65469         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65470         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65471         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65472         (__ASSUME_WAITID_SYSCALL): Likewise.
65473         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65474         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65475         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65476         refer to older versions.
65478 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65480         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65481         Define alphasort64 as an alias.
65482         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65483         Define versionsort64 as an alias.
65484         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65485         Define scandir64 as an alias.
65486         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65487         Define scandirat64 as an alias.
65488         * dirent/alphasort64.c (alphasort64):
65489         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65490         * dirent/versionsort64.c: Likewise.
65491         * dirent/scandir64.c: Likewise.
65492         * dirent/scandirat64.c: Likewise.
65493         * sysdeps/wordsize-64/alphasort.c: File removed.
65494         * sysdeps/wordsize-64/alphasort64.c: File removed.
65495         * sysdeps/wordsize-64/scandir.c: File removed.
65496         * sysdeps/wordsize-64/scandir64.c: File removed.
65497         * sysdeps/wordsize-64/scandirat.c: File removed.
65498         * sysdeps/wordsize-64/scandirat64.c: File removed.
65499         * sysdeps/wordsize-64/versionsort.c: File removed.
65500         * sysdeps/wordsize-64/versionsort64.c: File removed.
65501         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65502         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65503         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65504         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65505         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65506         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65507         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65508         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65510         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65511         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65512         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65514         [defined __arch64__ || defined __sparcv9]
65515         (__INO_T_MATCHES_INO64_T): New macro.
65516         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65517         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65518         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65519         * sysdeps/unix/sysv/linux/bits/dirent.h
65520         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65521         (_DIRENT_MATCHES_DIRENT64): New macro.
65523         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65524         Define lockf64 as an alias.
65525         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65526         Define fseeko64 as an alias.
65527         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65528         Define ftello64 as an alias.
65529         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65530         Define _IO_fgetpos64 and fgetpos64 as aliases.
65531         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65532         Define _IO_fsetpos64 and fsetpos64 as aliases.
65533         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65534         Conditionalize body on this.
65535         * libio/fseeko64.c: Likewise.
65536         * libio/ftello64.c: Likewise.
65537         * libio/iofgetpos64.c: Likewise.
65538         * libio/iofsetpos64.c: Likewise.
65539         * sysdeps/wordsize-64/lockf.c: File removed.
65540         * sysdeps/wordsize-64/lockf64.c: File removed.
65541         * sysdeps/wordsize-64/fseeko.c: File removed.
65542         * sysdeps/wordsize-64/fseeko64.c: File removed.
65543         * sysdeps/wordsize-64/ftello.c: File removed.
65544         * sysdeps/wordsize-64/ftello64.c: File removed.
65545         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65546         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65547         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65548         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65549         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65550         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65551         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65552         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65553         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65554         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65555         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65556         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65557         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65558         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65560         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65562         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65564         [defined __arch64__ || defined __sparcv9]
65565         (__OFF_T_MATCHES_OFF64_T): New macro.
65566         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65567         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65569         (__OFF_T_MATCHES_OFF64_T): New macro.
65571 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65573         * stdlib/secure-getenv.c (__secure_getenv): Replace
65574         GLIBC_2_16 with GLIBC_2_17.
65576 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65578         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65579         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65581 2012-08-03  David S. Miller  <davem@davemloft.net>
65583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65585 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65587         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65588         Remove.
65589         (__ASSUME_CORRECT_SI_PID): Likewise.
65590         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65591         (__ASSUME_TMPFS_NAME): Likewise.
65592         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65593         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65594         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65595         (HAVE_AUX_SECURE): Make definition unconditional.
65596         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65597         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65599 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65601         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65602         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65603         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65604         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65605         __eloop_threshold instead of SYMLOOP_MAX.
65607         * sysdeps/generic/eloop-threshold.h: New file.
65608         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65609         of MAXSYMLINKS.
65610         * elf/chroot_canon.c (chroot_canon): Likewise.
65612 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65614         [BZ #13717]
65615         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65616         Change to 2.6.0 everywhere.
65617         * sysdeps/unix/sysv/linux/configure: Regenerated.
65618         * sysdeps/unix/sysv/linux/kernel-features.h
65619         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65620         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65621         kernel versions.
65622         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65623         (__ASSUME_FUTEX_REQUEUE): Remove.
65624         (__ASSUME_STATFS64): Define unconditionally.
65625         (__ASSUME_AT_SECURE): Likewise.
65626         (__ASSUME_CORRECT_SI_PID): Likewise.
65627         (__ASSUME_TGKILL): Define without depending on kernel version for
65628         i386.
65629         (__ASSUME_UTIMES): Likewise.
65630         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65631         kernel version.
65632         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65633         (__ASSUME_TMPFS_NAME): Likewise.
65634         * README: Update reference to Linux kernel versions.
65636 2012-08-02  Marek Polacek  <polacek@redhat.com>
65638         [BZ# 14150]
65639         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65640         libc_cv_asm_type_prefix with %.
65641         * configure: Regenerated.
65642         * include/libc-symbols.h: Remove comment about
65643         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65644         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65645         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65646         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65647         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65648         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65649         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65650         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65651         * elf/tst-unique2mod1.c: Likewise.
65652         * elf/tst-unique1mod2.c: Likewise.
65653         * elf/tst-unique1mod1.c: Likewise.
65654         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65655         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65656         Replace ASM_TYPE_DIRECTIVE with .type.
65657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65658         * sysdeps/i386/sysdep.h: Likewise.
65659         * sysdeps/x86_64/sysdep.h: Likewise.
65660         * sysdeps/sh/sysdep.h: Likewise.
65661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65662         Do not define ASM_TYPE_DIRECTIVE.
65663         * sysdeps/powerpc/sysdep.h: Likewise.
65664         * sysdeps/powerpc/powerpc32/sysdep.h:
65665         Replace ASM_TYPE_DIRECTIVE with .type.
65666         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65667         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65668         * sysdeps/i386/fpu/e_powf.S: Likewise.
65669         * sysdeps/i386/fpu/e_expl.S: Likewise.
65670         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65671         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65672         * sysdeps/i386/fpu/e_pow.S: Likewise.
65673         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65674         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65675         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65676         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65677         * sysdeps/i386/fpu/e_log2.S: Likewise.
65678         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65679         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65680         * sysdeps/i386/fpu/e_powl.S: Likewise.
65681         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65682         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65683         * sysdeps/i386/fpu/e_logl.S: Likewise.
65684         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65685         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65686         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65687         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65688         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65689         * sysdeps/i386/fpu/e_log.S: Likewise.
65690         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65691         * sysdeps/i386/fpu/e_logf.S: Likewise.
65692         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65693         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65694         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65695         * sysdeps/i386/fpu/e_log10.S: Likewise.
65696         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65697         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65698         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65699         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65700         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65701         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65702         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65703         * sysdeps/i386/i686/strtok.S: Likewise.
65704         * sysdeps/i386/i386-mcount.S: Likewise.
65705         * sysdeps/i386/strtok.S: Likewise.
65706         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65707         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65708         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65709         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65710         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65711         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65712         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65713         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65714         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65715         * sysdeps/x86_64/_mcount.S: Likewise.
65716         * sysdeps/x86_64/strtok.S: Likewise.
65717         * sysdeps/sh/_mcount.S: Likewise.
65719 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65721         * libio/iofopen.c: Include <fcntl.h>.
65722         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65723         (_IO_fopen64, fopen64): Define as aliases.
65724         * libio/iofopen64.c: Include <fcntl.h>.
65725         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65726         Conditionalize body on this.
65727         * sysdeps/wordsize-64/iofopen.c: File removed.
65728         * sysdeps/wordsize-64/iofopen64.c: File removed.
65730 2012-08-01  Marek Polacek  <polacek@redhat.com>
65732         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65733         Use dlfcn directly instead of a variable.
65734         (binfmt-subdir): Do not define.
65735         (dlfcn): Likewise.
65737 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65739         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65740         Remove all definitions.
65741         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65742         <kernel-features.h>.
65743         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65744         (miss_F_GETOWN_EX): Remove all definitions.
65745         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65746         macro definition.
65747         [!__ASSUME_FCNTL64]: Remove conditional code.
65748         [__ASSUME_FCNTL64]: Make code unconditional.
65749         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65750         <kernel-features.h>.
65751         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65752         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65753         (lockf64) [__NR_fcntl64]: Make code unconditional.
65754         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65756         * sysdeps/unix/sysv/linux/kernel-features.h
65757         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65758         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65759         Make code unconditional.
65760         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65761         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65763         [__NR_vfork]: Make code unconditional.
65764         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65765         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65767         [__NR_vfork]: Make code unconditional.
65768         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65769         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65771 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65773         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65774         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65776         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65777         Define mkstemp64 as an alias.
65778         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65779         Define mkstemps64 as an alias.
65780         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65781         Define mkostemp64 as an alias.
65782         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65783         Define mkostemps64 as an alias.
65784         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65785         Conditionalize body on this.
65786         * misc/mkostemp64.c: Likewise.
65787         * misc/mkostemps64.c: Likewise.
65788         * misc/mkstemps64.c: Likewise.
65789         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65790         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65791         * sysdeps/wordsize-64/mkostemp.c: File removed.
65792         * sysdeps/wordsize-64/mkstemp.c: File removed.
65793         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65794         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65795         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65796         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65798         [BZ #14138]
65799         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65800         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65801         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65802         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65804         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65805         compat_symbol macros from <shlib-compat.h> rather than the underlying
65806         default_symbol_version and symbol_version macros, so that DEFAULT
65807         lines in shlib-versions are respected.
65808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65810 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65812         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65813         Declare with warn_unused_result.
65814         (setgid, setregid, setegid, setresgid): Likewise.
65815         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65816         Likewise.
65817         * WUR-REPORT: Remove set*id functions.
65819 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65821         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65823 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65825         [BZ #10191]
65826         * include/sys/socket.h (__libc_accept, __libc_accept4):
65827         Add attribute_hidden.
65828         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65830         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65831         use of PTR_MANGLE.
65832         * inet/getnetgrent_r.c (setup): Likewise.
65834         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65836 2012-07-31  David S. Miller  <davem@davemloft.net>
65838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65840 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65842         [BZ #13629]
65843         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65844         value between 1.0 and 2.0 and smaller part has absolute value less
65845         than 1.0.
65846         * math/s_clog10.c (__clog10): Likewise.
65847         * math/s_clog10f.c (__clog10f): Likewise.
65848         * math/s_clog10l.c (__clog10l): Likewise.
65849         * math/s_clogf.c (__clogf): Likewise.
65850         * math/s_clogl.c (__clogl): Likewise.
65851         * math/libm-test.inc (clog_test): Add more tests.
65852         (clog10_test): Likewise.
65853         * sysdeps/i386/fpu/libm-test-ulps: Update.
65854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65856 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65858         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65859         Exit with zero in case no suitable GID is found, and write a
65860         message to standard error.
65862 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65864         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65865         rather than to 1.
65866         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65867         (MAXPATHLEN): Removed.
65868         (NOGROUP, NODEV): New macros.
65869         (setbit, clrbit, isset, isclr): New macros.
65870         (howmany, roundup, powerof2): New macros.
65871         (DEV_BSIZE): New macro.
65873         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65874         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65876         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65877         definition on [!__NO_LONG_DOUBLE_MATH].
65879         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65880         PTR_MANGLE and PTR_DEMANGLE.
65882         * socket/accept4.c (accept4): Rename to __libc_accept4.
65883         Define accept4 as a weak alias.
65885         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65886         on [_DIRENT_HAVE_D_TYPE].
65887         * io/ftw.c (ftw_dir): Likewise.
65889         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65891         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65893         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65894         Use the BSD numbers rather than the arbitrary ones we had.
65895         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65896         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65897         (SIGXCPU, SIGXFSZ): New macros.
65898         (_NSIG): Now 32.
65900         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65901         initializer on [_LIBC_REENTRANT].
65903         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65904         definitions inside [_POSIX_MAPPED_FILES].
65906         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65908         * dirent/opendir.c: Include <fcntl.h>.
65910         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65911         (__libc_getspecific): Likewise.
65912         (__libc_key_create): Likewise.
65914         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65915         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65916         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65917         (tmpfile64): Define as alias.
65918         * sysdeps/wordsize-64/tmpfile.c: File removed.
65919         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65920         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65921         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65923         * stdio-common/vfscanf.c: Include <stdbool.h>.
65924         * nss/makedb.c: Likewise.
65925         * stdio-common/_i18n_number.h: Likewise.
65926         * argp/argp-help.c: Likewise.
65927         * posix/wordexp.c: Likewise.
65928         * sysdeps/posix/spawni.c: Likewise.
65929         * nss/nss_files/files-initgroups.c: Likewise.
65930         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65931         * nss/nss_files/files-initgroups.c: Likewise.
65932         * nss/nss_db/db-netgrp.c: Likewise.
65933         * nss/nss_db/db-initgroups.c: Likewise.
65934         * io/fchmodat.c: Include <sys/stat.h>.
65936         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65937         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65939         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65940         [HAVE_MMAP].
65942         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65943         Add multiple inclusion protection.
65945 2012-07-27  David S. Miller  <davem@davemloft.net>
65947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65949 2012-07-27  Gary Benson  <gbenson@redhat.com>
65951         [BZ #14298]
65952         * elf/rtld.c: Include <stap-probe.h>.
65953         (dl_main): Added static probes "init_start" and "init_complete".
65954         * elf/dl-load.c: Include <stap-probe.h>.
65955         (lose): Take new parameter "nsid".
65956         Added static probe "map_failed".
65957         (_dl_map_object_from_fd): Pass namespace id to lose.
65958         Added static probe "map_start".
65959         (open_verify): Pass namespace id to lose.
65960         * elf/dl-open.c: Include <stap-probe.h>.
65961         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65962         and "reloc_complete".
65963         * elf/dl-close.c: Include <stap-probe.h>.
65964         (_dl_close_worker): Added static probes "unmap_start" and
65965         "unmap_complete".
65966         * elf/rtld-debugger-interface.txt: New file documenting the above.
65968 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65970         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65971         rather than a string variable.
65972         * sunrpc/rpc_main.c (h_output): Likewise.
65973         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65975 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65977         * inet/check_native.c: New file.
65979 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65981         [BZ #13629]
65982         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65983         if larger part has absolute value 1.0.
65984         * math/s_clog10.c (__clog10): Likewise.
65985         * math/s_clog10f.c (__clog10f): Likewise.
65986         * math/s_clog10l.c (__clog10l): Likewise.
65987         * math/s_clogf.c (__clogf): Likewise.
65988         * math/s_clogl.c (__clogl): Likewise.
65989         * math/libm-test.inc (clog_test): Add more tests.
65990         (clog10_test): Likewise.
65991         * sysdeps/i386/fpu/libm-test-ulps: Update.
65992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65994         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65995         (pltexit): Likewise.
65996         (La_regs): Likewise.
65997         (La_retval): Likewise.
65998         (int_retval): Likewise.
65999         Update #error for removed macros to refer only to definitions in
66000         tst-audit.h.
66001         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
66020         macro.
66021         (pltexit): Likewise.
66022         (La_regs): Likewise.
66023         (La_retval): Likewise.
66024         (int_retval): Likewise.
66025         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66026         macro.
66027         (pltexit): Likewise.
66028         (La_regs): Likewise.
66029         (La_retval): Likewise.
66030         (int_retval): Likewise.
66031         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66032         macro.
66033         (pltexit): Likewise.
66034         (La_regs): Likewise.
66035         (La_retval): Likewise.
66036         (int_retval): Likewise.
66037         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66038         macro definitions in tst-audit.h.
66039         * sysdeps/i386/tst-audit.h: New file.
66040         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66041         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66042         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66043         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66044         * sysdeps/sh/tst-audit.h: Likewise.
66045         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66046         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66047         * sysdeps/x86_64/tst-audit.h: Likewise.
66049 2012-07-26  Andreas Jaeger  <aj@suse.de>
66051         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66052         ptrace.
66054         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66055         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66056         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66057         PTRACE_O_MASK.
66058         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66059         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66060         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66062         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66063         value.
66065         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66066         _sigsys.
66067         (si_call_addr, si_syscall, si_arch): Define new macro.
66068         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66069         _sigsys.
66070         (si_call_addr, si_syscall, si_arch): Define new marcro.
66071         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66072         _sigsys.
66073         (si_call_addr, si_syscall, si_arch): Define new macro.
66074         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66075         _sigsys.
66076         (si_call_addr, si_syscall, si_arch): Define new macro.
66078 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66080         [BZ #13717]
66081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66082         Change to 2.4.21 where previously 2.4.1.
66083         * sysdeps/unix/sysv/linux/configure: Regenerated.
66084         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66085         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66086         Linux kernel version.
66087         (__ASSUME_STD_AUXV): Remove.
66088         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66089         kernel version.
66090         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66091         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66092         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66093         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66094         (__ASSUME_NETLINK_SUPPORT): Likewise.
66095         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66096         (__no_netlink_support): Remove conditional definition.
66097         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66098         Remove.
66099         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66100         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66101         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66102         (if_nameindex_ioctl): Remove.
66103         (if_nameindex_netlink): Do not handle __no_netlink_support.
66104         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66105         code.
66106         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66107         Remove conditional code.
66108         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66109         code.
66110         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66111         unconditional.
66112         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66113         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66114         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66115         Remove.
66116         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66117         [!__ASSUME_STD_AUXV]: Remove conditional code.
66118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66119         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66120         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66122         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66123         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66124         code.
66125         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66127         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66128         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66129         conditional code.
66130         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66132         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66133         code.
66134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66135         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66136         conditional code.
66137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66138         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66139         code unconditional.
66140         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66141         conditional code.
66142         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66143         unconditional.
66144         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66145         conditional code.
66146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66147         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66148         unconditional.
66149         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66150         conditional code.
66151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66152         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66153         code unconditional.
66154         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66155         conditional code.
66156         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66157         unconditional.
66158         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66159         conditional code.
66160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66161         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66162         code unconditional.
66163         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66164         conditional code.
66165         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66166         unconditional.
66167         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66168         conditional code.
66170 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66172         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66173         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66174         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66175         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66176         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66177         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66178         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66179         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66180         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66181         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66182         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66183         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66184         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66185         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66186         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66187         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66188         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66189         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66190         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66192         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66193         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66194         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66196 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66198         * Versions.def: Add GLIBC_2.17.
66199         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66200         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66201         Introduce __libc_secure_getenv.
66202         * stdlib/Versions (2.17): Add secure_getenv
66203         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66204         * stdlib/secure-getenv.c: Rename __secure_getenv to
66205         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66206         symbol __secure_getenv for GLIBC_2.0.
66207         * stdlib/tst-secure-getenv.c: New.
66208         * stdlib/Makefile (tests): Add testcase.
66209         * manual/startup.texi (Environment Access): Document
66210         secure_getenv.
66211         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66212         __libc_secure_getenv.
66213         * inet/ruserpass.c (ruserpass): Likewise.
66214         * malloc/mtrace.c (mtrace): Likewise.
66215         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66216         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66217         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66218         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66219         HAVE_SECURE_GETENV.
66220         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66221         __secure_getenv to __libc_secure_getenv.
66222         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66224         Likewise.
66225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66226         Likewise.
66227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66229         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66235 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66237         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66238         (struct La_i86_retval): Likewise.
66239         (struct La_x86_64_regs): Likewise.
66240         (struct La_x86_64_retval): Likewise.
66241         (struct La_x32_regs): Likewise.
66242         (struct La_x32_retval): Likewise.
66243         (struct La_ppc32_regs): Likewise.
66244         (struct La_ppc32_retval): Likewise.
66245         (struct La_ppc64_regs): Likewise.
66246         (struct La_ppc64_retval): Likewise.
66247         (struct La_sh_regs): Likewise.
66248         (struct La_sh_retval): Likewise.
66249         (struct La_s390_32_regs): Likewise.
66250         (struct La_s390_32_retval): Likewise.
66251         (struct La_s390_64_regs): Likewise.
66252         (struct La_s390_64_retval): Likewise.
66253         (struct La_sparc32_regs): Likewise.
66254         (struct La_sparc32_retval): Likewise.
66255         (struct La_sparc64_regs): Likewise.
66256         (struct La_sparc64_retval): Likewise.
66257         (struct audit_ifaces): Remove architecture-specific pltenter and
66258         pltexit members.
66259         * sysdeps/i386/ldsodefs.h: New file.
66260         * sysdeps/powerpc/ldsodefs.h: Likewise.
66261         * sysdeps/s390/ldsodefs.h: Likewise.
66262         * sysdeps/sh/ldsodefs.h: Likewise.
66263         * sysdeps/sparc/ldsodefs.h: Likewise.
66264         * sysdeps/x86_64/ldsodefs.h: Likewise.
66266 2012-07-25  Marek Polacek  <polacek@redhat.com>
66268         [BZ #6808]
66269         * math/libm-test.inc (yn_test): Add another test.
66270         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66271         to ERANGE when the result is +-Inf.
66272         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66273         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66274         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66275         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66277 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66279         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66280         equal to 0.
66281         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66282         clock_t.
66283         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66285 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66287         * configure.in <sysdeps resolving>: Correct printing
66288         Implies_before.
66289         * configure: Regenerate.
66291 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66293         * math/w_ilogb.c: Include <limits.h>.
66294         * math/w_ilogbl.c: Likewise.
66296 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66298         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66299         va_copy.  Document allowing for unavailable va_copy only as
66300         pre-C99 compatibility.
66301         * manual/string.texi (Copying and Concatenation): Use va_copy
66302         instead of __va_copy in concat example.
66304 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66306         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66307         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66308         it if not null.
66310         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66311         with O_NOLINK passed to __file_name_lookup.
66313         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66314         with O_NOLINK passed to __file_name_lookup.
66316         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66317         negative N or less than NGIDS.
66319         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66320         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66321         enough.  Use memcpy instead of strncpy.
66323 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66325         * elf/Makefile (check-data): Remove.
66326         (localplt.data): New vpath directive.
66327         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66328         instead of $(check-data).
66329         * scripts/data/localplt-generic.data: Move to ...
66330         * sysdeps/generic/localplt.data: ... here.
66331         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66332         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66333         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66335         ... here.
66336         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66338         ... here.
66339         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66341         ... here.
66342         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66344         ... here.
66345         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66347         ... here.
66348         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66350         ... here.
66352 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66354         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66355         PPC32 and PPC64 files.
66356         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66357         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66359 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66361         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66362         __makecontext_ret to ...
66363         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66364         ... here and call exit if uc_link is NULL.  New file.
66365         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66366         __makecontext_ret.S.
66367         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66368         __makecontext_ret to ...
66369         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66370         ... here and call exit if uc_link is NULL.  New file.
66371         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66372         __makecontext_ret.S.
66374 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66376         * elf/elf.h (R_390_IRELATIVE): New definition.
66377         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66378         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66379         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66380         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66381         (elf_machine_lazy_rel): Likewise.
66382         * sysdeps/s390/dl-irel.h: New file.
66383         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66384         * sysdeps/s390/s390-64/memset.S: New asm code.
66385         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66386         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66387         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66388         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66389         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66390         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66391         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66392         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66393         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66394         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66395         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66396         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66397         * sysdeps/s390/s390-32/memset.S: New asm code.
66398         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66400 2012-07-17  Marek Polacek  <polacek@redhat.com>
66402         [BZ #14349]
66403         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66404         * sysdeps/s390/s390-64/configure.in: Likewise.
66405         * sysdeps/sparc/configure.in: Likewise.
66406         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66407         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66408         * sysdeps/i386/configure.in: Likewise.
66409         * sysdeps/x86_64/configure.in: Likewise.
66410         * sysdeps/sh/configure.in: Likewise.
66411         * sysdeps/s390/s390-32/configure: Regenerated.
66412         * sysdeps/s390/s390-64/configure: Likewise.
66413         * sysdeps/x86_64/configure: Likewise.
66414         * sysdeps/sh/configure: Likewise.
66415         * sysdeps/powerpc/powerpc64/configure: Likewise.
66416         * sysdeps/powerpc/powerpc32/configure: Likewise.
66417         * sysdeps/sparc/configure: Likwise.
66418         * sysdeps/i386/configure: Likewise.
66420         * elf/dl-open.c: Comment fixes.
66422 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66424         * Makefile [CXX] (check-data): Remove.
66425         [CXX] (c++-types.data): New vpath directive.
66426         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66427         vpath.  Do not allow for C++ type data being missing.
66428         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66429         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66430         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66431         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66432         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66433         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66434         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66436         ... here.
66437         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66439         ... here.
66440         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66442         ... here.
66443         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66445         ... here.
66446         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66448         ... here.
66449         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66451         ... here.
66452         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66454         ... here.
66455         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66458         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66459         definitions to architecture-specific files.
66460         (TLS_IE): Likewise.
66461         (TLS_LD): Likewise.
66462         (TLS_GD): Likewise.
66463         * sysdeps/i386/tls-macros.h: New file.
66464         * sysdeps/powerpc/tls-macros.h: Likewise.
66465         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66466         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66467         * sysdeps/sh/tls-macros.h: Likewise.
66468         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66469         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66470         * sysdeps/x86_64/tls-macros.h: Likewise.
66472 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66474         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66475         zero value for regular exit case.
66477         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66478         (__start_context): Preserve zero value for regular exit case.
66480 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66481             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66483         * manual/setjmp.texi (setcontext): Clarify normal process
66484         termination when uc_link is the null pointer.
66485         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66486         exit call.
66488 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66490         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66491         preprocessor.  Test for each exception mask separately.
66493 2012-07-16  Andreas Jaeger  <aj@suse.de>
66495         * po/ru.po: Update from translation team.
66497 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66499         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66500         equal to 0.
66501         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66502         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66503         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66504         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66505         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66507 2012-07-13  Andreas Jaeger  <aj@suse.de>
66509         * po/fr.po: Update from translation team.
66511 2012-07-12  Marek Polacek  <polacek@redhat.com>
66513         [BZ #14173]
66514         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66515         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66516         loop condition.
66518 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66520         [BZ #13717]
66521         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66522         Change to 2.4.1 where previously 2.4.0.
66523         * sysdeps/unix/sysv/linux/configure: Regenerated.
66524         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66525         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66526         version.
66527         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66528         (__ASSUME_AT_CLKTCK): Remove.
66529         (__ASSUME_AT_PAGESIZE): Likewise.
66530         (__ASSUME_AT_XID): Likewise.
66531         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66532         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66533         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66534         unconditionally.
66535         (HAVE_AUX_PAGESIZE): Likewise.
66536         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66537         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66538         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66540 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66542         [BZ #14307]
66543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66544         the temporary buffer used to invoke __gethostbyname2_r,
66545         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66546         host_data / struct gaih_addrtuple.
66547         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66548         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66549         header file nss/nsswitch.h.
66550         * nss/nsswitch.h (global scope): Add definition of implementation
66551         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66552         resolv/nss_dns/dns-host.c).
66554 2012-07-11  Andreas Jaeger  <aj@suse.de>
66556         * po/fr.po: Update from translation team.
66558         * po/sv.po: Update from translation team
66559         * po/fr.po: Another update from translation team.
66561 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66563         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66564         for subnormals or multiply small sinh result by itself.
66565         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66568 2012-07-11  David S. Miller  <davem@davemloft.net>
66570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66572 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66574         [BZ #14347]
66575         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66576         (INTERNAL_MARK): Shift it here.
66578 2012-07-10  Marek Polacek  <polacek@redhat.com>
66580         [BZ #14151]
66581         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66582         libc_cv_asm_global_directive with .globl.
66583         * configure: Regenerated.
66584         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66585         with .globl.
66586         * sysdeps/i386/configure: Regenerated.
66587         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66588         with .globl.
66589         * sysdeps/x86_64/configure: Regenerated.
66590         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66591         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66592         * elf/tst-unique2mod2.c: Likewise.
66593         * elf/tst-unique2mod1.c: Likewise.
66594         * elf/tst-unique1mod2.c: Likewise.
66595         * elf/tst-unique1mod1.c: Likewise.
66596         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66597         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66598         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66599         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66600         * sysdeps/mach/sysdep.h: Likewise.
66601         * sysdeps/i386/sysdep.h: Likewise.
66602         * sysdeps/i386/i386-mcount.S: Likewise.
66603         * sysdeps/x86_64/_mcount.S: Likewise.
66604         * sysdeps/x86_64/sysdep.h: Likewise.
66605         * sysdeps/sh/_mcount.S: Likewise.
66606         * sysdeps/sh/sysdep.h: Likewise.
66607         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66608         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66609         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66610         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66611         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66612         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66613         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66614         * locale/localeinfo.h: Likewise.
66615         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66616         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66618 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66620         [BZ #14336]
66621         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66622         system".
66623         * manual/message.texi (The Uniforum approach): Likewise.
66624         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66625         (glibc iconv Implementation): Likewise.
66627 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66629         [BZ #14337]
66630         * math/s_clog.c (__clog): Avoid scaling a value down where that
66631         could result in underflow.
66632         * math/s_clog10.c (__clog10): Likewise.
66633         * math/s_clog10f.c (__clog10f): Likewise.
66634         * math/s_clog10l.c (__clog10l): Likewise.
66635         * math/s_clogf.c (__clogf): Likewise.
66636         * math/s_clogl.c (__clogl): Likewise.
66637         * math/libm-test.inc (clog_test): Add more tests.
66638         (clog10_test): Likewise.
66639         * sysdeps/i386/fpu/libm-test-ulps: Update.
66640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66642 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66644         [BZ #14283]
66645         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66646         by 7 not 8 to examine high bit of fractional part.
66648         [BZ #14042]
66649         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66650         for call to __mcount_internal.
66651         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66652         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66653         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66655 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66657         [BZ #14154]
66658         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66659         approximation for values within 0x1p-13f of an odd multiple of
66660         pi/4.
66661         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66662         exception.  Add more tests.
66663         * sysdeps/i386/fpu/libm-test-ulps: Update.
66665         [BZ #6778]
66666         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66667         inputs and return -1 for them.  Do not check for +Inf in case not
66668         reachable for +Inf.
66669         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66670         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66671         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66672         and return -1 for them.  Do not check for +Inf in case not
66673         reachable for +Inf.
66674         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66675         define.
66676         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66677         and return -1 for them.  Do not check for +Inf in case not
66678         reachable for +Inf.
66679         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66680         spurious underflow.
66681         * sysdeps/i386/fpu/libm-test-ulps: Update.
66682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66684 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66686         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66688 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66690         [BZ #14157]
66691         [BZ #14331]
66692         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66693         could result in spurious underflow.  Scale down values above
66694         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66695         * math/s_csqrtf.c (__csqrtf): Likewise.
66696         * math/s_csqrtl.c (__csqrtl): Likewise.
66697         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66698         spurious underflow.
66699         * sysdeps/i386/fpu/libm-test-ulps: Update.
66700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66702 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66704         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66705         xopen-msg.sed.
66706         * catgets/xopen-msg.awk: New file.
66707         * catgets/xopen-msg.sed: Removed.
66709         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66710         po2text.sed.
66711         * intl/po2test.awk: New file.
66712         * intl/po2test.sed: Removed.
66714 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66716         [BZ #14328]
66717         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66718         or multiply small sinh result by itself.
66719         * math/s_ctanf.c (__ctanf): Likewise.
66720         * math/s_ctanh.c (__ctanh): Likewise.
66721         * math/s_ctanhf.c (__ctanhf): Likewise.
66722         * math/s_ctanhl.c (__ctanhl): Likewise.
66723         * math/s_ctanl.c (__ctanl): Likewise.
66724         * math/libm-test.inc (ctan_test_tonearest): New function.
66725         (ctan_test_towardzero): Likewise.
66726         (ctan_test_downward): Likewise.
66727         (ctan_test_upward): Likewise.
66728         (ctanh_test_tonearest): Likewise.
66729         (ctanh_test_towardzero): Likewise.
66730         (ctanh_test_downward): Likewise.
66731         (ctanh_test_upward): Likewise.
66732         (main): Call these new functions.
66733         * sysdeps/i386/fpu/libm-test-ulps: Update.
66734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66736 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66738         * .gitignore: Delete /ports entry.
66740 2012-07-03  Andreas Jaeger  <aj@suse.de>
66742         * po/bg.po: Update from translation team.
66743         * po/cs.po: Likewise.
66744         * po/de.po: Likewise.
66745         * po/hr.po: Likewise.
66746         * po/nl.pl: Likewise.
66747         * po/pl.po: Likewise.
66748         * po/vi.po: Likewise.
66750 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66752         * Makeconfig [!+link] (+link-before-libc): New variable.
66753         [!+link] (+link-after-libc): Likewise.
66754         [!+link] (+link-tests): Likewise.
66755         [!+link] (+link): Define in terms of $(+link-before-libc) and
66756         $(+link-after-libc).
66757         [!+link-static] (+link-static-before-libc): New variable.
66758         [!+link-static] (+link-static-after-libc): Likewise.
66759         [!+link-static] (+link-static-tests): Likewise.
66760         [!+link-static] (+link-static): Define in terms of
66761         $(+link-static-before-libc) and $(+link-static-after-libc).
66762         [build-shared] (link-libc-before-gnulib): New variable.
66763         [build-shared] (link-libc-tests): Likewise.
66764         [build-shared] (link-libc): Define in terms of
66765         $(link-libc-before-gnulib).
66766         [!build-shared] (link-libc-tests): New variable.
66767         (link-libc-static-tests): New variable.
66768         [!gnulib] (gnulib-arch): New variable.
66769         [!gnulib] (gnulib-tests): Likewise.
66770         [!gnulib] (static-gnulib-arch): Likewise.
66771         [!gnulib] (static-gnulib-tests): Likewise.
66772         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66773         Define with "=" instead of ":=".
66774         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66775         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66776         * Rules (binaries-all-notests): New variable.
66777         (binaries-all-tests): Likewise.
66778         (binaries-static-notests): Likewise.
66779         (binaries-static-tests): Likewise.
66780         (binaries-all): Define using $(binaries-all-notests) and
66781         $(binaries-all-tests).
66782         (binaries-static): Define using $(binaries-static-notests) and
66783         $(binaries-static-tests).
66784         (binaries-shared-tests): New variable.
66785         (binaries-shared-notests): Likewise.
66786         (binaries-shared): Remove variable.
66787         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66788         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66789         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66790         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66791         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66792         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66793         * elf/Makefile (sln-modules): New variable.
66794         (extra-objs): Add $(sln-modules:=.o).
66795         (ldconfig-modules): Add static-stubs.
66796         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66797         * elf/static-stubs.c: New file.
66799         [BZ #14283]
66800         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66801         by 7 not 8 to examine high bit of fractional part.  Use volatile
66802         variables when splitting into final array of floats if
66803         __FLT_EVAL_METHOD__ != 0.
66804         * math/libm-test.inc (cos_test): Add another test.
66805         (sin_test): Likewise.
66806         * sysdeps/i386/fpu/libm-test-ulps: Update.
66808         [BZ #14273]
66809         * math/libm-test.inc (cosh_test): Add more tests.
66811         * version.h (RELEASE): Set to "development".
66812         (VERSION): Set to "2.16.90".
66814 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66816         * NEWS: Update copyright. Remove last-updated date.
66817         Mention math library bug fixes and timezone data changes.
66818         * README: Mention GNU/Hurd, x32, and HPPA support status.
66820 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66822         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66824 2012-06-27  Andreas Jaeger  <aj@suse.de>
66826         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66828 2012-06-25  Andreas Jaeger  <aj@suse.de>
66830         * sysdeps/s390/fpu/libm-test-ulps: Update.
66832 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66833             Thomas Schwinge  <thomas@codesourcery.com>
66835         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66836         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66837         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66838         fanotify_mark.
66840 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66842         * sysdeps/mach/start.c: Remove file.
66843         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66844         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66845         * sysdeps/sh/init-first.c: Likewise.
66847         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66848         registers for frame unwinding purposes, add CFI directives.
66849         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66850         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66851         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66852         Likewise.
66854         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66855         __fortify_fail returning.
66856         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66858         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66859         sysdeps/sh/____longjmp_chk.S.
66860         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66861         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66862         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66863         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66865         * sysdeps/sh/abort-instr.h: New file.
66866         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66867         process in case exit returns.
66869         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66870         initialize the GOT register before use.
66872         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66873         calculation of ARGC > 4.
66875         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66876         meaningful names to some local labels.
66878 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66879             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66881         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66882         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66883         (__arch_compare_and_exchange_val_16_acq): Likewise.
66884         (__arch_compare_and_exchange_val_32_acq): Likewise.
66885         (atomic_exchange_and_add): Fix gUSA sequence.
66886         (atomic_add): Likewise.
66887         (atomic_add_negative): Likewise.
66888         (atomic_add_zero): Likewise.
66889         (atomic_bit_test_set): Likewise.
66891 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66893         [BZ #13579]
66894         * include/link.h (struct link_map): Add l_free_initfini.
66895         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66896         l_initfini.
66897         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66898         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66899         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66900         set.
66902 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66904         * configure.in: Use AC_LANG_SOURCE.
66905         * configure: Regenerate.
66907 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66909         * configure.in (libc_cv_localstatedir): New substituted variable.
66910         * configure: Regenerated.
66911         * config.make.in (localstatedir): New variable, substituted from
66912         libc_cv_localstatedir.
66913         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66914         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66915         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66916         * sysdeps/gnu/configure: Regenerated.
66918 2012-06-21  Jeff Law  <law@redhat.com>
66920         [BZ #14277]
66921         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66922         free.  Simplify list management for _LIBC case.
66924 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66926         [BZ #14273]
66927         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66928         Clear sign bit of 64-bit integer value before comparing against
66929         overflow value.
66931         * sysdeps/mach/configure: Regenerated.
66933 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66935         [BZ #14278]
66936         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66938 2012-06-21  Jeff Law  <law@redhat.com>
66940         [BZ #13882]
66941         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66942         uint16_t for elements in the "seen" array to avoid char overflows.
66943         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66944         * elf/dl-open.c (dl_open_worker): Likewise.
66946 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66948         * scripts/list-sources.sh: Scan PORTS for translations.
66949         * po/libc.pot: Regenerated.
66951 2012-06-21  Andreas Jaeger  <aj@suse.de>
66953         [BZ #12194]
66954         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66955         warning.
66956         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66957         * bits/byteswap-16.h (__bswap_16): Likewise.
66958         * bits/byteswap.h (__bswap_constant_16): Likewise.
66960 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66962         [BZ #14117]
66963         * sysdeps/i386/fpu_control.h: Removed.
66964         * sysdeps/x86_64/fpu_control.h: Moved to ...
66965         * sysdeps/x86/fpu_control.h: Here.
66967         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66968         (_FPU_SETCW): Likewise.
66970 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66972         [BZ #14117]
66973         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66974         * sysdeps/x86/fpu/bits/mathinline.h: This.
66975         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66977         [BZ #14050]
66978         [BZ #14117]
66979         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66980         functions if __x86_64__ is defined.
66982 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66984         * string/endian.h: Add !__ASSEMBLER__ condition for including
66985         conversion interfaces.
66987 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66989         [BZ #14241]
66990         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66991         of ABS(x) in calculating zero to negative powers other than odd
66992         integers.
66993         * math/libm-test.inc (pow_test): Add more tests.
66995 2012-06-15  Andreas Jaeger  <aj@suse.de>
66997         * manual/contrib.texi (Contributors): Update entry of Liubov
66998         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66999         Machado Filho.
67001 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67003         * string/string.h: Add __wur to GNU version of strerror_r.
67005 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67007         [BZ #14229]
67008         * string/Makefile (tests): Add tst-strtok_r.
67009         * string/tst-strtok_r.c: New file.
67010         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67011         RAX_LP/RDX_LP on SAVE_PTR.
67013 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67015         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67017 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67019         * libm_test.inc (csqrt_test): Allow more spurious underflow
67020         exceptions.
67021         (j0_test): Likewise.
67022         (j1_test): Likewise.
67023         (y0_test): Likewise.
67024         (y1_test): Likewise.
67026 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67028         * po/Makefile (libc.pot): Use UTF-8 charset.
67030 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67032         [BZ #14210]
67033         Suppress sign-conversion warning from FD_SET.
67034         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67035         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67036         not unsigned long int.
67037         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67039 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67041         [BZ #14050]
67042         [BZ #14117]
67043         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67044         __extern_always_inline instead of __extern_inline.
67045         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67046         (__signbit): Likewise.
67047         (__signbitl): Support C++ namespace.
67048         (lrintf): New inline function.
67049         (lrint): Likewise.
67050         (llrintf): Likewise.
67051         (llrint): Likewise.
67052         (fmaxf): Likewise.
67053         (fmax): Likewise.
67054         (fminf): Likewise.
67055         (fmin): Likewise.
67056         (rint): Likewise.
67057         (rintf): Likewise.
67058         (ceil): Likewise.
67059         (ceilf): Likewise.
67060         (floor): Likewise.
67061         (floorf): Likewise.
67062         (nearbyint): Likewise.
67063         (nearbyintf): Likewise.
67065 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67067         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67068         non-default versions.
67070 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67072         [BZ #14218]
67073         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67075 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67077         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67078         (FE_UPWARD, FE_DOWNWARD): Don't define.
67079         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67080         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67082         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67083         reading it.
67084         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67085         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67087 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67089         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67091         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67092         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67094 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67096         [BZ #14117]
67097         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67098         * sysdeps/i386/fpu/Implies: New file.
67099         * sysdeps/x86_64/fpu/Implies: Likewise.
67100         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67101         * sysdeps/x86/fpu/bits/fenv.h: This.
67103         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67104         __SSE_MATH__.
67106 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67108         [BZ #14134]
67109         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67110         character 0xffff that matches the last element of the
67111         conversion table.
67113 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67115         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67116         fmodl commit.
67118 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67121         values higher than 25.6283.
67123 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67125         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67126         subnormal exponent extraction and add some __builtin_expect.
67127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67128         Fix for subnormal mantissa calculation.
67130 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67132         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67133         cpu2 is -1 and errno is not ENOSYS.
67135 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67137         [BZ #14117]
67138         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67139         * sysdeps/x86/bits/string.h: This.
67140         * sysdeps/x86_64/bits/string.h: Removed.
67142         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67143         if not compiling for x86-64, but compiling for >= i486.
67145         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67146         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67148         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67149         New macro from Linux kernel 3.4.0.
67150         (FP_XSTATE_MAGIC2): Likewise.
67151         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67152         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67153         (struct _fpx_sw_bytes): New struct.
67154         (struct _xsave_hdr): Likewise.
67155         (struct _ymmh_state): Likewise.
67156         (struct _xstate): Likewise.
67158         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67159         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67160         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67161         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67162         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67163         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67165         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67166         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67167         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67168         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67169         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67170         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67172 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67174         [BZ #13743]
67175         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67176         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67177         (sysdep_headers): Include sys/platform/ppc.h.
67178         * sysdeps/powerpc/test-gettimebase.c: Test for
67179         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67180         * manual/Makefile (appendices): Include platform.texi.
67181         * manual/contrib.texi (Contributors): Update @node pointers.
67182         * manual/maint.texi (Maintenance): Likewise.
67183         (Platform): New node.
67184         * manual/platform.texi: New file.  Document the new features.
67186 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67187             Jakub Jelinek  <jakub@redhat.com>
67189         [BZ #14188]
67190         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67191         where __builtin_expect is unavailable.
67193 2012-06-03  David S. Miller  <davem@davemloft.net>
67195         * stdlib/longlong.h: Updated from GCC.
67197 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67199         [BZ #14042]
67200         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67201         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67202         __mcount_internal.
67203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67204         (GLIBC_2.16): Likewise.
67206 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67208         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67210 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67213         (default-abi): New variable.
67214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67215         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67216         variable.
67217         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67218         Likewise.
67219         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67220         Likewise.
67221         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67222         Likewise.
67224         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67225         definition.  Document in comment.
67227 2012-06-01  David S. Miller  <davem@davemloft.net>
67229         * stdlib/longlong.h: Updated from GCC.
67231 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67233         [BZ #14117]
67234         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67235         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67236         sys/debugreg.h sys/io.h here.
67237         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67238         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67239         sys/io.h.
67240         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67241         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67242         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67243         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67244         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67245         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67247         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67248         Define only if __x86_64__ is defined.
67250 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67252         [BZ #14048]
67253         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67254         Use int64_t for variable i.
67255         * math/libm-test.inc (fmod_test): Add more tests.
67257         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67258         z computation is not scheduled after fetestexcept.
67259         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67260         Use math_force_eval instead of asm to ensure calculation scheduled
67261         before exception test.
67262         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67263         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67265 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67268         computation is not scheduled after fetestexcept.
67270 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67272         [BZ #14117]
67273         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67274         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67276 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67278         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67279         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67281 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67283         [BZ #14117]
67284         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67285         <bits/wordsize.h>.
67286         (__WCHAR_MIN): Support __WORDSIZE == 64.
67287         (__WCHAR_MAX): Likewise.
67289         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67290         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67292         [BZ #14183]
67293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67294         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67296         [BZ #14117]
67297         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67298         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67300         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67301         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67303         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67304         Defined to 1 if __x86_64__ isn't defined.
67305         (_STAT_VER_LINUX_OLD): New.
67306         (st_atime): Remove duplicate.
67307         (st_mtime): Likewise.
67308         (st_ctime): Likewise.
67310 2012-05-31  David S. Miller  <davem@davemloft.net>
67312         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67313         entries.
67315 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67317         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67318         gen-libm-test.pl.
67320         [BZ #14132]
67321         * elf/dl-reloc.c: Include <_itoa.h>.
67322         (_dl_reloc_bad_type): Remove use of INTUSE.
67323         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67324         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67325         * stdio-common/psiginfo.c (psiginfo): Likewise.
67326         * stdio-common/psignal.c (psignal): Likewise.
67327         * string/strsignal.c (strsignal): Likewise.
67328         * include/signal.h (_sys_siglist): Declare hidden proto.
67329         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67330         INTVARDEF with libc_hidden_data_def.
67331         * stdio-common/itoa-udigits.c: Likewise.
67332         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67333         (_itoa_lower_digits_internal): Remove declaration.
67334         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67335         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67336         (_sys_sigabbrev_internal): Remove aliases.
67337         (_sys_siglist): Define hidden alias.
67339 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67342         bits/sysctl.h.
67344 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67346         [BZ #14117]
67347         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67348         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67350         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67351         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67352         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67353         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67354         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67355         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67357         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67358         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67359         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67361         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67362         with __addr.
67363         (insw): Likewise.
67364         (insl): Likewise.
67365         (outsb): Likewise.
67366         (outsw): Likewise.
67367         (outsl): Likewise.
67369         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67370         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67371         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67373         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67374         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67375         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67376         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67377         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67378         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67380         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67381         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67383         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67384         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67386         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67387         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67388         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67390         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67391         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67392         to ...
67393         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67395         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67396         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67397         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67399         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67400         for x86-64.
67401         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67403 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67405         * math/math.h (M_El): Use two more decimal places.
67406         (M_LOG2El): Likewise.
67407         (M_LOG10El): Likewise.
67408         (M_LN2l): Likewise.
67409         (M_LN10l): Likewise.
67410         (M_PIl): Likewise.
67411         (M_PI_2l): Likewise.
67412         (M_PI_4l): Likewise.
67413         (M_1_PIl): Likewise.
67414         (M_2_PIl): Likewise.
67415         (M_2_SQRTPIl): Likewise.
67416         (M_SQRT2l): Likewise.
67417         (M_SQRT1_2l): Likewise.
67419 2012-05-31  David S. Miller  <davem@davemloft.net>
67421         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67422         values between float registers.
67423         * sysdeps/sparc/sparc64/memset.S: Likewise.
67424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67426 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67428         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67429         -D_FORTIFY_SOURCE=1.
67430         (CPPFLAGS-tst-longjmp_chk.c): Define.
67431         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67432         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67433         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67434         CFLAGS-tst-wchar-h.c.
67436 2012-05-31  Marek Polacek  <polacek@redhat.com>
67438         [BZ #14132]
67439         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67440         __endmntent_internal): Remove declaration.
67441         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67442         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67443         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67445 2012-05-30  David S. Miller  <davem@davemloft.net>
67447         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67448         (___Q_simulate_exceptions): Use real FP ops rather than writing
67449         into the %fsr.
67450         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67451         Likewise.
67453 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67455         [BZ #14117]
67456         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67457         * sysdeps/x86/bits/xtitypes.h: This.
67459         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67460         * sysdeps/x86/bits/wordsize.h: This.
67462         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67463         * sysdeps/x86/bits/huge_vall.h: This.
67465         * sysdeps/i386/bits/select.h: Removed.
67466         * sysdeps/x86_64/bits/select.h: Renamed to ...
67467         * sysdeps/x86/bits/select.h: This.
67469         * sysdeps/i386/bits/setjmp.h: Removed.
67470         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67471         * sysdeps/x86/bits/setjmp.h: This.
67473         * sysdeps/i386/bits/mathdef.h: Removed.
67474         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67475         * sysdeps/x86/bits/mathdef.h: This.
67477 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67479         [BZ #14132]
67480         * include/sys/socket.h (__connect_internal)
67481         (__libc_sa_len_internal): Remove declaration.
67482         (__connect, __libc_sa_len): Declare hidden_proto.
67483         (SA_LEN): Remove use of INTUSE.
67484         * socket/connect.c: Add libc_hidden_def.
67485         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67486         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67487         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67488         alias.
67489         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67490         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67491         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67492         of adding _internal alias.
67494 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67496         [BZ #14117]
67497         * sysdeps/i386/bits/link.h: Removed.
67498         * sysdeps/i386/bits/linkmap.h: Likewise.
67499         * sysdeps/x86_64/bits/link.h: Renamed to ...
67500         * sysdeps/x86/bits/link.h: This.
67501         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67502         * sysdeps/x86/bits/linkmap.h: This.
67504         * sysdeps/i386/bits/endian.h: Removed.
67505         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67506         * sysdeps/x86/bits/endian.h: This.
67508         * sysdeps/i386/bits/byteswap.h: Removed.
67509         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67510         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67511         * sysdeps/x86/bits/byteswap.h: This.
67512         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67513         * sysdeps/x86/bits/byteswap-16.h: This.
67514         * sysdeps/i386/Implies: Add x86.
67515         * sysdeps/x86_64/Implies: Likewise.
67517 2012-05-30  David S. Miller  <davem@davemloft.net>
67519         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67520         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67521         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67522         (FP_TRAPPING_EXCEPTIONS): Define.
67523         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67524         (FP_TRAPPING_EXCEPTIONS): Define.
67525         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67526         subnormals only when inexact has been signalled or underflow
67527         exceptions are enabled.
67528         (_FP_PACK_CANONICAL): Likewise.
67530 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67532         [BZ #14183]
67533         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67534         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67536 2012-05-30  Richard Henderson  <rth@twiddle.net>
67538         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67539         with #ifndef NOT_IN_libc.
67541         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67542         marked to avoid plt entry.
67544 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67546         [BZ #14112]
67547         * Makeconfig (default-abi): New macro.
67548         (abi-includes): Likewise.
67549         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67550         $(abi-$(default-abi)-lib-soname) for soname if defined.
67551         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67552         abi-variants.
67553         * Makefile (installed-stubs): Likewise.
67554         * include/stubs-biarch.h: Removed.
67555         * scripts/lib-names.awk: Only handle one library at a time.
67556         * scripts/soversions.awk: Remove WORDSIZE support.
67557         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67558         entries.
67559         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67560         Removed.
67561         (syscall-list-default-condition): Likewise.
67562         (syscall-list-default-condition): Likewise.
67563         (syscall-list-includes): Likewise.
67564         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67565         syscall-list-* with abi-*.  Handle undefined abi-variants.
67566         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67567         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67568         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67569         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67570         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67571         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67572         Removed.
67573         (syscall-list-32-options): Likewise.
67574         (syscall-list-32-condition): Likewise.
67575         (syscall-list-64-options): Likewise.
67576         (syscall-list-64-condition): Likewise.
67577         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67578         macro.
67579         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67580         Renamed to ...
67581         (abi-*): This.
67582         (abi-64-ld-soname): New macro.
67583         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67584         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67585         Renamed to ...
67586         (abi-*): This.
67587         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67588         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67590 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67592         * sysdeps/unix/sysv/linux/kernel-features.h
67593         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67594         * sysdeps/unix/sysv/linux/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/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.
67606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67607         include <kernel-features.h>.
67608         [!__NR_ftruncate64]: Remove conditional code.
67609         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67610         [__NR_ftruncate64]: Make code unconditional.
67611         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67613         include <kernel-features.h>.
67614         [!__NR_ftruncate64]: Remove conditional code.
67615         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67616         [__NR_ftruncate64]: Make code unconditional.
67617         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67619         * configure.in (libc_cv_fpie): Weaken to a compile test using
67620         LIBC_TRY_CC_OPTION.
67621         * configure: Regenerated.
67623 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67629         Refreshed.
67630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67636         Refreshed.
67638 2012-05-27  David S. Miller  <davem@davemloft.net>
67640         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67641         (___Q_zero): New.
67642         (__Q_simulate_exceptions): Return void.  Change to simulate
67643         exceptions by writing into the %fsr.
67644         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67645         (__Qp_handle_exceptions): Likewise.
67646         (numbers): Delete.
67647         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67648         __Qp_handle_exceptions.
67649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67650         __Qp_handle_exceptions.
67651         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67652         as unused and give dummy FP_RND_NEAREST initializer.
67653         (FP_INHIBIT_RESULTS): Define.
67654         (___Q_simulate_exceptions): Update declaration.
67655         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67656         formatting.
67657         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67658         as unused and give dummy FP_RND_NEAREST initializer.
67659         (__Qp_handle_exceptions): Update declaration.
67660         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67661         formatting.
67663 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67665         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67666         the temporary FPU control word.
67667         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67668         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67669         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67670         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67671         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67672         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67673         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67674         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67675         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67676         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67677         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67679 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67681         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67682         fields.
67684 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67686         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67687         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67688         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67689         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67690         Likewise.
67691         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67692         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67693         Likewise.
67695 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67697         * po/h.po: Update from translation team.
67699 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67701         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67703         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67704         handling of denormals.
67705         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67706         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67707         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67708         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67709         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67711         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67712         Likewise.
67714 2012-05-26  Marek Polacek  <polacek@redhat.com>
67716         [BZ #14152]
67717         * math/libm-test.inc (fma_test): Don't always expect underflow
67718         exception.
67720 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67722         [BZ #12416]
67723         * elf/tst-execstack.c: Include stackinfo.h.
67724         (do_test): Adjust test case to ensure that pthread_getattr_np
67725         behaviour remains the same after marking stack executable.
67727 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67729         * sysdeps/unix/sysv/linux/kernel-features.h
67730         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67731         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67732         kernel-features.h.
67733         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67734         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67735         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67736         kernel-features.h.
67737         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67738         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67740 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67742         * configure.in: Define the default includes to being none.
67743         * configure: Regenerated.
67745 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67747         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67748         * sysdeps/x86_64/setjmp.S: Likewise.
67749         * sysdeps/i386/bsd-setjmp.S: Likewise.
67750         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67751         * sysdeps/i386/setjmp.S: Likewise.
67752         * sysdeps/i386/__longjmp.S: Likewise.
67753         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67754         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67756         * include/stap-probe.h: New file.
67757         * configure.in: Handle --enable-systemtap.
67758         * configure: Regenerated.
67759         * config.h.in (USE_STAP_PROBE): New #undef.
67760         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67761         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67762         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67764 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67766         [BZ #13717]
67767         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67768         to 2.4.0 where earlier.
67769         * sysdeps/unix/sysv/linux/configure: Regenerated.
67770         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67771         <kernel-features.h>.
67772         [__ASSUME_32BITUIDS]: Make code unconditional.
67773         [!__ASSUME_32BITUIDS]: Remove conditional code.
67774         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67775         <kernel-features.h>.
67776         [__ASSUME_32BITUIDS]: Make code unconditional.
67777         [!__ASSUME_32BITUIDS]: Remove conditional code.
67778         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67779         [__ASSUME_32BITUIDS]: Make code unconditional.
67780         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67781         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
67810         <kernel-features.h>.
67811         [__ASSUME_32BITUIDS]: Make code unconditional.
67812         [!__ASSUME_32BITUIDS]: Remove conditional code.
67813         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67814         <kernel-features.h>.
67815         [__ASSUME_32BITUIDS]: Make code unconditional.
67816         [!__ASSUME_32BITUIDS]: Remove conditional code.
67817         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67818         <kernel-features.h>.
67819         [__ASSUME_32BITUIDS]: Make code unconditional.
67820         [!__ASSUME_32BITUIDS]: Remove conditional code.
67821         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67822         <kernel-features.h>.
67823         [__NR_setresgid] (__setresgid): Do not declare.
67824         [__ASSUME_32BITUIDS]: Make code unconditional.
67825         [!__ASSUME_32BITUIDS]: Remove conditional code.
67826         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67827         <kernel-features.h>.
67828         [__NR_setresuid] (__setresuid): Do not declare.
67829         [__ASSUME_32BITUIDS]: Make code unconditional.
67830         [!__ASSUME_32BITUIDS]: Remove conditional code.
67831         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
67860         <kernel-features.h>.
67861         [__ASSUME_32BITUIDS]: Make code unconditional.
67862         [!__ASSUME_32BITUIDS]: Remove conditional code.
67863         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67864         <kernel-features.h>.
67865         [__ASSUME_32BITUIDS]: Make code unconditional.
67866         [!__ASSUME_32BITUIDS]: Remove conditional code.
67867         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67868         <kernel-features.h>.
67869         [__ASSUME_32BITUIDS]: Make code unconditional.
67870         [!__ASSUME_32BITUIDS]: Remove conditional code.
67871         * sysdeps/unix/sysv/linux/kernel-features.h
67872         (__ASSUME_SETRESUID_SYSCALL): Remove.
67873         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67874         (__ASSUME_32BITUIDS): Likewise.
67875         (__ASSUME_LDT_WORKS): Likewise.
67876         (__ASSUME_O_DIRECTORY): Likewise.
67877         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67878         architecture but not kernel version.
67879         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67880         (__ASSUME_MMAP2_SYSCALL): Likewise.
67881         (__ASSUME_STAT64_SYSCALL): Likewise.
67882         (__ASSUME_IPC64): Likewise.
67883         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67884         <kernel-features.h>.
67885         [__ASSUME_32BITUIDS]: Make code unconditional.
67886         [!__ASSUME_32BITUIDS]: Remove conditional code.
67887         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67888         <kernel-features.h>.
67889         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67890         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67891         132096]: Remove conditional code.
67892         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67893         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67894         <kernel-features.h>.
67895         [__ASSUME_32BITUIDS]: Make code unconditional.
67896         [!__ASSUME_32BITUIDS]: Remove conditional code.
67897         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67898         <kernel-features.h>.
67899         [__ASSUME_32BITUIDS]: Make code unconditional.
67900         [!__ASSUME_32BITUIDS]: Remove conditional code.
67901         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67902         <kernel-features.h>.
67903         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67904         unconditional.
67905         (__setresgid): Do not declare.
67906         [__ASSUME_32BITUIDS]: Make code unconditional.
67907         [!__ASSUME_32BITUIDS]: Remove conditional code.
67908         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67909         <kernel-features.h>.
67910         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67911         unconditional.
67912         (__setresuid): Do not declare.
67913         [__ASSUME_32BITUIDS]: Make code unconditional.
67914         [!__ASSUME_32BITUIDS]: Remove conditional code.
67915         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67916         <kernel-features.h>.
67917         [__ASSUME_32BITUIDS]: Make code unconditional.
67918         [!__ASSUME_32BITUIDS]: Remove conditional code.
67919         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67920         <kernel-features.h>.
67921         [__ASSUME_32BITUIDS]: Make code unconditional.
67922         [!__ASSUME_32BITUIDS]: Remove conditional code.
67924 2012-05-25  Richard Henderson  <rth@twiddle.net>
67926         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67927         dl_hwcap to ifunc resolver.
67928         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67929         elf_ifunc_invoke.
67930         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67931         dl_hwcap to ifunc resolver.
67932         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67934 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67936         [BZ #14153]
67937         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67938         for |x| <= 2**-26, not 2**-57.
67939         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67940         exception.
67942 2012-05-24  Jeff Law  <law@redhat.com>
67944         * stdio-common/Makefile (tests): Add bug25.
67945         * stdio-common/bug25.c: New test.
67947 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67949         [BZ #13576]
67950         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67951         multiple of MALLOC_ALIGNMENT in size.
67952         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67954 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67956         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67957         Require >= 256.
67958         (FILENAME_MAX): Use macro-int-constant.
67959         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67960         (_IOFBF): Use macro-int-constant.
67961         (_IOLBF): Likewise.
67962         (_IONBF): Likewise.
67963         (SEEK_CUR): Likewise.
67964         (SEEK_END): Likewise.
67965         (SEEK_SET): Likewise.
67966         (TMP_MAX): Likewise.
67967         (EOF): Use macro-int-constant.  Require < 0.
67968         (NULL): Use macro-constant.  Require == 0.
67969         (stdin): Require type to be FILE *.
67970         (stdout): Likewise.
67971         (stderr): Likewise.
67972         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67973         macro-int-constant.
67974         (EXIT_SUCCESS): Likewise.
67975         (NULL): Use macro-constant.  Require == 0.
67976         (RAND_MAX): Use macro-int-constant.
67977         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67978         [C99-based standards] (strtof): Require function.
67979         [C99-based standards] (strtold): Likewise.
67980         [C99-based standards] (strtoll): Likewise.
67981         [C99-based standards] (strtoull): Likewise.
67982         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67983         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67984         [ISO || ISO99 || ISO11] (math.h): Likewise.
67985         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67986         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67987         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67989 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67991         [BZ #14132]
67992         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67993         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67994         * intl/dgettext.c (DCGETTEXT): Likewise.
67995         * intl/gettext.c (DCGETTEXT): Likewise.
67996         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67997         * posix/regex_internal.h (gettext): Likewise.
67998         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67999         Remove declaration.
68000         * include/argz.h (__argz_count_internal)
68001         (__argz_stringify_internal): Remove declaration.
68002         (__argz_count, __argz_stringify): Declare hidden proto.
68003         * intl/dcgettext.c: Remove use of INTDEF.
68004         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68005         * string/argz-stringify.c: Likewise.
68006         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68007         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68008         Declare hidden proto.
68009         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68010         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68011         Declare hidden proto.
68012         * include/stdio.h (__asprintf_internal): Don't declare.
68013         (__asprintf): Don't define as macro.  Declare hidden proto.
68014         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68015         (__fsetlocking): Declare hidden proto.
68016         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68017         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68018         hidden proto.
68019         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68020         (_IO_setlinebuf): Remove use of INTUSE.
68021         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68022         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68023         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68024         Remove declaration.
68025         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68026         (_IO_do_flush): Remove use of INTUSE.
68027         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68028         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68029         (_IO_adjust_column, _IO_least_wmarker)
68030         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68031         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68032         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68033         (_IO_default_doallocate, _IO_wdefault_doallocate)
68034         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68035         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68036         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68037         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68038         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68039         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68040         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68041         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68042         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68043         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68044         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68045         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68046         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68047         proto.
68048         (_IO_flush_all_internal, _IO_adjust_column_internal)
68049         (_IO_default_uflow_internal, _IO_default_finish_internal)
68050         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68051         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68052         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68053         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68054         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68055         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68056         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68057         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68058         (_IO_file_close_internal, _IO_file_close_it_internal)
68059         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68060         (_IO_file_init_internal, _IO_file_attach_internal)
68061         (_IO_file_fopen_internal, _IO_file_read_internal)
68062         (_IO_file_sync_internal, _IO_file_seek_internal)
68063         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68064         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68065         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68066         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68067         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68068         (_IO_list_all_internal, _IO_link_in_internal)
68069         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68070         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68071         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68072         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68073         (_IO_do_write_internal, _IO_padn_internal)
68074         (_IO_getline_info_internal, _IO_getline_internal)
68075         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68076         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68077         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68078         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68079         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68080         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68081         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68082         with libc_hidden_ver, remove use of INTUSE.
68083         * libio/genops.c: Likewise.
68084         * libio/freopen.c: Likewise.
68085         * libio/freopen64.c: Likewise.
68086         * libio/iofclose.c: Likewise.
68087         * libio/iofdopen.c: Likewise.
68088         * libio/iofflush.c: Likewise.
68089         * libio/iofflush_u.c: Likewise.
68090         * libio/iofgets.c: Likewise.
68091         * libio/iofgets_u.c: Likewise.
68092         * libio/iofopen.c: Likewise.
68093         * libio/iofopncook.c: Likewise.
68094         * libio/iofread.c: Likewise.
68095         * libio/iofread_u.c: Likewise.
68096         * libio/ioftell.c: Likewise.
68097         * libio/iofwrite.c: Likewise.
68098         * libio/iogetline.c: Likewise.
68099         * libio/iogets.c: Likewise.
68100         * libio/iogetwline.c: Likewise.
68101         * libio/iopadn.c: Likewise.
68102         * libio/iopopen.c: Likewise.
68103         * libio/ioseekoff.c: Likewise.
68104         * libio/ioseekpos.c: Likewise.
68105         * libio/iosetbuffer.c: Likewise.
68106         * libio/iosetvbuf.c: Likewise.
68107         * libio/ioungetc.c: Likewise.
68108         * libio/ioungetwc.c: Likewise.
68109         * libio/iovdprintf.c: Likewise.
68110         * libio/iovsprintf.c: Likewise.
68111         * libio/iovsscanf.c: Likewise.
68112         * libio/memstream.c: Likewise.
68113         * libio/obprintf.c: Likewise.
68114         * libio/oldfileops.c: Likewise.
68115         * libio/oldiofclose.c: Likewise.
68116         * libio/oldiofdopen.c: Likewise.
68117         * libio/oldiofopen.c: Likewise.
68118         * libio/oldiopopen.c: Likewise.
68119         * libio/oldstdfiles.c: Likewise.
68120         * libio/putc.c: Likewise.
68121         * libio/setbuf.c: Likewise.
68122         * libio/setlinebuf.c: Likewise.
68123         * libio/stdfiles.c: Likewise.
68124         * libio/strops.c: Likewise.
68125         * libio/vasprintf.c: Likewise.
68126         * libio/vscanf.c: Likewise.
68127         * libio/vsnprintf.c: Likewise.
68128         * libio/vswprintf.c: Likewise.
68129         * libio/wfiledoalloc.c: Likewise.
68130         * libio/wfileops.c: Likewise.
68131         * libio/wgenops.c: Likewise.
68132         * libio/wmemstream.c: Likewise.
68133         * libio/wstrops.c: Likewise.
68134         * libio/__fpurge.c: Likewise.
68135         * libio/__fsetlocking.c: Likewise.
68136         * assert/assert.c: Likewise.
68137         * debug/fgets_chk.c: Likewise.
68138         * debug/fgets_u_chk.c: Likewise.
68139         * debug/fread_chk.c: Likewise.
68140         * debug/fread_u_chk.c: Likewise.
68141         * debug/gets_chk.c: Likewise.
68142         * debug/obprintf_chk.c: Likewise.
68143         * debug/vasprintf_chk.c: Likewise.
68144         * debug/vdprintf_chk.c: Likewise.
68145         * debug/vsnprintf_chk.c: Likewise.
68146         * debug/vsprintf_chk.c: Likewise.
68147         * malloc/mtrace.c: Likewise.
68148         * misc/error.c: Likewise.
68149         * misc/syslog.c: Likewise.
68150         * stdio-common/asprintf.c: Likewise.
68151         * stdio-common/fxprintf.c: Likewise.
68152         * stdio-common/getw.c: Likewise.
68153         * stdio-common/isoc99_fscanf.c: Likewise.
68154         * stdio-common/isoc99_scanf.c: Likewise.
68155         * stdio-common/isoc99_vfscanf.c: Likewise.
68156         * stdio-common/isoc99_vscanf.c: Likewise.
68157         * stdio-common/isoc99_vsscanf.c: Likewise.
68158         * stdio-common/printf-prs.c: Likewise.
68159         * stdio-common/printf_fp.c: Likewise.
68160         * stdio-common/printf_fphex.c: Likewise.
68161         * stdio-common/printf_size.c: Likewise.
68162         * stdio-common/putw.c: Likewise.
68163         * stdio-common/scanf.c: Likewise.
68164         * stdio-common/sprintf.c: Likewise.
68165         * stdio-common/tmpfile.c: Likewise.
68166         * stdio-common/vfprintf.c: Likewise.
68167         * stdio-common/vfscanf.c: Likewise.
68168         * stdlib/strfmon_l.c: Likewise.
68169         * sunrpc/openchild.c: Likewise.
68170         * sunrpc/xdr_stdio.c: Likewise.
68171         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68172         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68174 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68176         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68178         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68179         in the third column, to generate for the shared library an IFUNC
68180         that uses _dl_vdso_vsym.
68181         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68182         * Makeconfig (object-suffixes-noshared): New variable.
68184         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68185         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68186         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68187         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68189         [BZ #14132]
68190         * include/sys/time.h (__gettimeofday): Remove macro.
68191         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68192         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68193         Remove INTDEF.
68194         (__gettimeofday): Add libc_hidden_def.
68195         (gettimeofday): Add libc_hidden_weak.
68196         * sysdeps/mach/gettimeofday.c: Likewise.
68197         * sysdeps/posix/gettimeofday.c: Likewise.
68198         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68199         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68200         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68201         (__gettimeofday_internal): Remove strong_alias.
68202         (__gettimeofday): Add libc_hidden_def.
68203         (gettimeofday): Add libc_hidden_weak.
68204         * sysdeps/unix/syscalls.list (gettimeofday):
68205         Remove __gettimeofday_internal alias.
68207 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68208             H.J. Lu  <hongjiu.lu@intel.com>
68210         [BZ #12495]
68211         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68212         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68213         (largebin_index_32_big): New.
68214         (largebin_index): Use it for 16-byte alignment.
68215         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68216         correction with front_misalign.
68218 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68222         Likewise.
68223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68224         Likewise.
68225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68226         Likewise.
68227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68228         Likewise.
68229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68230         Likewise.
68231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68232         Likewise.
68233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68234         Likewise.
68235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68236         Likewise.
68237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68238         Likewise.
68239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68240         Likewise.
68241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68242         Likewise.
68243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68244         Likewise.
68246         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68247         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68249 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68251         [BZ #10846]
68252         [BZ #14036]
68253         * math/libm-test.inc (exp_test): Add test from bug 14036.
68254         (pow_test): Add test from bug 10846.
68256         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68257         and other flags.
68258         (special_function): Do not include flags in test name.
68259         (parse_args): Likewise.
68260         * sysdeps/i386/fpu/libm-test-ulps: Update.
68261         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68262         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68263         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68266         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68267         exceptions.
68268         * math/libm-test.inc ("Philosophy"): Update comment about
68269         exception testing.
68270         (UNDERFLOW_EXCEPTION): New macro.
68271         (UNDERFLOW_EXCEPTION_OK): Likewise.
68272         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68273         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68274         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68275         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68276         (INVALID_EXCEPTION_OK): Update value.
68277         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68278         (OVERFLOW_EXCEPTION_OK): Likewise.
68279         (IGNORE_ZERO_INF_SIGN): Likewise.
68280         (test_exceptions): Handle underflow exceptions.
68281         (acos_test): Update for underflow exception expectations.
68282         (cexp_test): Likewise.
68283         (clog_test): Likewise.
68284         (clog10_test): Likewise.
68285         (csqrt_test): Likewise.
68286         (ctan_test): Likewise.
68287         (ctanh_test): Likewise.
68288         (exp_test): Likewise.
68289         (exp10_test): Likewise.
68290         (exp2_test): Likewise.
68291         (expm1_test): Likewise.
68292         (fma_test): Likewise.
68293         (j0_test): Likewise.
68294         (jn_test): Likewise.
68295         (nexttoward_test): Likewise.
68296         (pow_test): Likewise.
68297         (scalbn_test): Likewise.
68298         (scalbln_test): Likewise.
68299         (tan_test): Likewise.
68300         (y1_test): Likewise.
68301         * sysdeps/i386/fpu/libm-test-ulps: Update.
68302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68304 2012-05-23  David S. Miller  <davem@davemloft.net>
68306         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68307         (__libc_sigaction): Remove unused local variables.
68309 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68311         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68313 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68315         mktime: avoid signed integer overflow
68316         * time/mktime.c (__mktime_internal): Do not mishandle the case
68317         where diff == INT_MIN.
68319         mktime: simplify computation of average
68320         * time/mktime.c (ranged_convert): Use new time_t_avg function
68321         instead of rolling our own (probably-slower) code.
68323         mktime: do not assume signed right shift propagates sign bit
68324         * time/mktime.c (isdst_differ): New static function.
68325         (__mktime_internal): No need to normalize tm_isdst now.
68326         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68327         tm_isdst values.
68329         mktime: merge another wrapv change from gnulib
68330         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68331         from some compilers.
68333         mktime: remove incorrect attempt at unusual arithmetics
68334         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68335         The code didn't really work on such machines anyway.
68336         (TYPE_MINIMUM): Assume two's complement.
68337         (twos_complement_arithmetic): Verify that long_int and time_t
68338         are two's complement (or unsigned, in the latter case).
68340         mktime: check signed shifts on long_int and time_t, too
68341         * time/mktime.c (SHR): Check that shifts work as desired
68342         on the types long_int and time_t too, as SHR is used on
68343         such types.
68345         mktime: do not assume 'long' is wide enough
68346         * time/mktime.c (verify): Move decl up.
68347         (long_int): New type.
68348         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68349         to remove assumption in the code that 'long' is wide enough to
68350         store year values.  This assumption is not true on x32 and on
68351         some non-glibc platforms.
68353         mktime: merge wrapv change from gnulib
68354         * time/mktime.c (WRAPV): New macro.
68355         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68356         (guess_time_tm, __mktime_internal): Do not assume that signed
68357         integer overflow wraps around; modern compilers generate code
68358         where this assumption is no longer valid.
68360 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68362         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68363         Replace "jmp L(pseudo_end)" with "ret".
68364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68365         Likewise.
68367 2012-05-23  Andreas Jaeger  <aj@suse.de>
68369         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68370         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68372 2012-05-23  Andreas Jaeger  <aj@suse.de>
68373             Maximilian Attems  <max@stro.at>
68375         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68376         New macros.
68378 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68380         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68381         code so that pseudo_end is just ret and the stack pointer is
68382         correct also for static library in error case.
68384 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68386         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68387         move to syscalls.list.
68388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68393         * manual/install.texi (Running make install): Do not mention Linux
68394         kernel version for which pt_chown is not needed.
68395         (Linux): Do not mention problems with nscd with 2.0 kernels.
68396         * INSTALL: Regenerated.
68398 2012-05-23  Andreas Jaeger  <aj@suse.de>
68400         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68401         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68402         macro.
68403         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68405         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68406         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68407         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68408         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68409         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68410         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68411         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68412         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68413         * sysdeps/unix/sysv/linux/bits/in.h
68414         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68416 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68418         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68419         (PREPARE_VERSION): Just use assert instead, it will be elided
68420         under [NDEBUG] anyway.
68422 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68424         * sysdeps/unix/sysv/linux/Makefile: Include
68425         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68426         (sysdep_routines): Remove sysctl.
68427         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68428         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68429         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68430         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68431         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68433 2012-05-22  Andreas Jaeger  <aj@suse.de>
68435         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68436         that pseudo_end is just ret and the stack pointer is correct also
68437         for static library in error case.
68439 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68441         [BZ #14122]
68442         * nss/nsswitch.c (defconfig_entries): New variable.
68443         (__nss_database_lookup): Don't leak defconfig entries.
68444         (nss_parse_service_list): Don't leak on error paths.
68445         (free_database_entries): New function.
68446         (free_defconfig): New function.
68447         (free_mem): Move common code to free_database_entries.
68449 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68451         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68452         Add arch_prctl.
68453         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68455         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68456         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68458         New macro.
68459         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68460         (INTERNAL_SYSCALL_TYPES): Likewise.
68461         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68462         (LOAD_REGS_TYPES_[1-6]): Likewise.
68463         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68464         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68466 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68468         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68469         copysignl for GLIBC_2_0.
68470         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68471         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68473         logbl for GLIBC_2_0.
68474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68475         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68477 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68479         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68480         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68482         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68483         Use "neg %eax".
68485         * time/mktime.c: Update copyright years.
68487 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68489         mktime: merge comment-quoting-style change from gnulib
68490         * time/mktime.c: Quote 'like this' in comments.
68491         The GNU coding standards suggest that we no longer quote `like this',
68492         as "`" and "'" are typically rendered asymmetrically nowadays.
68493         The typical gnulib style is to quote 'like this' when quoting
68494         code, and "like this" when quoting English.
68496         * time/mktime.c (compile-command): Add "-I.".
68498         mktime: merge mktime-internal.h change from gnulib
68499         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68501         mktime: merge time_r change from gnulib
68502         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68504         mktime: merge DEBUG change from gnulib
68505         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68506         case system <time.h> has a #define.
68508         mktime: merge <sys/types.h> change from gnulib
68509         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68510         since <time.t> is now guaranteed to define time_t.
68512         mktime: merge HAVE_CONFIG_H change from gnulib
68513         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68515 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68518         Use "neg %eax".
68520         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68521         __rlim_t cast.
68522         (struct rusage): Use anonymous union to pad each field to
68523         __syscall_slong_t.
68525 2012-05-21  David S. Miller  <davem@davemloft.net>
68527         * Makefules (o-iterator): Remove .s cases.
68528         (compile-command.s): Delete.
68529         (COMPILE.s): Delete.
68530         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68532 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68534         * configure.in (libc_cv_predef_stack_protector): Only consider
68535         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68536         * configure: Regenerated.
68538 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68541         New macro.  Use R*LP on int and pointer.
68542         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68543         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68544         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68545         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68547         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68548         [__WORDSIZE_TIME64_COMPAT32] instead of
68549         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68550         (struct utmp): Likewise.
68551         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68552         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68553         Renamed to ...
68554         (__WORDSIZE_TIME64_COMPAT32): This.
68555         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68556         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68557         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68558         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68559         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68560         (__WORDSIZE_TIME64_COMPAT32): New macro.
68562 2012-05-21  Andreas Jaeger  <aj@suse.de>
68564         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68565         only if [SHARED]. Add prototype for __wcschr_ia32.
68567 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68569         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68570         of %rbp unmolested in the jmp_buf while mangling the low bits.
68571         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68572         unmolested high bits of %rbp while demangling the low bits.
68573         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68575 2012-05-21  Andreas Jaeger  <aj@suse.de>
68577         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68578         * sunrpc/svc_simple.c: Use it for registerrpc.
68579         * sunrpc/xcrypt.c: Use it for passwd2des.
68581         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68583 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68585         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68586         Don't define if [__SYSCALL_WORDSIZE != 32].
68587         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68588         New macro.
68590 2012-05-21  Bruno Haible  <bruno@clisp.org>
68591             Andreas Jaeger  <aj@suse.de>
68593         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68594         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68595         inptr and inend for must_buffer_ch.
68596         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68597         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68598         * stdio-common/Makefile (tests): Remove bug15.
68599         (bug15-ENV): Remove macro.
68600         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68601         anymore.
68603 2012-05-19  Andreas Jaeger  <aj@suse.de>
68604             Roland McGrath  <roland@hack.frob.com>
68606         * manual/contrib.texi: Completely rewritten. It contains now an
68607         alphabetical list of contributors and their contributions.
68609 2012-05-21  Richard Henderson  <rth@twiddle.net>
68611         * misc/getauxval.c (__getauxval): Use unsigned long int.
68612         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68613         (getauxval): Use unsigned long int.
68615 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68617         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68619 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68621         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68622         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68623         __alignof__ (long double).
68625 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68629 2012-05-20  Richard Henderson  <rth@twiddle.net>
68631         * misc/getauxval.c: New file.
68632         * misc/sys/auxv.h: New file.
68633         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68634         (routines): Add getauxval.
68635         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68636         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68637         * elf/dl-sysdep.c (_dl_auxv): Remove.
68638         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68639         * elf/dl-support.c (_dl_auxv): New variable.
68640         (_dl_aux_init): Initialize it.
68641         * manual/startup.texi (Auxiliary Vector): New node.
68642         * sysdeps/generic/bits/hwcap.h: New file.
68643         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68644         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68645         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68646         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68647         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68648         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68650         Update.
68651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68654         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68660 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68664 2012-05-19  David S. Miller  <davem@davemloft.net>
68666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68668 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68670         [BZ #14123]
68671         * math/s_ccosh.c: Include <float.h>
68672         (__ccosh): Avoid internal overflow calculating sinh and cosh
68673         values before multiplying by sin and cos values.
68674         * math/s_ccoshf.c: Likewise.
68675         * math/s_ccoshl.c: Likewise.
68676         * math/s_csin.c: Likewise.
68677         * math/s_csinf.c: Likewise.
68678         * math/s_csinl.c: Likewise.
68679         * math/s_csinh.c: Likewise.
68680         * math/s_csinhf.c: Likewise.
68681         * math/s_csinhl.c: Likewise.
68682         * math/libm-test.inc (ccos_test): Add more tests.
68683         (ccosh_test): Likewise.
68684         (csin_test): Likewise.
68685         (csinh_test): Likewise.
68686         * sysdeps/i386/fpu/libm-test-ulps: Update.
68687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68689 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68691         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68692         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68694         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68696 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68698         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68699         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68700         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68701         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68702         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68703         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68704         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68705         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68706         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68707         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68708         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68709         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68710         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68711         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68712         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68713         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68714         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68715         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68716         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68717         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68718         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68719         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68720         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68721         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68722         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68723         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68724         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68725         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68726         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68727         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68728         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68730 2012-05-18  Andreas Jaeger  <aj@suse.de>
68732         * csu/.gitignore: Delete.
68734 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68736         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68737         (timex): Use __syscall_slong_t.
68739 2012-05-18  Andreas Jaeger  <aj@suse.de>
68740             Carlos O'Donell  <carlos_odonell@mentor.com>
68742         * manual/install.texi (Configuring and compiling): Update
68743         description about files modified in the source directory.
68744         * INSTALL: Regenerated.
68746 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68748         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68749         value.  Use "or" to set return value to -1.
68750         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68751         negate return value.
68753 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68755         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68756         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68757         failure if the compiler has Graphite support disabled.
68758         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68759         Likewise.
68760         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68761         (CFLAGS-memmove.c): Likewise.
68762         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68763         Likewise.
68765 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68767         * sysdeps/x86_64/x32/_itoa.h: New file.
68769         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68770         getdents system call only if kernel and user dirents have the
68771         same d_ino and d_off.
68773         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68774         LLONG_MAX != LONG_MAX.
68775         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68776         (_fitoa_word): Likewise.
68778         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68779         years.
68780         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68781         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68782         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68784         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68785         include <bits/wordsize.h>.  Check __x86_64__ instead of
68786         __WORDSIZE.
68787         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68788         if __x86_64__ is defined.  Use anonymous union on fpstate.
68790         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68791         anonymous union.
68793 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68795         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68796         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68797         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68798         Refer to _rtld_local_ro instead of _rtld_global_ro.
68799         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68800         Likewise.
68801         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68802         Likewise.
68803         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68804         Likewise.
68805         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68806         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68807         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68809         [BZ #10882]
68810         * sysdeps/powerpc/powerpc32/dl-machine.c
68811         (__elf_machine_runtime_setup) [PROF]: Don't reference
68812         _dl_prof_resolve.
68814 2012-05-18  Andreas Jaeger  <aj@suse.de>
68816         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68817         function only available for GCCs before 3.4 since GCC 3.4
68818         introduced a builtin.
68819         (lrint): Likewise.
68820         (llrintf): Likewise.
68821         (llrint): Likewise.
68822         (fmaxf): Likewise.
68823         (fmax): Likewise.
68824         (fminf): Likewise.
68825         (fmin): Likewise.
68826         (rint): Likewise.
68827         (rintf): Likewise.
68828         (nearbyint): Likewise.
68829         (nearbyintf): Likewise.
68830         (ceil): Likewise.
68831         (ceilf): Likewise.
68832         (floor): Likewise.
68833         (floorf): Likewise.
68835 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68837         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68838         on both fields and cast pointer to __syscall_ulong_t.
68840         * bits/types.h (__fsword_t): New type.
68841         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68842         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68844         (__FSWORD_T_TYPE): Likewise.
68845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68846         (__FSWORD_T_TYPE): Likewise.
68847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68848         (__FSWORD_T_TYPE): Likewise.
68849         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68850         (__FSWORD_T_TYPE): Likewise.
68851         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68852         __SWORD_TYPE with __fsword_t.
68853         (statfs64): Likewise.
68855 2012-05-17  David S. Miller  <davem@davemloft.net>
68857         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68859 2012-05-17  Andreas Jaeger  <aj@suse.de>
68861         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68862         warning.
68864 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68866         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68868 2012-05-17  Andreas Jaeger  <aj@suse.de>
68870         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68871         when it is used.
68873 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68875         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68877 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68879         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68880         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68882 2012-05-17  Andreas Jaeger  <aj@suse.de>
68883             Carlos O'Donell  <carlos_odonell@mentor.com>
68885         [BZ #14059]
68886         * sysdeps/x86_64/multiarch/init-arch.h
68887         (bit_YMM_Usable): Rename to...
68888         (bit_AVX_Usable): ... this.
68889         (bit_FMA4_Usable): New macro.
68890         (bit_XMM_state): New macro.
68891         (bit_YMM_state): New macro.
68892         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68893         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68894         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68895         (CPUID_OSXSAVE): New macro.
68896         (CPUID_AVX): New macro.
68897         (CPUID_FMA4): New macro.
68898         (index_YMM_Usable): Rename to...
68899         (index_AVX_Usable): ... this.
68900         (HAS_AVX): Use HAS_ARCH_FEATURE.
68901         (HAS_FMA4): Likewise.
68902         (HAS_YMM_USABLE): Remove.
68903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68904         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68905         are present.
68906         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68907         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68908         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68909         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68910         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68912 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68914         * math/libm-test.c: Support platforms without multiple rounding modes.
68915         * math/bug-nextafter.c: Support platforms without FP exceptions.
68916         * math/bug-nexttoward.c: Likewise.
68917         * math/test-fenv.c: Likewise.
68918         * math/test-misc.c: Likewise.
68919         * stdlib/bug-getcontext.c: Likewise.
68921 2012-05-17  Andreas Jaeger  <aj@suse.de>
68923         * manual/examples/search.c (critter_cmp): Change signature to
68924         avoid warnings.
68925         * manual/string.texi (Collation Functions): Likewise.
68927 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68929         * bits/types.h: Fold copyright years.
68930         * bits/typesizes.h: Likewise.
68931         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68932         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68933         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68934         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68935         * time/time.h: Likewise.
68937 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68939         [BZ #208]
68940         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68941         in instead of returning them.  Return void.
68942         (__libc_mallinfo): Accumulate over all arenas.
68943         (__malloc_stats): Adjust for change in int_mallinfo interface.
68945 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68947         [BZ #10375]
68948         * configure.in (NM): Add AC_CHECK_TOOL for it.
68949         (libc_extra_cflags): New substituted variable.
68950         Check for -fstack-protector being used implicitly.
68951         * configure: Regenerated.
68952         * config.make.in (config-extra-cflags): New variable,
68953         gets @libc_extra_cflags@.
68954         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68956         [BZ #10375]
68957         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68958         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68959         * configure: Regenerated.
68960         * config.make.in (CPPUNDEFS): New substituted variable.
68961         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68962         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68963         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68965 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68967         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68968         (mq_attr): Use __syscall_slong_t.
68970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68972         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68973         Check __x86_64__ instead of __WORDSIZE.
68974         (_STAT_VER_LINUX): Likewise.
68975         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68976         __syscall_ulong_t and __syscall_slong_t.
68977         (stat64): Likewise.
68979 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68983 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68985         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68987 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68989         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68990         __syscall_ulong_t.
68992         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68993         include <bits/wordsize.h>.  Check __x86_64__ instead of
68994         __WORDSIZE.
68995         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68996         defined.
68997         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68999         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69000         include <bits/wordsize.h>.  Check __x86_64__ instead of
69001         __WORDSIZE.
69002         (user_regs_struct): Use "__extension__ unsigned long long"
69003         instead of "unsigned long" if __x86_64__ is defined.
69004         (user): Likewise.  Pad after pointer field if __ILP32__ is
69005         defined.
69007 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69009         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69010         versions 5 to 9.
69011         * configure: Regenerated.
69012         * manual/install.texi (texinfo): Increase version requirement to
69013         4.5 or later.
69014         * INSTALL: Regenerated.
69016         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69020         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69022         * sysdeps/x86_64/x32/ffs.c: New file.
69024         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69025         __syscall_ulong_t.
69026         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69027         defined.  Use __syscall_ulong_t.
69028         (shminfo): Use __syscall_ulong_t.
69029         (shm_info): Likewise.
69031         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69032         __syscall_ulong_t.
69034         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69035         <bits/wordsize.h>.
69036         (msgqnum_t): Use __syscall_ulong_t.
69037         (msglen_t): Likewise.
69038         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69039         __syscall_ulong_t.
69041         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69042         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69044         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69046         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69047         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69049         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69050         __syscall_slong_t.
69052         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69053         include <bits/wordsize.h>.  Check __x86_64__ instead of
69054         __WORDSIZE.
69056         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69057         "unsigned long long int" if __x86_64__ is defined.
69058         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69060         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69061         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69062         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69064         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69065         <stdint.h>.
69066         (GET_PC): Cast to uintptr_t first.
69067         (GET_FRAME): Likewise.
69068         (GET_STACK): Likewise.
69070         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69071         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69072         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69073         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69074         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69075         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69076         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69077         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69078         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69079         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69080         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69081         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69082         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69083         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69084         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69085         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69086         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69087         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69088         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69089         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69090         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69091         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69092         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69093         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69094         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69095         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69096         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69097         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69098         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69100 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69102         * Makerules (+depfiles): Also collect depfiles from .oS in
69103         $(extra-objs).
69104         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69105         .oS, $(libnldbl-routines)).
69107         * Makerules (native-compile-mkdep-flags): Define.
69108         * sunrpc/Makefile (extra-objs): Add $(addprefix
69109         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69110         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69111         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69112         calling $(make-target-directory).
69114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69116         * bits/types.h (__snseconds_t): Removed.
69117         * time/time.h (struct timespec): Replace __snseconds_t with
69118         __syscall_slong_t.
69119         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69120         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69121         Likewise.
69122         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69123         (__SNSECONDS_T_TYPE): Likewise.
69124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69125         (__SNSECONDS_T_TYPE): Likewise.
69126         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69127         (__SNSECONDS_T_TYPE): Likewise.
69129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69131         * sysdeps/mach/hurd/bits/typesizes.h
69132         (__SYSCALL_SLONG_TYPE): New macro.
69133         (__SYSCALL_ULONG_TYPE): Likewise.
69135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69137         * bits/types.h (__syscall_slong_t): New type.
69138         (__syscall_ulong_t): Likewise.
69140         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69141         (__SYSCALL_ULONG_TYPE): Likewise.
69142         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69143         (__SYSCALL_SLONG_TYPE): Likewise.
69144         (__SYSCALL_ULONG_TYPE): Likewise.
69145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69146         (__SYSCALL_SLONG_TYPE): Likewise.
69147         (__SYSCALL_ULONG_TYPE): Likewise.
69148         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69149         (__SYSCALL_SLONG_TYPE): Likewise.
69150         (__SYSCALL_ULONG_TYPE): Likewise.
69152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69154         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69155         Add sigaltstack-offsets.sym.
69156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69157         <sigaltstack-offsets.h>.
69158         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69159         longjmp_msg pointer.
69160         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69161         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69162         signal stack.
69163         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69165 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69167         * elf/stackguard-macros.h: Remove file.
69168         * sysdeps/generic/stackguard-macros.h: New file.
69169         * sysdeps/i386/stackguard-macros.h: Likewise.
69170         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69171         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69172         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69173         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69174         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69175         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69176         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69177         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69178         <elf/stackguard-macros.h>.
69180         [BZ #14109]
69181         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69182         __aligned__ in attribute.
69183         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69184         (gregset_t): Likewise.
69186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69188         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69189         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69190         * sysdeps/x86_64/x32/Implies-after: New file.
69192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69194         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69195         and access return value for _dl_profile_fixup.  Use R10_LP to
69196         load frame size.
69198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69200         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69204         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69205         * sysdeps/x86_64/x32/sysdep.h: New file.
69207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69209         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69210         * sysdeps/x86_64/setjmp.S: Likewise.
69212 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69214         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69215         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69216         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69217         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69218         remove unused global constant.
69220 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69222         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69223         include of <not-cancel.h>.
69225 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69227         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69229 2012-05-15  Jeff Law  <law@redhat.com>
69230             Andreas Jaeger  <aj@suse.de>
69232         [BZ #13594]
69233         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69234         out from...
69235         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69236         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69237         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69238         code changing __hst_map_handle.map.
69240 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69242         * configure.in (sysnames): Look for Implies-before and Implies-after
69243         files.
69244         * configure: Regenerated.
69246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69248         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69249         8-byte data alignment with LP_SIZE alignment.
69251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69253         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69254         into R10_LP.
69256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69258         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69262         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69263         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69264         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69265         Likewise.
69266         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69270         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69271         (stackinfo_sub_sp): Likewise.
69273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69275         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69276         RAX_LP.
69278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69280         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69281         into R*_LP.
69283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69286         sizes into R*_LP.
69288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69290         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69294         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69295         into R11_LP and load __x86_64_shared_cache_size_half into
69296         R8_LP.
69298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69300         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69301         R8_LP.
69303 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69306         logb for POWER7.
69307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69308         logbf for POWER7.
69309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69310         logbl for POWER7.
69311         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69312         powerpc32/power7/fpu/s_logb.c via #include.
69313         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69314         powerpc32/power7/fpu/s_logbf.c via #include.
69315         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69316         powerpc32/power7/fpu/s_logbl.c via #include.
69318 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69320         * README.libm: Remove file.
69322 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69324         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69325         count for x32.  Use R*_LP and omit operand-size suffix.
69327 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69329         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69330         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69331         * sysdeps/x86_64/x32/shlib-versions: New file.
69333 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69335         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69336         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69337         Use _dl_fatal_printf instead.
69339 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69341         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69342         set if not set by the user.  Do not allow for being unset.
69343         * sysdeps/unix/sysv/linux/configure: Regenerated.
69345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69347         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69348         the `q' suffix from lea and replace .quad with ASM_ADDR.
69350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69353         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69354         instead of $17.
69355         (PTR_DEMANGLE): Likewise.
69357 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69359         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69360         (LP_OP): Likewise.
69361         (ASM_ADDR): Likewise.
69362         (RAX_LP): Likewise.
69363         (RBP_LP): Likewise.
69364         (RBX_LP): Likewise.
69365         (RCX_LP): Likewise.
69366         (RDI_LP): Likewise.
69367         (RSI_LP): Likewise.
69368         (RSP_LP): Likewise.
69369         (R8_LP): Likewise.
69370         (R9_LP): Likewise.
69371         (R10_LP): Likewise.
69372         (R10_LP): Likewise.
69373         (R11_LP): Likewise.
69374         (R12_LP): Likewise.
69375         (R13_LP): Likewise.
69376         (R14_LP): Likewise.
69377         (R15_LP): Likewise.
69379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69381         * sysdeps/x86_64/x32/dl-machine.h: New file.
69383 2012-05-14  Andreas Jaeger  <aj@suse.de>
69385         * manual/Makefile (subdir): Remove export of subdir.
69386         (all): Remove target.
69387         (.PHONY): Remove all from list.
69388         (mkinstalldirs): Remove.
69389         (.PHONY): Remove installdirs from list.
69390         ($(inst_infodir)/libc.info): Use make-target-directory.
69391         (installdirs): Remove.
69392         (subdir_%): Remove.
69393         (glibc-targets): Remove.
69394         (lib): Remove.
69395         (stubs): Remove.
69396         ($(objpfx)stubs ../po/manual.pot): Remove.
69397         ($(objpfx)stamp%): Remove.
69398         (make-target-directory): Remove.
69399         (subdir_install): Remove.
69400         (routines): Remove.
69401         (aux): Remove.
69402         (sources): Remove.
69403         (objects): Remove.
69404         (headers): Remove.
69406         [BZ #13750]
69407         * manual/.gitignore: Remove, it's not needed anymore.
69408         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69409         all files in it.
69410         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69411         directory.
69412         (texis): Renamed to $(objpfx)texis.
69413         (texis-path): New, contains path to generated files.
69414         (chapters.%): Use texis-path for complete path, add extra argument
69415         libc-texinfo.sh.
69416         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69417         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69418         (summary,texi, stamp-summary): Use complete path of
69419         files. Generate files in build dir.
69420         (dir-add.texi): Build in build dir.
69421         (libm-err.texi,stamp-libm-err): Likewise.
69422         (version.texi, stamp-version): Likewise.
69423         (.%c.texi): Likewise.
69424         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69425         (mostlyclean): Remove target.
69426         (realclean): Remove target.
69427         (generated): Add new variable with contents from mostlyclean and
69428         realclean, remove entries duplicated in common-mostlyclean, add
69429         stamp-libm-err and stamp-version.
69430         (generated-dirs): Add libc directory.
69431         ($(inst_infodir)/libc.info): Install files from build dir.
69433         * manual/install.texi (Configuring and compiling): Adjust since
69434         the info files are not part of the tar ball anymore.
69436 2012-05-14  Andreas Jaeger  <aj@suse.de>
69438         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69439         variable.
69441 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69443         [BZ #13717]
69444         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69445         to 2.2.0 where earlier.
69446         * sysdeps/unix/sysv/linux/configure: Regenerated.
69447         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69448         Remove conditional code.
69449         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69450         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69451         Remove conditional code.
69452         [!__NR_lchown]: Likewise.
69453         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69454         [__NR_lchown]: Likewise.
69455         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69456         comment referencing __ASSUME_LCHOWN_SYSCALL.
69457         * sysdeps/unix/sysv/linux/i386/sigaction.c
69458         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69459         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69460         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69461         Remove conditional code.
69462         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69463         (__protocol_available): Remove #if 0 code.
69464         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69465         conditional code.
69466         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69467         * sysdeps/unix/sysv/linux/kernel-features.h
69468         (__ASSUME_GETCWD_SYSCALL): Don't define.
69469         (__ASSUME_REALTIME_SIGNALS): Likewise.
69470         (__ASSUME_PREAD_SYSCALL): Likewise.
69471         (__ASSUME_PWRITE_SYSCALL): Likewise.
69472         (__ASSUME_POLL_SYSCALL): Likewise.
69473         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69474         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69475         non-SPARC.
69476         (__ASSUME_SIOCGIFNAME): Don't define.
69477         (__ASSUME_MSG_NOSIGNAL): Likewise.
69478         (__ASSUME_SENDFILE): Define unconditionally.
69479         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69480         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69481         conditional code.
69482         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69483         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69484         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69485         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69486         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69487         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69488         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69490         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69491         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69493         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69494         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69496         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69497         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69499         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69500         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69502         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69503         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69505         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69506         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69508         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69511         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69512         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69513         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69514         Remove conditional code.
69515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69516         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69517         Remove conditional code.
69518         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69519         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69520         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69521         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69522         Remove conditional code.
69523         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69524         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69525         Remove conditional code.
69526         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69527         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69528         Remove conditional code.
69529         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69530         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69531         Remove conditional code.
69532         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69533         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69534         Remove conditional code.
69535         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69536         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69537         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69538         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69539         * sysdeps/unix/sysv/linux/sigaction.c
69540         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69541         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69542         * sysdeps/unix/sysv/linux/sigpending.c
69543         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69544         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69545         * sysdeps/unix/sysv/linux/sigprocmask.c
69546         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69547         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69548         * sysdeps/unix/sysv/linux/sigsuspend.c
69549         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69550         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69551         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69552         (__libc_missing_rt_sigs): Remove.
69553         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69554         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69555         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69556         Remove conditional code.
69557         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69558         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69559         return 1.
69560         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69561         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69562         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69563         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69565 2012-05-14  Andreas Jaeger  <aj@suse.de>
69567         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69568         it's not used in glibc.
69569         (__coshm1): Likewise.
69570         (__acosh1p): Likewise.
69571         (__sgn): Likewise.
69573         * manual/string.texi (Copying and Concatenation): Add missing
69574         variable in concat example.
69575         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69577 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69579         [BZ #14103]
69580         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69581         __builtin_clzl with __builtin_clzll.
69583 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69585         [BZ #14104]
69586         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69587         libc_freeres_ptr.
69589 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69591         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69592         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69593         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69594         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69596 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69598         * NEWS: Update ia64 info.
69600 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69602         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69603         used as bcopy.
69605 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69607         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69608         * sysdeps/unix/syscalls.list (dup3): Likewise.
69609         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69610         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69612 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69614         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69615         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69617 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69619         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69620         thread pointer.
69621         (TLS_IE): Use mov/add instead of movq/addq to load thread
69622         pointer.
69623         (TLS_GD_PREFIX): New.
69624         (TLS_GD): Use it.
69626 2012-05-11  David S. Miller  <davem@davemloft.net>
69628         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69629         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69630         (_FPU_SETCW): Likewise.
69632 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69634         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69635         is 32-byte aligned.
69637 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69639         [BZ #11837]
69640         * iconvdata/gb18030.c: Update tables.
69641         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69642         characters specially.
69643         (BODY for TO_LOOP): Add encoding of missing ranges.
69645 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69647         [BZ #13673]
69648         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69649         * sysdeps/mach/hurd/dup3.c: Likewise.
69650         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69651         * sysdeps/powerpc/memmove.c:: Likewise.
69653 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69655         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69656         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69658 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69660         * elf/elf.h (R_X86_64_RELATIVE64): New.
69661         (R_X86_64_NUM): Updated.
69662         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69663         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69664         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69665         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69666         tst-quad1pie tst-quad2pie
69667         (modules-names): Add tst-quadmod1 tst-quadmod2.
69668         ($(objpfx)tst-quad1): New dependency.
69669         ($(objpfx)tst-quad2): Likewise.
69670         ($(objpfx)tst-quad1pie): Likewise.
69671         ($(objpfx)tst-quad2pie): Likewise.
69672         * sysdeps/x86_64/tst-quad1.c: New file.
69673         * sysdeps/x86_64/tst-quad1pie.c: New file.
69674         * sysdeps/x86_64/tst-quad2.c: Likewise.
69675         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69676         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69677         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69678         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69679         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69683         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69684         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69685         * streams/stropts.h (t_scalar_t): Define type.
69687         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69688         (_PATH_PRESERVE): Set to "/var/lib".
69689         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69691         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69692         instead of int.
69694         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69695         if __dir_mkfile succeeded.
69697         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69698         checking for _hurd_dtablesize.  Unlock it right after having
69699         finished _hurd_dtable allocation.
69701 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69703         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69704         * sysdeps/mach/hurd/configure: Regenerated.
69705         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69706         special-casing to...
69707         * sysdeps/gnu/configure.in: ... this new file.
69708         * sysdeps/unix/sysv/linux/configure: Regenerated.
69709         * sysdeps/gnu/configure: New generated file.
69711         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69712         for Linux: use nsec instead of usec, as well as:
69713         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69714         members of type struct timespec.
69715         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69716         New macros.
69717         (struct stat64): Likewise.
69718         (_STATBUF_ST_NSEC): New macro.
69719         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69721         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69722         __strtoul_internal rather than strtoul.
69724 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69726         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69727         and reject them.
69729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69731         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69732         which preserves existing values.
69733         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69735 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69737         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69738         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69739         greater than FD_SETSIZE.
69741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69743         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69744         allocated, call __vm_protect to finish enabling the existing space, and
69745         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69746         allocate the remainder.
69748 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69750         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69751         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69755         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69756         sysdeps/mach/hurd/readlink.c.
69758         * posix/tst-sysconf.c (posix_options): Only use
69759         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69760         _POSIX_SYNCHRONIZED_IO when they are defined
69761         * sysdeps/mach/hurd/bits/posix_opt.h:
69762         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69763         (_XOPEN_REALTIME): Undefine macro.
69764         (_XOPEN_REALTIME_THREADS): Undefine macro.
69765         (_XOPEN_SHM): Undefine macro.
69766         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69767         macro to -1.
69768         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69769         macro to -1.
69770         (_POSIX_ASYNC_IO): Undefine macro.
69771         (_POSIX_PRIORITIZED_IO): Undefine macro.
69772         (_POSIX_SPIN_LOCKS): Define macro to -1.
69774         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69775         SA_NODEFER, SA_RESETHAND.
69776         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69777         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69778         F_DUPFD_CLOEXEC.
69780 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69782         * elf/Makefile (pldd-modules): Define unconditionally.
69784 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69786         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69790         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69791         Return ENOENT when name is empty.
69792         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69796         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69798         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69802         Fix mlock in all cases except non-readable pages.
69803         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69804         instead of VM_PROT_ALL as parameter to __vm_wire function.
69806         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69807         (__mkdir): When path is `/', just fail with EEXIST.
69808         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69812         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69813         <sys/uio.h> (for writev).
69814         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69815         and <sys/param.h> (for MIN).
69817 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69819         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69820         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69821         if interrupted.
69823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69825         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69826         Depend on against $(link-rpcuserlibs).
69828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69830         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69831         (__libc_stack_end): Do not use attribute_relro.
69832         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69833         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69834         to libthread-provided value.
69835         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69836         attribute_relro.
69838 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69840         [BZ #3748]
69841         * bits/libc-lock.h (__libc_once_get): New macro.
69842         * sysdeps/mach/bits/libc-lock.h: Likewise.
69843         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69844         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69845         instead of using implementation details.
69847         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69848         * libio/freopen.c: Likewise.
69849         * libio/freopen64.c: Likewise.
69850         * misc/syslog.c: Likewise.
69851         * nscd/connections.c: Likewise.
69852         * nscd/netgroupcache.c: Likewise.
69853         * sysdeps/posix/getcwd.c: Likewise.
69855 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69857         * math/w_ilogbf.c: Add #include <limits.h>.
69859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69861         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69862         path instead of returning without unlocking.
69864         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69865         immediate-write ioctls.
69866         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69870         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69871         __builtin_frame_address instead of making assumptions about the
69872         location of the return address relative to DATA.  Force early load of
69873         the return address.
69874         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69875         __builtin_frame_address.
69877         dup3 for GNU Hurd.
69878         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69879         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69880         implement dup3 and do some further code clean-ups.
69881         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69882         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69886         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69888         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69889         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69890         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69891         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69892         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69893         d->port.lock.
69895         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69896         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69897         when handler == SIG_ERR, not when handler != SIG_ERR.
69899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69901         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69902         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69903         definitions.
69905         accept4 for GNU Hurd.
69906         * include/sys/socket.h (__libc_accept4): New prototype.
69907         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69908         to implement __libc_accept4.
69909         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69910         __libc_accept4.
69911         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69913         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69914         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69915         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69916         signal-defines.sym.
69918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69920         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69922 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69924         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69925         assertion on O_CLOEXEC flag.
69926         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69927         * hurd/intern-fd.c: Likewise.
69928         * hurd/port2fd.c: Likewise.
69930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69932         [BZ #3906]
69933         * bits/in.h (IPV6_PKTINFO): Define new macro.
69934         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69936 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69938         [BZ #13954]
69939         [BZ #13955]
69940         [BZ #13956]
69941         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69942         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69943         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69944         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69945         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69946         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69947         * math/libm-test.inc (logb_test) : Additional logb tests.
69949 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69950             Andreas Jaeger  <aj@suse.de>
69952         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69953         * configure: Regenerated.
69954         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69955         * config.make.in (link-obsolete-rpc): New substituted variable.
69956         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69957         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69958         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69959         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69960         so that libc.a contains the symbols.
69961         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69962         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69963         * sunrpc/auth_none.c: Likewise.
69964         * sunrpc/auth_unix.c: Likewise.
69965         * sunrpc/authdes_prot.c: Likewise.
69966         * sunrpc/authuxprot.c: Likewise.
69967         * sunrpc/clnt_gen.c: Likewise.
69968         * sunrpc/clnt_perr.c: Likewise.
69969         * sunrpc/clnt_raw.c: Likewise.
69970         * sunrpc/clnt_simp.c: Likewise.
69971         * sunrpc/clnt_tcp.c: Likewise.
69972         * sunrpc/clnt_udp.c: Likewise.
69973         * sunrpc/clnt_unix.c: Likewise.
69974         * sunrpc/des_crypt.c: Likewise.
69975         * sunrpc/des_soft.c: Likewise.
69976         * sunrpc/get_myaddr.c: Likewise.
69977         * sunrpc/key_call.c: Likewise.
69978         * sunrpc/key_prot.c: Likewise.
69979         * sunrpc/netname.c: Likewise.
69980         * sunrpc/pm_getmaps.c: Likewise.
69981         * sunrpc/pm_getport.c: Likewise.
69982         * sunrpc/pmap_clnt.c: Likewise.
69983         * sunrpc/pmap_prot.c: Likewise.
69984         * sunrpc/pmap_prot2.c: Likewise.
69985         * sunrpc/pmap_rmt.c: Likewise.
69986         * sunrpc/publickey.c: Likewise.
69987         * sunrpc/rpc_cmsg.c: Likewise.
69988         * sunrpc/rpc_common.c: Likewise.
69989         * sunrpc/rpc_dtable.c: Likewise.
69990         * sunrpc/rpc_prot.c: Likewise.
69991         * sunrpc/rpc_thread.c: Likewise.
69992         * sunrpc/rtime.c: Likewise.
69993         * sunrpc/svc.c: Likewise.
69994         * sunrpc/svc_auth.c: Likewise.
69995         * sunrpc/svc_raw.c: Likewise.
69996         * sunrpc/svc_run.c: Likewise.
69997         * sunrpc/svc_tcp.c: Likewise.
69998         * sunrpc/svc_udp.c: Likewise.
69999         * sunrpc/svc_unix.c: Likewise.
70000         * sunrpc/svcauth_des.c: Likewise.
70001         * sunrpc/xcrypt.c: Likewise.
70002         * sunrpc/xdr.c: Likewise.
70003         * sunrpc/xdr_array.c: Likewise.
70004         * sunrpc/xdr_float.c: Likewise.
70005         * sunrpc/xdr_intXX_t.c: Likewise.
70006         * sunrpc/xdr_mem.c: Likewise.
70007         * sunrpc/xdr_rec.c: Likewise.
70008         * sunrpc/xdr_ref.c: Likewise.
70009         * sunrpc/xdr_sizeof.c: Likewise.
70010         * sunrpc/xdr_stdio.c: Likewise.
70012 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70014         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70015         change.  Update copyright years.
70017 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70019         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70021 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70022             Joseph Myers  <joseph@codesourcery.com>
70023             Paul Pluzhnikov  <ppluzhnikov@google.com>
70025         [BZ #14012]
70026         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70027         requiring rpcgen.
70028         [cross-compiling] (extra-libs): Likewise.
70029         [cross-compiling] (extra-libs-others): Likewise.
70030         [cross-compiling] (librpcsvc-routines): Likewise.
70031         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70032         [cross-compiling] (omit-deps): Likewise.
70033         (sunrpc-CPPFLAGS): New variable.
70034         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70035         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70036         (cross-rpcgen-objs): New variable.
70037         (extra-objs): Append $(cross-rpcgen-objs).
70038         ($(cross-rpcgen-objs)): New rule.
70039         ($(objpfx)cross-rpcgen): Likewise.
70040         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70041         comment.
70042         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70043         ($(objpfx)x%.stmp): Likewise.
70044         * sunrpc/proto.h [IS_IN_build] (_): Define.
70045         [IS_IN_build] (_libc_intl_domainname): Likewise.
70047 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70050         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70051         and R_X86_64_TPOFF64.
70053 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70055         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70056         sysdeps/unix/sysv/syscalls.list.
70057         (stime): Likewise.
70058         (utime): Likewise.
70059         * sysdeps/unix/sysv/syscalls.list: Remove file.
70061 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70063         [BZ #3440]
70064         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70065         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70066         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70067         (__LC_IDENTIFICATION): Make these macros useful in #if
70068         expressions, as required by C99.
70070 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70072         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70073         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70074         after this.
70076 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70078         * stdlib/longlong.h: Updated from GCC.
70080 2012-05-09  Andreas Jaeger  <aj@suse.de>
70082         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70083         default is first entry.
70084         (run_mode): Set type.
70085         (main): Remove informal message about syslog.
70086         (options): Fix typo.
70088         [BZ #14053]
70089         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70090         to asm.
70091         (lrint): Likewise.
70092         (llrintf): Likewise.
70093         (llrint): Likewise.
70094         (rint): Likewise.
70095         (rintf): Likewise.
70096         (nearbyint): Likewise.
70097         (nearbyintf): Likewise.
70099 2012-05-09  Andreas Jaeger  <aj@suse.de>
70100             Pedro Alves  <palves@redhat.com>
70102         * nscd/nscd.c (run_mode): Use enum.
70103         (main): Cleanup coding style issue.
70105 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70106             Andreas Jaeger  <aj@suse.de>
70108         * nscd/nscd.c (go_background): Replaced with...
70109         (run_mode): ... this.
70110         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70111         (options): Add -F --foreground.
70112         (main): Implement it.
70113         (parse_opt): Parse it.
70115 2012-05-09  Andreas Jaeger  <aj@suse.de>
70117         [BZ #14083]
70118         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70119         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70120         -Wconversion warning.
70121         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70122         Likewise.
70124 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70126         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70127         == 0.
70128         (LC_ALL): Use macro-int-constant.
70129         (LC_COLLATE): Likewise.
70130         (LC_CTYPE): Likewise.
70131         (LC_MESSAGES): Likewise.
70132         (LC_MONETARY): Likewise.
70133         (LC_NUMERIC): Likewise.
70134         (LC_TIME): Likewise.
70135         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70136         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70138         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70139         Specify type.
70140         [C99-based standards] (float_t): Expect type.
70141         [C99-based standards] (double_t): Expect type.
70142         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70143         type.
70144         [C99-based standards] (HUGE_VALL): Likewise.
70145         [C99-based standards] (INFINITY): Likewise.
70146         [C99-based standards] (NAN): Likewise.
70147         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70148         [C99-based standards] (FP_NAN): Likewise.
70149         [C99-based standards] (FP_NORMAL): Likewise.
70150         [C99-based standards] (FP_SUBNORMAL): Likewise.
70151         [C99-based standards] (FP_ZERO): Likewise.
70152         [C99-based standards] (FP_FAST_FMA): Use
70153         optional-macro-int-constant.  Specify type.  Require == 1.
70154         [C99-based standards] (FP_FAST_FMAF): Likewise.
70155         [C99-based standards] (FP_FAST_FMAL): Likewise.
70156         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70157         [C99-based standards] (FP_ILOGBNAN): Likewise.
70158         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70159         Specify type.
70160         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70161         [C99-based standards] (math_errhandling): Specify type.
70162         [ISO99 || ISO11] (signgam): Do not allow.
70163         [non-C99-based standards] (copysignf): Do not allow.
70164         [non-C99-based standards] (exp2f): Likewise.
70165         [non-C99-based standards] (log2f): Likewise.
70166         [non-C99-based standards] (modff): Allow.
70167         [non-C99-based standards] (erff): Do not allow.
70168         [non-C99-based standards] (erfcf): Likewise.
70169         [non-C99-based standards] (gammaf): Likewise.
70170         [non-C99-based standards] (hypotf): Likewise.
70171         [non-C99-based standards] (j0f): Likewise.
70172         [non-C99-based standards] (j1f): Likewise.
70173         [non-C99-based standards] (jnf): Likewise.
70174         [non-C99-based standards] (lgammaf): Likewise.
70175         [non-C99-based standards] (tgammaf): Likewise.
70176         [non-C99-based standards] (y0f): Likewise.
70177         [non-C99-based standards] (y1f): Likewise.
70178         [non-C99-based standards] (ynf): Likewise.
70179         [non-C99-based standards] (isnanf): Likewise.
70180         [non-C99-based standards] (acoshf): Likewise.
70181         [non-C99-based standards] (asinhf): Likewise.
70182         [non-C99-based standards] (atanhf): Likewise.
70183         [non-C99-based standards] (cbrtf): Likewise.
70184         [non-C99-based standards] (expm1f): Likewise.
70185         [non-C99-based standards] (ilogbf): Likewise.
70186         [non-C99-based standards] (log1pf): Likewise.
70187         [non-C99-based standards] (logbf): Likewise.
70188         [non-C99-based standards] (nextafterf): Likewise.
70189         [non-C99-based standards] (remainderf): Likewise.
70190         [non-C99-based standards] (rintf): Likewise.
70191         [non-C99-based standards] (scalbf): Likewise.
70192         [non-C99-based standards] (copysignl): Likewise.
70193         [non-C99-based standards] (exp2l): Likewise.
70194         [non-C99-based standards] (log2l): Likewise.
70195         [non-C99-based standards] (modfl): Allow.
70196         [non-C99-based standards] (erfl): Do not allow.
70197         [non-C99-based standards] (erfcl): Likewise.
70198         [non-C99-based standards] (gammal): Likewise.
70199         [non-C99-based standards] (hypotl): Likewise.
70200         [non-C99-based standards] (j0l): Likewise.
70201         [non-C99-based standards] (j1l): Likewise.
70202         [non-C99-based standards] (jnl): Likewise.
70203         [non-C99-based standards] (lgammal): Likewise.
70204         [non-C99-based standards] (tgammal): Likewise.
70205         [non-C99-based standards] (y0l): Likewise.
70206         [non-C99-based standards] (y1l): Likewise.
70207         [non-C99-based standards] (ynl): Likewise.
70208         [non-C99-based standards] (isnanl): Likewise.
70209         [non-C99-based standards] (acoshl): Likewise.
70210         [non-C99-based standards] (asinhl): Likewise.
70211         [non-C99-based standards] (atanhl): Likewise.
70212         [non-C99-based standards] (cbrtl): Likewise.
70213         [non-C99-based standards] (expm1l): Likewise.
70214         [non-C99-based standards] (ilogbl): Likewise.
70215         [non-C99-based standards] (log1pl): Likewise.
70216         [non-C99-based standards] (logbl): Likewise.
70217         [non-C99-based standards] (nextafterl): Likewise.
70218         [non-C99-based standards] (remainderl): Likewise.
70219         [non-C99-based standards] (rintl): Likewise.
70220         [non-C99-based standards] (scalbl): Likewise.
70221         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70222         [non-C99-based standards] (FP_*): Do not allow.
70223         [C99-based standards] (FP_*): Change to
70224         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70225         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70226         allow.
70227         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70228         (SIG_ERR): Likewise.
70229         [X/Open-based standards] (SIG_HOLD): Likewise.
70230         (SIG_IGN): Likewise.
70231         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70232         positive value.
70233         (SIGFPE): Likewise.
70234         (SIGILL): Likewise.
70235         (SIGINT): Likewise.
70236         (SIGSEGV): Likewise.
70237         (SIGTER): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70239         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70240         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70241         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70242         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70243         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70244         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70245         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70246         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70247         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70248         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70249         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70250         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70251         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70252         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70253         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70254         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70255         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70256         [X/Open-based standards] (SIGTRAP): Likewise.
70257         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70258         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70259         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70260         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70261         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70262         allow.
70264 2012-05-08  Ian Wienand  <ianw@vmware.com>
70266         [BZ #14080]
70267         * time/tzset.c (__tzset_parse_tz): Update default rules for
70268         daylight time changes in the Energy Policy Act of 2005.
70270 2012-05-09  Andreas Jaeger  <aj@suse.de>
70272         [BZ #13983]
70273         * elf/ldconfig.c (parse_conf): Change string to make clear that
70274         ldconfig only issued a warning if ld.so.conf does not exist.
70276 2012-05-08  David S. Miller  <davem@davemloft.net>
70278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70279         movxtod instead of popping the value on the stack.
70281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70283 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70285         * config.h.in: Add HAVE_ARM_PCS_VFP.
70287 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70289         [BZ #13979]
70290         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70291         checking but the checks are disabled for any reason.
70293 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70295         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70296         and ELF64_R_TYPE with ELFW(R_TYPE).
70298 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70300         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70301         (ulimit): Likewise.
70303         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70304         (settimeofday): Likewise.
70306 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70308         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70309         a struct th_u2 inside the union, and move tu_block/tu_code into
70310         a new th_u3 union of tu_block/tu_code inside of that.  Move
70311         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70312         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70313         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70314         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70315         (th_stuff): Change to th_u1.tu_stuff.
70316         (th_data): Define.
70317         (th_msg): Change to th_u1.th_u2.tu_data.
70319 2012-05-07  David S. Miller  <davem@davemloft.net>
70321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70323         [BZ #14074]
70324         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70325         (SETUP_PIC_REG): Use it.
70326         (SETUP_PIC_REG_LEAF): Use it.
70328 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70330         [BZ #13885]
70331         [BZ #13923]
70332         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70333         USE_AS_EXPM1L.
70334         (EXPL_FINITE): Likewise.
70335         (FLDLOG): Likewise.
70336         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70337         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70338         e_expl.S.
70339         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70340         USE_AS_EXPM1L.
70341         (EXPL_FINITE): Likewise.
70342         (FLDLOG): Likewise.
70343         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70344         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70345         e_expl.S.
70346         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70347         test of -max_value argument for long double.
70348         * sysdeps/i386/fpu/libm-test-ulps: Update.
70349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70351 2012-05-06  David S. Miller  <davem@davemloft.net>
70353         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70354         quad soft-float symbols whose references which are compiler
70355         generated.
70356         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70358 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70360         [BZ #13884]
70361         [BZ #13914]
70362         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70363         USE_AS_EXP10L.
70364         (EXPL_FINITE): Likewise.
70365         (FLDLOG): Likewise.
70366         (c0): Likewise.
70367         (c1): Likewise.
70368         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70369         Adjust comments for base varying.
70370         (__expl_finite): Change alias to EXPL_FINITE.
70371         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70372         e_expl.S.
70373         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70374         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70375         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70376         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70377         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70378         USE_AS_EXP10L.
70379         (EXPL_FINITE): Likewise.
70380         (FLDLOG): Likewise.
70381         (c0): Likewise.
70382         (c1): Likewise.
70383         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70384         Adjust comments for base varying.
70385         (__expl_finite): Change alias to EXPL_FINITE.
70386         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70387         tests for bugs.
70388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70390         [BZ #14064]
70391         * math/libm-test.inc (check_float_internal): Correct ulp
70392         calculation for subnormal expected results.
70394 2012-05-06  Andreas Jaeger  <aj@suse.de>
70396         * Makeconfig (+math-flags): New, set to -frounding-math.
70397         (+cflags): Add +math-flags so that all of glibc gets compiled with
70398         it.
70400         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70402 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70404         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70405         Disable one test.
70407         [BZ #13787]
70408         [BZ #13922]
70409         [BZ #14036]
70410         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70411         (__ieee754_expl): Allow for and saturate large arguments.
70412         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70413         (u_threshold): Likewise.
70414         (__exp): Call __ieee754_exp before checking for overflow and
70415         underflow.
70416         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70417         (u_threshold): Likewise.
70418         (__expf): Call __ieee754_expf before checking for overflow and
70419         underflow.
70420         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70421         (u_threshold): Likewise.
70422         (__expl): Call __ieee754_expl before checking for overflow and
70423         underflow.
70424         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70425         (__ieee754_expl): Allow for and saturate large arguments.
70426         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70427         missing overflow exception on overflow.
70428         (expm1_test): Do not allow missing overflow exception on overflow.
70430         * sysdeps/i386/fpu/e_expl.c: Move to ...
70431         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70432         rather than using inline asm.
70433         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70434         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70435         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70437         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70438         (nice): Likewise.
70439         (poll): Likewise.
70440         (signal): Likewise.
70441         (time): Likewise.
70442         (times): Likewise.
70444 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70446         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70447         sysdeps/unix/common/syscalls.list.
70448         (fchmod): Likewise.
70449         (fchown): Likewise.
70450         (ftruncate): Likewise.
70451         (getrusage): Likewise.
70452         (gettimeofday): Likewise.
70453         (setpgid): Likewise.
70454         (setregid): Likewise.
70455         (setreuid): Likewise.
70456         (sigaction): Likewise.
70457         (truncate): Likewise.
70458         (vhangup): Likewise.
70459         * sysdeps/unix/common/syscalls.list: Remove file.
70460         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70461         * sysdeps/unix/sysv/linux/Implies: Likewise.
70463 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70465         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70467         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70468         Moved to ...
70469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70470         Here.
70471         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70472         to ...
70473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70474         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70475         to ...
70476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70477         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70478         to ...
70479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70480         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70481         to ...
70482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70483         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70484         to ...
70485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70486         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70487         to ...
70488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70489         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70490         to ...
70491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70492         Here.
70493         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70494         to ...
70495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70496         Here.
70497         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70498         to ...
70499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70500         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70501         Moved to ...
70502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70503         Here.
70504         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70505         to ...
70506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70508 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70510         * sysdeps/unix/common/bits/dirent.h: Remove file.
70511         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70513         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70514         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70515         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70516         * sysdeps/unix/bsd/isatty.c: Likewise.
70517         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70518         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70519         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70521 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70523         [BZ #13563]
70524         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70525         long double comparison inaccuracies.
70526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70529 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70531         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70532         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70534 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70536         [BZ #14049]
70537         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70538         nonzero digits before rounding a hex value.
70539         * stdlib/tst-strtod.c (tests): Add another test.
70541 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70543         * sysdeps/s390/fpu/libm-test-ulps: Update.
70545 2012-05-03  Andreas Jaeger  <aj@suse.de>
70547         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70548         does not get optimized out.
70549         (malloc_opt_barrier): New.
70551 2012-05-03  Andreas Jaeger  <aj@suse.de>
70552             Roland McGrath  <roland@hack.frob.com>
70554         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70555         intermediate file deletion.
70556         (generated): Add .symlist files.
70558 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70560         [BZ #13775]
70561         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70562         Redirect under this condition.
70563         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70564         [__USE_GNU] (__dprintf_chk): Not under this condition.
70565         [__USE_GNU] (__vdprintf_chk): Likewise.
70566         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70567         under this condition.
70568         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70569         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70570         [__USE_XOPEN2K8] (vdprintf): Likewise.
70571         [__USE_GNU] (__dprintf_chk): Not under this condition.
70572         [__USE_GNU] (__vdprintf_chk): Likewise.
70573         [__USE_GNU] (dprintf): Likewise.
70574         [__USE_GNU] (vdprintf): Likewise.
70576 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70578         * elf/Makefile (common-generated): Set this instead of generated for
70579         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70580         $(all-built-dso)-derived lists.
70582 2012-05-03  Andreas Jaeger  <aj@suse.de>
70584         * sysdeps/i386/fpu/libm-test-ulps: Update.
70586         * FAQ: Removed.
70587         * FAQ.in: Likewise.
70588         * scripts/gen-FAQ.pl: Likewise.
70589         * manual/install.texi (Installation): Point to online location of
70590         FAQ.
70591         * Makefile (files-for-dist): Remove FAQ.
70592         (FAQ): Remove.
70594 2012-05-02  Allan McRae  <allan@archlinux.org>
70596         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70597         (LDFLAGS-reldepmod5.so): Likewise.
70598         (LDFLAGS-reldep6mod1.so): Likewise.
70599         (LDFLAGS-reldep6mod4.so): Likewise.
70600         (LDFLAGS-reldep8mod3.so): Likewise.
70601         (LDFLAGS-unload4mod1.so): Likewise.
70602         (LDFLAGS-unload4mod2.so): Likewise.
70603         (LDFLAGS-tst-initorder): Likewise.
70604         (LDFLAGS-tst-initordera2.so): Likewise.
70605         (LDFLAGS-tst-initordera3.so): Likewise.
70606         (LDFLAGS-tst-initordera4.so): Likewise.
70607         (LDFLAGS-tst-initorderb2.so): Likewise.
70608         (LDFLAGS-noload): Likewise.
70609         (LDFLAGS-next): Likewise.
70610         (LDFLAGS-order2mod1.so): Likewise.
70611         (LDFLAGS-order2mod2.so): Likewise.
70612         (LDFLAGS-tst-initorder2): Likewise.
70613         (LDFLAGS-tst-initorder2a.so): Likewise.
70614         (LDFLAGS-tst-initorder2b.so): Likewise.
70615         (LDFLAGS-tst-initorder2c.so): Likewise.
70616         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70618 2012-05-02  David S. Miller  <davem@davemloft.net>
70620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70622 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70624         [BZ #14055]
70625         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70627 2012-05-02  Andreas Jaeger  <aj@suse.de>
70629         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70630         since we manipulate rounding mode.
70631         (CPPFLAGS-test-idouble.c): Likewise.
70632         (CPPFLAGS-test-ifloat.c): Likewise.
70633         (CFLAGS-test-ldouble.c): Likewise.
70634         (CFLAGS-test-double.c): Likewise.
70635         (CFLAGS-test-float.c): Likewise.
70636         (CFLAGS-test-misc.c): Likewise.
70637         (CFLAGS-test-test-fenv.c): Likewise.
70639 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70641         [BZ #2550]
70642         [BZ #2570]
70643         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70644         comparisons to determine direction to adjust input.
70646 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70648         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70649         output to the target.
70651         * scripts/localplt.awk: New file.
70652         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70653         (check-localplt-CFLAGS): Variable removed.
70654         ($(all-built-dso:=.jmprel)): New static pattern rule.
70655         (generated): Add those targets.
70656         (localplt-built-dso): New variable.
70657         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70659         * elf/check-localplt.c: File removed.
70661         * scripts/check-execstack.awk: New file.
70662         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70663         (check-execstack-CFLAGS): Variable removed.
70664         ($(objpfx)check-execstack.h): Target removed.
70665         ($(objpfx)execstack-default): New target.
70666         (generated): Add that instead of check-execstack.h.
70667         ($(all-built-dso:=.phdr)): New static pattern rule.
70668         (generated): Add those targets.
70669         * elf/check-execstack.c: File removed.
70671         * scripts/check-textrel.awk: New file.
70672         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70673         (check-textrel-CFLAGS): Variable removed.
70674         (all-built-dso): Use := to define.o
70675         ($(all-built-dso:=.dyn)): New static pattern rule.
70676         (generated): Add those targets.
70677         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70678         * config.make.in (READELF): New substituted variable.
70679         * elf/check-textrel.c: File removed.
70681 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70683         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70684         allow.
70685         * conform/data/ctype.h-data [C99-based standards] (isblank):
70686         Expect function.
70687         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70688         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70689         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70690         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70691         Specify type.  Require positive value.
70692         (EILSEQ): Likewise.
70693         (ERANGE): Likewise.
70694         [ISO || POSIX] (EILSEQ): Do not expect.
70695         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70696         Specify type.  Require positive value.
70697         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70698         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70699         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70700         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70701         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70702         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70703         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70704         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70705         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70706         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70707         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70708         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70709         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70710         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70711         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70712         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70713         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70714         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70715         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70716         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70717         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70718         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70719         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70720         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70721         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70722         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70723         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70724         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70725         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70726         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70727         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70728         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70729         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70730         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70731         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70732         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70733         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70734         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70735         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70736         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70737         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70738         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70739         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70740         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70741         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70742         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70743         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70744         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70745         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70746         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70747         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70748         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70749         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70750         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70751         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70752         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70753         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70754         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70755         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70756         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70757         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70758         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70759         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70760         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70761         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70762         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70763         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70764         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70765         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70766         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70767         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70768         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70769         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70770         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70771         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70772         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70773         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70774         Require >= 2.
70775         (FLT_ROUNDS): Expect as macro, not constant.
70776         (FLT_MANT_DIG): Use macro-int-constant.
70777         (DBL_MANT_DIG): Likewise.
70778         (LDBL_MANT_DIG): Likewise.
70779         (FLT_DIG): Likewise.
70780         (DBL_DIG): Likewise.
70781         (LDBL_DIG): Likewise.
70782         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70783         (DBL_MIN_EXP): Likewise.
70784         (LDBL_MIN_EXP): Likewise.
70785         (FLT_MAX_EXP): Use macro-int-constant.
70786         (DBL_MAX_EXP): Likewise.
70787         (LDBL_MAX_EXP): Likewise.
70788         (FLT_MAX_10_EXP): Likewise.
70789         (DBL_MAX_10_EXP): Likewise.
70790         (LDBL_MAX_10_EXP): Likewise.
70791         (FLT_MAX): Use macro-constant.
70792         (DBL_MAX): Likewise.
70793         (LDBL_MAX): Likewise.
70794         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70795         (DBL_EPSILON): Likewise.
70796         (LDBL_EPSILON): Likewise.
70797         (FLT_MIN): Likewise.
70798         (DBL_MIN): Likewise.
70799         (LDBL_MIN): Likewise.
70800         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70801         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70802         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70803         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70804         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70805         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70806         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70807         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70808         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70809         [ISO11] (FLT_TRUE_MIN): Likewise.
70810         [ISO11] (LDBL_TRUE_MIN): Likewise.
70811         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70812         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70813         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70814         (SCHAR_MAX): Likewise.
70815         (UCHAR_MAX): Likewise.
70816         (CHAR_MIN): Likewise.
70817         (CHAR_MAX): Likewise.
70818         (MB_LEN_MAX): Use macro-int-constant.
70819         (SHRT_MIN): Use macro-int-constant.  Specify type.
70820         (SHRT_MAX): Likewise.
70821         (USHRT_MAX): Likewise.
70822         (INT_MAX): Likewise.
70823         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70824         bound negative.
70825         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70826         bound with "U".
70827         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70828         bound with "L".
70829         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70830         bound negative.  Suffix upper bound with "L".
70831         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70832         bound with "UL".
70833         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70834         Specify type.
70835         [C99-based standards] (LLONG_MAX): Likewise.
70836         [C99-based standards] (ULLONG_MAX): Likewise.
70837         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70838         == 0.
70839         [ISO11] (max_align_t): Require type.
70840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70842         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70843         from $CFLAGS, without defining away __attribute__ calls.
70844         (checknamespace): Use $CFLAGS_namespace.
70846         * conform/conformtest.pl (@keywords): Only include C99 keywords
70847         for standards based on C99 or C11.
70849         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70850         Disable tests.
70851         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70852         UNIX98]: Likewise.
70854         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70855         usability of symbols in #if.
70857         * conform/conformtest.pl: If macro or constant types start
70858         "promoted:", expect the symbol to be of the following type
70859         promoted by the integer promotions.
70861         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70862         in one place.  Also handle "macro-constant".
70864         * conform/conformtest.pl: Only accept expected macro values with
70865         "==".  Parse all "macro" lines in one place.
70866         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70868         * conform/conformtest.pl: Handle braced types on "constant" lines
70869         instead of handling "typed-constant".
70870         * conform/data/signal.h-data: Use "constant" instead of
70871         "typed-constant".
70873         * conform/conformtest.pl: Handle "optional-" at start of lines in
70874         one place rather than duplicating several cases.  Handle each
70875         format of "macro" line with initial "optional-".
70877         * conform/conformtest.pl: Only accept expected constant or
70878         optional-constant values with "==".  Parse all "constant" lines in
70879         one place.  Parse all "optional-constant" lines in one place.
70880         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70881         * conform/data/fmtmsg.h-data: Likewise.
70882         * conform/data/netinet/in.h-data: Likewise.
70883         * conform/data/tar.h-data: Likewise.
70884         * conform/data/limits.h-data: Use "==" form on "constant" and
70885         "optional-constant" lines.
70887         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70888         Use -std=c99 for XOPEN2K.
70889         (@knownproblems): Remove.
70890         (newtoken): Don't check %isknown.
70892         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70893         Do not expect macro.
70894         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70895         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70896         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70897         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70898         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70899         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70900         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70901         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70902         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70903         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70904         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70905         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70906         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70907         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70908         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70909         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70910         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70911         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70912         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70913         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70914         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70915         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70916         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70917         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70918         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70919         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70920         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70921         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70922         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70923         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70924         [XPG3] (acosh): Likewise.
70925         [XPG3] (asinh): Likewise.
70926         [XPG3] (atanh): Likewise.
70927         [XPG3] (cbrt): Likewise.
70928         [XPG3] (expm1): Likewise.
70929         [XPG3] (ilogb): Likewise.
70930         [XPG3] (log1p): Likewise.
70931         [XPG3] (logb): Likewise.
70932         [XPG3] (nextafter): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70934         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70935         [XPG3] (remainder): Likewise.
70936         [XPG3] (rint): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70939         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70940         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70941         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70943         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70944         [UNIX98 || XOPEN2K] (scalb): Expect.
70945         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70946         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70947         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70948         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70949         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70950         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70951         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70954         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70955         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70984         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70985         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70986         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70987         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70988         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70989         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70990         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70991         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70992         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70993         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70994         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70995         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70996         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70997         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70998         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70999         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71000         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71001         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71002         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71003         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71004         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71005         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71006         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71007         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71008         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71009         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71010         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71011         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71012         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71013         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71014         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71015         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71016         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71017         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71018         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71019         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71020         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71021         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71022         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71023         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71024         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71025         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71026         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71027         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71028         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71029         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71030         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71031         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71032         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71033         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71034         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71035         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71036         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71037         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71038         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71039         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71040         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71041         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71042         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71043         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71044         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71045         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71046         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71047         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71048         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71049         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71050         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71051         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71052         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71053         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71054         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71055         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71056         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71057         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71058         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71059         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71060         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71061         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71062         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71063         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71064         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71065         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71066         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71067         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71068         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71069         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71070         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71071         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71072         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71073         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71074         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71075         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71076         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71077         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71078         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71079         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71080         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71081         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71083         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71084         _XOPEN_SOURCE_EXTENDED for XPG4.
71086         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71088         * Makeconfig (localtime): Remove variable.
71089         (inst_localtime-file): Likewise.
71091 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71094         Update.
71095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71096         Update.
71097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71098         Update.
71099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71100         Update.
71101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71102         Update.
71103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71104         Update.
71105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71106         Update.
71107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71108         Update.
71109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71110         Update.
71112 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71114         [BZ #2550]
71115         [BZ #2570]
71116         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71117         comparisons to determine direction to adjust input.
71118         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71119         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71120         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71121         Likewise.
71122         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71123         Likewise.
71124         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71125         Likewise.
71126         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71127         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71128         Likewise.
71129         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71130         Likewise.
71131         * math/libm-test.inc (nexttoward_test): Add more tests.
71133 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71135         [BZ #14040]
71136         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71137         in version GLIBC_2.1, not GLIBC_2.0.
71138         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71139         Likewise.
71141 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71143         [BZ #13942]
71144         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71145         (1 - x) * (1 + x).
71146         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71147         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71148         * math/libm-test.inc (acos_test): Add more tests.
71149         (asin_test): Likewise.
71150         * sysdeps/i386/fpu/libm-test-ulps: Update.
71151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71153         [BZ #14034]
71154         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71155         of square root.
71156         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71157         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71158         * math/libm-test.inc (acos_test_tonearest): New function.
71159         (acos_test_towardzero): Likewise.
71160         (acos_test_downward): Likewise.
71161         (acos_test_upward): Likewise.
71162         (asin_test_tonearest): Likewise.
71163         (asin_test_towardzero): Likewise.
71164         (asin_test_downward): Likewise.
71165         (asin_test_upward): Likewise.
71166         (main): Call the new functions.
71167         * sysdeps/i386/fpu/libm-test-ulps: Update.
71168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71170         [BZ #13884]
71171         [BZ #13924]
71172         * math/e_exp10.c: Include <float.h>.
71173         (__ieee754_exp10): Handle underflow here rather than multiplying
71174         large negative argument by M_LN10.
71175         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71176         of __ieee754_expf.
71177         * math/e_exp10l.c: Include <float.h>.
71178         (__ieee754_exp10l): Handle underflow here rather than multiplying
71179         large negative argument by M_LN10l.
71180         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71181         spurious overflow exception on underflow.
71183 2012-04-29  Marek Polacek  <polacek@redhat.com>
71185         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71186         (__fortify_function): New macro.
71187         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71188         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71189         __extern_always_inline.
71190         * libio/bits/stdio2.h: Likewise.
71191         * libio/bits/stdio.h: Likewise.
71192         * string/string.h: Likewise.
71193         * string/bits/string3.h: Likewise.
71194         * include/stdio.h: Likewise.
71195         * stdlib/bits/stdlib.h: Likewise.
71196         * stdlib/stdlib.h: Likewise.
71197         * rt/bits/mqueue2.h: Likewise.
71198         * rt/mqueue.h: Likewise.
71199         * posix/bits/unistd.h: Likewise.
71200         * posix/unistd.h: Likewise.
71201         * io/bits/poll2.h: Likewise.
71202         * io/bits/fcntl2.h: Likewise.
71203         * io/fcntl.h: Likewise.
71204         * io/sys/poll.h: Likewise.
71205         * misc/bits/syslog.h: Likewise.
71206         * misc/bits/syslog-ldbl.h: Likewise.
71207         * misc/sys/syslog.h: Likewise.
71208         * socket/bits/socket2.h: Likewise.
71209         * socket/sys/socket.h: Likewise.
71210         * debug/tst-chk1.c: Likewise.
71211         * wcsmbs/bits/wchar2.h: Likewise.
71212         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71213         * wcsmbs/wchar.h: Likewise.
71215 2012-04-29  Andreas Jaeger  <aj@suse.de>
71217         * Makerules (tests): Remove enable-check-abi protection.
71218         (check-abi-warn): Remove.
71219         (check-abi-%): Remove check-abi-warn usage.
71221         * configure.in: Remove check-abi configure option.
71222         * configure: Regenerated.
71223         * config.make.in (enable-check-abi): Remove.
71225 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71227         [BZ #14033]
71228         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71229         double functions to double *_finite functions.
71231         [BZ #13941]
71232         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71233         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71234         LDBL_MIN_EXP.
71235         * stdio-common/Makefile (tests): Add tst-sprintf3.
71236         * stdio-common/tst-sprintf3.c: New file.
71238         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71239         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71241 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71243         * conform/conformtest.pl: Remove duplicate typed-constant
71244         handling.
71246 2012-04-28  David S. Miller  <davem@davemloft.net>
71248         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71249         (check-abi-%): Remove AWK script prerequisite and explicit
71250         abilist directory.
71251         (check-abi): Rewrite to just diff the symlist with the abilist.
71252         (config-tls, config-abi-config): Delete, no longer used.
71253         (update-abi-%): Remove AWK script and explicit abilist directory.
71254         (update-abi): Rewrite to simply compare and conditionally copy the
71255         symlist and the sysdep abilist file.  Remove update-abi-config
71256         checks.
71257         * abilist/ld.abilist: Remove.
71258         * abilist/libBrokenLocale.abilist: Remove.
71259         * abilist/libanl.abilist: Remove.
71260         * abilist/libcrypt.abilist: Remove.
71261         * abilist/libdl.abilist: Remove.
71262         * abilist/librt.abilist: Remove.
71263         * abilist/libthread_db.abilist: Remove.
71264         * abilist/libutil.abilist: Remove.
71265         * scripts/extract-abilist.awk: Remove.
71266         * scripts/merge-abilist.awk: Remove.
71267         * sysdeps/generic/libcidn.abilist: New file.
71268         * sysdeps/generic/libnss_compat.abilist: New file.
71269         * sysdeps/generic/libnss_db.abilist: New file.
71270         * sysdeps/generic/libnss_dns.abilist: New file.
71271         * sysdeps/generic/libnss_files.abilist: New file.
71272         * sysdeps/generic/libnss_hesiod.abilist: New file.
71273         * sysdeps/generic/libnss_nis.abilist: New file.
71274         * sysdeps/generic/libnss_nisplus.abilist: New file.
71275         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71276         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71277         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71278         file.
71279         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71280         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71281         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71282         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71283         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71284         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71285         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71286         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71287         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71288         file.
71289         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71290         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71291         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71292         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71293         file.
71294         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71295         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71296         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71297         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71298         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71299         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71300         file.
71301         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71302         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71303         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71304         file.
71305         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71307         New file.
71308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71309         New file.
71310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71311         New file.
71312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71313         New file.
71314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71315         New file.
71316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71317         New file.
71318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71319         New file.
71320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71321         New file.
71322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71323         New file.
71324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71325         New file.
71326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71327         New file.
71328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71329         New file.
71330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71331         New file.
71332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71333         file.
71334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71335         New file.
71336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71337         New file.
71338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71339         file.
71340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71341         New file.
71342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71343         New file.
71344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71345         file.
71346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71347         New file.
71348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71349         New file.
71350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71351         New file.
71352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71353         New file.
71354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71355         New file.
71356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71357         New file.
71358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71360         file.
71361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71362         New file.
71363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71364         file.
71365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71366         file.
71367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71368         file.
71369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71370         file.
71371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71372         file.
71373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71374         New file.
71375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71376         file.
71377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71378         file.
71379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71380         New file.
71381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71382         file.
71383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71385         file.
71386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71387         New file.
71388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71389         file.
71390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71391         file.
71392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71393         file.
71394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71395         file.
71396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71397         file.
71398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71399         New file.
71400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71401         file.
71402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71403         file.
71404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71405         New file.
71406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71407         file.
71408         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71409         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71410         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71411         file.
71412         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71413         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71414         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71415         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71416         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71417         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71418         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71419         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71420         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71421         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71424         file.
71425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71426         New file.
71427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71428         file.
71429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71430         file.
71431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71432         file.
71433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71434         file.
71435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71436         file.
71437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71438         New file.
71439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71440         New file.
71441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71442         file.
71443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71444         New file.
71445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71446         file.
71447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71449         file.
71450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71451         New file.
71452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71453         file.
71454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71455         file.
71456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71457         file.
71458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71459         file.
71460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71461         file.
71462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71463         New file.
71464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71465         New file.
71466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71467         file.
71468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71469         New file.
71470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71471         file.
71473 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71475         * conform/conformtest.pl: Fix typo in handling typed-constant from
71476         allow-header.
71478 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71480         * README: Cut down references to pre-2.6 Linux kernels and
71481         Linuxthreads.  Update lists of configurations in libc and ports
71482         and sort alphabetically.  Say "or newer" with Linux kernel version
71483         requirements.
71485         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71487 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71489         [BZ #887]
71490         * math/libm-test.inc (logb_test_downward): New test to expose
71491         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71492         rounding mode.
71494 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71496         [BZ #14027]
71497         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71498         to be done.
71499         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71500         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71502 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71504         * sysdeps/unix/i386/brk.S: Remove file.
71505         * sysdeps/unix/i386/dl-brk.S: Likewise.
71506         * sysdeps/unix/i386/pipe.S: Likewise.
71507         * sysdeps/unix/i386/sigreturn.S: Likewise.
71508         * sysdeps/unix/i386/syscall.S: Likewise.
71509         * sysdeps/unix/i386/vfork.S: Likewise.
71510         * sysdeps/unix/i386/wait.S: Likewise.
71512         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71513         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71515         * configure.in (arm*-none*): Do not allow without
71516         --enable-hacker-mode.
71517         (netbsd*): Remove case setting base_os.
71518         (386bsd*): Likewise.
71519         (freebsd*): Likewise.
71520         (bsdi*): Likewise.
71521         (osf*): Likewise.
71522         (sunos*): Likewise.
71523         (ultrix*): Likewise.
71524         (newsos*): Likewise.
71525         (dynix*): Likewise.
71526         (*bsd*): Likewise.
71527         (sysv*): Likewise.
71528         (isc*): Likewise.
71529         (esix*): Likewise.
71530         (sco*): Likewise.
71531         (minix*): Likewise.
71532         (irix4*): Likewise.
71533         (irix6*): Likewise.
71534         (solaris[2-9]*): Likewise.
71535         (none): Likewise.
71536         * configure: Regenerated.
71538 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71540         [BZ #11521]
71541         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71542         overflow or cancellation in calculating denominator.
71543         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71544         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71545         down expression to avoid unexpected rounding in newer GCCs.
71546         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71548 2012-04-26  David S. Miller  <davem@davemloft.net>
71550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71551         long-double compat symbols.
71552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71566 2012-04-25  David S. Miller  <davem@davemloft.net>
71568         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71569         HWCAP_* values only after the memory barriers have been defined.
71570         (atomic_full_barrier): Define.
71571         (atomic_read_barrier): Define.
71572         (atomic_write_barrier): Define.
71574 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71576         * shlib-versions: Add libgcc_s version information.
71577         * sysdeps/generic/libgcc_s.h: Remove.
71578         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71579         libgcc_s.h.
71580         * sysdeps/gnu/unwind-resume.c: Likewise.
71581         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71583 2012-04-25  David S. Miller  <davem@davemloft.net>
71585         * sysdeps/unix/sparc/brk.S: Delete.
71586         * sysdeps/unix/sparc/dl-brk.S: Delete.
71587         * sysdeps/unix/sparc/pipe.S: Delete.
71588         * sysdeps/unix/sparc/sysdep.S: Delete.
71589         * sysdeps/unix/sparc/sysdep.h: Delete.
71590         * sysdeps/unix/sparc/vfork.S: Delete.
71591         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71592         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71593         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71594         (ret_ERRVAL, r0, r1, MOVE): Define.
71595         (JUMPTARGET): Remove.
71596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71597         sysdeps/unix/sparc/sysdep.h
71598         (ENTRY, END): Remove.
71599         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71601 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71603         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71604         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71605         -DIS_IN_build.
71607         * timezone/README: Update upstream location and email address for
71608         tzcode and tzdata.
71609         * timezone/zdump.c: Update from tzcode 2012b.
71610         * timezone/zic.c: Likewise.
71612         * configure.in (libc_cv_as_needed): Remove test.
71613         * configure: Regenerated.
71614         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71615         conditional definition.
71616         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71617         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71618         * config.make.in (have-as-needed): Remove variable.
71620 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71621             Paul Pluzhnikov  <ppluzhnikov@google.com>
71623         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71624         strings correctly.
71626 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71628         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71629         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71630         * sysdeps/sh/strlen.S: Likewise.
71632 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71634         * sysdeps/unix/fork.S: Remove file.
71635         * sysdeps/unix/i386/fork.S: Likewise.
71636         * sysdeps/unix/sparc/fork.S: Likewise.
71638         * sysdeps/unix/system.c: Remove file.
71639         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71641         * sysdeps/unix/getegid.S: Remove file.
71642         * sysdeps/unix/geteuid.S: Likewise.
71644 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71646         * scripts/check-localplt.awk: New file.
71647         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71648         of diff.
71649         * scripts/data/localplt-generic.data: Add a comment.
71651         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71652         NODE when __dir_mkfile failed.
71653         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71654         Reported by Ludovic Courtès <ludo@gnu.org>.
71656 2012-04-24  Andreas Jaeger  <aj@suse.de>
71658         * Makerules (common-clean): Also remove gen-as-const-headers
71659         files.
71661 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71663         * Makerules (native-compile): Do not change working directory for
71664         build.  Use $(OUTPUT_OPTION) in command.
71665         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71667 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71669         [BZ #13886]
71670         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71671         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71672         * math/libm-test.inc (floor_test): Add more tests.
71673         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71675 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71677         * sysdeps/unix/getdents.c: Remove file.
71678         * sysdeps/unix/sysv/getdents.c: Likewise.
71679         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71681         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71682         sysdeps/unix/mman/syscalls.list.
71683         (mmap): Likewise.
71684         (mprotect): Likewise.
71685         (msync): Likewise.
71686         (munmap): Likewise.
71687         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71688         * sysdeps/unix/mman/syscalls.list: Remove.
71689         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71691         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71692         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71693         * configure: Regenerated.
71694         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71695         $(libgcc_s_suffix).
71696         * config.make.in (libgcc_s_suffix): Remove variable.
71698 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71700         * sysdeps/unix/sysv/gethostname.c: Move to ...
71701         * sysdeps/posix/gethostname.c: ... here.
71703         * sysdeps/unix/execve.S: Remove file.
71705         * sysdeps/unix/_exit.S: Remove file.
71707 2012-04-23  Andreas Jaeger  <aj@suse.de>
71709         [BZ #13739]
71710         * manual/Makefile: Remove make dist support, there's no
71711         need for a stand-alone documentation tar ball.
71712         (TEXI2DVI): Define always, it's not in Makeconfig.
71713         (dist): Removed.
71714         (tar-it): Removed.
71715         (edition): Removed.
71716         (glibc-doc-$(edition).tar): Removed
71717         (%.Z): Removed.
71718         (%.gz): Removed.
71719         (%.uu): Removed.
71720         (ETAGS): Remove, it's in Makeconfig.
71721         (move-if-change): Remove, it's in Makeconfig.
71723 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71725         [BZ #13970]
71726         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71727         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71728         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71729         (strtod_l, strtof_l, strtold_l): Remove __wur.
71730         It is not necessarily an error to ignore strtol's return value.
71731         One can reliably look at the stored endptr to decide whether
71732         the number had valid syntax.
71734 2012-04-21  Andreas Jaeger  <aj@suse.de>
71736         [BZ #13739]
71737         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71739 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71741         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71742         * sysdeps/unix/sysv/Versions: Remove file.
71744 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71746         [BZ #13927]
71747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71749 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71751         [BZ #7064]
71752         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71753         version from __vm86.
71755 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71757         * sysdeps/unix/common/lxstat.c: Remove file.
71758         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71760         * sysdeps/unix/sysv/Makefile: Remove file.
71762         * sysdeps/unix/sysv/direct.h: Remove file.
71764         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71765         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71766         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71767         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71768         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71769         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71770         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71772         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71774         * sysdeps/unix/xmknod.c: Remove file.
71775         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71777         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71779         * sysdeps/unix/sysv/i386/time.S: Remove file.
71781         * sysdeps/unix/fxstat.c: Remove file.
71782         * sysdeps/unix/xstat.c: Likewise.
71783         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71785         * sysdeps/unix/sysv/sigaction.c: Remove file.
71787         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71788         (sysdep_headers): Remove variable.
71789         [termio.h not in sysdep_headers] (generated): Likewise.
71790         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71791         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71792         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71793         * sysdeps/unix/sysv/tcflow.c: Likewise.
71794         * sysdeps/unix/sysv/tcflush.c: Likewise.
71795         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71796         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71797         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71798         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71799         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71801         * sysdeps/unix/siglist.c: Remove file.
71803         * sysdeps/unix/getppid.S: Remove file.
71805         * sysdeps/unix/mkdir.c: Remove file.
71806         * sysdeps/unix/rmdir.c: Likewise.
71808 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71810         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71811         ERR_MAX value.
71812         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71813         errlist-compat value.
71815 2012-04-18  David S. Miller  <davem@davemloft.net>
71817         * sysdeps/generic/memcopy.h (reg_char): Delete.
71818         * debug/strcat_chk.c: Use char, not reg_char.
71819         * debug/strcpy_chk.c: Likewise.
71820         * debug/strncat_chk.c: Likewise.
71821         * debug/strncpy_chk.c: Likewise.
71822         * string/memchr.c: Likewise.
71823         * string/memrchr.c: Likewise.
71824         * string/rawmemchr.c: Likewise.
71825         * string/strcat.c: Likewise.
71826         * string/strchr.c: Likewise.
71827         * string/strchrnul.c: Likewise.
71828         * string/strcmp.c: Likewise.
71829         * string/strcpy.c: Likewise.
71830         * string/strncat.c: Likewise.
71831         * string/strncmp.c: Likewise.
71832         * string/strncpy.c: Likewise.
71834 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71836         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71837         __builtin_memcopy is called when src and dest ranges are known to not
71838         overlap.
71840 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71842         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71843         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71844         fwd_align_merge macro call.
71845         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71846         bwd_align_merge macro call.
71847         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71849 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71851         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71852         bwd_align_merge macros.
71853         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71854         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71855         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71857 2012-04-18  David S. Miller  <davem@davemloft.net>
71859         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71861 2012-04-18  Andreas Jaeger  <aj@suse.de>
71863         [BZ# 6794]
71864         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71865         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71866         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71868         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71869         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71870         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71872         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71873         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71874         Adjust for changed ldbl-128 files.
71876         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71877         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71878         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71880 2012-04-17  David S. Miller  <davem@davemloft.net>
71882         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71884 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71886         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71887         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71888         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71889         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71890         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71891         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71893 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71895         [BZ #6794]
71896         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71897         * math/libm-test.inc: Add ilogb errno and exception tests.
71898         * math/w_ilogb.c: New file: ilogb wrapper.
71899         * math/w_ilogbf.c: New file: ilogbf wrapper.
71900         * math/w_ilogbl.c: New file: ilogbl wrapper.
71901         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71902         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71903         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71904         exception being thrown with 0.0 as argument.
71905         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71906         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71907         exception being thrown with 0.0 as argument.
71908         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71909         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71910         exception being thrown with 0.0 as argument.
71911         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71912         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71913         exception being thrown with 0.0 as argument.
71914         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71915         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71916         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71917         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71918         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71919         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71920         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71921         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71922         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71924 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71926         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71927         with altivec.
71929 2012-04-16  Marek Polacek  <polacek@redhat.com>
71931         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71933 2012-04-16  Marek Polacek  <polacek@redhat.com>
71935         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71936         operands of fdivp instruction.
71938 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71940         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71941         * elf/tst-auditmod3b.c: Likewise.
71942         * elf/tst-auditmod4b.c: Likewise.
71943         * elf/tst-auditmod5b.c: Likewise.
71944         * elf/tst-auditmod6b.c: Likewise.
71945         * elf/tst-auditmod6c.c: Likewise.
71946         * elf/tst-auditmod7b.c: Likewise.
71947         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71948         * sysdeps/x86_64/preconfigure.in: Likewise.
71949         * sysdeps/x86_64/preconfigure: Regenerated.
71951 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71953         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71954         __ILP32__.
71956 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71958         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71959         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71961 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71963         [BZ #13973]
71964         * locale/iso-639.def: Fix gl language name. Spotted by
71965         Yaron Shahrabani.
71967 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71969         [BZ #2074]
71970         * libio/libio.h (__io_write_fn): Update comment.
71972 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71974         [BZ #2074]
71975         * stdio.texi (Hook Functions): The user provided writer function
71976         is not allowed to return -1.
71978 2012-04-11  David S. Miller  <davem@davemloft.net>
71980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71982 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71984         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71985         Add a leading slash to rtkaio.
71987 2012-04-11  Jim Meyering  <meyering@redhat.com>
71989         [BZ #11959]
71990         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71991         It is not necessarily an error to ignore fwrite's return
71992         value.  One can reliably use ferror to test for errors after
71993         the fact.
71995 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71997         * bits/types.h (__snseconds_t): New type.
71998         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72000         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72001         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72002         (__SNSECONDS_T_TYPE): Likewise.
72003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72004         (__SNSECONDS_T_TYPE): Likewise.
72005         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72006         (__SNSECONDS_T_TYPE): Likewise.
72008 2012-04-10  Andreas Jaeger  <aj@suse.de>
72010         [BZ #2636]
72011         * manual/time.texi (Processor Time): Return type of times is
72012         elapsed real time since an arbitrary point in the past.
72013         (CPU Time): Move CLK_TCK from here...
72014         (Processor Time): ...to here.  Correct description.
72015         * manual/conf.texi (Constants for Sysconf): Correct description of
72016         _SC_CLK_TCK.
72018 2012-04-10  David S. Miller  <davem@davemloft.net>
72020         [BZ #13967]
72021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72022         where the is a gap between DT_REL(A) and DT_JMPREL.
72024 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72026         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72027         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72028         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72030 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72032         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72033         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72034         (dl_main): Handle --inhibit-cache.
72035         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72036         _dl_inhibit_cache.
72037         * elf/dl-load.c (_dl_map_object): Use it.
72038         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72040 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72042         [BZ #13872]
72043         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72044         (__ieee754_powl): Saturate large exponents rather than testing for
72045         overflow of y*log2(x).
72046         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72047         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72048         exceptions.
72050         [BZ #11521]
72051         * math/s_ctan.c: Include <float.h>.
72052         (__ctan): Avoid internal overflow or cancellation in calculating
72053         denominator.
72054         * math/s_ctanf.c: Likewise.
72055         * math/s_ctanl.c: Likewise.
72056         * math/s_ctanh.c: Likewise.
72057         * math/s_ctanhf.c: Likewise.
72058         * math/s_ctanhl.c: Likewise.
72059         * math/libm-test.inc (ctan_test): Add more tests.
72060         (ctanh_test): Likewise.
72061         * sysdeps/i386/fpu/libm-test-ulps: Update.
72062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72064 2012-04-09  Andreas Jaeger  <aj@suse.de>
72066         [BZ #6894]
72067         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72068         is an optional BSD extension.
72070         [BZ #10254]
72071         * manual/stdio.texi (Opening Streams): Document additional fopen
72072         parameters.
72074 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72076         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72077         %eax without telling the compiler.
72079 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72081         [BZ # 13963]
72082         * manual/install.texi: Use sourceware.org.
72084 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72086         [BZ #13873]
72087         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72088         (__ieee754_pow): Generate overflow and underflow using huge*huge
72089         and tiny*tiny rather than just returning constant infinity or zero
72090         for large exponents.
72091         * math/libm-test.inc (pow_test): Require overflow exceptions for
72092         applicable cases of large exponents.
72094         [BZ #706]
72095         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72096         (__ieee754_pow): Use iterative multiplication algorithm only for
72097         integer exponents with absolute value below 1024.  Check for odd
72098         integer exponents when using algorithm for real exponents.
72099         * math/libm-test.inc (pow_test): Add more tests.
72100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72102 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72104         [BZ #13705]
72105         * math/libm-test.inc (exp_test): Do not allow overflow exception
72106         on underflow test.
72108 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72110         [BZ #13705]
72111         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72112         instead of __kernel_standard_f.
72114 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72116         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72117         * sysdeps/x86_64/memset_chk.S: Likewise.
72119 2012-04-08  Andreas Jaeger  <aj@suse.de>
72121         [BZ #10153]
72122         * manual/startup.texi (Environment Access): Describe return value
72123         for putenv and setenv.
72125         [BZ #6895]
72126         * manual/filesys.texi (Directory Entries): Add description for
72127         DT_LNK.
72129         [BZ #6890]
72130         * manual/filesys.texi (Directory Entries): Clarify that it's file
72131         system not operating system in the description of DT_UNKNOWN.
72133         [BZ #6578]
72134         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72136 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72138         [BZ #6649]
72139         * manual/llio.texi (Opening and Closing Files): Add cross
72140         reference to explain mode argument.
72142 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72144         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72145         * sysdeps/x86_64/memset_chk.S: Likewise.
72147 2012-04-07  David S. Miller  <davem@davemloft.net>
72149         * elf/elf.h (R_SPARC_WDISP10): Define.
72150         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72151         R_SPARC_SIZE32.
72152         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72153         R_SPARC_SIZE64 and R_SPARC_H34.
72155 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72157         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72158         conditions and remove no longer applicable assertion.
72160 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72162         * bits/byteswap.h: Include <features.h>.
72163         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72164         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72166 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72168         * bits/byteswap.h (__bswap_16): Removed.
72169         Include <bits/byteswap-16.h> to get __bswap_16.
72170         * sysdeps/i386/bits/byteswap.h: Likewise.
72171         * sysdeps/s390/bits/byteswap.h: Likewise.
72172         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72173         * bits/byteswap-16.h: New file.
72174         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72175         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72176         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72177         * string/Makefile (headers): Add bits/byteswap-16.h.
72179 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72181         [BZ #13895]
72182         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72183         extra indirection.
72184         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72185         * nss/tst-nss-static.c: New.
72187 2012-04-06  Robert Millan  <rmh@gnu.org>
72189         [BZ #6486]
72190         * manual/llio.texi (File Position Primitive): lseek
72191         refers to WHENCE when it really means OFFSET.
72193 2012-04-06  Andreas Jaeger  <aj@suse.de>
72195         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72196         strncmp declarations.
72198         * abilist/libc.abilist: Add __poll and __ppoll.
72200 2012-04-05  David S. Miller  <davem@davemloft.net>
72202         * scripts/check-local-headers.sh: Accept a host triplet in the
72203         path matched by the exclude regexp.
72205         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72206         definition.
72207         * sysdeps/powerpc/powerpc32/dl-machine.h
72208         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72209         * sysdeps/s390/s390-32/dl-machine.h
72210         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72211         * sysdeps/sparc/sparc32/dl-machine.h
72212         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72213         * sysdeps/sparc/sparc64/dl-machine.h
72214         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72216         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72217         lazy binding.
72218         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72219         undefined symbol errors.
72221         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72222         DT_NEEDED entries.
72224 2012-04-05  Michael Matz  <matz@suse.de>
72226         [BZ #13592]
72227         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72229 2012-04-05  Andreas Jaeger  <aj@suse.de>
72231         [BZ #13908]
72232         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72233         comment.
72235 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72237         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72238         which ROUND is no valid rounding mode.
72240 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72242         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72243         read again.
72244         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72246 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72248         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72249         an exception using FPU order intentionally.
72251 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72253         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72254         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72255         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72256         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72258 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72260         [BZ #12340]
72261         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72262         EINVAL when BUFLEN is too smal.
72264 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72266         [BZ #13553]
72267         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72268         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72270 2012-04-03  Andreas Jaeger  <aj@suse.de>
72272         [BZ #13938]
72273         * manual/setjmp.texi (System V contexts): Fix sentence.
72275         [BZ #13926]
72276         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72277         New macro for this case.
72278         [!__GNUC__] (__bswap_64): New inline function for this case.
72279         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72280         * bits/byteswap.h: Likewise.
72281         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72282         ull, guard with __GLIBC_HAVE_LONG_LONG.
72284         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72285         __GLIBC_HAVE_LONG_LONG.
72287         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72288         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72290 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72292         [BZ #13691]
72293         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72294         inptr and inend, rather than using last_ch.
72296 2012-04-02  David S. Miller  <davem@davemloft.net>
72298         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72299         * stdio-common/printf-parse.h (read_int): Change return type to
72300         'int', return -1 on INT_MAX overflow.
72301         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72302         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72303         overflows INT_MAX.  Check for overflow of in-format-string precision
72304         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72305         SIZE_MAX not INT_MAX for integer overflow test.
72306         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72307         skip the construct in the format string but do not record anything.
72308         * stdio-common/bug22.c: Adjust to test both width/prevision
72309         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72310         explicitly for proper errno values.
72312 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72314         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72315         CHAR_MAX.
72316         * string/test-strcmp.c [! WIDE]: Likewise.
72317         * time/tst-mktime2.c: Likewise for INT_MAX.
72318         * string/test-string.h: #include <sys/param.h> for MIN.
72320         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72321         * sysdeps/i386/init-first.c (init): Likewise.
72322         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72323         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72324         * sysdeps/sh/init-first.c (init): Likewise.
72326 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72328         * po/ru.po: Update from translation team.
72329         * po/vi.po: Likewise.
72331 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72333         * resolv/nss_dns/dns-host.c: Merge copyright years.
72335 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72337         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72338         Optimize memcpy with prefetch if
72339         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72340         src, dst pointers have unequal 16 byte alignments.
72342 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72344         [BZ #13928]
72345         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72346         from a CNAME entry and return the minimum ttl for the query.
72347         (gaih_getanswer_slice): Likewise.
72349 2012-03-30  Jeff Law  <law@redhat.com>
72351         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72352         due to long keys.
72353         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72354         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72356         * resolv/nss_dns/dns-host.c: Update copyright year.
72358 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72360         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72361         requests to save a system call.  Fix check that all bytes are sent.
72363         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72364         comments for sendmmsg.
72366 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72368         [BZ #13691]
72369         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72370         with only 1 character between 0x0041 and 0x01b0.
72371         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72372         * wcsmbs/tst-mbsnrtowcs.c: New file.
72374 2012-03-29  David S. Miller  <davem@davemloft.net>
72376         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72377         small copies by hand.
72379 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72381         [BZ #13761]
72382         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72383         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72384         group memberships.
72386 2012-03-28  David S. Miller  <davem@davemloft.net>
72388         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72389         that branches into memcpy.
72390         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72391         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72392         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72393         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72395         bits.
72396         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72397         implementation too.
72398         * sysdeps/sparc/mempcpy.S: New file.
72400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72401         the IFUNC routine in the libc case.
72402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72404         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72405         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72406         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72407         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72408         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72409         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72410         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72411         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72413         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72414         loop to 256 bytes instead of 64 bytes and fix test signedness.
72416         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72417         * sysdeps/sparc/sparc32/Makefile: rather than here...
72418         * sysdeps/sparc/sparc64/Makefile: and here.
72420 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72422         * malloc/mallocbug.c: Avoid warnings about unused variables.
72424 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72426         [BZ #13760]
72427         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72428         in the right place. Discard and retry query if response is
72429         larger than input buffer size.
72431 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72433         [BZ #369]
72434         [BZ #2678]
72435         [BZ #3866]
72436         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72437         x for large integer exponent.
72438         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72439         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72440         sign of result as needed afterwards.
72441         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72442         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72443         result for underflowing pow the same as for overflow.
72444         (__kernel_standard_l): Handle powl overflow and underflow here
72445         rather than calling __kernel_standard.
72446         * math/libm-test.inc (pow_test): Add more tests.
72448         [BZ #3868]
72449         [BZ #13879]
72450         [BZ #13910]
72451         [BZ #13911]
72452         [BZ #13912]
72453         [BZ #13913]
72454         [BZ #13915]
72455         [BZ #13916]
72456         [BZ #13917]
72457         [BZ #13918]
72458         [BZ #13919]
72459         [BZ #13920]
72460         [BZ #13921]
72461         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72462         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72463         (__kernel_standard_l): New function.
72464         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72465         __kernel_standard.
72466         * math/w_acosl.c (__acosl): Likewise.
72467         * math/w_asinl.c (__asinl): Likewise.
72468         * math/w_atan2l.c (__atan2l): Likewise.
72469         * math/w_atanhl.c (__atanhl): Likewise.
72470         * math/w_coshl.c (__coshl): Likewise.
72471         * math/w_exp10l.c (__exp10l): Likewise.
72472         * math/w_exp2l.c (__exp2l): Likewise.
72473         * math/w_fmodl.c (__fmodl): Likewise.
72474         * math/w_hypotl.c (__hypotl): Likewise.
72475         * math/w_j0l.c (__j0l, __y0l): Likewise.
72476         * math/w_j1l.c (__j1l, __y1l): Likewise.
72477         * math/w_jnl.c (__jnl, __ynl): Likewise.
72478         * math/w_lgammal.c (__lgammal): Likewise.
72479         * math/w_log10l.c (__log10l): Likewise.
72480         * math/w_log2l.c (__log2l): Likewise.
72481         * math/w_logl.c (__logl): Likewise.
72482         * math/w_powl.c (__powl): Likewise.
72483         * math/w_remainderl.c (__remainderl): Likewise.
72484         * math/w_scalbl.c (sysv_scalbl): Likewise.
72485         * math/w_sinhl.c (__sinhl): Likewise.
72486         * math/w_sqrtl.c (__sqrtl): Likewise.
72487         * math/w_tgammal.c (__tgammal): Likewise.
72488         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72489         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72490         * math/libm-test.inc (acos_test): Add more tests.
72491         (acosh_test): Likewise.
72492         (asin_test): Likewise.
72493         (atanh_test): Likewise.
72494         (exp_test): Likewise.
72495         (exp10_test): Likewise.
72496         (exp2_test): Likewise.
72497         (expm1_test): Likewise.
72498         (lgamma_test): Likewise.
72499         (log_test): Likewise.
72500         (log10_test): Likewise.
72501         (log1p_test): Likewise.
72502         (log2_test): Likewise.
72503         (pow_test): Do not allow some spurious overflow exceptions.
72504         (sqrt_test): Add more tests.
72505         (tgamma_test): Likewise.
72506         (y0_test): Likewise.
72507         (y1_test): Likewise.
72508         (yn_test): Likewise.
72510 2012-03-27  Anton Blanchard  <anton@samba.org>
72512         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72513         MAP_HUGETLB.
72514         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72515         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72516         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72518 2012-03-27  David S. Miller  <davem@davemloft.net>
72520         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72522         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72523         have-as-vis3 check.
72525 2012-03-27  Andreas Jaeger  <aj@suse.de>
72527         * sysdeps/x86_64/elf/configure.in: Moved to ...
72528         * sysdeps/x86_64/configure.in: ... here.
72529         * sysdeps/x86_64/elf/start.S: Moved to ...
72530         * sysdeps/x86_64/start.S: ... here.
72531         * sysdeps/x86_64/elf/configure: Delete.
72533         * sysdeps/x86_64/configure.in: Merge contents from
72534         sysdeps/i386/configure.in (without i686 check).
72536         * sysdeps/i386/elf/Versions: Merge into ...
72537         * sysdeps/i386/Versions: ... this.
72538         * sysdeps/i386/elf/Versions: Delete file.
72539         * sysdeps/i386/elf/start.S: Moved to ...
72540         * sysdeps/i386/start.S: ...here.
72541         * sysdeps/i386/elf/configure.in: Merge into...
72542         * sysdeps/i386/configure.in: ...here.
72543         * sysdeps/i386/elf/configure.in: Delete file.
72544         * sysdeps/i386/elf/configure: Delete file.
72546         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72547         * debug/backtracesyms.c: ... here.
72548         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72549         * debug/backtracesymsfd.c: ... here.
72550         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72551         * sysdeps/generic/ifunc-sel.h: ... here.
72553         * sysdeps/unix/i386/start.c: Delete file.
72554         * sysdeps/unix/sparc/start.c: Delete file.
72555         * sysdeps/unix/start.c: Delete file.
72557         * sysdeps/sh/elf/configure.in: Moved to ...
72558         * sysdeps/sh/configure.in: ... here.
72559         * sysdeps/sh/elf/start.S: Moved to ...
72560         * sysdeps/sh/start.S: ... here.
72561         * sysdeps/sh/elf/configure: Delete file.
72563         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72564         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72565         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72566         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72567         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72568         * sysdeps/powerpc/powerpc64/start.S: here.
72569         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72570         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72571         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72572         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72573         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72575         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72576         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72577         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72578         * sysdeps/powerpc/powerpc32/start.S: ... here.
72579         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72580         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72581         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72583         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72584         * sysdeps/powerpc/ifunc-sel.h: ... here.
72585         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72586         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72588         * sysdeps/sparc/elf/configure.in: Moved to ...
72589         * sysdeps/sparc/configure.in: ... here.
72590         * sysdeps/sparc/elf/configure: Delete file.
72591         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72592         * sysdeps/sparc/sparc32/start.S: ... here.
72593         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72594         * sysdeps/sparc/sparc64/start.S: ... here.
72595         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72596         * sysdeps/sparc/sparc32/Makefile: ... this.
72597         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72598         * sysdeps/sparc/sparc64/Makefile: ... this.
72600         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72601         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72602         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72603         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72604         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72605         * sysdeps/s390/s390-32/setjmp.S: ... here.
72606         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72607         * sysdeps/s390/s390-32/configure.in: ... here.
72608         * sysdeps/s390/s390-32/elf/configure: Delete file.
72609         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72610         * sysdeps/s390/s390-32/start.S: ... here.
72612         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72613         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72614         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72615         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72616         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72617         * sysdeps/s390/s390-64/setjmp.S: ... here.
72618         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72619         * sysdeps/s390/s390-64/configure.in: ... here
72620         * sysdeps/s390/s390-64/elf/configure: Delete file.
72621         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72622         * sysdeps/s390/s390-64/start.S: ... here.
72623         * sysdeps/s390/s390-64/elf/configure: Delete.
72625         * configure.in: Remove support for elf directories in sysdeps.
72627         * configure: Regenerated.
72628         * sysdeps/i386/configure: Regenerated.
72629         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72630         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72631         * sysdeps/s390/s390-32/configure: Regenerated.
72632         * sysdeps/s390/s390-64/configure: Regenerated.
72633         * sysdeps/sh/configure: Regenerated.
72634         * sysdeps/sparc/configure: Regenerated.
72635         * sysdeps/x86_64/configure: Regenerated.
72637 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72641         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72642         denormal result into account.
72644 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72646         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72647         Reported by Allan McRae <allan@archlinux.org>.
72649 2012-03-23  Jeff Law  <law@redhat.com>
72651         * nss/getnssent.c (__nss_getent): Fix typo.
72653 2012-03-23  David S. Miller  <davem@davemloft.net>
72655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72657 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72659         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72660         to pad to uint64_t for each field.
72661         (dl_tls_index): Replace unsigned long with uint64_t.
72663 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72664         Paul Pluzhnikov  <ppluzhnikov@google.com>
72666         [BZ #6528]
72667         * grp/Makefile (otherlibs): Don't set it.
72668         * inet/Makefile (otherlibs): Likewise.
72669         * login/Makefile (otherlibs): Likewise.
72670         * nscd/Makefile (otherlibs): Likewise.
72671         * posix/Makefile (otherlibs): Likewise.
72672         * pwd/Makefile (otherlibs): Likewise.
72673         * rt/Makefile (otherlibs): Likewise.
72674         * sunrpc/Makefile (otherlibs): Likewise.
72675         * nss/Makefile (otherlibs): Likewise.
72676         Add libnss_files to routines and static-only-routines.
72677         ($(objpfx)getent): Remove rule.
72678         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72679         static-only-routines.
72681 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72683         [BZ #13892]
72684         * math/s_cexp.c: Include <float.h>.
72685         (__cexp): Handle exp result overflowing not necessarily
72686         overflowing both real and imaginary parts of result.
72687         * math/s_cexpf.c: Likewise.
72688         * math/s_cexpl.c: Likewise.
72689         * math/libm-test.inc (cexp_test): Add more tests.
72690         * sysdeps/i386/fpu/libm-test-ulps: Update.
72691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72695         * include/link.h (ELFW): New macro.
72696         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72697         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72699 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72701         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72702         with uint64_t.
72704 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72706         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72707         declaration.
72708         (struct La_x32_retval): Likewise.
72710 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72712         * sysdeps/x86_64/preconfigure.in: New file.
72713         * sysdeps/x86_64/preconfigure: New generated file.
72715 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72717         [BZ #13824]
72718         * math/e_exp2l.c: Include <float.h>.
72719         (__ieee754_exp2l): Handle overflow and underflow cases
72720         separately.  Only pass fractional part of argument to
72721         __ieee754_expl.
72722         * math/libm-test.inc (exp2_test): Add more tests.
72724         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72725         negating x to take absolute value.
72726         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72727         Likewise.
72728         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72729         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72730         Likewise.
72731         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72732         computing low part if x was negated.
72733         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72735 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72737         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72738         la_x32_gnu_pltexit.
72739         (pltexit): Cast int_retval to ptrdiff_t.
72740         * elf/tst-auditmod3b.c: Likewise.
72741         * elf/tst-auditmod4b.c: Likewise.
72742         * elf/tst-auditmod5b.c: Likewise.
72743         * elf/tst-auditmod6b.c: Likewise.
72744         * elf/tst-auditmod6c.c: Likewise.
72745         * elf/tst-auditmod7b.c: Likewise.
72747         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72748         and x32_gnu_pltexit.
72750         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72751         __ELF_NATIVE_CLASS.
72752         (La_x32_regs): New macro.
72753         (La_x32_retval): Likewise.
72754         (la_x32_gnu_pltenter): New function prototype.
72755         (la_x32_gnu_pltexit): Likewise.
72757 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72759         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72760         exponent.
72762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72764         * configure.in (libc_cv_cc_nofma): Check for option to disable
72765         generation of FMA instructions.
72766         * configure: Regenerate.
72767         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72768         * sysdeps/ieee754/dbl-64/Makefile: New file.
72769         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72770         Remove brandred-fma4.
72771         (CFLAGS-brandred-fma4.c): Remove.
72772         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72773         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72774         define.
72775         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72776         define.
72778 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72780         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72781         LLONG_MAX != LONG_MAX.
72782         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72783         (_fitoa_word): Likewise.
72784         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72785         LLONG_MAX != LONG_MAX.
72786         * stdio-common/_itowa.h: Include <_itoa.h>.
72787         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72788         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72789         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72790         only if not defined.
72791         (_ITOA_WORD_TYPE): Likewise.
72792         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72793         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72795 2012-03-21  David S. Miller  <davem@davemloft.net>
72797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72799 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72801         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72802         of x86_64 when setting libc_cv_slibdir, libdir and
72803         libc_cv_localedir.
72804         * sysdeps/unix/sysv/linux/configure: Regenerated.
72806 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72808         * manual/lang.texi (Old Varargs): Remove section.
72809         (How Variadic): Update menu.
72810         (va_start): Do not mention varargs.h.
72812 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72813             Joseph Myers  <joseph@codesourcery.com>
72815         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72816         link test.
72817         * configure: Regenerated.
72819 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72821         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72822         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72823         conformtest.pl
72825 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72827         * NOTES: Remove.
72828         * Makefile (files-for-dist): Remove NOTES.
72829         (NOTES): Remove rule.
72830         * README: Don't refer to NOTES.
72831         * manual/creature.texi: Don't include macros.texi.
72832         * manual/intro.texi (creature.texi): Remove comment referring to
72833         NOTES.
72835         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72836         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72837         * configure: Regenerated.
72838         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72839         LIBC_TRY_CC_OPTION.
72840         (libc_cv_as_i686): Likewise.
72841         (libc_cv_cc_avx): Likewise.
72842         (libc_cv_cc_sse2avx): Likewise.
72843         (libc_cv_cc_fma4): Likewise.
72844         (libc_cv_cc_novzeroupper): Likewise.
72845         * sysdeps/i386/configure: Regenerated.
72847         [BZ #13883]
72848         * sysdeps/i386/fpu/s_cexp.S: Remove.
72849         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72850         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72851         * math/libm-test.inc (cexp_test): Add more tests.
72852         * sysdeps/i386/fpu/libm-test-ulps: Update.
72853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72855 2012-03-21  Allan McRae  <allan@archlinux.org>
72857         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72859 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72861         [BZ #13871]
72862         * math/w_exp2.c: Do not include <float.h>.
72863         (o_threshold, u_threshold): Remove.
72864         (__exp2): Calculate result before checking finiteness and calling
72865         __kernel_standard.
72866         * math/w_exp2f.c: Likewise.
72867         * math/w_exp2l.c: Likewise.
72868         * math/libm-test.inc (exp2_test): Require overflow exception for
72869         1e6 input.
72871         [BZ #3866]
72872         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72873         range of signed 64-bit integers before using fistpll.  Remove
72874         checks for whether integers fit in mantissa bits.
72875         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72876         the range of signed 32-bit integers before using fistpl.  Remove
72877         checks for whether integers fit in mantissa bits.
72878         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72879         (__ieee754_powl): Test for y outside the range of signed 64-bit
72880         integers before using fistpll.  Reduce 64-bit values to 63-bit
72881         ones as needed.
72882         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72883         divide-by-zero is raised for zero to large negative powers.
72884         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72885         (__ieee754_powl): Test for y outside the range of signed 64-bit
72886         integers before using fistpll.  Reduce 64-bit values to 63-bit
72887         ones as needed.
72888         * math/libm-test.inc (pow_test): Add more tests.
72890 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72892         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72893         <stdio-common/_itoa.h>.
72894         * debug/segfault.c: Likewise.
72895         * elf/dl-cache.c: Likewise.
72896         * elf/dl-minimal.c: Likewise.
72897         * elf/dl-misc.c: Likewise.
72898         * elf/dl-sysdep.c: Likewise.
72899         * elf/dl-version.c: Likewise.
72900         * elf/rtld.c: Likewise.
72901         * hurd/hurdsock.c: Likewise.
72902         * hurd/lookup-retry.c: Likewise.
72903         * malloc/malloc.c: Likewise.
72904         * malloc/mtrace.c: Likewise.
72905         * nscd/nscd_getgr_r.c: Likewise.
72906         * nscd/nscd_getpw_r.c: Likewise.
72907         * nscd/nscd_getserv_r.c: Likewise.
72908         * posix/getopt_init.c: Likewise.
72909         * posix/wordexp.c: Likewise.
72910         * stdio-common/_itoa.c: Likewise.
72911         * stdio-common/printf_fphex.c: Likewise.
72912         * stdio-common/vfprintf.c: Likewise.
72913         * string/_strerror.c: Likewise.
72914         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72915         * sysdeps/i386/i686/hp-timing.h: Likewise.
72916         * sysdeps/mach/_strerror.c: Likewise.
72917         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72918         * sysdeps/mach/hurd/sethostid.c: Likewise.
72919         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72920         * sysdeps/mach/xpg-strerror.c: Likewise.
72921         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72922         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72923         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72924         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72925         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72926         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72927         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72928         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72929         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72930         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72931         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72932         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72933         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72934         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72935         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72936         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72937         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72938         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72939         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72940         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72941         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72943         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72945         * stdio-common/_itoa.h: Moved to ...
72946         * sysdeps/generic/_itoa.h: Here.
72948         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72950         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72951         instead of "_itoa.h" and "_itowa.h".
72952         * stdio-common/vfprintf.: Likewise.
72954 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72956         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72957         <bits/wordsize.h>.
72958         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72959         (__signbit): Likwise.
72960         (llrintf): Likwise.
72961         (llrint): Likwise.
72963 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72965         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72966         __WORDSIZE != 64.
72968 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72970         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72971         OVERFLOW_EXCEPTION_OK.
72972         * math/libm-test.inc ("Philosophy"): Update comment about
72973         exception testing.
72974         (OVERFLOW_EXCEPTION): Define.
72975         (OVERFLOW_EXCEPTION_OK): Likewise.
72976         (INVALID_EXCEPTION_OK): Renumber.
72977         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72978         (IGNORE_ZERO_INF_SIGN): Likewise.
72979         (test_exceptions): Handle FE_OVERFLOW.
72980         (exp10_test): Expect overflow exceptions.
72981         (exp2_test): Likewise.
72982         (expm1_test): Likewise.
72983         (nextafter_test): Likewise.
72984         (pow_test): Likewise.
72985         (scalbn_test): Likewise.
72986         (scalbln_test): Likewise.
72988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72990         * sysdeps/x86_64/bits/atomic.h
72991         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72992         64bit integer.
72993         (atomic_exchange_acq): Likewise.
72994         (__arch_exchange_and_add_body): Likewise.
72995         (__arch_add_body): Likewise.
72996         (atomic_add_negative): Likewise.
72997         (atomic_add_zero): Likewise.
72999 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73001         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73002         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73004 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73006         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73007         Check __x86_64__ instead of __WORDSIZE.
73009 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73011         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73013 2012-03-19  David S. Miller  <davem@davemloft.net>
73015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73017         * sysdeps/sparc/fpu/fenv_private.h: New file.
73018         * sysdeps/sparc/fpu/math_private.h: Use it.
73019         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73020         Remove.
73021         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73022         (libc_feholdexcept_setroundl): Remove.
73023         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73024         Remove.
73025         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73026         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73030         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73031         int64_t instead of long int.
73032         (INSERT_WORDS64): Likwise.
73034 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73036         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73037         _Unwind_GetCFA return to _Unwind_Ptr first.
73039 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73041         [BZ #13629]
73042         * math/s_clog.c: Include <float.h>.
73043         (__clog): Scale large or subnormal inputs.
73044         * math/s_clogf.c: Likewise.
73045         * math/s_clogl.c: Likewise.
73046         * math/s_clog10.c: Include <float.h>.
73047         (M_LOG10_2): Define.
73048         (__clog10): Scale large or subnormal inputs.
73049         * math/s_clog10f.c: Likewise.
73050         * math/s_clog10l.c: Likewise.
73051         * math/libm-test.inc (clog_test): Add more tests.
73052         (clog10_test): Likewise.
73053         * sysdeps/i386/fpu/libm-test-ulps: Update.
73054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73056         [BZ #11451]
73057         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73058         x and y.
73059         * math/libm-test.inc (atan2_test): Add another test.
73061         * Makerules (common-objdir-compile): Remove.
73062         * sysdeps/unix/Makefile (config-generated): Do not add
73063         $(unix-generated) to variable.
73064         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73065         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73066         Remove rule.
73067         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73068         Likewise.
73069         [generic bits/local_lim.h] (before-compile): Do not append to
73070         variable.
73071         [generic bits/local_lim.h] (common-generated): Likewise.
73072         [generic sys/param.h] (before-compile): Do not append to variable.
73073         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73074         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73075         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73076         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73077         include.
73078         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73079         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73080         [generic sys/param.h] ($(addprefix
73081         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73082         [generic sys/param.h] (common-generated): Do not append to
73083         variable.
73084         [generic sys/param.h] (sysdep_headers): Likewise.
73085         [generic bits/errno.h] (before-compile): Do not append to
73086         variable.
73087         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73088         rule.
73089         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73090         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73091         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73092         [generic bits/errno.h] (common-generated): Do not append to
73093         variable.
73094         [generic bits/ioctls.h] (before-compile): Do not append to
73095         variable.
73096         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73097         rule.
73098         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73099         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73100         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73101         rule.
73102         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73103         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73104         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73105         [generic bits/ioctls.h] (common-generated): Do not append to
73106         variable.
73107         [generic sys/syscall.h] (syscall.h): Remove variable.
73108         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73109         rule.
73110         [generic sys/syscall.h] (before-compile): Do not append to
73111         variable.
73112         [generic sys/syscall.h] (common-generated): Likewise.
73113         * sysdeps/unix/errnos-tmpl.c: Remove file.
73114         * sysdeps/unix/errnos.awk: Likewise.
73115         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73116         * sysdeps/unix/ioctls.awk: Likewise.
73117         * sysdeps/unix/mk-local_lim.c: Likewise.
73118         * sysdeps/unix/snarf-ioctls: Likewise.
73120 2012-03-19  Richard Henderson  <rth@twiddle.net>
73122         * sysdeps/i386/fpu/fenv_private.h: New file.
73123         * sysdeps/i386/fpu/math_private.h: Use it.
73124         (math_opt_barrier, math_force_eval): Remove.
73125         (libc_feholdexcept_setround_53bit): Remove.
73126         (libc_feupdateenv_53bit): Remove.
73127         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73128         (math_opt_barrier, math_force_eval): Remove.
73129         (libc_feholdexcept): Remove.
73130         (libc_feholdexcept_setround): Remove.
73131         (libc_fetestexcept, libc_fesetenv): Remove.
73132         (libc_feupdateenv_test): Remove.
73133         (libc_feupdateenv, libc_feholdsetround): Remove.
73134         (libc_feresetround): Remove.
73136         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73137         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73139         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73140         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73141         (libc_feupdateenv_testl): New.
73142         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73143         (libc_feupdateenv_testf): New.
73144         (libc_feupdateenv): Use libc_feupdateenv_test.
73145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73146         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73148         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73149         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73150         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73151         (libc_feresetround_noex): New.
73152         (libc_feresetround_noexf): New.
73153         (libc_feresetround_noexl): New.
73154         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73155         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73156         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73157         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73158         SET_RESTORE_ROUND.
73159         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73161         (__cos): Likewise.
73162         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73163         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73164         SET_RESTORE_ROUND_NOEX.
73165         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73166         SET_RESTORE_ROUND_NOEXF.
73167         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73168         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73169         (libc_feholdsetroundf): New.
73170         (libc_feresetround, libc_feresetroundf): New.
73172         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73173         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73174         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73176         * sysdeps/generic/math_private.h: Include <fenv.h>.
73177         (default_libc_feholdexcept): New.
73178         (default_libc_feholdexcept_setround): New.
73179         (default_libc_fesetenv, default_libc_feupdateenv): New.
73180         (libc_feholdexcept): Only define if undefined.
73181         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73182         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73183         (libc_feholdexcept_setroundl): Likewise.
73184         (libc_feholdexcept_setround_53bit): Likewise.
73185         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73186         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73187         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73188         (libc_feupdateenv_53bit): Likewise.
73189         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73190         (libc_feholdexcept): Convert from macro to inline function.
73191         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73192         (libc_fesetenv, libc_feupdateenv): Likewise.
73194         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73195         not previously defined.
73196         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73197         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73198         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73199         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73200         * sysdeps/ieee754/flt-32/math_private.h: New file.
73201         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73202         math_private.h below SET_FLOAT_WORD.
73203         (__isnan, __isinf_ns, __finite): Remove.
73204         (__isnanf, __isinf_nsf, __finitef): Remove.
73206 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73210 2012-03-17  David S. Miller  <davem@davemloft.net>
73212         [BZ #6471]
73213         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73214         for 2.16.
73216 2012-03-16  David S. Miller  <davem@davemloft.net>
73218         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73219         warnings.
73221         [BZ #6471]
73222         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73223         properly.
73224         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73225         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73226         sysdep_routines when subdir is sysvipc.
73227         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73228         __getshmlba helper.
73230         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73232 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73234         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73235         [__LP64__].
73237 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73239         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73240         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73241         (__lround): Renamed to ...
73242         (__llround): This.  Replace long int with long long int.
73243         Define lround functions as aliases of llround functions.
73244         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73246 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73248         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73249         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73250         adresses to uintptr_t.  Replace "long int" and "unsigned long
73251         int" with "greg_t" on va_arg.
73253 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73255         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73256         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73258         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73259         Move e_machine check before EI_CLASS check.  Handle x32
73260         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73261         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73262         SKIP_EM_IA_64 and include
73263         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73265         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73266         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73267         (add_system_dir): New macro.
73269         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73270         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73272 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73274         [BZ #2551]
73275         [BZ #2552]
73276         [BZ #2553]
73277         [BZ #2554]
73278         [BZ #2562]
73279         [BZ #2563]
73280         [BZ #2565]
73281         [BZ #2566]
73282         [BZ #2576]
73283         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73284         (y0): Likewise.
73285         * math/w_j0f.c (j0f): Likewise.
73286         (y0f): Likewise.
73287         * math/w_j0l.c (__j0l): Likewise.
73288         (__y0l): Likewise.
73289         * math/w_j1.c (j1): Likewise.
73290         (y1): Likewise.
73291         * math/w_j1f.c (j1f): Likewise.
73292         (y1f): Likewise.
73293         * math/w_j1l.c (__j1l): Likewise.
73294         (__y1l): Likewise.
73295         * math/w_jn.c (jn): Likewise.
73296         (yn): Likewise.
73297         * math/w_jnf.c (jnf): Likewise.
73298         (ynf): Likewise.
73299         * math/w_jnl.c (__jnl): Likewise.
73300         (__ynl): Likewise.
73301         * math/libm-test.inc (j0_test): Add more tests.
73302         (j1_test): Likewise.
73303         (jn_test): Likewise.  Add trailing semicolon to existing test.
73304         (y0_test): Likewise.
73305         (y1_test): Likewise.
73306         * sysdeps/i386/fpu/libm-test-ulps: Update.
73307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73309         [BZ #13851]
73310         [BZ #13854]
73311         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73312         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73313         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73314         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73315         (__tanl): Set errno for infinite argument.
73316         * sysdeps/i386/fpu/mptan.c: Remove.
73317         * sysdeps/i386/fpu/s_tan.S: Likewise.
73318         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73319         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73320         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73321         * math/libm-test.inc (tan_test): Add more tests and enable more
73322         tests for double and long double.
73323         * sysdeps/i386/fpu/libm-test-ulps: Update.
73324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73326 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73328         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73329         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73331 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73333         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73334         * configure.in: Use it for both main tree and add-ons.
73335         * configure: Regenerated.
73337 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73339         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73341 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73343         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73344         in comment.
73346         [BZ #13851]
73347         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73348         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73349         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73350         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73351         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73352         infinite argument.
73353         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73354         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73355         != 0 for prec == 2.
73356         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73357         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73358         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73359         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73360         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73361         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73362         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73363         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73364         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73365         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73366         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73367         * math/libm-test.inc (cos_test): Add more tests and enable more
73368         tests for long double.
73369         (sin_test): Likewise.
73370         (sincos_test): Likewise.
73371         * sysdeps/i386/fpu/libm-test-ulps: Update.
73372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73374 2012-03-16  David S. Miller  <davem@davemloft.net>
73376         * sysdeps/sparc/fpu/math_private.h: New file.
73378 2012-03-15  David S. Miller  <davem@davemloft.net>
73380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73381         file.
73382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73384         file.
73385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73390         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73391         sysdep routines.
73392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73394         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73395         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73397         * sysdeps/sparc/sparc-ifunc.h: New file.
73398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73399         sparc-ifunc.h
73400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73402         Likewise.
73403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73404         Likewise.
73405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73409         Likewise.
73410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73415         Likewise.
73416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73417         Likewise.
73418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73422         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73424         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73425         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73436         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73437         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73438         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73439         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73440         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73441         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73443 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73445         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73446         scaling.
73447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73449 2012-03-15  Andreas Jaeger  <aj@suse.de>
73451         [BZ #13852]
73452         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73453         ieee754/flt-32 implementation for sin, cos and sincos.
73454         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73455         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73456         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73457         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73458         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73459         ieee754/flt-32 implementation for tan.
73461         * math/libm-test.inc (cos_test): Enable some large input tests for
73462         float as well
73463         (sin_test): Likewise.
73464         (sincos_test): Likewise.
73465         (tan_test): Add tests for large input.
73467         * sysdeps/i386/fpu/libm-test-ulps: Update.
73469 2012-03-15  Andreas Jaeger  <aj@suse.de>
73471         [BZ #13658]
73472         * math/libm-test.inc (cos_test): Add more test cases.
73473         (sin_test): Likewise.
73474         (sincos_test): Likewise.
73476 2012-03-15  Andreas Jaeger  <aj@suse.de>
73478         [BZ #13837]
73479         * math/libm-test.inc (cos_test): Add a test case for large input
73480         value.
73481         (sin_test): Likewise.
73482         (sincos_test): Likewise.
73484 2012-03-15  Andreas Jaeger  <aj@suse.de>
73485             Joseph Myers  <joseph@codesourcery.com>
73487         [BZ #13658]
73488         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73489         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73490         * sysdeps/i386/fpu/branred.c: Likewise.
73491         * sysdeps/i386/fpu/dosincos.c: Likewise.
73492         * sysdeps/i386/fpu/mpa.c: Likewise.
73493         * sysdeps/i386/fpu/s_cos.S: Likewise.
73494         * sysdeps/i386/fpu/s_sin.S: Likewise.
73495         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73496         * sysdeps/i386/fpu/sincos32.c: Likewise.
73498         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73499         Define.
73500         (libc_feupdateenv_53bit): Define.
73501         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73502         Define.
73503         (libc_feupdateenv_53bit): Define.
73505         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73506         53 bit (without extend i386 double precision).
73508         * math/libm-test.inc (sincos_test): Add tests for large input.
73509         (sin): Likewise.
73510         (cos): Likewise.
73512         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73514 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73518 2012-03-15  David S. Miller  <davem@davemloft.net>
73520         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73521         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73522         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73523         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73536         file.
73537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73539         file.
73540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73542         file.
73543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73545         file.
73546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73547         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73548         fmin/fmax sysdep routines.
73549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73551 2012-03-14  David S. Miller  <davem@davemloft.net>
73553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73558         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73559         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73560         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73571         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73573         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73574         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73575         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73576         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73577         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73578         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73579         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73580         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73581         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73582         routines.
73583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73584         file.
73585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73587         file.
73588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73590         file.
73591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73593         file.
73594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73596         file.
73597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73599         file.
73600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73601         file.
73602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73603         file.
73604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73605         file.
73606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73607         New file.
73608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73609         file.
73610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73611         file.
73612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73614         file.
73615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73617         file.
73618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73620         file.
73621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73623         VIS3 routines.
73625         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73626         New file.
73628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73630         * sysdeps/sparc/configure.in: New file.
73631         * sysdeps/sparc/configure: Generate.
73632         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73633         * configure: Regenerate.
73634         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73635         * config.make.in (have-as-vis3): New.
73636         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73637         available use -Av9d instead of -Av9a.
73638         * sysdeps/sparc/sparc64/Makefile: Likewise.
73639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73641         New file.
73642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73643         file.
73644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73645         New file.
73646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73647         file.
73648         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73649         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73650         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73654         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73655         fzeros/fnegs to load 0x80000000 into a float register instead of
73656         using the stack.
73657         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73659 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73662         bits/syscall.h.
73663         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73664         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73665         ($(inst_includedir)/bits/syscall.h): Remove rule.
73666         ($(objpfx)bits/syscall.d): Include instead of
73667         $(objpfx)syscall-list.d.
73668         (generated): Change syscall-list.h and syscall-list.d to
73669         bits/syscall.h and bits/syscall.d.
73671 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73673         [BZ #13846]
73674         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73676 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73678         [BZ #13841]
73679         * math/s_csqrt.c: Include <float.h>.
73680         (__csqrt): Scale large or subnormal inputs.
73681         * math/s_csqrtf.c: Likewise.
73682         * math/s_csqrtl.c: Likewise.
73683         * math/libm-test.inc (csqrt_test): Add more tests.
73684         * sysdeps/i386/fpu/libm-test-ulps: Update.
73685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73687         [BZ #13840]
73688         * math/libm-test.inc (hypot_test): Add more tests.
73690 2012-03-13  David S. Miller  <davem@davemloft.net>
73692         [BZ #13840]
73693         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73694         double-precision for the calculation instead of scaling.
73696 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73698         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73699         manipulate bits before adding and subtracting TWO52[sx].
73700         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73701         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73702         Likewise.
73703         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73705 2012-03-13  David S. Miller  <davem@davemloft.net>
73707         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73708         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73710         rtld-global-offsets.h
73711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73713         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73714         large parameters.
73716         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73718         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73719         'err' in the ifdef scope in which it is actually used.
73721         * nss/nss_db/db-init.c: Include string.h
73723 2012-03-12  David S. Miller  <davem@davemloft.net>
73725         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73726         masking out of the most significant byte of random value used.
73727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73728         Fix coding style in previous change.
73730         * sysdeps/unix/sysv/linux/kernel-features.h
73731         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73732         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73733         expression.
73734         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73735         later.
73737 2012-03-11  David S. Miller  <davem@davemloft.net>
73739         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73740         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73741         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73742         for 'resultvar' otherwise things get truncated on 64-bit.
73744         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73745         Fix masking out of the most significant byte of random value used.
73747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73749 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73753 2012-03-09  David S. Miller  <davem@davemloft.net>
73755         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73756         variables with appropriate CPP guards.
73757         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73758         from the frame pointer, not the stack pointer.  Correct layout
73759         comments.  Fix test on resulting framesize and the management of
73760         the outregs buffer for pltexit.  Preserve floating point return
73761         values across _dl_call_pltexit call.
73762         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73763         framesize and the management of the outregs buffer for pltexit.
73764         Preserve floating point return values across _dl_call_pltexit
73765         call.
73766         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73767         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73768         (la_sparc64_gnu_pltexit): New functions.
73769         (print_exit): Fix format string for return register value.
73771 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73773         * sunrpc/Makefile (others): Add rpcgen.
73774         ($(objpfx)rpcgen): Remove special build rule and dependency on
73775         libc.
73776         * sunrpc/rpcgen.c: New file.
73778 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73780         [BZ #13673]
73781         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73782         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73783         * sysdeps/i386/crti.S: Likewise.
73784         * sysdeps/i386/crtn.S: Likewise.
73785         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73786         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73787         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73788         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73789         * sysdeps/sh/crti.S: Likewise.
73790         * sysdeps/sh/crtn.S: Likewise.
73791         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73793         [BZ #13673]
73794         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73795         with URL.
73796         * locale/programs/locfile-kw.gperf: Likewise.
73797         * locale/programs/charmap-kw.h: Regenerated.
73798         * locale/programs/locfile-kw.h: Likewise.
73800         [BZ #13673]
73801         * intl/plural.y: Replace FSF snail mail address with URL.
73802         * intl/plural.c: Regenerated.
73804 2012-03-09  Richard Henderson  <rth@twiddle.net>
73806         * include/math_private.h: Remove file.
73807         * math/math_private.h: Move file ...
73808         * sysdeps/generic/math_private.h: ... here.
73810         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73811         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73812         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73814         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73815         and <math_private.h>.
73816         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73817         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73818         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73819         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73820         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73821         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73822         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73824         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73825         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73826         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73827         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73828         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73830         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73831         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73832         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73834         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73835         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73836         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73837         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73838         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73839         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73840         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73841         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73842         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73846         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73847         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73848         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73849         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73850         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73852         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73853         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73854         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73855         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73856         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73857         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73858         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73859         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73860         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73861         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73862         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73863         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73864         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73865         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73866         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73867         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73868         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73869         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73870         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73871         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73872         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73874         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73875         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73876         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73877         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73879         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73880         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73890         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73895         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73896         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73897         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73899         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73900         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73901         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73903         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73904         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73905         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73906         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73907         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73908         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73909         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73910         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73911         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73912         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73913         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73914         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73915         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73916         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73917         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73918         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73919         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73920         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73921         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73922         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73923         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73924         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73925         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73926         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73927         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73928         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73929         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73930         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73931         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73932         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73933         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73934         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73935         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73936         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73937         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73939         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73940         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73941         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73943         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73944         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73945         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73946         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73947         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73949         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73950         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73951         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73952         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73953         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73954         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73955         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73956         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73957         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73958         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73959         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73960         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73961         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73962         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73963         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73964         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73965         * sysdeps/ieee754/k_standard.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73976         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73978         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73979         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73980         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73981         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73982         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73983         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73984         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73985         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73986         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73987         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73988         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73991         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73992         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73993         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73994         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73996         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73997         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73998         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73999         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74000         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74002         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74004         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74005         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74006         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74008         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74009         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74011         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74012         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74013         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74014         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74016         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74017         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74018         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74024         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74025         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74026         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74027         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74028         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74030         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74034         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74035         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74038         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74039         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74041         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74043         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74044         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74045         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74051         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74052         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74053         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74054         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74056         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74057         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74058         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74059         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74060         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74061         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74062         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74063         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74064         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74065         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74067         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74070         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74073         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74074         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74075         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74076         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74077         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74078         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74079         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74080         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74081         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74082         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74083         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74084         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74088         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74089         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74091         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74092         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74093         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74094         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74095         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74100         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74101         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74102         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74103         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74104         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74105         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74106         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74107         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74108         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74109         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74110         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74111         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74112         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74113         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74114         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74115         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74116         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74117         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74118         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74119         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74120         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74121         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74122         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74123         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74124         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74125         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74126         * sysdeps/ieee754/s_lib_version.c: Likewise.
74127         * sysdeps/ieee754/s_matherr.c: Likewise.
74128         * sysdeps/ieee754/s_signgam.c: Likewise.
74129         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74130         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74131         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74132         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74133         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74134         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74135         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74136         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74137         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74138         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74139         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74140         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74141         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74143         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74144         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74145         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74146         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74147         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74148         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74149         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74151 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74153         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74154         * sunrpc/rpc_main.c: Likewise.
74155         * sunrpc/rpc_svcout.c: Likewise.
74157 2012-03-09  David S. Miller  <davem@davemloft.net>
74159         * include/math_private.h: New file.
74161 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74163         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74164         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74165         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74166         from <bits/socket_type.h>.
74167         (enum __socket_type): Don't define here.
74168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74170         bits/socket_type.h.
74172         [BZ #13566]
74173         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74174         checking __USE_GNU.
74176         * Makerules ($(inst_includedir)/%.h): New rule.
74177         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74178         (install-others): Remove variable setting.
74179         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74181 2012-03-08  Richard Henderson  <rth@twiddle.net>
74183         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74184         from macro to inline function; merge with the
74185         !__LIBC_INTERNAL_MATH_INLINES version.
74186         (__ieee754_sqrtf): Likewise.
74188         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74189         to inline function.
74190         (__rintf, __floor, __floorf): Likewise.
74192         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74193         macro to inline function.
74194         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74196         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74197         not <math/math_private.h>.
74199 2012-03-08  David S. Miller  <davem@davemloft.net>
74201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74202         copyright year.
74203         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74205 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74207         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74208         normalization.
74209         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74210         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74212 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74214         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74215         be defined individually, they must be defined as a block.  Define
74216         S for printing a string instead of hidint the different by using a
74217         macro for adding the 'l'.
74218         * stdio-common/tst-fphex-wide.c: Adjust.
74220 2012-03-07  Marek Polacek  <polacek@redhat.com>
74222         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74224 2012-03-08  Marek Polacek  <polacek@redhat.com>
74226         [BZ #13806]
74227         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74228         * stdio-common/tst-fphex.c: Define a few macros to make the
74229         test reusable.  Use them.
74230         * stdio-common/tst-fphex-wide.c: New file.
74232 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74234         [BZ #6911]
74235         * manual/macros.texi (gnusystems): New macro.
74236         (nongnusystems): Likewise.
74237         (gnulinuxhurdsystems): Likewise.
74238         (gnuhurdsystems): Likewise..
74239         (gnulinuxsystems): Likewise.
74240         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74241         variants of the GNU system, not "GNU system".
74242         * manual/conf.texi: Likewise.
74243         * manual/errno.texi: Likewise.  Update example of errno macro
74244         expansion.
74245         * manual/filesys.texi: Likewise.
74246         (getumask): Document as specific to GNU/Hurd.
74247         * manual/install.texi: Likewise.  Reword some references to
74248         GNU/Linux.
74249         * manual/intro.texi: Likewise.
74250         * manual/io.texi: Likewise.
74251         (File Name Portability): Detail which constraints are inapplicable
74252         to all GNU systems and which are only inapplicable to GNU/Hurd.
74253         * manual/job.texi: Likewise.
74254         * manual/llio.texi: Likewise.
74255         (O_NOCTTY): Document as present on GNU/Linux.
74256         * manual/maint.texi: Likewise.
74257         * manual/memory.texi: Likewise.
74258         * manual/pattern.texi: Likewise.
74259         * manual/pipe.texi: Likewise.
74260         * manual/process.texi: Likewise.
74261         * manual/resource.texi: Likewise.
74262         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74263         child on GNU/Hurd.
74264         * manual/setjmp.texi: Likewise.
74265         * manual/signal.texi: Likewise.
74266         * manual/startup.texi: Likewise.
74267         * manual/stdio.texi: Likewise.
74268         * manual/terminal.texi: Likewise.
74269         (ONLCR): Document as POSIX.
74270         (OXTABS): Document availability on GNU/Linux as XTABS.
74271         (ONOEOT): Document availability separately from other bits.
74272         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74273         * manual/time.texi: Likewise.
74274         * manual/users.texi: Likewise.
74275         * INSTALL: Regenerated.
74276         * sysdeps/gnu/errlist.c: Regenerated.
74278         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74279         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74280         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74281         puts.
74282         * configure: Regenerated.
74284 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74286         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74287         default includes instead of AC_HEADER_CHECK.
74288         * sysdeps/i386/configure: Regenerated.
74290         [BZ #10716]
74291         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74292         * math/s_cacoshf.c (__cacoshf): Likewise.
74293         * math/s_cacoshl.c (__cacoshl): Likewise.
74294         * math/s_casinh.c (__casinh): Set signs of result from argument.
74295         * math/s_casinhf.c (__casinhf): Likewise.
74296         * math/s_casinhl.c (__casinhl): Likewise.
74297         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74298         (casinh_test): Add more tests.
74299         * sysdeps/i386/fpu/libm-test-ulps: Update.
74300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74302 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74304         * po/zh_TW.po: Update from translation team.
74306         * login/Makefile (distribute): Remove variable.
74307         * catgets/Makefile: Likewise.
74308         * mach/Makefile: Likewise.
74309         * malloc/Makefile: Likewise.
74310         * misc/Makefile: Likewise.
74311         * iconv/Makefile: Likewise.
74312         * nscd/Makefile: Likewise.
74313         * hurd/Makefile: Likewise.
74314         * manual/Makefile: Likewise.
74315         * locale/Makefile: Likewise.
74316         * intl/Makefile: Likewise.
74317         * conform/Makefile: Likewise.
74318         * nss/Makefile: Likewise.
74319         * time/Makefile: Likewise.
74320         * soft-fp/Makefile: Likewise.
74321         * dirent/Makefile: Likewise.
74322         * gmon/Makefile: Likewise.
74323         * po/Makefile: Likewise.
74324         * rt/Makefile: Likewise.
74325         * socket/Makefile: Likewise.
74326         * math/Makefile: Likewise.
74327         * signal/Makefile: Likewise.
74328         * debug/Makefile: Likewise.
74329         * elf/Makefile: Likewise.
74330         * timezone/Makefile: Likewise.
74331         * stdlib/Makefile: Likewise.
74332         * iconvdata/Makefile: Likewise.
74333         * sunrpc/Makefile: Likewise.
74334         * io/Makefile: Likewise.
74335         * argp/Makefile: Likewise.
74336         * inet/Makefile: Likewise.
74337         * hesiod/Makefile: Likewise.
74338         * grp/Makefile: Likewise.
74339         * csu/Makefile: Likewise.
74340         * wctype/Makefile: Likewise.
74341         * crypt/Makefile: Likewise.
74342         * libio/Makefile: Likewise.
74343         * string/Makefile: Likewise.
74344         * nis/Makefile: Likewise.
74345         * resolv/Makefile: Likewise.
74346         * stdio-common/Makefile: Likewise.
74347         * wcsmbs/Makefile: Likewise.
74348         * dlfcn/Makefile: Likewise.
74349         * posix/Makefile: Likewise.
74351         [BZ #6959]
74352         * timezone/Makefile: Don't install timezone files, just the programs
74353         and scripts.
74355 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74357         * nss/databases.def: Add missing gshadow entry.
74359         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74361 2012-03-06  Marek Polacek  <polacek@redhat.com>
74363         [BZ #13726]
74364         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74365         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74366         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74367         * stdio-common/tst-long-dbl-fphex.c: New file.
74369 2012-03-06  David S. Miller  <davem@davemloft.net>
74371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74372         (set_obp_int): New function.
74373         (get_obp_int): New function.
74374         (__get_clockfreq_via_dev_openprom): Likewise.
74375         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74376         Avoid unused variable warnings on 'val' and use builtin_expect.
74377         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74378         __builtin_expect.
74379         (INLINE_CLONE_SYSCALL): Likewise.
74381 2012-03-05  David S. Miller  <davem@davemloft.net>
74383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74385 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74390         only for |x| >= 40.
74391         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74393 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74396         Replace gettimeofday with __vdso_gettimeofday.
74398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74399         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74400         __vdso_clock_gettime and __vdso_getcpu.
74402         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74403         time with __vdso_time.
74405 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74407         * manual/lang.texi (size_t): Note types to which size_t may be
74408         equivalent with the GNU C Library, but do not describe when
74409         differences between them are significant.
74411 2012-03-05  Andreas Jaeger  <aj@suse.de>
74413         * sysdeps/i386/fpu/libm-test-ulps: Update.
74415 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74417         [BZ #3976]
74418         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74419         (__ieee754_pow): Save and restore rounding mode and use
74420         round-to-nearest for main computations.
74421         * math/libm-test.inc (pow_test_tonearest): New function.
74422         (pow_test_towardzero): Likewise.
74423         (pow_test_downward): Likewise.
74424         (pow_test_upward): Likewise.
74425         (main): Call the new functions.
74426         * sysdeps/i386/fpu/libm-test-ulps: Update.
74427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74429         [BZ #3976]
74430         * math/libm-test.inc (cosh_test_tonearest): New function.
74431         (cosh_test_towardzero): Likewise.
74432         (cosh_test_downward): Likewise.
74433         (cosh_test_upward): Likewise.
74434         (sinh_test_tonearest): Likewise.
74435         (sinh_test_towardzero): Likewise.
74436         (sinh_test_downward): Likewise.
74437         (sinh_test_upward): Likewise.
74438         (main): Call the new functions.
74439         * sysdeps/i386/fpu/libm-test-ulps: Update.
74440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74442 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74444         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74445         default stack guard is set in last bytes.
74446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74448 2012-03-05  Kees Cook  <keescook@chromium.org>
74450         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74452         [BZ #13656]
74453         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74454         possibly allocate from heap instead of stack.
74455         * stdio-common/bug-vfprintf-nargs.c: New file.
74456         * stdio-common/Makefile (tests): Add nargs overflow test.
74458 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74462 2012-03-03  Marek Polacek  <polacek@redhat.com>
74464         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74465         * math/math_private.h: Likewise.
74466         * stdlib/tst-strtod.c: Likewise.
74467         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74468         * sysdeps/x86_64/bits/atomic.h: Likewise.
74470 2012-03-02  David S. Miller  <davem@davemloft.net>
74472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74476         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74477         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74478         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74479         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74481 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74483         [BZ #13792]
74484         * manual/examples/README: New file, says the example source files
74485         can be used under GPL>=2.
74486         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74487         line containing just "*/".
74488         * manual/examples/add.c: Add copyright header (GPL>=2).
74489         * manual/examples/argp-ex1.c: Likewise.
74490         * manual/examples/argp-ex2.c: Likewise.
74491         * manual/examples/argp-ex3.c: Likewise.
74492         * manual/examples/argp-ex4.c: Likewise.
74493         * manual/examples/atexit.c: Likewise.
74494         * manual/examples/db.c: Likewise.
74495         * manual/examples/dir.c: Likewise.
74496         * manual/examples/dir2.c: Likewise.
74497         * manual/examples/execinfo.c: Likewise.
74498         * manual/examples/filecli.c: Likewise.
74499         * manual/examples/filesrv.c: Likewise.
74500         * manual/examples/fmtmsgexpl.c: Likewise.
74501         * manual/examples/genpass.c: Likewise.
74502         * manual/examples/inetcli.c: Likewise.
74503         * manual/examples/inetsrv.c: Likewise.
74504         * manual/examples/isockad.c: Likewise.
74505         * manual/examples/longopt.c: Likewise.
74506         * manual/examples/memopen.c: Likewise.
74507         * manual/examples/memstrm.c: Likewise.
74508         * manual/examples/mkfsock.c: Likewise.
74509         * manual/examples/mkisock.c: Likewise.
74510         * manual/examples/mygetpass.c: Likewise.
74511         * manual/examples/pipe.c: Likewise.
74512         * manual/examples/popen.c: Likewise.
74513         * manual/examples/rprintf.c: Likewise.
74514         * manual/examples/search.c: Likewise.
74515         * manual/examples/select.c: Likewise.
74516         * manual/examples/setjmp.c: Likewise.
74517         * manual/examples/sigh1.c: Likewise.
74518         * manual/examples/sigusr.c: Likewise.
74519         * manual/examples/stpcpy.c: Likewise.
74520         * manual/examples/strdupa.c: Likewise.
74521         * manual/examples/strftim.c: Likewise.
74522         * manual/examples/strncat.c: Likewise.
74523         * manual/examples/subopt.c: Likewise.
74524         * manual/examples/swapcontext.c: Likewise.
74525         * manual/examples/termios.c: Likewise.
74526         * manual/examples/testopt.c: Likewise.
74527         * manual/examples/testpass.c: Likewise.
74528         * manual/examples/timeval_subtract.c: Likewise.
74530         [BZ #13792]
74531         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74532         function to ...
74533         * manual/timeval_subtract.c.texi: ... here, new file.
74535 2012-03-02  David S. Miller  <davem@davemloft.net>
74537         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74539 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74541         [BZ #3976]
74542         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74543         (__sin): Save and restore rounding mode and use round-to-nearest
74544         for all computations.
74545         (__cos): Save and restore rounding mode and use round-to-nearest
74546         for all computations.
74547         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74548         <fenv.h>.
74549         (tan): Save and restore rounding mode and use round-to-nearest for
74550         all computations.
74551         * math/libm-test.inc (cos_test_tonearest): New function.
74552         (cos_test_towardzero): Likewise.
74553         (cos_test_downward): Likewise.
74554         (cos_test_upward): Likewise.
74555         (sin_test_tonearest): Likewise.
74556         (sin_test_towardzero): Likewise.
74557         (sin_test_downward): Likewise.
74558         (sin_test_upward): Likewise.
74559         (tan_test_tonearest): Likewise.
74560         (tan_test_towardzero): Likewise.
74561         (tan_test_downward): Likewise.
74562         (tan_test_upward): Likewise.
74563         (main): Call the new functions.
74564         * sysdeps/i386/fpu/libm-test-ulps: Update.
74565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74567         [BZ #10135]
74568         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74569         small n, then large n, before computing and testing k+n.
74570         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74572         Likewise.
74573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74574         Likewise.
74575         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74576         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74577         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74578         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74582         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74583         * math/libm-test.inc (scalbn_test): Add more tests.
74584         (scalbln_test): Likewise.
74586         * manual/filesys.texi (mode_t): Describe constraints on size and
74587         signedness, not exact equivalence to a particular type.
74588         (ino_t): Likewise.
74589         (ino64_t): Likewise.
74590         (dev_t): Likewise.
74591         (nlink_t): Likewise.
74592         (blkcnt_t): Likewise.
74593         (blkcnt64_t): Likewise.
74594         * manual/llio.texi (off_t): Likewise.
74596         [BZ #3976]
74597         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74598         (__ieee754_exp): Save and restore rounding mode and use
74599         round-to-nearest for all computations.
74600         * math/libm-test.inc (exp_test_tonearest): New function.
74601         (exp_test_towardzero): Likewise.
74602         (exp_test_downward): Likewise.
74603         (exp_test_upward): Likewise.
74604         (main): Call the new functions.
74605         * sysdeps/i386/fpu/libm-test-ulps: Update.
74606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74608 2012-03-01  Chris Demetriou  <cgd@google.com>
74610         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74611         have predictable order.
74613 2012-03-01  David S. Miller  <davem@davemloft.net>
74615         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74617         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74618         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74619         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74620         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74622         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74623         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74624         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74626         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74627         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74628         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74629         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74630         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74634         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74635         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74636         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74638         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74639         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74640         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74641         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74642         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74643         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74644         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74645         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74646         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74647         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74648         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74649         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74650         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74651         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74652         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74654         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74655         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74656         * sysdeps/sparc/elf/configure: Regenerated.
74658 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74660         * configure.in (AS, LD): Require binutils 2.20 or later.
74661         * configure: Regenerated.
74662         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74663         as required minimum version.
74664         * INSTALL: Regenerated.
74666         [BZ #2541]
74667         [BZ #4108]
74668         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74669         before squaring exponent.
74670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74671         bottom long double and 27 bits of top long double before squaring
74672         exponent.
74673         * math/libm-test.inc (erfc_test): Add more tests.
74674         * sysdeps/i386/fpu/libm-test-ulps: Update.
74675         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74678 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74680         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74681         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74682         containing bit-fields.
74683         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74684         * soft-fp/single.h (_FP_UNION_S): Likewise.
74685         * soft-fp/double.h (_FP_UNION_D): Likewise.
74687 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74689         [BZ #13786]
74690         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74691         not include ../strcmp.S.
74692         [USE_AS_STRNCASECMP_L]: Likewise.
74693         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74694         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74695         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74696         (__strncasecmp_l_ia32): Define as alias to
74697         __strncasecmp_l_nonascii.
74699         [BZ #5794]
74700         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74701         * sysdeps/i386/fpu/libm-test-ulps: Update.
74702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74704         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74707 2012-02-29  Jeff Law  <law@redhat.com>
74709         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74710         out of bounds read.
74712 2012-02-29  Marek Polacek  <polacek@redhat.com>
74714         [BZ #13706]
74715         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74716         * elf/Makefile: Add rules to run tst-unused-dep.out.
74718 2012-02-28  David S. Miller  <davem@davemloft.net>
74720         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74721         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74722         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74723         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74724         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74725         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74727 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74729         * math/libm-test.inc (llround_test): Move one test from
74730         lround_test.  Use TEST_f_L in moved test.
74731         (lround_test): Move misplaced test to llround_test.  Add testcase
74732         from bug 2561.
74734 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74736         * sysdeps/x86_64/fpu/e_expf.S: New file.
74737         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74739 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74741         [BZ #13637]
74742         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74743         of remain_len that may cause incomplete multi-byte character and
74744         false match.
74745         * posix/bug-regex33.c: New file.
74746         * posix/Makefile (tests): Add bug-regex33.
74748 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74750         * manual/macros.texi: New file.
74751         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74752         * manual/libc.texinfo: Include macros.texi.
74753         * manual/creatute.texi: Likewise.
74754         * manual/install.texi: Likewise.
74755         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74756         @glibcadj{} in references to the GNU C Library.
74757         * manual/charset.texi: Likewise.
74758         * manual/conf.texi: Likewise.
74759         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74760         when not using those macros.
74761         * manual/creature.texi: Likewise.
74762         * manual/crypt.texi: Likewise.
74763         * manual/errno.texi: Likewise.
74764         * manual/filesys.texi: Likewise.
74765         * manual/header.texi: Likewise.
74766         * manual/install.texi: Likewise.
74767         * manual/intro.texi: Likewise.
74768         * manual/io.texi: Likewise.
74769         * manual/job.texi: Likewise.
74770         * manual/lang.texi: Likewise.
74771         * manual/libc.texiinfo: Likewise.
74772         * manual/llio.texi: Likewise.
74773         * manual/locale.texi: Likewise.
74774         * manual/maint.texi: Likewise.
74775         * manual/math.texi: Likewise.
74776         * manual/memory.texi: Likewise.
74777         * manual/message.texi: Likewise.
74778         * manual/nss.texi: Likewise.
74779         * manual/pattern.texi: Likewise.
74780         * manual/process.texi: Likewise.
74781         * manual/resource.texi: Likewise.
74782         * manual/search.texi: Likewise.
74783         * manual/setjmp.texi: Likewise.
74784         * manual/signal.texi: Likewise.
74785         * manual/socket.texi: Likewise.
74786         * manual/startup.texi: Likewise.
74787         * manual/stdio.texi: Likewise.
74788         * manual/string.texi: Likewise.
74789         * manual/sysinfo.texi: Likewise.
74790         * manual/syslog.texi: Likewise.
74791         * manual/terminal.texi: Likewise.
74792         * manual/time.texi: Likewise.
74793         * manual/users.texi: Likewise.
74794         * INSTALL: Regenerated.
74795         * NOTES: Regenerated.
74796         * sysdeps/gnu/errlist.c: Regenerated.
74798 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74800         * include/dirent.h: Include <dirstream.h> before
74801         <dirent/dirent.h>.
74803 2012-02-28  David S. Miller  <davem@davemloft.net>
74805         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74806         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74807         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74808         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74810 2012-02-27  David S. Miller  <davem@davemloft.net>
74812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74814         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74815         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74818         frame pointer instead of stack pointer relative arg slot.
74819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74820         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74821         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74823 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74825         [BZ #3992]
74826         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74828 2012-02-27  David S. Miller  <davem@davemloft.net>
74830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74834         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74835         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74836         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74837         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74839 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74841         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74842         later.  Allow versions 5-9.
74843         * configure: Regenerated.
74844         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74845         required minimum version and 4.6 as recommended version.  Do not
74846         mention bugs in GCC 2.7 and 2.8.
74847         * INSTALL: Regenerated.
74849 2012-02-27  David S. Miller  <davem@davemloft.net>
74851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74855         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74856         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74857         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74858         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74861         manipulate bits before adding and subtracting TWO112[sx].
74862         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74864 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74866         [BZ #13775]
74867         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74868         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74869         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74870         being in POSIX, because they are in 1003.1-2008.
74872         * rt/tst-aio.c: Include <fcntl.h>.
74873         * rt/tst-aio7.c: Likewise.
74874         * rt/tst-aio64.c: Likewise.
74876         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74878 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74880         * manual/install.texi (--with-headers): Describe headers as
74881         interface headers, not private headers.
74882         (Specific advice for GNU/Linux systems): Describe use of headers
74883         from "make headers_install", not private headers from older
74884         kernels.
74885         * INSTALL: Regenerated.
74886         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74887         Change to 2.6.19.
74888         * sysdeps/unix/sysv/linux/configure: Regenerated.
74890         * manual/llio.texi (fclean): Remove documentation.
74892         * manual/Makefile (libc-texi-generated): New variable.  Include
74893         version.texi.
74894         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74895         $(libc-texi-generated), not duplicated list of files.
74896         (version.texi, stamp-version): New rules.
74897         (realclean): Remove $(libc-texi-generated), not individual files
74898         from that list.  Do not remove dir-add.texinfo.
74899         * manual/libc.texinfo: Comment out uses of edition numbers and
74900         references to printed manual.  Remove last-updated dates.
74901         (EDITION): Comment out.
74902         (ISBN): Likewise.
74903         (VERSION, UPDATED): Remove.
74904         (version.texi): Include.
74906 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74908         * sysdeps/posix/spawni.c: Include <signal.h>.
74909         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74910         * sysdeps/pthread/aio_fsync.c: Likewise.
74912 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74914         * conform/Makefile (tests): Run only when not cross-compiling and
74915         when fast-check is not defined.
74917         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74918         * conform/data/limits.h-data: Fixes for POSIX2008.
74919         * conform/run-conformtest.sh: Run all tests.
74920         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74921         headers.
74922         * include/bits/dlfcn.h: Likewise.
74923         * include/langinfo.h: Likewise.
74924         * include/monetary.h: Likewise.
74925         * include/sys/poll.h: Likewise.
74927         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74928         for __USE_GNU.
74929         * posix/spawn.h: Define __need_sigset_t.
74930         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74931         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74932         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74933         to get sigevent_t only.
74934         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74935         only for __USE_GNU.
74936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74937         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74938         process_vm_writev only for __USE_GNU.
74939         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74941         * conform/Makefile: For now ignore errors from run-conformtest.
74942         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74943         POSIX to avoid namespace pollution.  Don't prepend headers.
74944         * conform/data/aio.h-data: Fixes for POSIX testing.
74945         * conform/data/fcntl.h-data: Likewise.
74946         * conform/data/glob.h-data: Likewise.
74947         * conform/data/grp.h-data: Likewise.
74948         * conform/data/pthread.h-data: Likewise.
74949         * conform/data/pwd.h-data: Likewise.
74950         * conform/data/signal.h-data: Likewise.
74951         * conform/data/spawn.h-data: Likewise.
74952         * conform/data/stdio.h-data: Likewise.
74953         * conform/data/stdlib.h-data: Likewise.
74954         * conform/data/stropts.h-data: Likewise.
74955         * conform/data/sys/mman.h-data: Likewise.
74956         * conform/data/sys/stat.h-data: Likewise.
74957         * conform/data/sys/types.h-data: Likewise.
74958         * conform/data/sys/wait.h-data: Likewise.
74959         * conform/data/time.h-data: Likewise.
74960         * conform/data/unistd.h-data: Likewise.
74961         * conform/data/utime.h-data: Likewise.
74963         * io/sys/stat.h: fchmod was always in POSIX.
74964         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74965         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74966         * rt/aio.h: Define __need_timespec before including <time.h>.
74967         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74968         struct.  Add forward declaration of pthread_attr_t and use it in
74969         sigevent.
74970         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74971         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74972         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74973         always remove CLK_TCK definition.
74975 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74977         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74979 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74981         * conform/run-conformtest.sh: New file.
74982         * conform/Makefile: Run run-conformtest for tests.
74983         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74984         support.
74986         * conform/data/uchar.h-data: New file.
74987         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74988         * conform/data/arpa/inet.h-data: Likewise.
74989         * conform/data/assert.h-data: Likewise.
74990         * conform/data/complex.h-data: Likewise.
74991         * conform/data/cpio.h-data: Likewise.
74992         * conform/data/ctype.h-data: Likewise.
74993         * conform/data/dirent.h-data: Likewise.
74994         * conform/data/dlfcn.h-data: Likewise.
74995         * conform/data/errno.h-data: Likewise.
74996         * conform/data/fcntl.h-data: Likewise.
74997         * conform/data/float.h-data: Likewise.
74998         * conform/data/fmtmsg.h-data: Likewise.
74999         * conform/data/fnmatch.h-data: Likewise.
75000         * conform/data/ftw.h-data: Likewise.
75001         * conform/data/glob.h-data: Likewise.
75002         * conform/data/grp.h-data: Likewise.
75003         * conform/data/iconv.h-data: Likewise.
75004         * conform/data/inttypes.h-data: Likewise.
75005         * conform/data/langinfo.h-data: Likewise.
75006         * conform/data/libgen.h-data: Likewise.
75007         * conform/data/limits.h-data: Likewise.
75008         * conform/data/locale.h-data: Likewise.
75009         * conform/data/math.h-data: Likewise.
75010         * conform/data/monetary.h-data: Likewise.
75011         * conform/data/mqueue.h-data: Likewise.
75012         * conform/data/ndbm.h-data: Likewise.
75013         * conform/data/net/if.h-data: Likewise.
75014         * conform/data/netdb.h-data: Likewise.
75015         * conform/data/netinet/in.h-data: Likewise.
75016         * conform/data/nl_types.h-data: Likewise.
75017         * conform/data/poll.h-data: Likewise.
75018         * conform/data/pthread.h-data: Likewise.
75019         * conform/data/pwd.h-data: Likewise.
75020         * conform/data/regex.h-data: Likewise.
75021         * conform/data/sched.h-data: Likewise.
75022         * conform/data/search.h-data: Likewise.
75023         * conform/data/semaphore.h-data: Likewise.
75024         * conform/data/setjmp.h-data: Likewise.
75025         * conform/data/signal.h-data: Likewise.
75026         * conform/data/spawn.h-data: Likewise.
75027         * conform/data/stdarg.h-data: Likewise.
75028         * conform/data/stdio.h-data: Likewise.
75029         * conform/data/stdlib.h-data: Likewise.
75030         * conform/data/string.h-data: Likewise.
75031         * conform/data/strings.h-data: Likewise.
75032         * conform/data/stropts.h-data: Likewise.
75033         * conform/data/sys/ipc.h-data: Likewise.
75034         * conform/data/sys/mman.h-data: Likewise.
75035         * conform/data/sys/msg.h-data: Likewise.
75036         * conform/data/sys/resource.h-data: Likewise.
75037         * conform/data/sys/select.h-data: Likewise.
75038         * conform/data/sys/sem.h-data: Likewise.
75039         * conform/data/sys/shm.h-data: Likewise.
75040         * conform/data/sys/socket.h-data: Likewise.
75041         * conform/data/sys/stat.h-data: Likewise.
75042         * conform/data/sys/statvfs.h-data: Likewise.
75043         * conform/data/sys/time.h-data: Likewise.
75044         * conform/data/sys/timeb.h-data: Likewise.
75045         * conform/data/sys/times.h-data: Likewise.
75046         * conform/data/sys/types.h-data: Likewise.
75047         * conform/data/sys/uio.h-data: Likewise.
75048         * conform/data/sys/un.h-data: Likewise.
75049         * conform/data/sys/utsname.h-data: Likewise.
75050         * conform/data/sys/wait.h-data: Likewise.
75051         * conform/data/syslog.h-data: Likewise.
75052         * conform/data/tar.h-data: Likewise.
75053         * conform/data/termios.h-data: Likewise.
75054         * conform/data/utime.h-data: Likewise.
75055         * conform/data/utmpx.h-data: Likewise.
75056         * conform/data/varargs.h-data: Likewise.
75057         * conform/data/wchar.h-data: Likewise.
75058         * conform/data/wctype.h-data: Likewise.
75059         * conform/data/wordexp.h-data: Likewise.
75061         * include/stropts.h: New file.
75062         * include/uchar.h: New file.
75063         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75064         * include/assert.h: Likewise.
75065         * include/ctype.h: Likewise.
75066         * include/dirent.h: Likewise.
75067         * include/dlfcn.h: Likewise.
75068         * include/fcntl.h: Likewise.
75069         * include/fnmatch.h: Likewise.
75070         * include/glob.h: Likewise.
75071         * include/grp.h: Likewise.
75072         * include/libio.h: Likewise.
75073         * include/locale.h: Likewise.
75074         * include/math.h: Likewise.
75075         * include/net/if.h: Likewise.
75076         * include/netdb.h: Likewise.
75077         * include/netinet/in.h: Likewise.
75078         * include/pthread.h: Likewise.
75079         * include/pwd.h: Likewise.
75080         * include/regex.h: Likewise.
75081         * include/sched.h: Likewise.
75082         * include/search.h: Likewise.
75083         * include/setjmp.h: Likewise.
75084         * include/signal.h: Likewise.
75085         * include/stdio.h: Likewise.
75086         * include/stdlib.h: Likewise.
75087         * include/string.h: Likewise.
75088         * include/sys/cdefs.h: Likewise.
75089         * include/sys/mman.h: Likewise.
75090         * include/sys/msg.h: Likewise.
75091         * include/sys/resource.h: Likewise.
75092         * include/sys/select.h: Likewise.
75093         * include/sys/socket.h: Likewise.
75094         * include/sys/stat.h: Likewise.
75095         * include/sys/statvfs.h: Likewise.
75096         * include/sys/time.h: Likewise.
75097         * include/sys/times.h: Likewise.
75098         * include/sys/uio.h: Likewise.
75099         * include/sys/utsname.h: Likewise.
75100         * include/sys/wait.h: Likewise.
75101         * include/termios.h: Likewise.
75102         * include/time.h: Likewise.
75103         * include/ulimit.h: Likewise.
75104         * include/unistd.h: Likewise.
75105         * include/utime.h: Likewise.
75106         * include/wchar.h: Likewise.
75107         * include/wctype.h: Likewise.
75108         * include/wordexp.h: Likewise.
75110         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75112         * time/time.h: TIME_UTC must be a macro.
75113         Make timespec_get available for ISO C11 only as well.
75115 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75117         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75118         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75120 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75122         * configure.in: Use -o not -a in test for unsupported multi-arch.
75124 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75126         * manual/texinfo.tex: Update to version 2012-01-19.16.
75128 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75130         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75132 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75134         [BZ #13738]
75135         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75136         * manual/fdl-1.3.texi: New file.
75137         * manual/fdl-1.1.texi: File removed.
75139         [BZ #13738]
75140         * manual/libc.texinfo (FDL_VERSION): New @set.
75141         Use it for mention of FDL in cover text.
75142         (Documentation License): Use it in @include file name.
75144 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75145             Roland McGrath  <roland@hack.frob.com>
75147         [BZ #5461]
75148         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75149         (not LONG_LONG_MAX and LONG_LONG_MIN.
75150         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75151         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75152         name.
75153         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75157         [BZ #2547]
75158         [BZ #11365]
75159         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75160         manipulate bits before adding and subtracting TWO23[sx].
75161         * math/libm-test.inc (nearbyint_test): Add more tests.
75163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75165         [BZ #2548]
75166         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75167         bits before adding and subtracting TWO23[sx].
75168         * math/libm-test.inc (rint_test): Add more tests.
75169         (rint_test_tonearest): Likewise.
75170         (rint_test_towardzero): Likewise.
75171         (rint_test_downward): Likewise.
75172         (rint_test_upward: Likewise.
75174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75176         [BZ #10110]
75177         * include/stdc-predef.h: New file.  Extracted from features.h.
75178         * include/features.h: Include stdc-predef.h.
75179         * Makefile (headers): Add stdc-predef.h.
75180         * CONFORMANCE (Compiler limitations): Update.
75182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75184         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75186 2012-02-21  David S. Miller  <davem@davemloft.net>
75188         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75189         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75191 2012-02-20  David S. Miller  <davem@davemloft.net>
75193         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75194         using a normal save/restore sequence, rather than allocating a
75195         dummy stack frame just to store a frame pointer and restore.
75196         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75200         * manual/install.texi: Fix stray word in line-wrapped comment.
75202 2012-02-20  David S. Miller  <davem@davemloft.net>
75204         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75205         both binutils and gcc support GOTDATA.
75207         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75208         "rd %pc" in the PIC register setup sequences.
75210         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75211         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75212         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75213         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75214         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75217         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75219         (SYSCALL_ERROR_HANDLER): Likewise.
75220         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75223         (SYSCALL_ERROR_HANDLER): Likewise.
75225         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75226         (HAVE_GCC_GOTDATA): New.
75227         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75228         relocation support in both binutils and gcc.
75229         * sysdeps/sparc/elf/configure: Regenerate.
75231         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75232         * sysdeps/sparc/sparc32/elf/configure: Delete.
75233         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75234         * sysdeps/sparc/sparc64/elf/configure: Delete.
75235         * sysdeps/sparc/elf/configure.in: New file.
75236         * sysdeps/sparc/elf/configure: Generate.
75238         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75239         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75240         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75241         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75242         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75244 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75246         * manual/install.texi: Do not mention specific glibc version
75247         numbers.
75248         * manual/libc.texinfo (VERSION, UPDATED): Update.
75249         (@copying): Use @copyright{} and range of years.
75251 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75253         [BZ #13695]
75254         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75255         [crti.S not in sysdirs] (generated): Do not append.
75256         [crti.S not in sysdirs] (omit-deps): Likewise.
75257         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75258         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75259         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75260         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75261         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75262         Likewise.
75263         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75264         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75265         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75266         * csu/defs.awk: Remove file.
75267         * sysdeps/generic/initfini.c: Likewise.
75268         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75269         variable.
75270         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75271         Likewise.
75273 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75275         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75276         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75277         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75279         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75280         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75281         <bits/epoll.h>.
75282         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75283         (__EPOLL_PACKED): Define to empty if not defined by
75284         <bits/epoll.h>.
75285         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75287         bits/epoll.h.
75289 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75291         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75292         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75293         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75294         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75295         <bits/timerfd.h>.
75296         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75298         bits/timerfd.h.
75300 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75302         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75303         in C locale.
75304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75305         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75306         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75309 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75311         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75312         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75314 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75316         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75317         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75318         defined.
75319         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75320         Likewise.
75321         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75322         entry for 2.16.
75324 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75326         * math/w_acos.c: Use non-signaling floating-point comparisons.
75327         * math/w_acosf.c: Likewise.
75328         * math/w_acosh.c: Likewise.
75329         * math/w_acoshf.c: Likewise.
75330         * math/w_acoshl.c: Likewise.
75331         * math/w_acosl.c: Likewise.
75332         * math/w_asin.c: Likewise.
75333         * math/w_asinf.c: Likewise.
75334         * math/w_asinl.c: Likewise.
75335         * math/w_atanh.c: Likewise.
75336         * math/w_atanhf.c: Likewise.
75337         * math/w_atanhl.c: Likewise.
75338         * math/w_exp2.c: Likewise.
75339         * math/w_exp2f.c: Likewise.
75340         * math/w_exp2l.c: Likewise.
75341         * math/w_j0.c: Likewise.
75342         * math/w_j0f.c: Likewise.
75343         * math/w_j0l.c: Likewise.
75344         * math/w_j1.c: Likewise.
75345         * math/w_j1f.c: Likewise.
75346         * math/w_j1l.c: Likewise.
75347         * math/w_jn.c: Likewise.
75348         * math/w_jnf.c: Likewise.
75349         * math/w_log.c: Likewise.
75350         * math/w_log10.c: Likewise.
75351         * math/w_log10f.c: Likewise.
75352         * math/w_log10l.c: Likewise.
75353         * math/w_log2.c: Likewise.
75354         * math/w_log2f.c: Likewise.
75355         * math/w_log2l.c: Likewise.
75356         * math/w_logf.c: Likewise.
75357         * math/w_logl.c: Likewise.
75358         * math/w_sqrt.c: Likewise.
75359         * math/w_sqrtf.c: Likewise.
75360         * math/w_sqrtl.c: Likewise.
75361         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75362         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75363         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75364         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75367 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75369         [BZ #9739]
75370         * manual/string.texi (strnlen): Use correct parameter name in
75371         equivalent expression.
75373 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75375         [BZ #11174]
75376         * manual/users.texi (seteuid): Consistently use neweuid for
75377         argument name.
75379 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75381         [BZ #13704]
75382         * manual/nss.texi (Services in the NSS configuration): Correct
75383         list of services in example configuration file.
75385 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75387         [BZ #11322]
75388         * manual/arith.texi: Remove statements about negative zero
75389         behaving identically to zero.
75391 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75393         [BZ #5993]
75394         * manual/install.texi: Do not document upgrading from libc5.
75396 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75398         [BZ #4596]
75399         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75401 2012-02-18  David S. Miller  <davem@davemloft.net>
75403         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75404         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75405         %o7 across the call.
75406         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75407         instead.
75408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75409         SETUP_PIC_REG_LEAF.
75410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75411         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75412         * sysdeps/sparc/crtn.S: Likewise.
75414 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75416         * aout/Makefile: Remove.
75418 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75420         [BZ #13058]
75421         * manual/examples/argp-ex1.c (main): Format definition in GNU
75422         style.
75423         * manual/examples/argp-ex2.c (main): Likewise.
75424         * manual/examples/argp-ex3.c (main): Likewise.
75425         * manual/examples/argp-ex4.c (main): Likewise.
75426         * manual/examples/longopt.c (main): Use new-style prototype
75427         definition.
75428         * manual/examples/strncat.c (main): Specify return type and use
75429         (void) for arguments.
75430         * manual/examples/subopt.c (main): Use char **argv argument.
75432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75434         [BZ #5077]
75435         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75436         rounding modes.
75438 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75440         [BZ #6907]
75441         * manual/string.texi (strchr): Change when strchrnul is
75442         recommended.
75444 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75446         [BZ #174]
75447         * manual/locale.texi (setlocale): Document LOCPATH.
75449 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75451         [BZ #10210]
75452         * manual/process.texi (execle): Move @dots{} before last argument.
75454 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75456         [BZ #12047]
75457         * manual/charset.texi (Generic Charset Conversion): Fix typo
75458         (LC_TYPE -> LC_CTYPE).
75460 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75462         [BZ #5805]
75463         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75464         (scalbnf): Likewise.
75465         (scalbnl): Likewise.
75466         (scalbln): Likewise.
75467         (scalblnf): Likewise.
75468         (scalblnl): Likewise.
75469         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75470         (vwarnx): Likewise.
75471         (verr): Likewise.
75472         (verrx): Likewise.
75473         * manual/filesys.texi (telldir): Use braces around return type.
75474         * manual/llio.texi (mmap): Add space after comma.
75475         (mmap64): Likewise.
75476         * manual/math.texi (jn): Use @var{} on parameter names.
75477         (jnf): Likewise.
75478         (jnl): Likewise.
75479         (yn): Likewise.
75480         (ynf): Likewise.
75481         (ynl): Likewise.
75482         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75483         line.
75484         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75485         "...".
75486         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75487         (sched_get_priority_max): Likewise.
75488         * manual/signal.texi (sigvec): Add space after comma.
75489         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75490         names.
75491         (if_indextoname): Likewise.
75492         (if_freenameindex): Likewise.
75493         (sendto): Use ',' instead of '.' in prototype.
75494         * manual/startup.texi (syscall): Use @dots{} instead of literal
75495         "...".
75496         * manual/stdio.texi (__fpending): Separate initial words of
75497         paragraph from @deftypefun line.
75498         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75499         "...".
75500         (vsyslog): Use @var{} on parameter names.
75501         * manual/terminal.texi (stty): Use @var{} on parameter names.
75502         * manual/users.texi (getutmp): Use @var{} on parameter names.
75503         (getutmpx): Likewise.
75505 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75507         [BZ #6884]
75508         * manual/stdio.texi (fopen): Fix typos in description of
75509         ",ccs=STRING".
75511 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75513         [BZ #4026]
75514         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75515         get clock_id definition.
75517 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75519         [BZ #4822]
75520         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75521         (madvise): Cast every argument to void on its own.
75523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75525         [BZ #9902]
75526         * manual/startup.texi (Exit Status): Fix typo.
75528 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75530         [BZ #10140]
75531         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75532         * manual/examples/argp-ex2.c: Likewise.
75533         * manual/examples/argp-ex3.c: Likewise.
75535 2012-02-16  Richard Henderson  <rth@redhat.com>
75537         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75538         * sysdeps/s390/s390-32/initfini.c: Remove.
75539         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75540         * sysdeps/s390/s390-64/initfini.c: Remove.
75542 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75544         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75545         compiler output for sysdeps/generic/initfini.c.
75546         * sysdeps/sh/elf/initfini.c: Remove file.
75548 2012-02-16  David S. Miller  <davem@davemloft.net>
75550         [BZ #11494]
75551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75553         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75554         * sysdeps/sparc/crti.S: New file.
75555         * sysdeps/sparc/crtn.S: New file.
75556         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75557         * sysdeps/sparc/sparc64/Makefile: Likewise.
75559 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75561         [BZ #3335]
75562         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75564 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75566         [BZ #4822]
75567         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75569         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75570         (write, read, close): Likewise.
75571         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75573 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75575         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75576         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75577         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75578         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75579         <bits/signalfd.h>.
75580         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75582         bits/signalfd.h.
75584 2012-02-14  Marek Polacek  <polacek@redhat.com>
75586         * sysdeps/x86_64/crti.S: New file.
75587         * sysdeps/x86_64/crtn.S: New file.
75588         * sysdeps/x86_64/elf/initfini.c: Remove file.
75590 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75592         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75593         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75594         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75595         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75596         <bits/inotify.h>.
75597         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75599         bits/inotify.h.
75601 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75603         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75604         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75605         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75606         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75607         <bits/eventfd.h>.
75608         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75610         bits/eventfd.h.
75612 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75614         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75615         __feraiseexcept instead of feraiseexcept.
75617         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75618         nanosleep invocations.
75619         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75620         strings, and add error checking for a nanosleep invocations.
75622 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75624         Replace FSF snail mail address with URLs, as per GNU coding standards.
75625         Most of the snail mail addresses were wrong anyway, and omitting
75626         them makes the source code easier to maintain.  Almost all of the
75627         changes are to license notices and to locale LC_IDENTIFICATION
75628         addresses, except for this one:
75629         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75630         not its snail mail address.
75632 2012-02-09  Richard Henderson  <rth@twiddle.net>
75634         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75635         of kernel-features.h.
75637         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75639 2012-02-08  Marek Polacek  <polacek@redhat.com>
75641         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75642         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75643         * sysdeps/gnu/_G_config.h: Likewise.
75644         * sysdeps/generic/_G_config.h: Likewise.
75646 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75648         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75649         tests.
75650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75652         * sysdeps/powerpc/powerpc32/crti.S: New file.
75653         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75654         * sysdeps/powerpc/powerpc64/crti.S: New file.
75655         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75657         * Makeconfig (have-initfini): Don't set.
75658         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75659         * configure.in (nopic_initfini): Don't substitute.
75660         * config.h.in (HAVE_INITFINI): Don't #undef.
75661         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75662         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75664 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75666         Support crti.S and crtn.S provided directly by architectures.
75667         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75668         [crti.S in sysdirs] (omit-deps): Likewise.
75669         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75670         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75671         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75672         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75673         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75674         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75675         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75676         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75677         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75678         compiler output for sysdeps/generic/initfini.c.
75679         * sysdeps/i386/elf/Makefile: Remove file.
75680         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75682 2012-02-07  Marek Polacek  <polacek@redhat.com>
75684         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75685         * sysdeps/gnu/_G_config.h: Likewise.
75686         * sysdeps/mach/hurd/_G_config.h: Likewise.
75688 2012-02-07  Marek Polacek  <polacek@redhat.com>
75690         * math/Makefile (tests): Add tst-CMPLX2.
75691         * math/tst-CMPLX2.c: New file.
75693 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75695         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75697         * math/libm-test.inc (jn_test): Add missing L suffix.
75699 2012-02-06  Marek Polacek  <polacek@redhat.com>
75701         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75702         * sysdeps/i386/fpu/e_powf.S: Likewise.
75703         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75704         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75705         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75706         * sysdeps/i386/fpu/e_pow.S: Likewise.
75707         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75709         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75710         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75711         * sysdeps/i386/fpu/e_log2.S: Likewise.
75712         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75713         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75714         * sysdeps/i386/fpu/e_powl.S: Likewise.
75715         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75716         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75717         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75718         * sysdeps/i386/fpu/e_logl.S: Likewise.
75719         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75720         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75721         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75722         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75723         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75724         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75725         * sysdeps/i386/fpu/e_log.S: Likewise.
75726         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75727         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75728         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75729         * sysdeps/i386/fpu/e_logf.S: Likewise.
75730         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75731         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75732         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75733         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75734         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75735         * sysdeps/i386/fpu/e_log10.S: Likewise.
75736         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75737         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75738         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75739         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75740         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75741         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75742         * sysdeps/i386/asm-syntax.h: Likewise.
75743         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75744         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75745         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75746         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75747         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75748         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75749         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75750         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75751         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75752         * sysdeps/powerpc/sysdep.h: Likewise.
75753         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75754         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75756 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75758         [BZ #411]
75759         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75761 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75763         * sysdeps/i386/sysdep.h: Include <features.h>.
75764         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75765         version.
75767 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75769         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75770         Define.
75771         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75772         LOAD_PIC_REG_STR.
75774 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75776         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75777         (SETUP_PIC_REG): Use GET_PC_THUNK.
75778         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75779         macro.
75781 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75783         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75784         for non-PIC compilation.
75785         (SETUP_PIC_REG): Add .p2align directive.
75786         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75787         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75788         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75789         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75790         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75791         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75792         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75793         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75794         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75795         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75796         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75797         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75798         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75799         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75800         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75801         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75802         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75803         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75804         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75805         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75806         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75807         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75808         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75809         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75810         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75812         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75813         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75814         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75815         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75816         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75817         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75818         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75819         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75820         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75821         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75822         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75823         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75824         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75825         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75826         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75828 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75830         * math/tst-CMPLX.c: Include <stdio.h>.
75832 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75834         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75835         float.
75836         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75837         * sysdeps/sparc/bits/mathdef.h: Likewise.
75839 2012-01-31  Marek Polacek  <polacek@redhat.com>
75841         * libio/libio.h: Don't define _PARAMS.
75842         * locale/programs/config.h: Don't define PARAMS.
75843         * stdlib/strtol_l.c: Likewise.
75844         (__strtol_l): Remove PARAMS from the prototype.
75846 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75848         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75849         names.  Just use the correct names.  Remove unnecessary wrapper
75850         functions.
75851         * malloc/arena.c: Likewise.
75852         * malloc/hooks.c: Likewise.
75854         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75855         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75856         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75858 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75860         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75861         into tail calls.
75862         (update_get_addr): New function.
75863         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75864         GET_ADDR_MODULE parameter.
75866 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75868         * crypt/cert.c: Remove __STDC__ conditionals.
75869         * crypt/crypt-entry.c: Likewise.
75870         * crypt/crypt_util.c: Likewise.
75871         * libio/filedoalloc.c: Likewise.
75872         * libio/fileops.c: Likewise.
75873         * libio/genops.c: Likewise.
75874         * libio/iofclose.c: Likewise.
75875         * libio/iofdopen.c: Likewise.
75876         * libio/iofopen.c: Likewise.
75877         * libio/iofopen64.c: Likewise.
75878         * libio/iogetdelim.c: Likewise.
75879         * libio/iopopen.c: Likewise.
75880         * libio/obprintf.c: Likewise.
75881         * libio/oldfileops.c: Likewise.
75882         * libio/oldiofclose.c: Likewise.
75883         * libio/oldiofdopen.c: Likewise.
75884         * libio/oldiofopen.c: Likewise.
75885         * libio/oldiopopen.c: Likewise.
75886         * libio/wfiledoalloc.c: Likewise.
75887         * libio/wgenops.c: Likewise.
75888         * locale/programs/xmalloc.c: Likewise.
75889         * misc/syslog.c: Likewise.
75890         * stdio-common/xbug.c: Likewise.
75891         * string/memchr.c: Likewise.
75892         * string/memcmp.c: Likewise.
75893         * string/memrchr.c: Likewise.
75894         * string/rawmemchr.c: Likewise.
75895         * sysdeps/posix/getcwd.c: Likewise.
75896         * time/strftime_l.c: Likewise.
75898 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75900         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75901         * config.make.in (config-cflags-sse2avx): Define.
75902         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75903         Fix typo.
75905 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75907         * scripts/config.guess: Update from upstream config git repository.
75908         * scripts/config.sub: Likewise.
75910 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75912         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75913         (EM_NUM): Update.
75914         (R_TILEPRO_*, R_TILEGX_*): New macros.
75916         * scripts/firstversions.awk: Fix bug in version range handling.
75918         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75920         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75922         * include/sys/epoll.h: New file.
75923         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75924         libc_hidden_def.
75926 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75928         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75929         Avoid unnecessary __WORDSIZE == 64 test.
75930         (fmaxf): Use VEX format if possible.
75931         (fmax): Likewise.
75932         (fminf): Likewise.
75933         (fmin): Likewise.
75935         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75936         * math/math_private.h: Remove libc_fegetround* and
75937         libc_fesetround*.
75938         * sysdeps/i386/configure.in: Check for -msse2avx.
75939         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75940         also if SSE2AVX is defined.
75941         Remove libc_fegetround* and libc_fesetround*.
75942         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75943         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75944         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75945         of HAS_YMM_USABLE.
75946         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75947         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75948         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75949         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75950         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75952         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75954 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75956         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75957         size is not set.
75958         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75960 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75962         [BZ #13618]
75963         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75964         relocation.
75965         * Makeconfig (libm): Define.
75966         * elf/Makefile: Add rules to build and run tst-relsort1.
75967         * elf/tst-relsort1.c: New file.
75968         * elf/tst-relsort1mod1.c: New file.
75969         * elf/tst-relsort1mod2.c: New file.
75971 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75973         * math/s_ldexp.c: Remove __STDC__ conditionals.
75974         * math/s_ldexpf.c: Likewise.
75975         * math/s_ldexpl.c: Likewise.
75976         * math/s_nextafter.c: Likewise.
75977         * math/s_nexttowardf.c: Likewise.
75978         * math/s_significand.c: Likewise.
75979         * math/s_significandf.c: Likewise.
75980         * math/s_significandl.c: Likewise.
75981         * math/w_jnl.c: Likewise.
75982         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75983         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75984         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75985         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75986         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75987         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75988         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75989         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75990         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75991         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75992         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75993         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75994         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75995         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75996         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75997         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75998         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75999         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76001         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76002         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76003         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76004         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76005         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76006         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76007         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76008         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76009         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76010         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76011         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76012         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76013         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76014         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76015         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76016         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76017         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76018         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76019         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76020         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76021         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76022         * sysdeps/ieee754/k_standard.c: Likewise.
76023         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76024         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76025         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76026         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76027         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76028         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76029         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76030         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76031         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76032         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76033         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76034         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76035         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76036         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76037         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76038         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76039         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76040         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76042         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76043         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76044         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76045         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76046         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76047         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76048         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76051         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76052         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76053         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76054         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76055         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76056         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76058         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76059         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76060         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76061         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76062         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76063         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76065         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76066         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76067         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76068         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76070         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76071         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76072         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76073         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76074         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76075         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76076         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76077         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76078         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76079         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76080         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76081         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76083         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76084         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76085         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76086         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76087         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76088         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76089         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76090         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76091         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76092         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76093         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76095         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76096         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76097         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76098         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76099         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76100         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76101         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76102         * sysdeps/ieee754/s_matherr.c: Likewise.
76103         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76104         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76108 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76110         * crypt/md5.h: Remove __STDC__ conditionals.
76111         * libio/libioP.h: Likewise.
76112         * locale/programs/config.h: Likewise.
76113         * sysdeps/generic/sysdep.h: Likewise.
76114         * sysdeps/i386/asm-syntax.h: Likewise.
76115         * sysdeps/s390/asm-syntax.h: Likewise.
76116         * sysdeps/unix/sysdep.h: Likewise.
76117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76120 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76122         * libio/libio.h: Remove __STDC__ conditionals.
76123         * malloc/obstack.h: Likewise.
76124         * math/complex.h: Likewise.
76125         * math/math.h: Likewise.
76126         * sysdeps/generic/_G_config.h: Likewise.
76127         * sysdeps/gnu/_G_config.h: Likewise.
76128         * sysdeps/mach/hurd/_G_config.h: Likewise.
76129         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76130         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76131         * sysdeps/sparc/bits/mathdef.h: Likewise.
76133 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76135         [BZ #13583]
76136         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76137         Clean up HAS_* macros.
76138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76139         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76140         possible.
76141         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76142         HAS_AVX.
76143         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76144         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76145         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76146         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76147         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76149 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76151         * elf/tst-unique3.cc (gets): Remove declaration.
76152         * elf/tst-unique3lib.cc (gets): Likewise.
76153         * elf/tst-unique3lib2.cc (gets): Likewise.
76154         * elf/tst-unique4.cc (gets): Likewise.
76156 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76158         * include/stdio.h: Add C++ protection.  Add gets declarations and
76159         definitions.
76160         * debug/tst-chk1.c: Don't declare gets here.
76161         * stdio-common/tst-gets.c: Likewise.
76163 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76165         * posix/glob: Remove directory.
76167 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76169         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76171 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76173         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76174         of the non-standard EPFNOSUPPORT.
76176 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76178         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76179         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76180         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76182 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76184         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76186 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76188         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76189         transient errors.
76190         * nscd/grpcache.c (cache_addgr): Likewise.
76191         * nscd/hstcache.c (cache_addhst): Likewise.
76192         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76193         * nscd/pwdcache.c (cache_addpw): Likewise.
76194         * nscd/servicescache.c (cache_addserv): Likewise.
76196 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76198         * malloc/malloc.c: Various cleanups.
76199         * malloc/hooks.c: Likewise.
76201         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76202         * stdlib/bug-fmtmsg1.c: New file.
76204         * stdlib/fmtmsg.c (init): Add missing unlock.
76205         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76207 2012-01-12  Marek Polacek  <polacek@redhat.com>
76209         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76210         and _GNU_SOURCE.
76212 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76214         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76215         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76216         macro to ensure uniqueness of label name.
76217         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76218         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76220 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76222         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76224         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76225         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76226         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76227         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76229 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76231         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76233         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76234         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76235         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76237         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76239         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76240         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76241         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76244         * math/bits/math-finite.h: Add ldexp support.
76246 2012-01-10  Marek Polacek  <polacek@redhat.com>
76248         * locale/programs/localedef.h (show_archive_content): Add noreturn
76249         attribute.
76251 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76253         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76257         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76259         * io/Makefile (headers): Add bits/poll2.h.
76261 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76264         typo #include statement.
76266 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76268         * include/sys/cdefs.h: Define __attribute_alloc_size.
76269         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76270         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76271         * elf/pldd.c: Likewise.
76272         * iconv/iconv_charmap.c: Likewise.
76273         * iconv/iconvconfig.c: Likewise.
76274         * iconv/strtab.c: Likewise.
76275         * locale/programs/locale.c: Likewise.
76276         * locale/programs/localedef.h: Likewise.
76277         * locale/programs/simple-hash.c: Likewise.
76278         * nscd/nscd.h: Likewise.
76279         * nss/makedb.c: Likewise.
76280         * sysdeps/generic/ldconfig.h: Likewise.
76281         * locale/programs/localedef.c: Remove xmalloc prototype.
76282         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76284 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76286         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76287         appropriate.
76289 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76291         * math/Makefile (tests): Add tst-CMPLX.
76292         * math/tst-CMPLX.c: New file.
76294         * math/complex.h (CMPLXL): Fix typo.
76296         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76297         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76298         GLIBC_2.16.
76299         * debug/tst-chk1.c: Add poll and ppoll tests.
76300         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76301         * include/sys/poll.h: Add hidden proto for ppoll.
76302         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76303         * sysdeps/mach/hurd/ppoll.c: Likewise.
76304         * io/ppoll.c: Likewise.
76305         * debug/poll_chk.c: New file.
76306         * debug/ppoll_chk.c: New file.
76307         * include/bits/poll2.h: New file.
76308         * io/bits/poll2.h: New file.
76310         [BZ #1350]
76311         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76313         * configure.in: static is always set to yes.  Remove.
76314         * config.make.in: Don't set build-static.
76315         * Makeconfig: Remove use of build-static.
76316         * dlfcn/Makefile: Likewise.
76317         * elf/Makefile: Likewise.
76318         * math/Makefile: Likewise.
76319         * misc/Makefile: Likewise.
76320         * nptl/Makefile: Likewise.
76321         * sysdeps/mach/hurd/Makefile: Likewise.
76323         * configure.in: PWD_P is not used anymore.
76324         * config.make.in: Remove PWD_P entry.
76326         * configure.in: Remove last remnants of RANLIB.
76327         No need to check for signed size_t anymore.
76328         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76329         and IA-64.
76330         Remove __builtin_expect test because we require at least gcc 3.4.
76331         * aclocal.m4: Likewise.
76333         * wcsmbs/mbrtoc16.c: Implement using towc function.
76334         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76335         * wcsmbs/wcsmbsload.c: Likewise.
76336         * iconv/gconv_simple.c: Likewise.
76337         * iconv/gconv_int.h: Likewise.
76338         * iconv/gconv_builtin.h: Likewise.
76339         * iconv/iconv_prog.c: Remove CHAR16 handling.
76341         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76343         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76345         * configure.in: Remove --with-elf and --enable-bounded options.
76346         Dont set base_machine for ia64.  More non-ELF conditions removed.
76347         Remove testing and setting of leading underscore information.
76348         * config.make.in (build-bounded): Set to no.
76349         * config.h.in: Remove NO_UNDERSCORES entry.
76350         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76351         them.
76352         * csu/start.c: Remove !NO_UNDERSCORE code.
76353         * locale/localeinfo.h: Likewise.
76354         * sysdeps/generic/machine-gmon.h: Likewise.
76355         * sysdeps/generic/sysdep.h: Likewise.
76356         * sysdeps/i386/sysdep.h: Likewise.
76357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76358         * sysdeps/mach/sysdep.h: Likewise.
76359         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76361         * sysdeps/sh/sysdep.h: Likewise.
76362         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76363         * sysdeps/unix/i386/sysdep.S: Likewise.
76364         * sysdeps/unix/sparc/start.c: Likewise.
76365         * sysdeps/unix/sparc/sysdep.S: Likewise.
76366         * sysdeps/unix/sparc/sysdep.h: Likewise.
76367         * sysdeps/unix/start.c: Likewise.
76368         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76369         * sysdeps/x86_64/sysdep.h: Likewise.
76371 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76373         [BZ #13553]
76374         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76375         for non-gcc.
76376         * argp/argp-fmtstream.h: Use const instead __const.
76377         * argp/argp.h: Likewise.
76378         * assert/assert.h: Likewise.
76379         * bits/fenv.h: Likewise.
76380         * bits/sched.h: Likewise.
76381         * bits/sigset.h: Likewise.
76382         * bits/sigthread.h: Likewise.
76383         * catgets/nl_types.h: Likewise.
76384         * conform/data/pthread.h-data: Likewise.
76385         * crypt/crypt-private.h: Likewise.
76386         * crypt/crypt.h: Likewise.
76387         * crypt/crypt_util.c: Likewise.
76388         * ctype/ctype.h: Likewise.
76389         * debug/execinfo.h: Likewise.
76390         * debug/mbsnrtowcs_chk.c: Likewise.
76391         * debug/mbsrtowcs_chk.c: Likewise.
76392         * debug/wcsnrtombs_chk.c: Likewise.
76393         * debug/wcsrtombs_chk.c: Likewise.
76394         * debug/wcstombs_chk.c: Likewise.
76395         * dirent/dirent.h: Likewise.
76396         * dlfcn/dlfcn.h: Likewise.
76397         * elf/neededtest4.c: Likewise.
76398         * grp/grp.h: Likewise.
76399         * gshadow/gshadow.h: Likewise.
76400         * iconv/gconv.h: Likewise.
76401         * iconv/gconv_int.h: Likewise.
76402         * iconv/gconv_simple.c: Likewise.
76403         * iconv/iconv.h: Likewise.
76404         * iconv/loop.c: Likewise.
76405         * iconv/skeleton.c: Likewise.
76406         * include/aio.h: Likewise.
76407         * include/aliases.h: Likewise.
76408         * include/argz.h: Likewise.
76409         * include/arpa/inet.h: Likewise.
76410         * include/assert.h: Likewise.
76411         * include/dirent.h: Likewise.
76412         * include/dlfcn.h: Likewise.
76413         * include/execinfo.h: Likewise.
76414         * include/fcntl.h: Likewise.
76415         * include/fenv.h: Likewise.
76416         * include/glob.h: Likewise.
76417         * include/grp.h: Likewise.
76418         * include/libintl.h: Likewise.
76419         * include/mntent.h: Likewise.
76420         * include/netdb.h: Likewise.
76421         * include/pwd.h: Likewise.
76422         * include/rpc/netdb.h: Likewise.
76423         * include/sched.h: Likewise.
76424         * include/search.h: Likewise.
76425         * include/shadow.h: Likewise.
76426         * include/signal.h: Likewise.
76427         * include/stdio.h: Likewise.
76428         * include/stdlib.h: Likewise.
76429         * include/string.h: Likewise.
76430         * include/sys/socket.h: Likewise.
76431         * include/sys/stat.h: Likewise.
76432         * include/sys/statfs.h: Likewise.
76433         * include/sys/statvfs.h: Likewise.
76434         * include/sys/syslog.h: Likewise.
76435         * include/sys/time.h: Likewise.
76436         * include/sys/uio.h: Likewise.
76437         * include/time.h: Likewise.
76438         * include/unistd.h: Likewise.
76439         * include/utmp.h: Likewise.
76440         * include/wchar.h: Likewise.
76441         * include/wctype.h: Likewise.
76442         * inet/aliases.h: Likewise.
76443         * inet/arpa/inet.h: Likewise.
76444         * inet/netinet/ether.h: Likewise.
76445         * inet/netinet/in.h: Likewise.
76446         * intl/libintl.h: Likewise.
76447         * io/bits/fcntl2.h: Likewise.
76448         * io/fcntl.h: Likewise.
76449         * io/ftw.h: Likewise.
76450         * io/sys/poll.h: Likewise.
76451         * io/sys/stat.h: Likewise.
76452         * io/sys/statfs.h: Likewise.
76453         * io/sys/statvfs.h: Likewise.
76454         * io/utime.h: Likewise.
76455         * libio/bits/stdio.h: Likewise.
76456         * libio/bits/stdio2.h: Likewise.
76457         * libio/libio.h: Likewise.
76458         * libio/libioP.h: Likewise.
76459         * libio/stdio.h: Likewise.
76460         * locale/lc-ctype.c: Likewise.
76461         * locale/locale.h: Likewise.
76462         * login/utmp.h: Likewise.
76463         * malloc/arena.c: Likewise.
76464         * malloc/malloc.c: Likewise.
76465         * malloc/malloc.h: Likewise.
76466         * malloc/mcheck.c: Likewise.
76467         * malloc/mtrace.c: Likewise.
76468         * math/bits/mathcalls.h: Likewise.
76469         * math/fenv.h: Likewise.
76470         * math/math_private.h: Likewise.
76471         * misc/bits/error.h: Likewise.
76472         * misc/bits/syslog.h: Likewise.
76473         * misc/err.h: Likewise.
76474         * misc/error.h: Likewise.
76475         * misc/fstab.h: Likewise.
76476         * misc/mntent.h: Likewise.
76477         * misc/regexp.h: Likewise.
76478         * misc/search.h: Likewise.
76479         * misc/sgtty.h: Likewise.
76480         * misc/sys/mman.h: Likewise.
76481         * misc/sys/syslog.h: Likewise.
76482         * misc/sys/uio.h: Likewise.
76483         * misc/sys/xattr.h: Likewise.
76484         * misc/ttyent.h: Likewise.
76485         * nis/rpcsvc/ypclnt.h: Likewise.
76486         * nss/nss.h: Likewise.
76487         * posix/bits/unistd.h: Likewise.
76488         * posix/fnmatch.h: Likewise.
76489         * posix/glob.h: Likewise.
76490         * posix/sched.h: Likewise.
76491         * posix/spawn.h: Likewise.
76492         * posix/sys/wait.h: Likewise.
76493         * posix/unistd.h: Likewise.
76494         * posix/wordexp.h: Likewise.
76495         * pwd/pwd.h: Likewise.
76496         * resolv/netdb.h: Likewise.
76497         * resource/sys/resource.h: Likewise.
76498         * rt/aio.h: Likewise.
76499         * rt/bits/mqueue2.h: Likewise.
76500         * rt/mqueue.h: Likewise.
76501         * shadow/shadow.h: Likewise.
76502         * signal/signal.h: Likewise.
76503         * socket/send.c: Likewise.
76504         * socket/sendto.c: Likewise.
76505         * socket/sys/socket.h: Likewise.
76506         * stdio-common/printf.h: Likewise.
76507         * stdlib/bits/stdlib.h: Likewise.
76508         * stdlib/fmtmsg.h: Likewise.
76509         * stdlib/monetary.h: Likewise.
76510         * stdlib/stdlib.h: Likewise.
76511         * stdlib/ucontext.h: Likewise.
76512         * streams/stropts.h: Likewise.
76513         * string/argz.h: Likewise.
76514         * string/bits/string2.h: Likewise.
76515         * string/string.h: Likewise.
76516         * string/strings.h: Likewise.
76517         * sunrpc/rpc/auth.h: Likewise.
76518         * sunrpc/rpc/auth_des.h: Likewise.
76519         * sunrpc/rpc/clnt.h: Likewise.
76520         * sunrpc/rpc/netdb.h: Likewise.
76521         * sunrpc/rpc/pmap_clnt.h: Likewise.
76522         * sunrpc/rpc/xdr.h: Likewise.
76523         * sysdeps/generic/inttypes.h: Likewise.
76524         * sysdeps/generic/net/if.h: Likewise.
76525         * sysdeps/generic/sys/swap.h: Likewise.
76526         * sysdeps/gnu/net/if.h: Likewise.
76527         * sysdeps/gnu/utmpx.h: Likewise.
76528         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76529         * sysdeps/i386/i486/bits/string.h: Likewise.
76530         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76531         * sysdeps/s390/bits/string.h: Likewise.
76532         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76533         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76534         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76535         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76536         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76537         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76538         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76539         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76540         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76541         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76542         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76543         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76544         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76545         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76546         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76547         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76548         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76550         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76551         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76552         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76553         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76554         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76555         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76556         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76557         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76558         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76559         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76560         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76561         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76562         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76563         * sysvipc/sys/ipc.h: Likewise.
76564         * sysvipc/sys/msg.h: Likewise.
76565         * sysvipc/sys/sem.h: Likewise.
76566         * sysvipc/sys/shm.h: Likewise.
76567         * termios/termios.h: Likewise.
76568         * time/sys/time.h: Likewise.
76569         * time/time.h: Likewise.
76570         * wcsmbs/bits/wchar2.h: Likewise.
76571         * wcsmbs/uchar.h: Likewise.
76572         * wcsmbs/wchar.h: Likewise.
76573         * wctype/wctype.h: Likewise.
76575         [BZ #13551]
76576         * Makeconfig: Remove all but ELF support including AIX support.
76577         * Makerules: Likewise.
76578         * config.h.in: Likewise.
76579         * config.make.in: Likewise.
76580         * configure: Likewise.
76581         * configure.in: Likewise.
76582         * csu/Makefile: Likewise.
76583         * csu/version.c: Likewise.
76584         * debug/Makefile: Likewise.
76585         * dlfcn/Makefile: Likewise.
76586         * elf/Makefile: Likewise.
76587         * extra-lib.mk: Likewise.
76588         * iconv/Makefile: Likewise.
76589         * include/libc-symbols.h: Likewise.
76590         * include/shlib-compat.h: Likewise.
76591         * resolv/Makefile: Likewise.
76592         * resolv/res_libc.c: Likewise.
76593         * rt/Makefile: Likewise.
76594         * sysdeps/i386/asm-syntax.h: Likewise.
76595         * sysdeps/i386/sysdep.h: Likewise.
76596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76597         * sysdeps/mach/sysdep.h: Likewise.
76598         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76599         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76600         * sysdeps/s390/asm-syntax.h: Likewise.
76601         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76602         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76603         * sysdeps/sh/sysdep.h: Likewise.
76604         * sysdeps/unix/sparc/sysdep.h: Likewise.
76605         * sysdeps/wordsize-32/divdi3.c: Likewise.
76606         * sysdeps/x86_64/sysdep.h: Likewise.
76608         * argp/Versions: Remove _argp_unlock_xxx.
76610         [BZ #13559]
76611         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76612         * abilist/libBrokenLocale.abilist: Likewise.
76613         * abilist/libanl.abilist: Likewise.
76614         * abilist/libc.abilist: Likewise.
76615         * abilist/libcrypt.abilist: Likewise.
76616         * abilist/libdl.abilist: Likewise.
76617         * abilist/libm.abilist: Likewise.
76618         * abilist/libnsl.abilist: Likewise.
76619         * abilist/libpthread.abilist: Likewise.
76620         * abilist/libresolv.abilist: Likewise.
76621         * abilist/librt.abilist: Likewise.
76622         * abilist/libthread_db.abilist: Likewise.
76623         * abilist/libutil.abilist: Likewise.
76624         * abilist/libnss_db.abilist: New file.
76626         * scripts/abilist.awk: Add support for indirect functions.
76628         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76630         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76632         * shlib-versions: Remove entries for ports architectures.
76634         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76635         files in ports.
76636         * elf/stackguard-macros.h: Remove support for IA-64.
76637         * elf/tst-auditmod1.c: Likewise.
76638         * sysdeps/generic/ldsodefs.h: Likewise.
76640         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76641         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76642         configure files.
76644         [BZ #13552]
76645         * configure.in: Remove --enable-omitfp support.
76646         * FAQ.in: Adjust.
76647         * config.make.in: Likewise.
76648         * Makeconfig: Likewise.
76649         * manual/install.texi: Likewise.
76651         In case anyone cares, the IA-64 architecture could move to ports.
76652         * sysdeps/ia64/*: Removed.
76653         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76654         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76656         [BZ #13555]
76657         * configure.in: Remove entries for unsupported architectures.
76659         [BZ #13533]
76660         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76661         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76662         routines.
76663         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76664         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76665         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76666         fall back to using wcrtomb.
76667         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76668         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76669         renaming.
76670         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76671         * wcsmbs/tst-c16c32-1.c: New file.
76673         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76674         local variable.
76676         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76678         * elf/tst-unique3.cc: Add explicit declaration of gets.
76679         * elf/tst-unique3lib.cc: Likewise.
76680         * elf/tst-unique3lib2.cc: Likewise.
76681         * elf/tst-unique4.cc: Likewise.
76683         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76685 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76687         [BZ #13566]
76688         * assert/assert.h (static_assert): Don't define for C++.
76689         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76690         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76692 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76694         * iconv/loop.c (single loop): Fix assertion in storing of
76695         remaining bytes.
76697         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76699 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76701         * posix/getconf.c: Update copyright year.
76702         * nss/getent.c: Likewise.
76703         * nss/makedb.c: Likewise.
76704         * iconv/iconvconfig.c: Likewise.
76705         * iconv/iconv_prog.c: Likewise.
76706         * elf/ldconfig.c: Likewise.
76707         * elf/pldd.c: Likewise.
76708         * elf/sotruss.ksh: Likewise.
76709         * catgets/gencat.c: Likewise.
76710         * csu/version.c: Likewise.
76711         * elf/ldd.bash.in: Likewise.
76712         * elf/sprof.c (print_version): Likewise.
76713         * locale/programs/locale.c: Likewise.
76714         * locale/programs/localedef.c: Likewise.
76715         * login/programs/pt_chown.c: Likewise.
76716         * nscd/nscd.c (print_version): Likewise.
76717         * debug/xtrace.sh: Likewise.
76718         * malloc/memusage.sh: Likewise.
76719         * malloc/mtrace.pl: Likewise.
76720         * debug/catchsegv.sh: Likewise.
76722 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76724         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76725         pure attribute.
76727 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76729         [BZ #13533]
76730         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76731         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76732         transformations.
76733         * iconv/gconv_int.h: Likewise.
76734         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76735         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76736         from libc for GLIBC_2.16.
76737         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76738         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76739         * wcsmbs/uchar.h: Really define mbstate_t.
76740         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76741         * wcsmbs/c16rtomb.c: New file.
76742         * wcsmbs/mbrtoc16.c: New file.
76743         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76744         for C/POSIX locale.
76745         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76746         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76748         * wcsmbs/wchar.h: Add missing __restrict.
76750 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76752         [BZ #13532]
76753         * time/Makefile (routines): Add timespec_get.
76754         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76755         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76756         timespec for ISO C11.
76757         * time/timespec_get.c: New file.
76758         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76759         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76761         [BZ #13531]
76762         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76763         * stdlib/stdlib.h: Declare aligned_alloc.
76764         * Versions.def: Add GLIBC_2.16 for libc.
76765         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76767         [BZ 13527]
76768         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76769         ISO C11.
76771         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76772         code.
76774         [BZ #13528]
76775         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76777         [BZ #13529]
76778         * assert/assert.h (static_assert): Define.
76780         * version.h: Update for 2.16 development version.
76782         [BZ #13526]
76783         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76784         _ISOC11_SOURCE.
76786         * version.h (RELEASE): Bump for 2.15 release.
76787         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76789         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76790         Patch by Marek Polacek <mpolacek@redhat.com>.
76792         * bits/byteswap.h: Protect long long constants with __extension__.
76793         * sysdeps/i386/bits/byteswap.h: Likewise.
76794         * sysdeps/ia64/bits/byteswap.h: Likewise.
76795         * sysdeps/s390/bits/byteswap.h: Likewise.
76796         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76798 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76800         [BZ #13540]
76801         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76802         destination buffer.
76803         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76805 2011-12-23  Marek Polacek  <polacek@redhat.com>
76807         * elf/dl-addr.c (determine_info): Add inline keyword.
76808         * elf/tst-auditmod4b.c (check_avx): Likewise.
76809         * elf/tst-auditmod6b.c (check_avx): Likewise.
76810         * elf/tst-auditmod6c.c (check_avx): Likewise.
76811         * elf/tst-auditmod7b.c (check_avx): Likewise.
76813 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76815         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76816         !__SSE_MATH__.
76818 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76820         [BZ #13540]
76821         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76822         processing for last bytes.
76824 2011-08-06  Bruno Haible  <bruno@clisp.org>
76826         [BZ #13061]
76827         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76828         U+0385, not to U+1FEE.
76830         [BZ #13062]
76831         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76832         entry for U+00A5 U+0301.
76834 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76836         [BZ #13166]
76837         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76838         buffer for the output is too small.
76840         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76841         optimization.
76843         [BZ #13185]
76844         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76845         SSE flags if possible.
76847 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76849         [BZ #13540]
76850         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76851         processing for last bytes.
76853 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76855         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76856         (syscall-list-default-options, syscall-list-default-condition)
76857         (syscall-list-includes): Define.
76858         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76859         list of ABIs and options and #if conditions for each ABI.  Do not
76860         handle common syscalls between ABIs specially.
76861         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76862         Remove.
76863         (syscall-list-variants, syscall-list-32bit-options)
76864         (syscall-list-32bit-condition, syscall-list-64bit-options)
76865         (syscall-list-64bit-condition): Define.
76866         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76867         (syscall-list-variants, syscall-list-32bit-options)
76868         (syscall-list-32bit-condition, syscall-list-64bit-options)
76869         (syscall-list-64bit-condition): Define.
76870         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76871         Remove.
76872         (syscall-list-variants, syscall-list-32bit-options)
76873         (syscall-list-32bit-condition, syscall-list-64bit-options)
76874         (syscall-list-64bit-condition): Define.
76875         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76876         Remove.
76877         (syscall-list-variants, syscall-list-32bit-options)
76878         (syscall-list-32bit-condition, syscall-list-64bit-options)
76879         (syscall-list-64bit-condition): Define.
76881 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76883         * locale/iso-639.def: Add brx entry.
76885         [BZ #13328]
76886         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76887         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76889         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76890         __feraiseexcept_renamed.
76892 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76894         [BZ #13538]
76895         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76896         EPOLLET with unsigned values.
76897         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76898         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76900         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76901         to large cancellation.
76902         * math/s_cacoshf.c: Likewise.
76903         * math/s_cacoshl.c: Likewise.
76905 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76907         [BZ #13305]
76908         [BZ #12786]
76909         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76910         * math/s_cacoshf.c: Likewise.
76911         * math/s_cacoshl.c: Likewise.
76913 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76915         [BZ #13439]
76916         * iconv/gconv.h: Define __GCONV_SWAP.
76917         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76918         * iconvdata/utf-16.c: Likewise.
76919         * iconvdata/utf-32.c: Likewise.
76921 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76923         [BZ #13524]
76924         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76925         numerator after shifting it by one limb.
76927 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76929         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76930         under [__USE_EXTERN_INLINES].
76932 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76934         [BZ #13446]
76935         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76937 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76939         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76940         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76941         optimized code.
76942         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76943         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76944         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76945         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76946         for strncasecmp/strncasecmp_l compilation.
76947         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76948         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76950 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76952         [BZ #13484]
76953         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76954         of __asm__.
76956 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76958         [BZ #13506]
76959         * time/tzfile.c (__tzfile_read): Check values from file header.
76961 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76963         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76964         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76965         * powerpc/powerpc32/dl-start.S: Likewise.
76966         * powerpc/powerpc32/elf/start.S: Likewise.
76967         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76968         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76969         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76970         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76971         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76972         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76973         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76974         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76975         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76976         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76977         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76978         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76979         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76980         * powerpc/powerpc32/memset.S: Likewise.
76981         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76982         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76983         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76984         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76985         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76986         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76987         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76988         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76989         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76990         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76991         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76992         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76993         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76995 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76997         * math/libm-test.inc: Added more nearbyint tests.
76998         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76999         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77001         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77003 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77005         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77006         FD_CLOEXEC.
77008 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77010         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77011         Add wcscpy-ssse3 wcscpy-c.
77012         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77013         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77014         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77015         * sysdeps/x86_64/wcschr.S: New file.
77016         * sysdeps/x86_64/wcsrchr.S: New file.
77017         * string/test-strcmp.c: Remove checking of wcscmp function for
77018         wrong alignments.
77019         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77020         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77021         wcsrchr-sse2 wcsrchr-c.
77022         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77023         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77024         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77025         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77026         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77027         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77028         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77029         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77030         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77031         * wcsmbc/wcschr.c (WCSCHR): New macro.
77033 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77035         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77036         * wcsmbs/test-wcsrchr.c: New file.
77037         * string/test-strrchr.c: Add wcsrchr support.
77038         (WIDE): New macro.
77039         * wcsmbs/test-wcscpy.c: New file.
77040         * string/test-strcpy.c: Add wcscpy support.
77041         (WIDE): New macro.
77043 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77045         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77046         the inner loop.
77048 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77050         [BZ #13472]
77051         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77053 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77055         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77056         Minor optimizations.
77058         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77059         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77060         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77062 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77064         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77065         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77066         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77067         for gcc to avoid warnings.
77068         * inet/Makefile (tests): Add tst-checks.
77069         * inet/tst-checks.c: New file.
77071         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77072         warning.
77074         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77075         __wmemcmp_sse2.
77077         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77078         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77080         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77082 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77084         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77085         problem.
77087         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77089 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77091         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77092         conditional on GCC version.
77093         (__arch_compare_and_exchange_val_8_acq)
77094         (__arch_compare_and_exchange_val_16_acq)
77095         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77096         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77097         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77099 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77101         * sysdeps/sh/backtrace.c: New file.
77103 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77105         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77106         parenthesis.
77108 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77110         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77111         falling back to utime.
77113 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77115         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77116         expectations for float.
77118 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77120         * locale/weight.h (findidx): Add parameter len.
77121         * locale/weightwc.h (findidx): Likewise.
77122         * posix/fnmatch_loop.c (FCT): Adjust caller.
77123         * posix/regcomp.c (build_equiv_class): Likewise.
77124         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77125         * posix/regexec.c (check_node_accept_bytes): Likewise.
77126         * string/strcoll_l.c (STRCOLL): Likewise.
77127         * string/strxfrm_l.c (STRXFRM): Likewise.
77129 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77131         * Makefile.in: Remove CVSOPT handling.
77132         * configure.in: Remove use of AC_REVISION.
77133         * iconvdata/Makefile (distribute): No need to filter out CVS.
77134         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77135         handling.
77137 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77140         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77141         [USE_AS_STRNCASECMP_L]: Likewise.
77142         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77143         NO_TLS_DIRECT_SEG_REFS.
77144         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77145         Fix argument offsets for non-PIC.
77146         [USE_AS_STRNCASECMP_L]: Likewise.
77147         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77148         NO_TLS_DIRECT_SEG_REFS.
77150 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77152         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77153         O_CLOEXEC.
77154         * locale/loadlocale.c (_nl_load_locale): Likewise.
77156 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77158         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77159         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77160         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77161         (SYSCALL_GETTIME): Set errno on error.
77163         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77164         count references to noai6ai_cached.
77166 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77168         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77170         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77171         FD_CLOEXEC for /proc/self/maps.
77173         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77174         FD_CLOEXEC for /proc/meminfo.
77176         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77177         gai.conf.
77179         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77180         FD_CLOEXEC for given file.
77182         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77184         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77185         FD_CLOEXEC for /etc/hosts.
77186         (_gethtent): Likewise.
77188         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77190         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77191         cancellation and set FD_CLOEXEC for /etc/netgroup.
77193         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77194         reading /etc/publickey.
77196         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77197         allow cancellation when reading /etc/group.
77199         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77200         cancellation.
77201         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77203         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77204         when using data file.
77206         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77208         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77209         (write_nis_obj): Use "c" and "e" in fopen.
77211         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77213         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77215         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77217         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77219         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77220         locale.alias.
77222         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77224         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77226         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77228         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77229         file parsing and set FD_CLOEXEC.
77231 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77233         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77235 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77237         * malloc/arena.c (arena_get2): Don't call reused_arena when
77238         _int_new_arena failed.
77240 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77242         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77243         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77244         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77245         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77248         to compile strcasecmp and strncasecmp.
77249         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77250         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77254 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77256         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77257         locale-defines.sym to gen-as-const-headers.
77258         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77259         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77261         to compile strcasecmp and strncasecmp.
77262         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77263         strcasecmp_l and strncasecmp_l.
77264         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77265         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77266         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77267         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77268         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77269         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77270         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77271         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77272         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77273         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77274         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77276 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77278         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77279         result of SYSDEP_GETTIME_CPU to retval.
77280         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77281         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77283         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77284         variable.
77286         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77287         mantissa words.
77288         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77290         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77291         from unused variable.
77293         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77294         DWARF definitions.
77295         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77296         for assembling.
77298         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77299         over namespaces.
77301         * sunrpc/rpc_prot.c (rejected): Fix case value.
77303         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77304         unsigned long long int to avoid warnings in shift.
77306         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77307         of use of trans.
77308         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77309         variable tmp.
77311         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77312         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77313         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77315         * nis/nis_table.c (nis_list): Use variable of correct type for
77316         result of __follow_path call.
77318 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77320         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77321         of math functions ceil, trunc, floor, round, and sqrt, when
77322         avaliable on the platform.
77323         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77324         name clash.
77325         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77326         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77327         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77329 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77331         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77332         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77334 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77336         * include/unistd.h: Fix __readlink return type.
77337         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77339 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77341         * stdlib/ucontext.h: Undo last change for makecontext.
77343 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77345         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77347         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77348         * setjmp/setjmp.h: Mark functions as non-leaf.
77349         * setjmp/bits/setjmp2.h: Likewise.
77350         * stdlib/ucontext.h: Likewise.
77352 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77354         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77355         (reused_arena): Don't check arena limit.
77356         (arena_get2): Atomically check arena limit.
77358 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77360         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77361         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77363         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77364         instructions.
77366 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77368         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77369         handler when locking.
77371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77372         Fix size of allocated buffer.
77374 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77376         [BZ #10103]
77377         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77378         declarations for long double functions.
77379         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77381         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77383 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77385         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77386         installed.
77388         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77389         is disabled.
77391 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77393         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77395 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77397         * include/alloca.h (stackinfo_alloca_round): Define.
77398         (extend_alloca): Use it.
77399         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77400         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77401         here.
77403         * scripts/check-local-headers.sh: Ignore libaudit.h.
77405         * nscd/Makefile (extra-objs): Make recursively expanded.
77407 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77409         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77410         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77412         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77413         * posix/tst-rfc3484-2.c: Likewise.
77414         * posix/tst-rfc3484-3.c: Likewise.
77416         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77417         process_vm_writev.
77418         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77419         process_vm_writev.
77420         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77421         process_vm_writev from libc using GLIBC_2.15 version.
77423         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77425 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77427         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77428         stack usage.
77430 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77432         [BZ #13367]
77433         * nss/getent.c (initgroups_keys): Show error message in case no group
77434         names are given.
77436         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77437         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77438         __bump_nl_timestamp.
77439         * nscd/connections (nscd_init): When host database is served open
77440         netlink socket and request notification about configuration changes.
77441         (main_loop_poll): Track netlink file descriptor and bump timestamp
77442         in case data becomes available.
77443         (main_loop_epoll): Likewise.
77444         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77445         (database_pers_head): Add extra_data fileds.
77446         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77447         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77448         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77449         Adjust caller.
77450         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77451         in6ai data, call __free_in6ai.
77452         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77453         Add -DHAVE_NETLINK.
77454         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77455         interface information.  Reuse previous data if netlink timestamp
77456         is not changed.
77457         (__bump_nl_timestamp): New function.
77458         (__free_in6ai): New function.
77460 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77462         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77463         close_not_cancel_no_status here.
77464         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77466 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77468         [BZ #13276]
77469         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77470         return value.
77472         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77473         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77474         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77476 2011-07-03  Andreas Jaeger  <aj@suse.de>
77478         [BZ #10709]
77479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77480         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77481         * math/libm-test.inc (sin_test): Add test case.
77483 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77485         [BZ #13337]
77486         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77487         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77489         * elf/chroot_canon.c (chroot_canon): Cleanups.
77491         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77493         [BZ #13335]
77494         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77495         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77497         * string/test-strchr.c: Make usable for strchrnul testing.
77498         * string/test-strchrnul.c: New file.
77499         * string/Makefile (strop-tests): Add strchrnul.
77501         * po/it.po: Update from translation team.
77502         * po/es.po: Likewise.
77504 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77506         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77507         the three constants needed as parameters.  Drop the others.
77508         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77509         __m128i_strloadu_tolower.
77510         Create and initialize variable zero and use it in all the places
77511         where _mm_setzero_si128 was used.
77513         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77514         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77515         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77516         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77517         anymore.
77518         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77519         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77520         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77521         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77522         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77523         __mpranred, __mptan.
77524         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77525         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77526         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77527         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77528         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77529         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77530         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77531         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77532         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77534 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77536         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77537         redefine if SHARED.
77538         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77541         wide char related routines to wcsmbs subdir.
77543 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77545         [BZ #13344]
77546         * misc/sys/cdefs.h (__THROWNL): Define.
77547         * posix/unistd.h: Use __THREADNL instead of __THREAD
77548         for memory synchronization functions.
77550 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77552         [BZ #13349]
77553         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77554         doesn't exist.
77555         * manual/stdio.texi (Obstack Streams): Node removed.
77557 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77559         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77560         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77561         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77563         * math/math_private.h (math_force_eval): Allow non-addressable
77564         arguments.
77565         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77567 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77569         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77570         file is not needed.
77572         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77573         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77574         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77575         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77576         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77578         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77579         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77580         Add AVX variants.
77581         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77582         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77583         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77584         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77585         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77586         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77587         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77588         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77589         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77590         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77591         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77592         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77593         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77594         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77595         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77596         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77597         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77598         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77599         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77601         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77602         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77604         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77605         place.  Use VEX encoding when compiling for AVX.
77607 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77609         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77610         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77612         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77614 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77616         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77617         useless if() expression.
77618         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77619         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77620         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77621         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77622         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77623         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77624         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77626         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77628         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77629         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77630         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77631         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77632         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77633         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77634         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77635         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77636         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77638         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77640 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77642         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77643         condition.
77644         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77646 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77648         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77649         .text section.  Avoid duplicate constants.
77650         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77652         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77653         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77656         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77657         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77658         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77659         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77660         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77661         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77662         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77663         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77664         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77665         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77666         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77667         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77668         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77669         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77670         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77671         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77672         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77673         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77674         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77675         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77676         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77677         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77678         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77679         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77680         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77681         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77682         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77683         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77684         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77685         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77686         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77687         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77688         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77689         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77690         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77691         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77692         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77693         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77694         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77696 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77698         * sysdeps/x86_64/dla.h: Move to ...
77699         * sysdeps/x86_64/fpu/dla.h: ...here.
77700         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77701         situations.  Use __builtin_fma only for gcc 4.6 and up.
77703         * config.make.in: Add have-mfma4 entry.
77704         * configure.in: Substitute libc_cv_cc_fma4.
77705         * math/Makefile (dbl-only-routines): Add sincostab.
77706         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77707         Use __sincostab not sincos.
77708         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77709         name is a macro.
77710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77714         using __copysign.
77715         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77716         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77717         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77718         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77719         and __inv.
77720         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77721         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77722         __copysign.
77723         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77724         define aliases when function name is a macro.
77725         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77726         sysdeps/ieee754/dbl-64/sincos.tbl.
77727         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77728         fma4-enabled routines.
77729         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77730         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77731         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77732         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77733         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77734         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77735         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77736         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77737         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77738         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77739         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77740         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77741         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77742         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77743         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77744         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77745         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77746         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77747         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77748         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77749         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77750         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77751         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77752         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77753         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77756         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77757         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77758         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77760         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77761         rename.
77762         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77769         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77771 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77773         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77775 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77779         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77780         prediction.
77781         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77783         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77784         Remove unused variable magic_bits.
77785         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77787         * string/strnlen.c: Define and use STRNLEN macro.
77788         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77789         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77791         * wcsmbs/wcslen.c: Define and use WCSLEN.
77792         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77793         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77794         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77795         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77796         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77797         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77798         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77800 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77803         strnlen-sse2-no-bsf.
77804         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77805         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77806         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77807         Add strnlen support.
77808         (USE_AS_STRNLEN): New macro.
77809         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77810         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77811         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77812         * sysdeps/x86_64/wcslen.S: New file.
77814 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77816         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77817         XMM-moves are used for copying on small sizes.
77819 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77821         * wcsmbs/Makefile (strop-tests): Add wcschr.
77822         * wcsmbs/test-wcschr.c: New file.
77823         * string/test-strchr.c: Update.
77824         Add wcschr support.
77825         (WIDE): New macro.
77827 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77829         * wcsmbs/Makefile (strop-tests): Add wcslen.
77830         * wcsmbs/test-wcslen.c: New file.
77831         * string/test-strlen.c: Update.
77832         Add wcslen support.
77833         (WIDE): New macro.
77835 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77837         * po/it.po: Update from translation team.
77839 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77841         * sysdeps/x86_64/wcscmp.S: Update.
77842         Fix wrong comparison semantics.
77843         wcscmp shall use signed comparison not unsigned.
77844         Don't use substraction to avoid overflow bug.
77845         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77846         * wcsmbc/wcscmp.c: Likewise.
77847         * string/test-strcmp.c: Likewise.
77848         Add new tests to check cases with negative values.
77850 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77852         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77853         * sysdeps/x86_64/dla.h: ...here.  New file.
77854         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77856         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77859         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77861         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77862         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77864 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77866         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77867         __ynl_finite aliases.
77869 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77873         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77874         define DLA_FMA.
77875         [DLA_FMA] (EMULV): Use DLA_FMA.
77876         [DLA_FMA] (MUL12): Use EMULV.
77877         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77878         that are not needed.
77879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77882         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77883         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77887 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77889         * math/s_nan.c: Undef __nan.
77890         * math/s_nanf.c: Undef __nanf.
77891         * math/s_nanl.c: Undef __nanl.
77892         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77893         "math_private.h".
77895 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77897         * math/s_catan.c: Add branch predictions.
77898         * math/s_catanf.c: Likewise.
77899         * math/s_catanh.c: Likewise.
77900         * math/s_catanhf.c: Likewise.
77901         * math/s_catanhl.c: Likewise.
77902         * math/s_catanl.c: Likewise.
77903         * math/s_cexp.c: Likewise.
77904         * math/s_cexpf.c: Likewise.
77905         * math/s_cexpl.c: Likewise.
77906         * math/s_clog.c: Likewise.
77907         * math/s_clog10.c: Likewise.
77908         * math/s_clog10f.c: Likewise.
77909         * math/s_clog10l.c: Likewise.
77910         * math/s_clogf.c: Likewise.
77911         * math/s_clogl.c: Likewise.
77912         * math/s_csqrt.c: Likewise.
77913         * math/s_csqrtf.c: Likewise.
77914         * math/s_csqrtl.c: Likewise.
77915         * math/s_ctanf.c: Likewise.
77916         * math/s_ctanh.c: Likewise.
77917         * math/s_ctanhf.c: Likewise.
77918         * math/s_ctanhl.c: Likewise.
77919         * math/s_ctanl.c: Likewise.
77921         * math/math_private.h: Define __nan, __nanf, __nanl.
77922         * math/s_cacosh.c: Include <math_private.h>.
77923         * math/s_cacoshl.c: Likewise.
77924         * math/s_casinh.c: Likewise.
77925         * math/s_casinhf.c: Likewise.
77926         * math/s_casinhl.c: Likewise.
77927         * math/s_ccos.c: Rely entire on ccosh.
77928         * math/s_ccosf.c: Rely entire on ccoshf.
77929         * math/s_ccosl.c: Rely entirely on ccoshl.
77930         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77931         Remove tests for FE_INVALID.
77932         * math/s_ccoshf.c: Likewise.
77933         * math/s_ccoshl.c: Likewise.
77934         * math/s_csin.c: Likewise.
77935         * math/s_csinf.c: Likewise.
77936         * math/s_csinh.c Likewise.
77937         * math/s_csinhf.c: Likewise.
77938         * math/s_csinhl.c: Likewise.
77939         * math/s_csinl.c: Likewise.
77940         * math/s_ctan.c: Likewise.
77941         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77942         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77943         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77945 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77948         compilation problems.
77950         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77951         __builtin_expect.
77953 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77955         * sysdeps/i386/configure.in: Test for -mfma4 option.
77956         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77957         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77958         COMMON_CPUID_INDEX_80000001.
77959         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77960         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77961         use it if FMA3 is not supported.
77962         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77964         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77965         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77967 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77969         [BZ #12892]
77970         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77971         it would create a cycle with a link time dependency.
77973 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77975         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77976         instruction.
77977         * string/Makefile (strop-tests): Add rawmemchr.
77978         * string/test-rawmemchr.c: New file.
77980         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77981         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77982         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77983         when compiling str{,n}casecmp and when AVX is available.  Hook up
77984         new optimized code in initializers.
77986 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77988         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77989         __feraiseexcept instead of feraiseexcept.
77991 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77993         * math/math_private.h: Define defaults for libc_fetestexcept and
77994         libc_feupdateenv.
77995         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77996         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77997         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77998         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77999         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78000         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78001         libc_fetestexcept and libc_feupdateenv.
78003         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78004         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78005         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78006         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78007         libc_feholdexcept_setround.
78009         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78010         Add s_nearbyint-c and s_nearbyintf-c.
78011         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78012         nearbyintf inlines.
78013         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78014         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78015         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78016         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78018         * math/math_private.h: Define defaults for libc_fegetround,
78019         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78020         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78021         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78022         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78023         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78024         standard functions.
78025         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78026         Remove comments and hacks for old compiler versions.
78027         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78028         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78029         libc_feholdexceptl.
78031 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78033         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78034         (__feraiseexcept_renamed): Add __NTH.
78035         (feraiseexcept): Add __NTH.  Rename local variables to fix
78036         namespace violations.
78038 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78040         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78042         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78044         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78045         recently added interfaces.
78046         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78048         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78049         about macro parameter expansion.
78051         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78052         __NO_MATH_INLINES is defined.  Cleanups.
78054         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78055         and __floorf is target has SSE4.1.
78056         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78057         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78058         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78059         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78061         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78062         name.
78063         (floorf): Likewise.
78065         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78067 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78069         * misc/sys/cdefs.h: Fix last change.
78071         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78072         database lookup.
78074 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78076         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78078         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78079         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78080         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78081         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78082         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78083         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78084         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78085         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78086         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78087         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78088         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78089         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78090         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78091         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78092         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78093         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78094         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78095         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78096         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78097         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78098         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78099         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78101         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78102         ceil, ceilf, floor, floorf.
78104         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78105         Perform IRELATIVE relocations last.
78107         * elf/do-rel.h: Add another parameter nrelative, replacing the
78108         local variable with the same name.  Change name of the function
78109         to end in Rel or Rela (uppercase).
78110         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78111         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78112         elf_dynamic_do_##reloc function.
78114 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78116         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78117         is sufficient, at least on modern CPUs.
78119         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78121         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78122         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78124         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78125         __expl_finite.
78126         * math/bits/math-finite.h: Add entries for exp.
78127         * math/e_expl.c: Add __*_finite alias.
78128         * sysdeps/i386/fpu/e_exp.S: Likewise.
78129         * sysdeps/i386/fpu/e_expf.S: Likewise.
78130         * sysdeps/i386/fpu/e_expl.c: Likewise.
78131         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78132         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78133         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78135         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78136         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78137         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78139         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78140         is sufficient, at least on modern CPUs.
78142         * ctype/ctype-info.c (__ctype_init): Define.
78143         * include/ctype.h (__ctype_init): Declare.
78144         (__ctype_b_loc): The variable is always initialized.
78145         (__ctype_toupper_loc): Likewise.
78146         (__ctype_tolower_loc): Likewise.
78147         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78148         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78150 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78152         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78154         * configure.in: Also look in $cxxmachine/include for C++ system
78155         headers.
78157 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78159         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78160         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78161         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78162         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78163         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78164         (USE_AS_WMEMCMP): New macro.
78165         Fixing indents.
78166         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78167         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78168         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78169         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78171         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78172         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78173         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78174         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78175         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78176         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78177         (USE_AS_WMEMCMP): New macro.
78178         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78179         * sysdeps/string/test-memcmp.c: Update.
78180         Fix simple_wmemcmp.
78181         Add new tests.
78182         * wcsmbs/wmemcmp.c: Update.
78183         (WMEMCMP): New macro.
78184         Fix overflow bug.
78186 2011-10-12  Andreas Jaeger  <aj@suse.de>
78188         [BZ #13268]
78189         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78191 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78193         * libio/iofwide.c (do_length): Avoid warning.
78195         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78197 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78199         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78201         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78202         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78203         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78204         * sysdeps/i386/i686/fpu/e_log.S: New file.
78205         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78206         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78208         * ctype/ctype.h: Add support for inlined isXXX functions when
78209         compiling C++ code.
78211 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78213         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78215         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78217 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78219         [BZ #13291]
78220         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78222 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78224         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78225         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78226         feraiseexcept.
78228         * sysdeps/x86_64/memrchr.S: Check for zero size.
78230         * string/stratcliff.c: Add memrchr tests.
78232 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78235         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78236         rawmemchr-sse2 rawmemchr-sse2-bsf.
78237         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78238         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78239         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78240         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78241         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78242         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78243         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78244         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78245         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78246         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78247         * string/memrchr.c (MEMRCHR): New macro.
78249 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78251         Add integration with gcc's -ffinite-math-only and optimize wrapper
78252         functions in libm.
78253         * Versions.def: Define GLIBC_2.15 version for libm.
78254         * math/Makefile (headers): Add bits/math-finite.h.
78255         * math/bits/math-finite.h: New file.
78256         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78257         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78258         * math/e_acoshl.c: Add __*_finite alias.
78259         * math/e_acosl.c: Likewise.
78260         * math/e_asinl.c: Likewise.
78261         * math/e_atan2l.c: Likewise.
78262         * math/e_atanhl.c: Likewise.
78263         * math/e_coshl.c: Likewise.
78264         * math/e_exp10.c: Likewise.
78265         * math/e_exp10f.c: Likewise.
78266         * math/e_exp10l.c: Likewise.
78267         * math/e_exp2l.c: Likewise.
78268         * math/e_fmodl.c: Likewise.
78269         * math/e_gammal_r.c: Likewise.
78270         * math/e_hypotl.c: Likewise.
78271         * math/e_j0l.c: Likewise.
78272         * math/e_j1l.c: Likewise.
78273         * math/e_jnl.c: Likewise.
78274         * math/e_lgammal_r.c: Likewise.
78275         * math/e_log10l.c: Likewise.
78276         * math/e_log2l.c: Likewise.
78277         * math/e_logl.c: Likewise.
78278         * math/e_powl.c: Likewise.
78279         * math/e_sinhl.c: Likewise.
78280         * math/e_sqrtl.c: Likewise.
78281         * math/e_scalb.c: Completely rewritten and optimized.
78282         * math/e_scalbf.c: Likewise.
78283         * math/e_scalbl.c: Likewise.
78284         * math/w_acos.c: Likewise.
78285         * math/w_acosf.c: Likewise.
78286         * math/w_acosl.c: Likewise.
78287         * math/w_acosh.c: Likewise.
78288         * math/w_acoshf.c: Likewise.
78289         * math/w_acoshl.c: Likewise.
78290         * math/w_asin.c: Likewise.
78291         * math/w_asinf.c: Likewise.
78292         * math/w_asinl.c: Likewise.
78293         * math/w_atan2.c: Likewise.
78294         * math/w_atan2f.c: Likewise.
78295         * math/w_atan2l.c: Likewise.
78296         * math/w_atanh.c: Likewise.
78297         * math/w_atanhf.c: Likewise.
78298         * math/w_atanhl.c: Likewise.
78299         * math/w_exp10.c: Likewise.
78300         * math/w_exp10f.c: Likewise.
78301         * math/w_exp10l.c: Likewise.
78302         * math/w_fmod.c: Likewise.
78303         * math/w_fmodf.c: Likewise.
78304         * math/w_fmodl.c: Likewise.
78305         * math/w_j0.c: Likewise.
78306         * math/w_j0f.c: Likewise.
78307         * math/w_j0l.c: Likewise.
78308         * math/w_j1.c: Likewise.
78309         * math/w_j1f.c: Likewise.
78310         * math/w_j1l.c: Likewise.
78311         * math/w_jn.c: Likewise.
78312         * math/w_jnf.c: Likewise.
78313         * math/w_log.c: Likewise.
78314         * math/w_logf.c: Likewise.
78315         * math/w_logl.c: Likewise.
78316         * math/w_log10.c: Likewise.
78317         * math/w_log10f.c: Likewise.
78318         * math/w_log10l.c: Likewise.
78319         * math/w_log2.c: Likewise.
78320         * math/w_log2f.c: Likewise.
78321         * math/w_log2l.c: Likewise.
78322         * math/w_pow.c: Likewise.
78323         * math/w_powf.c: Likewise.
78324         * math/w_powl.c: Likewise.
78325         * math/w_remainder.c: Likewise.
78326         * math/w_remainderf.c: Likewise.
78327         * math/w_remainderl.c: Likewise.
78328         * math/w_scalb.c: Likewise.
78329         * math/w_scalbf.c: Likewise.
78330         * math/w_scalbl.c: Likewise.
78331         * math/w_sqrt.c: Likewise.
78332         * math/w_sqrtf.c: Likewise.
78333         * math/w_sqrtl.c: Likewise.
78334         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78335         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78336         used.
78337         * math/math_private.h: Declare __kernel_standard_f.
78338         * math/w_cosh.c: Remove cruft and optimize a bit.
78339         * math/w_coshf.c: Likewise.
78340         * math/w_coshl.c: Likewise.
78341         * math/w_exp2.c: Likewise.
78342         * math/w_exp2f.c: Likewise.
78343         * math/w_exp2l.c: Likewise.
78344         * math/w_hypot.c: Likewise.
78345         * math/w_hypotf.c: Likewise.
78346         * math/w_hypotl.c: Likewise.
78347         * math/w_lgamma.c: Likewise.
78348         * math/w_lgamma_r.c: Likewise.
78349         * math/w_lgammaf.c: Likewise.
78350         * math/w_lgammaf_r.c: Likewise.
78351         * math/w_lgammal.c: Likewise.
78352         * math/w_lgammal_r.c: Likewise.
78353         * math/w_sinh.c: Likewise.
78354         * math/w_sinhf.c: Likewise.
78355         * math/w_sinhl.c: Likewise.
78356         * math/w_tgamma.c: Likewise.
78357         * math/w_tgammaf.c: Likewise.
78358         * math/w_tgammal.c: Likewise.
78359         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78360         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78361         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78362         Minor optimizations.  Pretty printing.  Remove cruft.
78363         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78364         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78365         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78366         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78367         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78368         * sysdeps/i386/fpu/e_asin.S: Likewise.
78369         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78370         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78371         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78372         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78373         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78374         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78375         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78376         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78377         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78378         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78379         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78380         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78381         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78382         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78383         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78384         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78385         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78386         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78387         * sysdeps/i386/fpu/e_log.S: Likewise.
78388         * sysdeps/i386/fpu/e_log10.S: Likewise.
78389         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78390         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78391         * sysdeps/i386/fpu/e_log2.S: Likewise.
78392         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78393         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78394         * sysdeps/i386/fpu/e_logf.S: Likewise.
78395         * sysdeps/i386/fpu/e_logl.S: Likewise.
78396         * sysdeps/i386/fpu/e_pow.S: Likewise.
78397         * sysdeps/i386/fpu/e_powf.S: Likewise.
78398         * sysdeps/i386/fpu/e_powl.S: Likewise.
78399         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78400         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78401         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78402         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78403         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78404         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78405         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78406         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78407         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78408         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78409         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78411         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78412         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78413         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78414         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78415         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78416         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78417         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78418         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78419         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78420         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78421         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78422         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78425         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78428         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78429         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78430         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78431         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78432         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78433         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78434         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78435         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78436         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78437         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78438         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78439         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78440         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78441         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78442         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78443         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78444         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78445         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78446         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78447         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78448         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78449         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78450         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78451         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78453         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78454         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78455         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78456         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78457         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78458         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78459         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78460         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78461         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78463         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78464         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78465         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78466         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78467         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78468         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78469         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78470         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78472         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78473         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78474         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78475         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78476         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78478         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78479         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78480         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78482         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78483         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78484         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78485         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78486         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78487         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78488         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78489         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78490         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78491         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78492         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78493         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78494         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78495         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78496         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78497         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78498         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78499         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78500         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78501         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78502         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78503         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78504         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78505         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78506         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78507         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78508         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78509         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78510         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78511         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78512         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78513         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78514         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78515         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78516         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78517         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78518         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78519         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78520         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78521         (__isnanf): Likewise.
78522         (__isinf_ns): Likewise.
78523         (__isinf_nsf): Likewise.
78524         (__finite): Likewise.
78525         (__finitef): Likewise.
78526         (__ieee754_sqrt): Define as macro.
78527         (__ieee754_sqrtf): Define as macro.
78528         (__ieee754_sqrtl): Define as macro.
78529         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78530         inlined copy.
78531         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78532         __FINITE_MATH_ONLY__ consistent.
78533         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78535 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78537         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78538         of rawmemchr.
78540         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78542 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78544         * po/ja.po: Update from translation team.
78546 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78548         * locale/programs/locarchive.c (prepare_address_space): New function.
78549         (create_archive, enlarge_archive, open_archive): Use it.
78551         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78552         inside [SHARED], where it is used.
78554         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78556         * nss/getent.c (netgroup_keys): Remove unused variable.
78557         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78559 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78561         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78562         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78564         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78565         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78566         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78567         * math/Makefile (libm-calls): Add s_isinf_ns.
78568         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78569         * math/multc3.c: Likewise.
78570         * math/s_casin.c: Likewise.
78571         * math/s_casinf.c: Likewise.
78572         * math/s_casinl.c: Likewise.
78573         * math/s_ccos.c: Likewise.
78574         * math/s_ccosf.c: Likewise.
78575         * math/s_ccosl.c: Likewise.
78576         * math/s_ctan.c: Likewise.
78577         * math/s_ctanf.c: Likewise.
78578         * math/s_ctanh.c: Likewise.
78579         * math/s_ctanhf.c: Likewise.
78580         * math/s_ctanhl.c: Likewise.
78581         * math/s_ctanl.c: Likewise.
78582         * math/w_fmod.c: Likewise.
78583         * math/w_fmodf.c: Likewise.
78584         * math/w_fmodl.c: Likewise.
78585         * math/w_remainder.c: Likewise.
78586         * math/w_remainderf.c: Likewise.
78587         * math/w_remainderl.c: Likewise.
78588         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78589         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78590         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78592         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78593         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78594         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78595         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78597         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78598         of the number.
78599         * stdio-common/printf_fphex.c: Likewise.
78600         * stdio-common/printf_size.c: Likewise.
78602         * math/e_exp10.c: Include math_private.h using <...> not "...".
78603         * math/e_exp10f.c: Likewise.
78604         * math/e_exp10l.c: Likewise.
78605         * math/e_exp2l.c: Likewise.
78606         * math/e_j0l.c: Likewise.
78607         * math/e_j1l.c: Likewise.
78608         * math/e_jnl.c: Likewise.
78609         * math/e_lgammal_r.c: Likewise.
78610         * math/e_rem_pio2l.c: Likewise.
78611         * math/e_scalb.c: Likewise.
78612         * math/e_scalbf.c: Likewise.
78613         * math/e_scalbl.c: Likewise.
78614         * math/k_cosl.c: Likewise.
78615         * math/k_sinl.c: Likewise.
78616         * math/k_tanl.c: Likewise.
78617         * math/s_cacoshf.c: Likewise.
78618         * math/s_catan.c: Likewise.
78619         * math/s_catanf.c: Likewise.
78620         * math/s_catanh.c: Likewise.
78621         * math/s_catanhf.c: Likewise.
78622         * math/s_catanhl.c: Likewise.
78623         * math/s_catanl.c: Likewise.
78624         * math/s_ccosh.c: Likewise.
78625         * math/s_ccoshf.c: Likewise.
78626         * math/s_ccoshl.c: Likewise.
78627         * math/s_cexp.c: Likewise.
78628         * math/s_cexpf.c: Likewise.
78629         * math/s_cexpl.c: Likewise.
78630         * math/s_clog.c: Likewise.
78631         * math/s_clog10.c: Likewise.
78632         * math/s_clog10f.c: Likewise.
78633         * math/s_clog10l.c: Likewise.
78634         * math/s_clogf.c: Likewise.
78635         * math/s_clogl.c: Likewise.
78636         * math/s_csin.c: Likewise.
78637         * math/s_csinf.c: Likewise.
78638         * math/s_csinh.c: Likewise.
78639         * math/s_csinhf.c: Likewise.
78640         * math/s_csinhl.c: Likewise.
78641         * math/s_csinl.c: Likewise.
78642         * math/s_csqrt.c: Likewise.
78643         * math/s_csqrtf.c: Likewise.
78644         * math/s_csqrtl.c: Likewise.
78645         * math/s_ctan.c: Likewise.
78646         * math/s_ctanf.c: Likewise.
78647         * math/s_ctanh.c: Likewise.
78648         * math/s_ctanhf.c: Likewise.
78649         * math/s_ctanhl.c: Likewise.
78650         * math/s_ctanl.c: Likewise.
78651         * math/s_ldexp.c: Likewise.
78652         * math/s_ldexpf.c: Likewise.
78653         * math/s_ldexpl.c: Likewise.
78654         * math/s_significand.c: Likewise.
78655         * math/s_significandf.c: Likewise.
78656         * math/s_significandl.c: Likewise.
78657         * math/w_acos.c: Likewise.
78658         * math/w_acosf.c: Likewise.
78659         * math/w_acosh.c: Likewise.
78660         * math/w_acoshf.c: Likewise.
78661         * math/w_acoshl.c: Likewise.
78662         * math/w_acosl.c: Likewise.
78663         * math/w_asin.c: Likewise.
78664         * math/w_asinf.c: Likewise.
78665         * math/w_asinl.c: Likewise.
78666         * math/w_atan2.c: Likewise.
78667         * math/w_atan2f.c: Likewise.
78668         * math/w_atan2l.c: Likewise.
78669         * math/w_atanh.c: Likewise.
78670         * math/w_atanhf.c: Likewise.
78671         * math/w_atanhl.c: Likewise.
78672         * math/w_cosh.c: Likewise.
78673         * math/w_coshf.c: Likewise.
78674         * math/w_coshl.c: Likewise.
78675         * math/w_dremf.c: Likewise.
78676         * math/w_exp10.c: Likewise.
78677         * math/w_exp10f.c: Likewise.
78678         * math/w_exp10l.c: Likewise.
78679         * math/w_exp2.c: Likewise.
78680         * math/w_exp2f.c: Likewise.
78681         * math/w_fmod.c: Likewise.
78682         * math/w_fmodf.c: Likewise.
78683         * math/w_fmodl.c: Likewise.
78684         * math/w_hypot.c: Likewise.
78685         * math/w_hypotf.c: Likewise.
78686         * math/w_hypotl.c: Likewise.
78687         * math/w_j0.c: Likewise.
78688         * math/w_j0f.c: Likewise.
78689         * math/w_j0l.c: Likewise.
78690         * math/w_j1.c: Likewise.
78691         * math/w_j1f.c: Likewise.
78692         * math/w_j1l.c: Likewise.
78693         * math/w_jn.c: Likewise.
78694         * math/w_jnf.c: Likewise.
78695         * math/w_jnl.c: Likewise.
78696         * math/w_lgamma.c: Likewise.
78697         * math/w_lgamma_r.c: Likewise.
78698         * math/w_lgammaf.c: Likewise.
78699         * math/w_lgammaf_r.c: Likewise.
78700         * math/w_lgammal.c: Likewise.
78701         * math/w_lgammal_r.c: Likewise.
78702         * math/w_log.c: Likewise.
78703         * math/w_log10.c: Likewise.
78704         * math/w_log10f.c: Likewise.
78705         * math/w_log10l.c: Likewise.
78706         * math/w_log2.c: Likewise.
78707         * math/w_log2f.c: Likewise.
78708         * math/w_log2l.c: Likewise.
78709         * math/w_logf.c: Likewise.
78710         * math/w_logl.c: Likewise.
78711         * math/w_pow.c: Likewise.
78712         * math/w_powf.c: Likewise.
78713         * math/w_powl.c: Likewise.
78714         * math/w_remainder.c: Likewise.
78715         * math/w_remainderf.c: Likewise.
78716         * math/w_remainderl.c: Likewise.
78717         * math/w_scalb.c: Likewise.
78718         * math/w_scalbf.c: Likewise.
78719         * math/w_scalbl.c: Likewise.
78720         * math/w_sinh.c: Likewise.
78721         * math/w_sinhf.c: Likewise.
78722         * math/w_sinhl.c: Likewise.
78723         * math/w_sqrt.c: Likewise.
78724         * math/w_sqrtf.c: Likewise.
78725         * math/w_sqrtl.c: Likewise.
78726         * math/w_tgamma.c: Likewise.
78727         * math/w_tgammaf.c: Likewise.
78728         * math/w_tgammal.c: Likewise.
78730         * po/ja.po: Update from translation team.
78732 2011-09-29  Andreas Jaeger  <aj@suse.de>
78734         [BZ #13179]
78735         * sunrpc/netname.c (netname2host): Fix logic.
78737         [BZ #6779]
78738         [BZ #6783]
78739         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78740         correctly.
78741         * math/w_remainder.c (__remainder): Likewise.
78742         * math/w_remainderf.c (__remainderf): Likewise.
78743         * math/libm-test.inc (remainder_test): Add test cases.
78745 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78747         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78748         sdiv_qrnnd.
78750 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78752         * string/test-memcmp.c: Avoid unncessary #defines.
78753         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78755 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78757         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78758         Use new sse2 version for core i3 - i7 as it's faster
78759         than sse42 version.
78760         (bit_Prefer_PMINUB_for_stringop): New.
78761         * sysdeps/x86_64/rawmemchr.S: Update.
78762         Replace with faster SSE2 version.
78763         * sysdeps/x86_64/memrchr.S: New file.
78764         * sysdeps/x86_64/memchr.S: Update.
78765         Replace with faster SSE2 version.
78767 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78769         * elf/dl-load.c (lose): Add cast to avoid warning.
78771 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78773         * po/ca.po: Update from translation team.
78775         * inet/getnetgrent_r.c: Hook up nscd.
78776         * nscd/Makefile (routines): Add nscd_netgroup.
78777         (nscd-modules): Add netgroupcache.
78778         (CFLAGS-netgroupcache.c): Define.
78779         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78780         (cache_search): Add const to second parameter.
78781         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78782         INNETGR.
78783         (dbs): Add netgrdb entry.
78784         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78785         (verify_persistent_db): Handle netgrdb.
78786         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78787         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78788         GETFDNETGR.
78789         (netgroup_response_header): Define.
78790         (innetgroup_response_header): Define.
78791         (datahead): Add netgroup_response_header and innetgroup_response_header
78792         elements.
78793         * nscd/nscd.conf: Add entries for netgroup cache.
78794         * nscd/nscd.h (dbtype): Add netgrdb.
78795         (_PATH_NSCD_NETGROUP_DB): Define.
78796         (netgroup_iov_disabled): Declare.
78797         (xmalloc, xcalloc, xrealloc): Move declarations here.
78798         (cache_search): Adjust prototype.
78799         Add netgroup-related prototypes.
78800         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78801         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78802         (__nscd_innetgr): Declare.
78803         * nscd/selinux.c (perms): Use access_vector_t as element type and
78804         add netgroup-related initializers.
78805         * nscd/netgroupcache.c: New file.
78806         * nscd/nscd_netgroup.c: New file.
78807         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78808         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78809         For four parameters use innetgr.
78810         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78811         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78812         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78813         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78815         * nscd/connections.c (register_traced_file): Don't register file
78816         for disabled databases.
78818 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78820         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78822         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78823         from tree and freeing node.
78825 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78827         * nss/nsswitch.c (__nss_database_lookup): Handle
78828         nss_parse_service_list out of memory case.
78830 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78832         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78833         out of memory case.
78835 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78837         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78838         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78839         pass it down.
78840         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78841         elf_machine_rela, elf_machine_lazy_rel.
78842         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78843         (ELF_DYNAMIC_DO_REL): Likewise.
78844         (ELF_DYNAMIC_DO_RELA): Likewise.
78845         (ELF_DYNAMIC_RELOCATE): Likewise.
78846         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78847         to ELF_DYNAMIC_DO_REL.
78848         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78849         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78850         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78851         elf_machine_rela.
78852         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78853         skip_ifunc, don't call ifunc function if non-zero.
78854         (elf_machine_rela): Likewise.
78855         (elf_machine_lazy_rel): Likewise.
78856         (elf_machine_lazy_rela): Likewise.
78857         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78858         (elf_machine_lazy_rel): Likewise.
78859         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78860         Likewise.
78861         (elf_machine_lazy_rel): Likewise.
78862         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78863         Likewise.
78864         (elf_machine_lazy_rel): Likewise.
78865         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78866         (elf_machine_lazy_rel): Likewise.
78867         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78868         (elf_machine_lazy_rel): Likewise.
78869         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78870         (elf_machine_lazy_rel): Likewise.
78871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78872         (elf_machine_lazy_rel): Likewise.
78873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78874         (elf_machine_lazy_rel): Likewise.
78875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78876         (elf_machine_lazy_rel): Likewise.
78878 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78880         * nss/nss_files/files-init.c (_nss_files_init): Use static
78881         initialization for all the *_traced_file variables.
78883 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78885         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78887 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78889         [BZ #13226]
78890         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78892 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78894         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78895         Reread the line before reparsing it.
78897 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78899         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78901 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78902             Maxim Kuvyrkov  <maxim@codesourcery.com>
78903             Joseph Myers  <joseph@codesourcery.com>
78905         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78906         if needed for __stack_chk_guard.
78908 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78910         * sysdeps/posix/spawni.c (script_execute): Always define it.
78911         It will be optimized away if unused.
78912         (maybe_script_execute): New function.
78913         (__spawni): Call it.
78915         * Makerules: Don't include tls.make.
78916         (config-tls): Always set to thread.
78917         * tls.make.c: File removed.
78919 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78921         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78922         * config.make.in (CPPFLAGS-config): New substituted variable.
78924 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78926         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78928         [BZ #13192]
78929         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78930         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78932 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78934         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78935         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78936         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78937         (CALL_FAIL): Likewise.
78938         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78939         (CALL_FAIL): Macro removed.
78940         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78942 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78944         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78945         for __FINITE_MATH_ONLY__ == 1.
78947 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78949         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78950         __ieee754_sqrt instead of sqrt.
78951         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78952         __ieee754_sqrtf instead of sqrtf.
78953         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78954         __floorf instead of floorf.
78955         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78956         __floorf, __truncf instead of floorf, truncf.
78958 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78960         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78962         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78963         __extern_always_inline.
78964         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78965         32-bit.
78967 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78969         * elf/rtld.c (dl_main): Also relocate in dependency order when
78970         doing symbol dependency testing.
78972 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78974         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78975         Always define `refsym'.
78977 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78979         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78980         (__FD_ELT): Renamed from __FDELT.
78981         * misc/bits/select2.h (__FD_ELT): Likewise.
78982         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78983         __FD_MASK instead of __FDELT, __FDMASK.
78984         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78985         Likewise.
78986         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78987         Likewise.
78989         * elf/Makefile (gen-ldd): Fix pattern.
78991         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78992         (init_tls): Likewise.
78994 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78996         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78998 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79000         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79001         `struct cmsghdr *' instead of `void *'.
79002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79003         Likewise.
79005 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79007         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79008         if non-absolute.
79009         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79010         ldd_rewrite_script.
79012 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79014         * configure.in: Remove --with-tls option.
79015         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79016         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79017         out in case it is missing.
79018         * sysdeps/ia64/elf/configure.in: Likewise.
79019         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79020         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79021         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79022         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79023         * sysdeps/sh/elf/configure.in: Likewise.
79024         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79025         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79026         * sysdeps/x86_64/elf/configure.in: Likewise.
79027         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79028         * sysdeps/mach/hurd/tls.h: Likewise.
79030         [BZ #13067]
79031         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79033         [BZ #13090]
79034         * configure.in: Fix use of AC_INIT.
79036         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79038 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79040         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79041         __set_errno.
79042         * malloc/hooks.c: Likewise.
79044         [BZ #11929]
79045         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79046         variables statically.
79047         (narenas): Initialize.
79048         (list_lock): Initialize.
79049         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79050         initializtion of main_arena and list_lock.  Small cleanups.
79051         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79052         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79053         Add initializers to main_arena and mp_.
79054         (malloc_state): Remove pagesize member.  Change all users to use
79055         GLRO(dl_pagesize).
79057         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79058         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79059         is always initialized.
79061         * malloc/malloc.c: Removed unused configurations and dead code.
79062         * malloc/arena.c: Likewise.
79063         * malloc/hooks.c: Likewise.
79064         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79066         * include/tls.h: Removed.  USE___THREAD must always be defined.
79067         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79068         * elf/dl-libc.c: Likewise.
79069         * elf/dl-tsd.c: Likewise.
79070         * include/errno.h: Likewise.
79071         * include/netdb.h: Likewise.
79072         * include/resolv.h: Likewise.
79073         * inet/herrno-loc.c: Likewise.
79074         * inet/herrno.c: Likewise.
79075         * malloc/arena.c: Likewise.
79076         * malloc/hooks.c: Likewise.
79077         * malloc/malloc.c: Likewise.
79078         * resolv/res-state.c: Likewise.
79079         * resolv/res_libc.c: Likewise.
79080         * sysdeps/i386/dl-machine.h: Likewise.
79081         * sysdeps/ia64/dl-machine.h: Likewise.
79082         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79083         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79084         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79085         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79086         * sysdeps/sh/dl-machine.h: Likewise.
79087         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79088         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79089         * sysdeps/unix/i386/sysdep.S: Likewise.
79090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79091         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79096         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79100         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79101         * sysdeps/x86_64/dl-machine.h: Likewise.
79102         * tls.make.c: Likewise.
79104         * configure.in: Remove --with-__thread option.  Make tests for
79105         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79106         tls_model attribute fail if no support is available.  Remove
79107         USE_IN_LIBIO.
79108         * Makeconfig: Adjust for dropped configure option.  All features are
79109         now mandatory.
79110         * Makerules: Likewise.
79111         * Versions.def: Likewise.
79112         * argp/argp-fmtstream.c: Likewise.
79113         * argp/argp-fmtstream.h: Likewise.
79114         * argp/argp-help.c: Likewise.
79115         * assert/assert.c: Likewise.
79116         * config.h.in: Likewise.
79117         * config.make.in: Likewise.
79118         * configure: Likewise.
79119         * configure.in: Likewise.
79120         * csu/Versions: Likewise.
79121         * csu/init.c: Likewise.
79122         * elf/tst-audit2.c: Likewise.
79123         * elf/tst-tls10.c: Likewise.
79124         * elf/tst-tls10.h: Likewise.
79125         * elf/tst-tls11.c: Likewise.
79126         * elf/tst-tls12.c: Likewise.
79127         * elf/tst-tls14.c: Likewise.
79128         * elf/tst-tlsmod11.c: Likewise.
79129         * elf/tst-tlsmod12.c: Likewise.
79130         * elf/tst-tlsmod13.c: Likewise.
79131         * elf/tst-tlsmod13a.c: Likewise.
79132         * elf/tst-tlsmod14a.c: Likewise.
79133         * elf/tst-tlsmod15b.c: Likewise.
79134         * elf/tst-tlsmod16a.c: Likewise.
79135         * elf/tst-tlsmod16b.c: Likewise.
79136         * elf/tst-tlsmod7.c: Likewise.
79137         * elf/tst-tlsmod8.c: Likewise.
79138         * elf/tst-tlsmod9.c: Likewise.
79139         * gmon/gmon.c: Likewise.
79140         * grp/fgetgrent_r.c: Likewise.
79141         * grp/putgrent.c: Likewise.
79142         * hurd/fopenport.c: Likewise.
79143         * include/libc-symbols.h: Likewise.
79144         * include/tls.h: Likewise.
79145         * intl/gettextP.h: Likewise.
79146         * intl/loadinfo.h: Likewise.
79147         * locale/global-locale.c: Likewise.
79148         * locale/localeinfo.h: Likewise.
79149         * mach/devstream.c: Likewise.
79150         * malloc/arena.c: Likewise.
79151         * malloc/set-freeres.c: Likewise.
79152         * misc/err.c: Likewise.
79153         * misc/getttyent.c: Likewise.
79154         * misc/mntent_r.c: Likewise.
79155         * posix/getopt.c: Likewise.
79156         * posix/wordexp.c: Likewise.
79157         * pwd/fgetpwent_r.c: Likewise.
79158         * resolv/Versions: Likewise.
79159         * resolv/res_hconf.c: Likewise.
79160         * shadow/fgetspent_r.c: Likewise.
79161         * shadow/putspent.c: Likewise.
79162         * stdio-common/printf_fphex.c: Likewise.
79163         * stdio-common/tmpfile.c: Likewise.
79164         * stdlib/abort.c: Likewise.
79165         * stdlib/fmtmsg.c: Likewise.
79166         * sunrpc/auth_unix.c: Likewise.
79167         * sunrpc/clnt_perr.c: Likewise.
79168         * sunrpc/clnt_tcp.c: Likewise.
79169         * sunrpc/clnt_udp.c: Likewise.
79170         * sunrpc/clnt_unix.c: Likewise.
79171         * sunrpc/openchild.c: Likewise.
79172         * sunrpc/svc_simple.c: Likewise.
79173         * sunrpc/svc_tcp.c: Likewise.
79174         * sunrpc/svc_udp.c: Likewise.
79175         * sunrpc/svc_unix.c: Likewise.
79176         * sunrpc/xdr.c: Likewise.
79177         * sunrpc/xdr_array.c: Likewise.
79178         * sunrpc/xdr_rec.c: Likewise.
79179         * sunrpc/xdr_ref.c: Likewise.
79180         * sunrpc/xdr_stdio.c: Likewise.
79182 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79184         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79186 2011-07-03  Andreas Jaeger  <aj@suse.de>
79188         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79189         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79190         regenerate with gen-libm-tests.pl.
79192 2010-05-12  Petr Baudis  <pasky@suse.cz>
79194         [BZ #11589]
79195         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79196         around j0() zero points by switching to j1().
79197         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79198         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79200         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79202 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79204         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79205         instead of 0.
79206         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79207         instead of 0.
79208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79209         Patch in part by Pavel Roskin <proski@gnu.org>.
79211         [BZ #13138]
79212         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79213         realloc.
79214         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79215         Free memory block if necessary.
79217         [BZ #12847]
79218         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79219         be NULL.  Don't lock in this case.
79221 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79223         * elf/elf.h (ELFOSABI_GNU): New macro.
79224         (ELFOSABI_LINUX): Define to that.
79226 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79228         * string/strncat.c (strncat): Undef the symbol in case it has been
79229         defined in bits/string.h.
79231 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79233         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79235         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79236         link map.
79238 2011-08-17  Andreas Jaeger  <aj@suse.de>
79240         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79242 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79243             Ian Lance Taylor  <iant@google.com>
79245         * math/libm-test.inc (lround_test): New testcase.
79246         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79248 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79250         * Makefile: Remove support for automatic cvs check-ins.
79251         * Makerules: Likewise.
79252         * config.make.in: Likewise.
79253         * configure.in: Likewise.
79254         * intl/Makefile: Likewise.
79255         * locale/Makefile: Likewise.
79256         * po/Makefile: Likewise.
79257         * posix/Makefile: Likewise.
79258         * sysdeps/gnu/Makefile: Likewise.
79259         * sysdeps/mach/hurd/Makefile: Likewise.
79260         * sysdeps/sparc/sparc32/Makefile: Likewise.
79262         [BZ #13118]
79263         * posix/Makefile (bug-regex32-ENV): Define.
79264         Patch by John Stanley <jpsinthemix@verizon.net>.
79266         * misc/Makefile (headers): Add bits/select2.h.
79267         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79268         * misc/bits/select2.h: New file.
79269         * include/bits/select2.h: New file.
79270         * debug/Makefile (routines): Add fdelt_chk.
79271         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79272         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79273         FD_ISSET.
79274         * debug/fdelt_chk.c: New file.
79276         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79277         * wcsmbs/test-wmemcmp.c: Likewise.
79278         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79279         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79281 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79283         * string/Makefile (strop-tests): Add memcmp.
79284         * string/test-wmemcmp.c: New file.
79285         * string/test-memcmp.c: Add wmemcmp support.
79287 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79289         [BZ #13153]
79290         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79291         2011-07-19 change.
79293         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79294         garbage value in a __mach_port_mod_refs call in the cases of the
79295         task-self and thread-self ports.
79297 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79299         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79301 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79303         * elf/dl-load.c (lose): Check for non-null L.
79305 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79307         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79309         * elf/dl-libc.c (dlerror_run): Pass back error code from
79310         dl_catch_error.
79312         [BZ #13123]
79313         * elf/dl-load.c (lose): Free l_origin if it is valid.
79315         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79316         names.
79317         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79320         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79321         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79322         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79324 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79326         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79327         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79328         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79329         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79330         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79331         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79332         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79333         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79334         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79335         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79337 2011-08-15  Alan Modra  <amodra@gmail.com>
79339         [BZ #13092]
79340         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79341         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79342         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79343         ppc_mcount to static-only-routines.
79344         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79345         __mcount_internal.
79346         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79347         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79349 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79351         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79352         for finite and infinity parameters.
79354 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79357         and add nop instructions for throughput optimization.
79358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79360 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79363         aligned copy for power7 with vector-scalar instructions.
79364         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79366 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79369         AVX check.
79371 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79373         [BZ #13144]
79374         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79375         last change.
79377 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79379         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79380         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79381         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79382         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79383         clock_gettime.
79385 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79387         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79388         Forgot to demangle the pointer.
79390         * sysdeps/i386/sysdep.h: Define atom_text_section.
79391         * sysdeps/x86_64/sysdep.h: Likewise.
79392         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79393         section with atom_text_section.
79394         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79395         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79396         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79398         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79400         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79401         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79402         already be defined.  Change to take two parameters and don't assign
79403         result to variable.  Adjust all users.
79404         Define INTERNAL_GETTIME if not already defined.
79405         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79406         call.
79407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79408         HAVE_CLOCK_GETTIME_VSYSCALL.
79409         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79412         gettimeofday vsyscall, just use time.
79414 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79417         <errno.h>.
79419 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79421         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79422         syscall on x86-64.
79423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79424         syscall.
79425         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79426         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79427         syscall if possible.
79429 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79431         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79432         e_ident.  Don't pass to find_mapsXX.
79433         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79435 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79438         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79439         * sysdeps/x86_64/multiarch/strchr.S: Update.
79440         Check bit_slow_BSF bit.
79441         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79442         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79443         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79445 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79447         [BZ #13134]
79448         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79449         before glibc 2.15.
79450         (tryshell): Define.
79451         (__spawni): Change last parameter to be flag.  Test
79452         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79453         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79454         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79455         * posix/spawni.c: Likewise.
79456         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79457         * posix/spawnp.c: Likewise.  Change normal version to use
79458         SPAWN_XFLAGS_USE_PATH.
79459         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79460         SPAWN_XFLAGS_TRY_SHELL.
79462         [BZ #13150]
79463         * posix/glob.h: Remove gcc 1.x support.
79465         [BZ #13068]
79466         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79468 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79471         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79472         strrchr-sse2-bsf
79473         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79474         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79475         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79476         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79477         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79478         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79480 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79482         * sysdeps/x86_64/wcscmp.S: New file.
79484         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79485         wcscmp-c wcscmp-sse2
79486         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79487         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79488         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79489         * wcsmbs/wcscmp.c: Allow renaming.
79491 2011-09-05  David S. Miller  <davem@davemloft.net>
79493         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79494         stack slot, rather than the struct return pointer slot.
79495         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79496         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79498         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79500 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79502         * po/ja.po: Update from translation team.
79504         [BZ #13144]
79505         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79506         kernel in 64-bit binaries.
79508 2011-09-01  David S. Miller  <davem@davemloft.net>
79510         * elf/elf.h (HWCAP_SPARC_*): Move to..
79511         * sysdeps/sparc/sysdep.h: this new file and add new values.
79512         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79513         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79514         _DL_HWCAP_COUNT to 24.
79515         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79516         entries.
79517         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79518         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79519         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79521         instead of magic constants.
79522         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79524 2011-08-31  David S. Miller  <davem@davemloft.net>
79526         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79528         Reimplement to do errno handling inline.
79529         (SYSCALL_ERROR_HANDLER): New macro.
79530         (__SYSCALL_STRING): Do not do errno handling in asm.
79531         (__CLONE_SYSCALL_STRING): Delete.
79532         (__INTERNAL_SYSCALL_STRING): Delete.
79533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79534         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79535         (PSEUDO): Reimplement to do errno handling inline.
79536         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79537         (SYSCALL_ERROR_HANDLER): New macro.
79538         (__SYSCALL_STRING): Do not do errno handling in asm.
79539         (__CLONE_SYSCALL_STRING): Delete.
79540         (__INTERNAL_SYSCALL_STRING): Delete.
79541         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79542         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79543         i386.
79544         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79545         (inline_syscall*): Add 'err' argument.
79546         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79547         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79548         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79549         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79551         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79552         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79554 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79556         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79558 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79560         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79561         directive.
79563 2011-08-24  David S. Miller  <davem@davemloft.net>
79565         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79567 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79569         * elf/Makefile: Add rules to build and run unload8 test.
79570         * elf/unload8.c: New file.
79571         * elf/unload8mod1.c: New file.
79572         * elf/unload8mod1x.c: New file.
79573         * elf/unload8mod2.c: New file.
79574         * elf/unload8mod3.c: New file.
79576         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79577         it wasn't used.
79579 2011-08-23  David S. Miller  <davem@davemloft.net>
79581         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79582         subtract stack bias.
79583         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79584         %sp not %fp in calculations.
79585         (_JMPBUF_UNWINDS_ADJ): Likewise.
79587         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79588         (aio_suspend): Call it to force an exception region around the
79589         AIO_MISC_WAIT() invocation.
79591 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79593         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79594         backslash.
79596 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79598         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79599         protection macro.
79600         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79601         and <dl-machine.h>.
79602         (Elf64_FuncDesc): Remove.
79604 2011-08-22  David S. Miller  <davem@davemloft.net>
79606         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79607         sigaltstack check, add missing cfi directives.
79608         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79609         missing cfi directives, and sigaltstack handling.
79611 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79613         [BZ #11724]
79614         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79615         object is seen twice.
79616         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79618         * elf/Makefile (distribute): Add tst-initorder2.c.
79619         (tests): Add tst-initorder2.
79620         (modules-names): Add tst-initorder2a tst-initorder2b
79621         tst-initorder2c tst-initorder2d.  Add rules to build them.
79622         ($(objpfx)tst-initorder2.out): New rule.
79623         * elf/tst-initorder2.c: New file.
79624         * elf/tst-initorder2.exp: New file.
79626 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79628         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79630         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79631         dependencies back to end of function.
79633         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79634         $(elfobjdir)/ld.so.
79636 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79639         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79641         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79642         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79643         of __vdso_gettimeofday.
79644         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79645         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79646         attribute_hidden.
79647         (_libc_vdso_platform_setup): Remove initialization of
79648         __vdso_gettimeofday and __vdso_time.
79650 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79652         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79653         and fgetc_unlocked.
79654         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79655         getc_unlocked.
79657         * elf/dl-open.c (add_to_global): Report additions to the global scope
79658         for LD_DEBUG=scopes.
79659         (dl_open_worker): Also print scope of newly loaded dependencies.
79660         (_dl_show_scope): Indicate if there is no scope.
79662         [BZ #13114]
79663         * stdio-common/Makefile (tests): Add bug24.
79664         * stdio-common/bug24.c: New file.
79666 2011-08-19  Andreas Jaeger  <aj@suse.de>
79668         [BZ #13114]
79669         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79670         non-existant file when using close-on-exec mode.
79672 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79674         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79675         the very first instruction.
79677         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79678         the CFI state in the end.
79679         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79680         inclusion of dl-trampoline.h.
79681         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79683 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79685         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79686         expectations for long double.
79688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79689         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79691 2011-08-14  David S. Miller  <davem@davemloft.net>
79693         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79694         artificual limit depends upon the system page size.
79696 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79698         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79699         * resolv/Makefile: Define CFLAGS-libresolv.
79701 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79703         * nss/makedb.c (compute_tables): Make variables used in nested
79704         function static.
79706 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79708         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79709         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79710         if buffer was too small.
79712         * elf/pldd.c (main): Attach to all threads in the process.
79713         Rewrite /proc handling to use *at functions.
79715 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79717         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79718         specifies first scope to show.
79719         (dl_open_worker): Update callers.  Move printing scope of new
79720         object to before the relocation.
79721         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79722         * sysdeps/generic/ldsodefs.h: Update declaration.
79724         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79725         string for the scope number.
79727 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79729         * nscd/servicescache.c (cache_addserv): Make sure written is always
79730         initialized.
79732 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79734         * sysdeps/i386/i486/bits/atomic.h
79735         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79736         statement expression, so as to suppress "set but not used" warning.
79737         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79739         * string/strncat.c (STRNCAT): Use prototype definition.
79741         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79742         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79743         -Iprograms here.
79744         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79745         (localedef-modules): Add localedef.
79746         (locale-modules): Add locale.
79748         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79749         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79750         to avoid a warning.
79752 2011-08-14  David S. Miller  <davem@davemloft.net>
79754         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79755         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79757 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79759         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79760         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79761         * elf/rtld.c (dl_main): Set l_name of vDSO.
79762         Call _dl_show_scope when DL_DEBUG_SCOPES.
79763         (process_dl_debug): Recognize scopes flag and also set it for all.
79764         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79765         Declare _dl_show_scope.
79767         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79768         (do_dlopen): Pass caller_dlopen to dl_open.
79769         (__libc_dlopen_mode): Initialize caller_dlopen.
79771         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79772         of libc.  Make tolower call locale-independent.  Optimize a bit by
79773         using isdigit instead of isalnum.
79774         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79776 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79778         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79779         was a dependency or dynamically loaded.
79781 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79783         * intl/l10nflist.c: Allow architecture-specific pop function.
79784         * sysdeps/x86_64/l10nflist.c: New file.
79786         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79787         classification.
79789 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79791         * include/dirent.h: Add libc_hidden_proto for scandirat and
79792         scandirat64.  Don't declare __scandirat64.
79793         * dirent/scandirat.c: Add libc_hidden_def.
79794         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79795         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79797 2011-08-10  David S. Miller  <davem@davemloft.net>
79799         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79800         enum.
79801         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79802         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79803         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79805 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79807         * Versions.def [libc]: Add GLIBC_2.15.
79808         * dirent/Makefile (routines): Add scandirat and scandirat64.
79809         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79810         GLIBC_2.15.
79811         * dirent/dirent.h: Declare scandirat and scandirat64.
79812         * dirent/scandirat.c: New file.
79813         * dirent/scandirat64.c: New file.
79814         * sysdeps/wordsize-64/scandirat.c: New file.
79815         * sysdeps/wordsize-64/scandirat64.c: New file.
79816         * dirent/opendir.c: Define opendirat.
79817         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79818         using scandirat.
79819         * dirent/scandir64.c: Adjust for scandir.c change.
79820         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79821         __scandirat64, and __scandir_cancel_handler.
79822         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79823         additional parameter and use openat instead of open (outside of ld.so).
79824         Add new __opendir as wrapper around __opendirat.
79825         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79826         here without requiring old scandirat implementation.
79828 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79830         * dirent/scandir.c (cancel_handler): Renamed to
79831         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79832         defined.  Adjust users.
79833         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79834         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79836 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79838         * string/test-string.h (IMPL): Use __STRING to expand name and then
79839         stringify it.
79841         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79842         of cleanups.
79844 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79846         * string/Makefile: Update.
79847         (strop-tests): Append strncat.
79848         * string/test-wcscmp.c: New file.
79849         New comprehensive test for wcscmp.
79850         * string/test-strcmp.c: Update.
79851         (WIDE): New define.
79853 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79855         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79856         line.
79858 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79861         encoding to ACE if AI_IDN.
79863 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79865         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79866         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79868 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79871         Fix overflow bug in strncat.
79872         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79874         * string/test-strncat.c: Update.
79875         Add new tests for checking overflow bugs.
79877 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79880         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79881         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79882         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79883         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79884         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79885         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79886         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79887         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79889         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79890         (USE_AS_STRCAT): Define.
79891         Add strcat and strncat support.
79892         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79894 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79896         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79897         __n bigger than INT_MAX+1.
79898         (__strncmp_g): Likewise.
79900 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79902         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79903         * libio/stido.h: Likewise.
79905         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79906         (AF_NFC): Define.
79907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79908         (AF_NFC): Define.
79910         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79912         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79913         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79916         [BZ #13021]
79917         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79918         installed.
79920         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79921         typo.
79922         (_dl_x86_64_save_sse): Likewise.
79924 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79927         OSXSAVE.
79928         (_dl_x86_64_save_sse): Likewise.
79930         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79932         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79934 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79936         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79937         change.
79938         (_dl_x86_64_save_sse): Use correct AVX check.
79940 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79942         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79943         bug in strncpy/strncat.
79944         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79946 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79948         * string/tester.c (test_strcat): Add tests for different alignments
79949         of source and destination.
79950         (test_strncat): Likewise.
79952 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79954         [BZ #12852]
79955         * posix/glob.c (glob): Check passed in values before using them in
79956         expressions to avoid some overflows.
79957         (glob_in_dir): Likewise.
79959         [BZ #13007]
79960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79961         check for AVX enablement so that we don't crash with old kernels and
79962         new hardware.
79963         * elf/tst-audit4.c: Add same checks here.
79964         * elf/tst-audit6.c: Likewise.
79966         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79968 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79970         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79972 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79974         * po/cs.po: Update from translation team.
79975         * po/bg.po: Likewise.
79977 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79979         * misc/sys/cdefs.h: Add support for const attribute.
79980         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79981         to gnu_dev_{major,minor,makedev} functions.
79983 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79985         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79987 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79989         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79990         strlen results.
79992 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79995         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79996         register in order to avoid conflicts with the soft frame pointer
79997         being held in r11 when necessary.
79998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79999         (INTERNAL_VSYSCALL_NCS): Likewise.
80001 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80003         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80004         * elf/dl-fini.c (_dl_fini): Adjust caller.
80005         * elf/dl-close.c (_dl_close_worker): Likewise.
80006         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80008 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80010         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80011         "aux_cache->nlibs < 0".
80013         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80014         in the reload-count case.
80016 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80019         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80020         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80021         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80022         * sysdeps/x86_64/multiarch/strcat.S: New file.
80023         * sysdeps/x86_64/multiarch/strncat.S: New file.
80024         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80026         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80027         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80028         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80029         (USE_AS_STRCAT): Define.
80030         Add strcat and strncat support.
80031         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80032         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80033         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80034         * string/strncat.c: Update.
80035         (USE_AS_STRNCAT): Define.
80036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80037         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80038         and i7.
80039         * sysdeps/x86_64/multiarch/init-arch.h
80040         (bit_Prefer_PMINUB_for_stringop): New.
80041         (index_Prefer_PMINUB_for_stringop): Likewise.
80042         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80043         bit_Prefer_PMINUB_for_stringop.
80045 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80047         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80048         buffer64.
80049         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80050         of casting of buffer.
80051         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80052         buffer32 and buffer64.
80053         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80054         writes instead of casting of buffer.
80055         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80056         buffer32.
80057         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80058         casting of buffer.
80060 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80062         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80064 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80066         * nscd/nscd.c (termination_handler): Don't do anything for a database
80067         if it has not yet been initialized.
80069 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80071         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80073 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80075         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80077 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80079         * po/nl.po: Update from translation team.
80080         * po/sv.po: Likewise.
80082 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80084         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80085         now disallowed by GCC.
80087         * configure.in (use-default-link): Default to yes if a test -shared
80088         link meets our qualifications.
80089         * configure: Regenerated.
80091         * config.make.in (output-format): New variable.
80092         * configure.in: Check for ld --print-output-format support.
80093         * configure: Regenerated.
80094         * Makerules ($(common-objpfx)format.lds)
80095         [$(output-format) != unknown]: Just use $(output-format),
80096         instead of the linker-script munging.
80098 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80100         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80101         of $(common-objpfx)shlib.lds.
80102         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80104         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80105         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80107         * configure.in (-z relro check): Adjust test code to add a large
80108         writable data section after it.
80109         * configure: Regenerated.
80111 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80113         * configure.in (-z relro check): Fix test code to make the variable
80114         truly const.
80115         * configure: Regenerated.
80117 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80119         * nscd/nscd.h (struct traced_file): Define.
80120         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80121         elements.  Add traced_files.
80122         (inotify_fd): Declare.
80123         (register_traced_file): Declare.
80124         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80125         (inotify_fd): Export.
80126         (resolv_conf_descr): Remove.
80127         (nscd_init): Move inotify descriptor creation to main.
80128         Don't register files for notification here.
80129         (register_traced_file): New function.
80130         (invalidate_cache): Don't use reset_res to determine whether to call
80131         res_init, go through the list of registered files.
80132         (main_loop_poll): The inotify descriptors are now stored in the
80133         structures for the traced files.
80134         (main_loop_epoll): Likewise.
80135         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80136         to __nss_disable_nscd.
80137         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80138         for a database anymore.  Check the records for all the registered
80139         files instead.
80140         * nss/Makefile (libnss_files-routines): Add files-init.
80141         (libnss_db-routines): Add db-init.
80142         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80143         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80144         * nss/nss_db/db-init.c: New file.
80145         * nss/nss_files/files-init.c: New file.
80146         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80147         __nss_lookup_function.
80148         (__nss_lookup_function): Call nss_load_library.
80149         (nss_load_all_libraries): New function.
80150         (__nss_disable_nscd): Take parameter with callback function for files
80151         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80152         used for the cached services.
80153         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80154         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80155         options for features to all the files in nscd.
80157         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80159 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80161         * csu/elf-init.c (__libc_csu_init): Comment typo.
80163 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80165         * po/pl.po: Update from translation team.
80166         * po/ja.po: Likewise.
80167         * po/ru.po: Likewise.
80168         * po/ko.po: Likewise.
80169         * po/fr.po: Likewise.
80171 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80173         * configure.in (.ctors/.dtors header and trailer check):
80174         Use an empirical test on a built program.
80175         * configure: Regenerated.
80177         * configure.in (-z relro check): Use an empirical test on a built DSO.
80178         Detect, but do not require, on ia64.
80179         * configure: Regenerated.
80181         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80182         Update tests that use readelf to use $READELF instead.
80183         * configure: Regenerated.
80185 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80187         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80188         if the result is not used.
80190 2011-07-05  Andreas Jaeger  <aj@suse.de>
80192         [BZ#9696]
80193         * stdlib/tst-strtod.c: Add testcase.
80195 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80197         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80198         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80199         The latter has a higher limit.  Take additional parameter to pass to
80200         the new function.
80201         (__pathconf): Pass file to __statfs_link_max.
80202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80203         __statfs_link_max.
80204         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80205         __statfs_link_max.
80207         [BZ #12868]
80208         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80209         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80210         Handle Lustre.
80211         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80212         (__statfs_filesize_max): Likewise.
80213         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80215 2011-07-05  Andreas Jaeger  <aj@suse.de>
80217         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80219 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80221         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80222         `status' variable.
80223         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80224         Likewise.
80226 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80228         * Makefile (strop-tests): Add strncat.
80229         * string/test-strncat.c: New file.
80231 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80233         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80235 2011-06-21  Andreas Jaeger  <aj@suse.de>
80237         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80238         Copy rule from iconvdata/Makefile.
80240 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80242         [BZ #12922]
80243         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80244         but no long options are defined, just return 'W'.
80246 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80248         [BZ #9696]
80249         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80251 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80253         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80254         netgroups to read.
80255         (innetgr): Likewise.
80257 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80259         * config.make.in (install_root): Default to $(DESTDIR).
80261 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80263         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80265 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80267         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80269         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80270         containing directory rather than embedding absolute directory names.
80272         * scripts/check-local-headers.sh: Rewritten using awk.
80273         Match by word, not by line.  Print error messages for matches.
80274         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80276         * Makerules [shlib-lds-flags empty]:
80277         ($(common-objpfx)libc_pic.opts): New target.
80278         ($(common-objpfx)libc_pic.os.clean): New target.
80279         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80281         * config.make.in (OBJCOPY): New variable.
80282         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80283         * configure: Regenerated.
80285         * config.make.in (use-default-link): New variable.
80286         * configure.in (use_default_link): Grok --with-default-link to set it.
80287         * configure: Regenerated.
80288         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80289         (shlib-lds, shlib-lds-flags): Define to empty.
80291         * Makerules (shlib-lds): New variable.
80292         (shlib-lds-flags): New variable.
80293         (build-shlib, build-moduile, build-module-asneeded): Use it.
80294         ($(common-objpfx)libc.so): Use $(shlib-lds).
80295         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80296         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80298         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80299         DT_FLAGS/DT_FLAGS_1 with zero flags.
80301         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80302         linker script munging.
80304 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80306         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80307         as 128-bit value.
80308         * crypt/sha512.c (sha512_process_block): Perform total addition using
80309         128-bit if possible.
80310         (__sha512_finish_ctx): Likewise.
80311         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80312         as 64-bit value.
80313         * crypt/sha256.c (SWAP64): Define.
80314         (sha256_process_block): Perform total addition using 64-bit if
80315         possible.
80316         (__sha256_finish_ctx): Likewise.
80318 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80320         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80321         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80322         * nscd/hstcache.c (cache_addhst): Likewise.
80323         * nscd/grpcache.c (cache_addgr): Likewise.
80324         * nscd/aicache.c (addhstaiX): Likewise.
80325         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80327 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80329         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80331         * nscd/hstcache.c (cache_addhst): Likewise.
80332         * nscd/grpcache.c (cache_addgr): Likewise.
80333         * nscd/aicache.c (addhstaiX): Likewise.
80335 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80337         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80338         domain only when needed.
80340 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80343         is always restored.
80345 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80347         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80348         are re-adding the entry.
80349         * nscd/servicescache.c (cache_addserv): Likewise.
80351 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80353         * sysdeps/generic/dl-irel.h: fix protection against multiple
80354         inclusions.
80355         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80357 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80359         [BZ #12935]
80360         * malloc/memusage.sh: Fix quoting in message.
80361         * debug/xtrace.sh: Likewise.
80363         * configure.in: Remove support for --experimental-malloc option, make
80364         it the default.
80365         * config.make.in: Likewise.
80366         * malloc/Makefile: Likewise.
80368 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80370         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80371         two-byte characters.
80373 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80375         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80376         AC_CACHE_CHECK invocation.
80377         * configure: Regenerated.
80379         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80381 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80383         [BZ #12350]
80384         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80385         bit from old_res_options.
80387         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80389         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80390         value type for setfct.
80392 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80395         __gettimeofday instead of gettimeofday.
80397 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80399         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80401 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80403         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80405         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80406         info.
80408 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80411         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80412         strcpy-sse2-unaligned strncpy-sse2-unaligned
80413         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80414         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80415         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80416         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80417         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80418         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80419         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80420         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80421         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80422         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80423         (STRCPY): Support SSE2 and SSSE3 versions.
80425 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80427         [BZ #12874]
80428         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80429         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80430         kernels which artificially limit size of requests.
80432 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80434         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80435         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80436         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80437         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80438         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80439         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80440         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80441         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80442         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80443         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80444         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80445         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80446         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80447         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80448         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80450         Enable unaligned load optimization for Intel Core i3, i5 and i7
80451         processors.
80452         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80453         Define.
80454         (index_Fast_Unaligned_Load): Define.
80455         (HAS_FAST_UNALIGNED_LOAD): Define.
80457 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80459         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80461 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80463         [BZ #12907]
80464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80465         until it is clear that the information is realy needed.
80466         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80468 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80472 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80475         /sys/devices/system/cpu/online if it is usable.
80477         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80478         reading the information from the /proc filesystem to once a second.
80480 2011-06-21  Andreas Jaeger  <aj@suse.de>
80482         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80483         NULL after inclusion of kernel headers.
80485 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80487         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80488         calls to internal_setent.
80490         [BZ #12885]
80491         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80492         addresses using gethostbyname4_r ignore IPv4 addresses.
80494         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80495         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80497         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80499 2011-06-20  David S. Miller  <davem@davemloft.net>
80501         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80502         inclusions.
80503         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80505         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80506         (elf_irel): Use it.
80507         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80508         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80509         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80510         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80511         * sysdeps/x86_64/dl-irel.h: Likewise.
80513         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80514         * elf/dl-sym.c: Likewise.
80516 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80518         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80519         need to dereference resplen2.
80521 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80523         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80525 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80527         * Makeconfig: Define vardbdir and inst_vardbdir.
80528         * nss/Makefile: Add rules to install db-Makefile.
80530         * nss/nss_db/db-XXX.c: Cleanup.
80532         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80533         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80534         GLIBC_PRIVATE.
80535         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80536         * nss/makedb.c: Implement -g option to specify that value strings
80537         are generated and should not be added to table iterated over for
80538         get*ent calls.
80539         * nss/nss_db/db-initgroups.c: New file.
80541         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80542         interface.
80544         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80545         (internal_getgrouplist): Adjust to name change.
80546         Update use_initgroups_entry if this is not the first call.
80547         * nss/databases.def: Add initgroups entry.
80549         * nss/makedb.c (compute_tables): Check result of multiple hash table
80550         sizes to minimize maximum chain length.
80552 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80554         * Versions.def: Add entry for libnss_db.
80555         * shlib-versions: Likewise.
80556         * nss/Makefile: Add rules to build libnss_db.
80557         * nss/Versions: Add libnss_db information.  Organize libnss_files
80558         entries better.
80559         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80560         makedb progra.  Some minor improvements to generate smaller files.
80561         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80562         here from...
80563         * nss/makedb.c: ...here.
80564         Improve database format to be smaller and require less memory at
80565         runtime.
80566         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80567         db anymore.
80568         * nss/nss_db/db-netgrp.c: Likewise.
80569         * nss/nss_db/db-open.c: Likewise.
80570         * nss/nss_files/flies-XXX.x: Adjust comments.
80571         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80572         * nss/nss_files/files-grp.c: Likewise.
80573         * nss/nss_files/files-hosts.c: Likewise.
80574         * nss/nss_files/files-network.c: Likewise.
80575         * nss/nss_files/files-proto.c: Likewise.
80576         * nss/nss_files/files-pwd.c: Likewise.
80577         * nss/nss_files/files-rpc.c: Likewise.
80578         * nss/nss_files/files-service.c: Likewise.
80579         * nss/nss_files/files-sgrp.c: Likewise.
80580         * nss/nss_files/files-spwd.c: Likewise.
80581         * nss/nss_db/db-alias.c: Removed.
80582         * nss/nss_db/dummy-db.h: Removed.
80584 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80586         * nss/makedb.c: Rewritten to not use database library.
80587         * nss/Makefile: Update to build new makedb program.
80589 2011-06-14  Andreas Jaeger  <aj@suse.de>
80591         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80592         memset declaration.
80594 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80597         tmpbuf.
80599 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80601         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80602         * elf/Makefile ($(objpfx)ld.so): Likewise.
80604         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80605         Don't list ld.so twice in dependencies.
80607         * posix/bug-regex31.c: Include <stdlib.h>.
80609         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80611         * nis/nss_compat/compat-spwd.c
80612         (getspent_next_nss_netgr): Remove unused variable.
80613         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80615         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80616         nonmembers" output to use the right array.
80618         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80620         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80622         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80623         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80624         * catgets/gencat.c (read_input_file): Likewise.
80625         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80627         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80628         variable definition inside #if's controlling its use.
80630         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80632         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80634         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80636         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80637         unreachable code.
80639         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80641         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80642         * configure: Regenerated.
80644         * Makerules: Revert last change.
80645         * elf/Makefile: Likewise.
80647 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80649         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80650         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80651         (reloc-link): Likewise.
80653 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80655         * elf/Makefile: Add rules to build pldd.
80656         * elf/pldd.c: New file.
80657         * elf/pldd-xx.c: New file.
80659 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80661         * version.h: Update for 2.15 development version.
80663 2011-06-07  David S. Miller  <davem@davemloft.net>
80665         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80666         ifuncs.
80667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80668         elf_machine_lazy_rel): Likewise.
80669         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80670         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80671         elf_machine_lazy_rel): Likewise.
80672         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80673         dl_hwcap via passed in argument.
80674         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80675         Likewise.
80677 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80679         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80681 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80683         [BZ #12849]
80684         * manual/fdl-1.1.texi: New file, verbatim from:
80685         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80686         * manual/lgpl-2.1.texi: New file, verbatim from:
80687         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80688         * manual/Makefile (licenses): New variable, list those new file names.
80689         (texis): Use it.
80690         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80692         * manual/fdl.texi: File removed.
80693         * manual/lesser.texi: File removed.
80694         * manual/libc.texinfo (Copying, Documentation License):
80695         Use new @include file names, put @appendix directive before @include.
80697 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80699         [BZ #12841]
80700         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80701         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80702         (mq_open): Add __NTH.
80704 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80707         Assume Intel Core i3/i5/i7 processor if AVX is available.
80709 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80712         typo.
80714 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80716         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80717         memory.  Use alloca_account.  Fix memory leak when retrying.
80719 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80721         * version.h (RELEASE): Bump for 2.14 release.
80722         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80724         * config.make.in (RANLIB): Remove entry.
80726 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80728         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80729         (libc.pot): Work around missing support for .ksh extension in xgettext.
80731         [BZ #12684]
80732         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80733         if both request failed.
80734         (send_dg): In case of server errors clear resplen or *resplen2.
80736         [BZ #12454]
80737         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80738         when there are multiple maps.
80739         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80740         (_dl_fini): Remove test here.
80742         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80744 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80746         [BZ #12350]
80747         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80748         bit from old_res_options.
80749         (gaih_inet): Likewise.
80751         [BZ #11099]
80752         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80753         as signed.
80755         * resolv/res_init.c (res_setoptions): Make the code more compact.
80757         [BZ #11558]
80758         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80759         set RES_USEVC.
80761         [BZ #11634]
80762         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80764         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80766         [BZ #11781]
80767         * malloc/malloc.h: Declare malloc hook variables as volatile.
80769         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80770         in last patch.
80772         [BZ #11799]
80773         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80774         raise in the comment.
80775         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80777         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80779 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80781         [BZ #12811]
80782         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80783         grow the buffers more if it already has to be sufficient.
80784         (build_wcs_upper_buffer): Likewise.
80785         * posix/regexec.c (check_matching): Likewise.
80786         (clean_state_log_if_needed): Likewise.
80787         (extend_buffers): Don't enlarge buffers beyond size of the input
80788         buffer.
80789         Patches mostly by Emil Wojak <emil@wojak.eu>.
80790         * posix/bug-regex32.c: New file.
80791         * posix/Makefile (tests): Add bug-regex32.
80793         * locale/findlocale.c (_nl_find_locale): Return right away if
80794         _nl_explode_name failed.
80795         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80797         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80799         * debug/xtrace.sh: Unify messages.
80800         * malloc/memusage.sh: Likewise.
80802         [BZ #12813]
80803         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80804         time symbol from vDSO.  Substitute with vsyscall if not available.
80805         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80806         __vdso_time.
80808         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80809         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80810         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80811         Add sendmmsg and internal_sendmmsg.
80812         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80813         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80814         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80816         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80817         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80818         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80820 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80822         [BZ #12813]
80823         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80824         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80825         available.
80826         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80827         __vdso_getcpu.
80829         [BZ #12814]
80830         * iconvdata/Makefile (tests): Add bug-iconv9.
80831         * iconvdata/bug-iconv9.c: New file.
80833 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80835         [BZ #12814]
80836         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80838 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80840         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80841         (struct user_regs_struct): Change intcs field back to cs.
80843 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80845         * po/ja.po: Update from translation team.
80847 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80849         [BZ #12795]
80850         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80851         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80853 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80855         * stdlib/longlong.h: Update from GCC.
80857 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80859         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80860         parameter name.
80861         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80862         Add parameter name.
80863         (__sysconf): Pass it down.
80865 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80867         [BZ #12671]
80868         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80869         some situations.
80870         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80871         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80872         add in in __libc_use_alloca calls.  Adjust callers.
80873         (glob): Use malloc in some situations.
80875         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80876         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80877         pltexit.
80879 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80881         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80882         and CLOCK_BOOTTIME_ALARM.
80884         [BZ #12782]
80885         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80886         is returned.
80888         * string/_strerror.c (__strerror_r): Print negative errors as signed
80889         numbers.
80891         [BZ #12777]
80892         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80893         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80894         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80896         * configure.in: Fix typo in redirection and correct removal of test
80897         files in two cases.
80899         [BZ #12788]
80900         * locale/setlocale.c (new_composite_name): Fix test to check for
80901         identical name of all categories.
80903         [BZ #12792]
80904         * libio/filedoalloc.c (local_isatty): New function.
80905         (_IO_file_doallocate): Use local_isatty.
80906         * stdio-common/perror.c (perror): In case a new stream is used
80907         forward the stream error.
80908         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80909         error flag.
80911 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80913         [BZ #11884]
80914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80915         alloca.
80916         * include/alloca.h (extend_alloca_account): Define.
80918         [BZ #11857]
80919         * posix/regex.h: Fix comments with documentation of user-accessible
80920         fields after compilation and describe correct free'ing of pattern
80921         after re_compile_pattern.
80922         Patch by Reuben Thomas <rrt@sc3d.org>.
80924 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80926         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80927         and -mno-altivec to prevent the compiler from using Altivec and/or
80928         VSX instructions when the corresponding registers are not available.
80930 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80932         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80934 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80936         * libio/freopen.c (freopen): Use __dup2, not dup2.
80937         * libio/freopen64.c (freopen64): Likewise.
80939 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80941         [BZ #12775]
80942         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80943         * math/Makefile (tests): Add test-powl.
80944         (CFLAGS-test-powl.c): Define.
80945         * math/test-powl.c: New file.
80947 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80949         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80951 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80953         [BZ #11837]
80954         * iconvdata/gb18030.c: Update to GB18020-2005.
80956 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80958         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80959         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80960         Patch by Aharon Robbins <arnold@skeeve.com>.
80962         [BZ #11892]
80963         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80964         on the stack.
80966         [BZ #11895]
80967         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80968         through underflows.
80970         [BZ #12766]
80971         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80972         point to strings before performing equality test for error_one_per_line
80973         mode.
80975         [BZ #11697]
80976         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80978         [BZ #11820]
80979         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80980         (struct user_fpregs_struct): Avoid __uint*_t types.
80982         [BZ #6420]
80983         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80984         symbol info.  Use it instead of calling _dl_addr locally.
80985         (lock_and_info): New function.
80986         (tr_freehook): Call lock_and_info and pass symbol info as additional
80987         parameter to tr_where.
80988         (tr_mallochook): Likewise.
80989         (tr_reallochook): Likewise.
80990         (tr_memalignhook): Likewise.
80992         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80993         used and couldn't be at all thread-safe.
80995 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80997         * libio/freopen.c (freopen): Don't close old file descriptor
80998         before the new one is opened.  Instead dup the new file descriptor
80999         to the old one after the new stream is created.
81000         * libio/freopen64.c (freopen64): Likewise.
81001         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81002         * libio/fileops.c (_IO_new_file_close_it): Handle new
81003         _IO_FLAGS2_NOCLOSE flag.
81004         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81005         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81006         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81007         _IO_FLAGS2_NOCLOSE flag.
81008         * include/unistd.h: Add hidden_proto for dup3.
81009         Define __have_dup3.
81010         * io/dup3.c: Define hidden symbol.
81011         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81013         [BZ #7101]
81014         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81015         when an incomplete long option is used.
81016         * posix/tst-getopt_long1.c: New file.
81017         * posix/Makefile (tests): Add tst-getopt_long1.
81019         [BZ #10138]
81020         * scripts/config.guess: Update from autoconf-2.68.
81021         * scripts/config.sub: Likewise.
81023         [BZ #10157]
81024         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81025         tests into ...
81026         (has_cpuclock): ...this.  New function.
81027         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81028         macro here based on has_cpuclock code.
81030         [BZ #10149]
81031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81032         First byte (not low byte) is now always NUL.
81033         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81035         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81036         Use non-cancelable interfaces.
81038         [BZ #9809]
81039         * locale/iso-639.def: Add entry for Sorani.
81041         [BZ #11901]
81042         * include/stdlib.h: Move include protection to the right place.
81043         Define abort_msg_s.  Declare __abort_msg with it.
81044         * stdlib/abort.c (__abort_msg): Adjust type.
81045         * assert/assert.c (__assert_fail_base): New function.  Majority
81046         of code from __assert_fail.  Allocate memory for __abort_msg with
81047         mmap.
81048         (__assert_fail): Now call __assert_fail_base.
81049         * assert/assert-perr.c: Remove bulk of implementation.  Use
81050         __assert_fail_base.
81051         * include/assert.hL Declare __assert_fail_base.
81052         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81053         mmap.
81054         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81056 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81058         [BZ #11952]
81059         [BZ #12453]
81060         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81061         until all modules are registered in the DTV.
81062         * elf/Makefile: Add rules to build and run tst-tls19.
81063         * elf/tst-tls19.c: New file.
81064         * elf/tst-tls19mod1.c: New file.
81065         * elf/tst-tls19mod2.c: New file.
81066         * elf/tst-tls19mod3.c: New file.
81067         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81069         [BZ #12083]
81070         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81071         correctly.
81073         [BZ #12601]
81074         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81075         two-byte sequence errors.
81076         * iconvdata/Makefile (tests): Add bug-iconv8.
81077         * iconvdata/bug-iconv8.c: New file.
81079         [BZ #12626]
81080         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81081         buf2 definition.
81083         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81085         [BZ #12432]
81086         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81087         (dummy_getcfa): New function.
81088         (init): Get _Unwind_GetCFA address, use dummy if not found.
81089         (backtrace_helper): In recursion check, also check whether CFA changes.
81090         (__backtrace): Completely initialize arg.
81092         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81093         storing incomplete byte sequence in state object.  Avoid testing for
81094         guaranteed too small input if we know there is enough data available.
81096 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81098         * Makeconfig (+link-pie): Indent.
81099         * Rules (binaries-pie): Define if $(have-fpie) and
81100         $(build-shared).
81101         (binaries-shared): Also filter out $(binaries-pie).
81102         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81103         * nscd/Makefile (others-pie): Add nscd.
81104         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81105         ($(objpfx)nscd): Remove command override.
81106         * login/Makefile (others-pie): Add pt_chown.
81107         ($(objpfx)pt_chown): Remove command override.
81108         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81109         remove command overrides.
81111 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81113         * libio/tst_putwc.c: Fix error messages.
81115         [BZ #12724]
81116         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81117         currently writing and seek to current position when not.
81118         * libio/Makefile (tests): Add bug-fclose1.
81119         * libio/bug-fclose1.c: New file.
81121 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81123         [BZ #12511]
81124         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81125         don't set DF_1_NODELETE here.
81126         (do_lookup_x): When entering new entry test for copy relocation
81127         and if necessary set DF_1_NODELETE flag.
81128         * elf/tst-unique4.cc: New file.
81129         * elf/tst-unique4.h: New file.
81130         * elf/tst-unique4lib.cc: New file.
81131         * elf/Makefile: Add rules to build and run tst-unique4.
81132         Patch by Piotr Bury <pbury@goahead.com>.
81134 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81136         [BZ #12052]
81137         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81139         [BZ #12625]
81140         * misc/mntent_r.c (addmntent): Flush the stream after the output
81142         [BZ #12393]
81143         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81144         (is_trusted_path_normalize): Skip initial colon.  Append slash
81145         to empty buffer.  Duplicate is_trusted_path code but allow
81146         constructed patch to be prefix.
81147         (is_dst): Allow $ORIGIN followed by /.
81148         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81149         Correct testing of result of is_trusted_path_normalize
81150         (decompose_rpath): Fix warning.
81152 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81154         [BZ #11257]
81155         * grp/initgroups.c (internal_getgrouplist): When we found the service
81156         list through the initgroups entry in nsswitch.conf do not always
81157         continue on a successful lookup.  Don't always use the
81158         __nss_group_database value if it is set.
81159         * nss/nsswitch.conf (initgroups): Change action for successful db
81160         lookup to continue for compatibility.
81162 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81164         [BZ #11532]
81165         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81166         and CP774 modules.
81167         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81168         and CP774 modules.
81169         * iconvdata/tst-tables.sh: Likewise.
81170         * iconvdata/cp770.c: New file.
81171         * iconvdata/cp771.c: New file.
81172         * iconvdata/cp772.c: New file.
81173         * iconvdata/cp773.c: New file.
81174         * iconvdata/cp774.c: New file.
81175         * iconvdata/testdata/CP770: New file.
81176         * iconvdata/testdata/CP770..UTF8: New file.
81177         * iconvdata/testdata/CP771: New file.
81178         * iconvdata/testdata/CP771..UTF8: New file.
81179         * iconvdata/testdata/CP772: New file.
81180         * iconvdata/testdata/CP772..UTF8: New file.
81181         * iconvdata/testdata/CP773: New file.
81182         * iconvdata/testdata/CP773..UTF8: New file.
81183         * iconvdata/testdata/CP774: New file.
81184         * iconvdata/testdata/CP774..UTF8: New file.
81186         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81187         END CHARMAP line.
81188         * iconvdata/gen-8bit-gap.sh: Likewise.
81189         * iconvdata/gen-8bit.sh: Likewise.
81191         * locale/iso-639.def: Add ary entry.
81193         [BZ #11258]
81194         * locale/C-translit.h.in: Add U20A1 transliteration.
81196         [BZ #12178]
81197         * locale/iso-639.def: Add wae entry.
81198         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81200         [BZ #12545]
81201         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81202         for n.
81204         [BZ #12711]
81205         * locale/C-translit.h.in: Add entry for U20B9.
81206         Patch by pravin.d.s@gmail.com.
81208 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81210         [BZ #12713]
81211         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81212         ENAMETOOLONG use generic getcwd.
81213         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81214         in rtld.  Use *stat64.
81215         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81216         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81217         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81218         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81219         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81220         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81221         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81222         __fstatat64 macros.
81223         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81224         * dirent/rewinddir.c: Add libc_hidden_def.
81225         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81226         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81228         * include/dirent.h (__alloc_dir): Add flags parameter.
81229         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81230         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81231         __alloc_dir.
81232         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81233         from fdopendir if O_CLOEXEC is already set.
81235 2011-03-15  Alan Modra  <amodra@gmail.com>
81237         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81238         l_tls_firstbyte_offset non-zero.  Save padding offset in
81239         l_tls_firstbyte_offset for later use.
81240         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81241         freeing static tls block.
81243 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81245         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81246         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81247         being defined by the kernel headers.
81249 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81251         [BZ #12734]
81252         * resolv/resolv.h: Define RES_NOTLDQUERY.
81253         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81254         no-tld-query and set RES_NOTLDQUERY.
81255         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81256         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81257         modern BIND to search name as TLD unless forbidden.
81259 2011-05-07  Petr Baudis  <pasky@suse.cz>
81260             Ulrich Drepper  <drepper@gmail.com>
81262         [BZ #12393]
81263         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81264         (is_trusted_path): ...to here.
81265         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81266         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81267         using is_trusted_path_normalize() in setuid scripts.
81269 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81271         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81272         __BEGIN/__END_DECLS.
81274 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81276         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81277         NSS_STATUS_NOTFOUND if no record was found.
81279 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81281         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81282         (headers-not-in-tirpc): Remove rpc/netdb.h
81283         * resolv/netdb.h: Revert last change.
81285 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81287         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81288         circular dependency between libgcc.a and libc.a.
81290 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81292         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81293         * nis/Makefile: Don't install rpcsvc/*.
81294         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81295         instead of <rpc/types.h>.
81296         (MAXHOSTNAMELEN): Define.
81298 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81300         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81302 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81304         [BZ #12714]
81305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81306         gethostbyname4_r when IPv6 results are possible.
81308 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81310         [BZ #12723]
81311         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81312         _PC_PIPE_BUF handling.
81314 2011-04-30  Bruno Haible  <bruno@clisp.org>
81316         [BZ #12717]
81317         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81318         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81319         to 'int'.
81320         * inet/getnameinfo.c (getnameinfo): Likewise.
81322 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81324         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81325         to groups setting in database lookup.
81326         * nss/nsswitch.conf: Add initgroups entry.
81328 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81330         [BZ #12685]
81331         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81332         mode string.
81333         Patch by Eric Blake <eblake@redhat.com>.
81335 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81337         * sunrpc/Makefile (need-export-routines): Add svc_run.
81338         (routines): Remove svc_run.
81339         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81340         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81341         * sunrpc/svc_run.c (svc_run): Likewise.
81342         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81344 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81346         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81347         problem in reallocation in last patch.
81349 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81351         * sunrpc/Makefile: Move inclusion of Rules.
81353 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81355         * nss/nss_files/files-initgroups.c: New file.
81356         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81357         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81358         _nss_files_initgroups_dyn.
81360 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81362         * elf/elf.h (R_ARM_IRELATIVE): Define.
81364 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81366         * po/ru.po: Update from translation team.
81368 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81370         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81371         dependencies.
81373 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81375         [BZ #12653]
81376         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81377         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81379         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81382 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81384         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81385         differing bytes.
81386         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81388         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81390 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81392         [BZ #12420]
81393         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81394         storing it.
81395         * stdlib/bug-getcontext.c: New file.
81396         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81398 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81400         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81401         instructions into .machine "z9-109".
81402         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81403         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81405 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81407         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81408         between environment variables and auxiliary vector.
81410 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81412         * Makefile: Add rules to build linkobj/libc.so.
81413         * include/libc-symbols.h: Define libc_hidden_nolink.
81414         * include/rpc/auth.h: Mark functions which are to be hidden.
81415         * include/rpc/auth_des.h: Likewise.
81416         * include/rpc/auth_unix.h: Likewise.
81417         * include/rpc/clnt.h: Likewise.
81418         * include/rpc/des_crypt.h: Likewise.
81419         * include/rpc/key_prot.h: Likewise.
81420         * include/rpc/pmap_clnt.h: Likewise.
81421         * include/rpc/pmap_prot.h: Likewise.
81422         * include/rpc/pmap_rmt.h: Likewise.
81423         * include/rpc/rpc_msg.h: Likewise.
81424         * include/rpc/svc.h: Likewise.
81425         * include/rpc/svc_auth.h: Likewise.
81426         * include/rpc/xdr.h: Likewise.
81427         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81428         * nss/Makefile: Likewise.
81429         * sunrpc/Makefile: Don't install headers.  Build library with normal
81430         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81431         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81432         for the compat linking library.  Remove use of INTDEF/INTUSE.
81433         * sunrpc/auth_none.c: Likewise.
81434         * sunrpc/auth_unix.c: Likewise.
81435         * sunrpc/authdes_prot.c: Likewise.
81436         * sunrpc/authuxprot.c: Likewise.
81437         * sunrpc/clnt_gen.c: Likewise.
81438         * sunrpc/clnt_perr.c: Likewise.
81439         * sunrpc/clnt_raw.c: Likewise.
81440         * sunrpc/clnt_simp.c: Likewise.
81441         * sunrpc/clnt_tcp.c: Likewise.
81442         * sunrpc/clnt_udp.c: Likewise.
81443         * sunrpc/clnt_unix.c: Likewise.
81444         * sunrpc/des_crypt.c: Likewise.
81445         * sunrpc/des_soft.c: Likewise.
81446         * sunrpc/get_myaddr.c: Likewise.
81447         * sunrpc/key_call.c: Likewise.
81448         * sunrpc/key_prot.c: Likewise.
81449         * sunrpc/netname.c: Likewise.
81450         * sunrpc/pm_getmaps.c: Likewise.
81451         * sunrpc/pm_getport.c: Likewise.
81452         * sunrpc/pmap_clnt.c: Likewise.
81453         * sunrpc/pmap_prot.c: Likewise.
81454         * sunrpc/pmap_prot2.c: Likewise.
81455         * sunrpc/pmap_rmt.c: Likewise.
81456         * sunrpc/publickey.c: Likewise.
81457         * sunrpc/rpc_cmsg.c: Likewise.
81458         * sunrpc/rpc_common.c: Likewise.
81459         * sunrpc/rpc_dtable.c: Likewise.
81460         * sunrpc/rpc_prot.c: Likewise.
81461         * sunrpc/rpc_thread.c: Likewise.
81462         * sunrpc/rtime.c: Likewise.
81463         * sunrpc/svc.c: Likewise.
81464         * sunrpc/svc_auth.c: Likewise.
81465         * sunrpc/svc_authux.c: Likewise.
81466         * sunrpc/svc_raw.c: Likewise.
81467         * sunrpc/svc_run.c: Likewise.
81468         * sunrpc/svc_simple.c: Likewise.
81469         * sunrpc/svc_tcp.c: Likewise.
81470         * sunrpc/svc_udp.c: Likewise.
81471         * sunrpc/svc_unix.c: Likewise.
81472         * sunrpc/svcauth_des.c: Likewise.
81473         * sunrpc/xcrypt.c: Likewise.
81474         * sunrpc/xdr.c: Likewise.
81475         * sunrpc/xdr_array.c: Likewise.
81476         * sunrpc/xdr_float.c: Likewise.
81477         * sunrpc/xdr_intXX_t.c: Likewise.
81478         * sunrpc/xdr_mem.c: Likewise.
81479         * sunrpc/xdr_rec.c: Likewise.
81480         * sunrpc/xdr_ref.c: Likewise.
81481         * sunrpc/xdr_sizeof.c: Likewise.
81482         * sunrpc/xdr_stdio.c: Likewise.
81484 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81486         [BZ #12650]
81487         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81488         * sysdeps/ia64/dl-tls.h: Likewise.
81489         * sysdeps/powerpc/dl-tls.h: Likewise.
81490         * sysdeps/s390/dl-tls.h: Likewise.
81491         * sysdeps/sh/dl-tls.h: Likewise.
81492         * sysdeps/sparc/dl-tls.h: Likewise.
81493         * sysdeps/x86_64/dl-tls.h: Likewise.
81494         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81496 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81498         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81499         rpath element also skip the following colon.
81500         (expand_dynamic_string_token): Add is_path parameter and pass
81501         down to DL_DST_REQUIRED and _dl_dst_substitute.
81502         (decompose_rpath): Call expand_dynamic_string_token with
81503         non-zero is_path.  Ignore empty rpaths.
81504         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81505         with zero is_path.
81507 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81510         Make cancelable.
81512 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81514         [BZ #12655]
81515         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81516         Patch by Filipe David Manana <fdmanana@apache.org>.
81518 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81521         Maintain aligned stack.
81522         (CHECK_RSP): Remove unused macro.
81524 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81526         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81527         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81529 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81531         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81533         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81535 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81537         [BZ #12518]
81538         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81539         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81540         * sysdeps/x86_64/memmove.c: New file.
81541         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81542         (memcpy): Renamed to ...
81543         (__new_memcpy): This.
81544         (memcpy): Provide GLIBC_2_14 memcpy.
81545         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81546         (memcpy): Provide GLIBC_2_2_5 memcpy.
81548 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81550         [BZ #12631]
81551         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81553 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81555         * misc/syncfs.c: New file.
81556         * misc/Makefile (routines): Add syncfs.
81557         * posix/unistd.h: Declare syncfs.
81558         * sysdeps/unix/syscalls.list: Add syncfs.
81560 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81562         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81563         open_by_handle_at.
81564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81565         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81567         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81569         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81572 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81574         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81576         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81577         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81578         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81580         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81582         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81583         sync_file_range.c with -fexceptions.
81584         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81585         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81586         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81587         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81588         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81589         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81591         sync_file_range as cancellation point
81592         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81593         now a wrapper around __call_sync_file_range with cancellation handling.
81594         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81595         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81596         function name to __call_sync_file_range.
81597         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81598         Add call_sync_file_range.
81600 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81603         bits/timex.h.
81605 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81607         * iconv/iconv.h: Fix typo in comment.
81608         * io/fcntl.h: Likewise.
81609         * libio/stdio.h: Likewise.
81610         * posix/spawn.h: Likewise.
81611         * posix/unistd.h: Likewise.
81612         * stdlib/stdlib.h: Likewise.
81613         * time/time.h: Likewise.
81614         * wcsmbs/wchar.h: Likewise.
81616         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81617         open_by_handle): Add.
81618         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81619         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81620         Augment a few comments.
81621         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81623         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81626         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81627         open_by_handle.
81629         * io/fcntl.h (AT_EMPTY_PATH): Define.
81631 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81633         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81634         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81635         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81636         to...
81637         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81638         * Versions.def: Add GLIBC_2.14.
81639         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81640         Export.
81642 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81644         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81645         round counter.
81646         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81648 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81650         [BZ #12597]
81651         * string/test-strncmp.c (do_page_test): New function.
81652         (check2): Likewise.
81653         (test_main): Call check2.
81654         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81656 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81658         [BZ #12587]
81659         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81660         Handle cache information in CPU leaf 4.
81661         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81663 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81665         [BZ #12583]
81666         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81667         character representation.
81668         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81670 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81672         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81673         END(__isnan) to END(__isnanf) to match function entry point/label
81674         EALIGN(__isnanf,...).
81676 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81678         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81680 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81682         [BZ #12510]
81683         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81684         copy from the symbol referenced in the relocation to initialize the
81685         used variable.
81686         Patch by Piotr Bury <pbury@goahead.com>.
81687         * elf/Makefile: Add rules to build and tst-unique3.
81688         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81689         * elf/tst-unique3.cc: New file.
81690         * elf/tst-unique3.h: New file.
81691         * elf/tst-unique3lib.cc: New file.
81692         * elf/tst-unique3lib2.cc: New file.
81694         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81696 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81698         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81699         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81700         to _start.
81702 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81704         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81705         to-be-loaded object along a path to loader is ld.so.
81707 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81708             Ulrich Drepper  <drepper@gmail.com>
81710         * sysdeps/x86_64/memset.S: After aligning destination, code
81711         branches to different locations depending on the value of
81712         misalignment, when multiarch is enabled. Fix this.
81714 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81716         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81717         Set _x86_64_preferred_memory_instruction for AMD processsors.
81718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81719         Set bit_Prefer_SSE_for_memop for AMD processors.
81721 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81723         * libio/fmemopen.c (fmemopen): Optimize a bit.
81725 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81727         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81729 2011-03-03  Roland McGrath  <roland@redhat.com>
81731         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81733 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81735         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81736         __bzero_ultra1 instead of __memset_ultra1.
81738 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81739             Ulrich Drepper  <drepper@gmail.com>
81741         [BZ #12509]
81742         * include/link.h (struct link_map): Add l_orig_initfini.
81743         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81744         returning unsuccessfully.
81745         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81746         close of a file loaded at startup, restore the original l_initfini
81747         list.
81748         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81749         list, store the pointer.
81750         * elf/Makefile ($(objpfx)noload-mem): New rule.
81751         (noload-ENV): Define.
81752         (tests): Add $(objpfx)noload-mem.
81753         * elf/noload.c: Include <memcheck.h>.
81754         (main): Call mtrace.  Close all opened handles.
81756 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81758         [BZ #12454]
81759         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81760         dependencies are missing.
81762 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81764         Fix __if_freereq crash: Unlike the generic version which uses free,
81765         Hurd needs munmap.
81766         * sysdeps/mach/hurd/ifreq.h: New file.
81768 2011-01-27  Petr Baudis  <pasky@suse.cz>
81769             Ulrich Drepper  <drepper@gmail.com>
81771         [BZ 12445]#
81772         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81773         to extend_alloca().
81774         * stdio-common/bug23.c: New file.
81775         * stdio-common/Makefile (tests): Add bug23.
81777 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81778             Ulrich Drepper  <drepper@gmail.com>
81780         [BZ #12489]
81781         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81782         before performing relro protection.  At old place add assertion
81783         to make sure nothing changed.
81785 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81786             Glauber de Oliveira Costa  <glommer@gmail.com>
81788         * elf/elf.h: Add new ARM TLS relocs.
81790 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81793         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81794         cast from r3.
81795         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81796         'tests' variable.
81797         * sysdeps/wordsize-64/tst-writev.c: New file.
81799 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81801         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81802         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81803         insns in _dl_start to prevent a TOC reference before relocs are
81804         resolved.
81806 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81808         [BZ #12469]
81809         * Makeconfig: Remove RANLIB definition.
81810         * Makerules: Don't use RANLIB.
81811         * aclocal.m4: Remove ranlib test.
81812         * configure.in: No need to check for ranlib.
81813         * elf/rtld-Rules: Don't use RANLIB.
81815 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81817         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81818         protection macro.
81819         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81820         inclusion protection macro.
81822         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81823         SIGRTMIN and SIGRTMAX and print information in that case only when
81824         SIGRTMIN is defined.
81826 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81828         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81829         arginfo fn returning -1.
81831         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81832         and thousands string is zero terminated.
81834 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81837         sysdeps/unix/sysv/linux/bits/socket.h.
81839 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81841         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81842         (__CPU_COUNT): Remove old macros.
81843         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81844         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81845         (__CPU_ALLOC, __CPU_FREE): Add macros.
81846         (__sched_cpualloc, __sched_cpufree): Add declarations.
81848 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81850         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81851         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81852         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81853         (readdhstai): Return value of addhstaiX call.
81854         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81855         (addgrbyX): Return value returned by cache_addgr.
81856         (readdgrbyname): Return value returned by addgrbyX.
81857         (readdgrbygid): Likewise.
81858         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81859         (addpwbyX): Return value returned by cache_addpw.
81860         (readdpwbyname): Return value returned by addhstbyX.
81861         (readdpwbyuid): Likewise.
81862         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81863         (addservbyX): Return value returned by cache_addserv.
81864         (readdservbyname): Return value returned by addservbyX:
81865         (readdservbyport): Likewise.
81866         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81867         (addhstbyX): Return value returned by cache_addhst.
81868         (readdhstbyname): Return value returned by addhstbyX.
81869         (readdhstbyaddr): Likewise.
81870         (readdhstbynamev6): Likewise.
81871         (readdhstbyaddrv6): Likewise.
81872         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81873         (readdinitgroups): Return value returned by addinitgroupsX.
81874         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81875         (prune_cache): Keep track of timeout value of re-added entries.
81876         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81877         * nscd/nscd.h: Adjust prototypes of readd* functions.
81879 2011-02-04  Roland McGrath  <roland@redhat.com>
81881         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81882         (nis_stats): Likewise.
81883         * nis/nis_modify.c (nis_modify): Likewise.
81884         * nis/nis_remove.c (nis_remove): Likewise.
81885         * nis/nis_add.c (nis_add): Likewise.
81887         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81889         * posix/fnmatch_loop.c: Add some consts.
81891         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81893 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81895         [BZ #12460]
81896         * config.make.in (config-cflags-novzeroupper): Define.
81897         * configure.in: Substitute libc_cv_cc_novzeroupper.
81898         * elf/Makefile (AVX-CFLAGS): Define.
81899         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81900         (CFLAGS-tst-auditmod4a.c): Likewise.
81901         (CFLAGS-tst-auditmod4b.c): Likewise.
81902         (CFLAGS-tst-auditmod6b.c): Likewise.
81903         (CFLAGS-tst-auditmod6c.c): Likewise.
81904         (CFLAGS-tst-auditmod7b.c): Likewise.
81905         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81907 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81909         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81910         function to the callback.
81911         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81913 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81915         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81916         of errno.
81918 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81920         [BZ #11724]
81921         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81922         of constructors.
81923         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81924         of destructors.
81925         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81927         [BZ #11724]
81928         * elf/Makefile: Add rules to build and run new test.
81929         * elf/tst-initorder.c: New file.
81930         * elf/tst-initorder.exp: New file.
81931         * elf/tst-initordera1.c: New file.
81932         * elf/tst-initordera2.c: New file.
81933         * elf/tst-initordera3.c: New file.
81934         * elf/tst-initordera4.c: New file.
81935         * elf/tst-initorderb1.c: New file.
81936         * elf/tst-initorderb2.c: New file.
81937         * elf/tst-order-a1.c: New file.
81938         * elf/tst-order-a2.c: New file.
81939         * elf/tst-order-a3.c: New file.
81940         * elf/tst-order-a4.c: New file.
81941         * elf/tst-order-b1.c: New file.
81942         * elf/tst-order-b2.c: New file.
81943         * elf/tst-order-main.c: New file.
81944         New test case by George Gensure <werkt0@gmail.com>.
81946 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81949         decoding ACE if AI_CANONIDN.
81951 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81953         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81955 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81957         * version.h (RELEASE): Bump for 2.13 release.
81958         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81960         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81962         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81963         MADV_NOHUGEPAGE.
81964         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81965         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81966         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81968         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81971         * posix/getconf.c: Update copyright year.
81972         * catgets/gencat.c: Likewise.
81973         * csu/version.c: Likewise.
81974         * debug/catchsegv.sh: Likewise.
81975         * debug/xtrace.sh: Likewise.
81976         * elf/ldconfig.c: Likewise.
81977         * elf/ldd.bash.in: Likewise.
81978         * elf/sprof.c (print_version): Likewise.
81979         * iconv/iconv_prog.c: Likewise.
81980         * iconv/iconvconfig.c: Likewise.
81981         * locale/programs/locale.c: Likewise.
81982         * locale/programs/localedef.c: Likewise.
81983         * malloc/memusage.sh: Likewise.
81984         * malloc/mtrace.pl: Likewise.
81985         * nscd/nscd.c (print_version): Likewise.
81986         * nss/getent.c: Likewise.
81988         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81989         PF_CAIF, and PF_ALG.
81990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81992 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81994         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81995         (modules-names): Use them.
81996         (ifunc-test-modules, ifunc-pie-tests): Define.
81997         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81998         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81999         (test-extras): Likewise.
82000         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82001         $(compile-command.c).
82002         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82003         (all-built-dso): Define.
82004         (check-textrel.out, check-execstack.out): Depend on it.
82006         * configure.in: Don't override --enable-multi-arch.
82008 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82010         [BZ #6812]
82011         * nscd/hstcache.c (tryagain): Define.
82012         (cache_addhst): Return tryagain not notfound for temporary errors.
82013         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82014         failed.
82016 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82018         [BZ #10563]
82019         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82020         to make the syscall.
82021         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82023         [BZ #12378]
82024         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82025         and fall back to matching as normal character if the string ends before
82026         the matching ']' is found.  This is what POSIX requires.
82027         * posix/testfnm.c: Adjust test result.
82028         * posix/globtest.sh: Adjust test result.  Add new test.
82029         * posix/tst-fnmatch.input: Likewise.
82030         * posix/tst-fnmatch2.c: Add new test.
82032 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82034         * elf/Makefile (check-execstack): Revert last change.  Depend on
82035         check-execstack.h.
82036         (check-execstack.h): New target.
82037         (generated): Add check-execstack.h.
82038         * elf/check-execstack.c: Include "check-execstack.h".
82039         (main): Revert last change.
82040         (handle_file): Return zero if GNU_STACK is absent and
82041         DEFAULT_STACK_PERMS doesn't include PF_X.
82043 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82045         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82046         in child fails because the descriptor is already closed.
82047         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82048         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82049         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82051         [BZ #12397]
82052         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82053         syscall.
82055         [BZ #10484]
82056         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82057         temporary buffer used to handle multi lookups locally.
82058         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82060 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82062         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82063         loader is ld.so.
82065 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82067         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82068         alignment for SSE2.
82070 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82072         [BZ #12394]
82073         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82074         characters.  When rounding increased number of integer digits recompute
82075         number of groups.
82076         * stdio-common/tst-grouping.c: New file.
82077         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82079 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82081         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82082         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82084         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82085         void.
82086         * bits/select.h: Likewise.
82088 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82090         * po/ja.po: Update from translation team.
82092 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82094         [BZ #11155]
82095         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82096         implementation just like for lxstat, fxstatat, et al.
82098 2010-12-27  Jim Meyering  <meyering@redhat.com>
82100         [BZ #12348]
82101         * posix/regexec.c (build_trtable): Return failure indication upon
82102         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82104 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82106         [BZ #12201]
82107         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82108         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82109         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82110         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82112         [BZ #12207]
82113         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82115         [BZ #12204]
82116         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82117         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82119 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82121         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82122         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82123         script has SORT_BY_INIT_PRIORITY.
82124         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82125         NO_CTORS_DTORS_SECTIONS is defined.
82126         * elf/soinit.c: Likewise.
82127         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82128         NO_CTORS_DTORS_SECTIONS is defined.
82129         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82130         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82131         * sysdeps/sh/init-first.c: Likewise.
82132         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82134 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82136         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82137         always use the slow path.
82139 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82141         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82142         similar rule which adds the sysdep directories to the header search in
82143         order to pick up the correct platform stackinfo.h.
82144         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82145         perform test if it is, otherwise return successfully without testing.
82146         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82147         DEFAULT_STACK_PERMS define in stackinfo.h.
82148         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82149         defined in stackinfo.h.
82150         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82151         DEFAULT_STACK_PERMS defined in stackinfo.h.
82152         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82153         * sysdeps/ia64/stackinfo.h: Likewise.
82154         * sysdeps/s390/stackinfo.h: Likewise.
82155         * sysdeps/sh/stackinfo.h: Likewise.
82156         * sysdeps/sparc/stackinfo.h: Likewise.
82157         * sysdeps/x86_64/stackinfo.h: Likewise.
82158         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82159         PF_X for powerpc64.  Retain PF_X for powerpc32.
82161 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82163         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82164         accurately.
82165         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82166         GETDENTS_64BIT_ALIGNED.
82168 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82170         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82172 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82174         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82175         _GNU_SOURCE.
82177         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82178         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82179         Remove __restrict.
82180         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82181         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82183 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82185         [BZ #11655]
82186         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82187         are initialized.
82189 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82191         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82193 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82195         * po/it.po: Update from translation team.
82197 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82200         unused codes.
82202 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82204         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82206 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82208         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82209         specially.
82210         (gaih_getanswer_slice): Likewise.
82212 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82216 2010-05-31  Petr Baudis  <pasky@suse.cz>
82218         [BZ #11149]
82219         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82220         silently even in the chroot mode.
82222 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82224         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82225         last patch a bit.  Pretty printing
82227 2010-05-31  Petr Baudis <pasky@suse.cz>
82229         [BZ #10085]
82230         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82231         initialization of skip_initgroups_dyn.
82233 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82235         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82236         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82238 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82240         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82242 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82244         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82245         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82246         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82247         ($(objpfx)tst-fnmatch-mem): New rule.
82248         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82249         * posix/tst-fnmatch.c (main): Call mtrace.
82251 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82254         Support Intel processor model 6 and model 0x2c.
82256 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82258         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82259           signed comparison.
82261 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82263         [BZ #12205]
82264         * string/test-strncasecmp.c (check_result): New function.
82265         (do_one_test): Use it.
82266         (check1): New function.
82267         (test_main): Use it.
82268         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82269         Support strcasecmp and strncasecmp.
82271 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82273         [BZ #12194]
82274         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82275         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82277 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82279         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82280         IFUNC support.
82281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82282         memset-x86-64.
82283         * sysdeps/x86_64/multiarch/bzero.S: New file.
82284         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82285         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82286         * sysdeps/x86_64/multiarch/memset.S: New file.
82287         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82289         Set bit_Prefer_SSE_for_memop for Intel processors.
82290         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82291         Define.
82292         (index_Prefer_SSE_for_memop): Define.
82293         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82295 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82297         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82298         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82300 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82302         [BZ #12191]
82303         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82304         (__x86_64_raw_data_cache_size_half): Likewise.
82305         (__x86_64_raw_shared_cache_size): Likewise.
82306         (__x86_64_raw_shared_cache_size_half): Likewise.
82308         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82309         (__x86_64_raw_data_cache_size_half): Likewise.
82310         (__x86_64_raw_shared_cache_size): Likewise.
82311         (__x86_64_raw_shared_cache_size_half): Likewise.
82312         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82313         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82314         and __x86_64_raw_shared_cache_size_half.  Round
82315         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82316         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82317         to multiple of 256 bytes.
82319 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82321         [BZ #12167]
82322         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82323         of inacessible symlinks.  Verify result of symlink before returning it.
82324         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82325         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82327 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82329         * math/math.h (isinf): Fix typo in comment.
82331 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82333         * po/da.po: Update from translation team.
82335 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82337         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82338         is added to the list.
82340 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82341             Ulrich Drepper  <drepper@gmail.com>
82343         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82344         the global list here.  Move code to...
82345         (_dl_add_to_namespace_list): ...here.  New function.
82346         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82347         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82348         * elf/dl-load.c (lose): Don't remove the element from the list.
82349         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82350         (_dl_map_object): Likewise.
82352 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82354         [BZ #12159]
82355         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82356         into all bytes of SSE register.
82357         Patch by Richard Li <richardpku@gmail.com>.
82359 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82361         [BZ #12140]
82362         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82363         perturbing.
82365 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82367         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82368         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82369         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82370         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82372         submachine.
82373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82375 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82377         * include/dlfcn.h (__RTLD_SECURE): Define.
82378         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82379         mode & __RTLD_SECURE instead.
82380         (open_path): Rename preloaded parameter to secure.
82381         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82382         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82383         * elf/dl-deps.c (openaux): Likewise.
82384         * elf/rtld.c (struct map_args): Remove is_preloaded.
82385         (map_doit): Don't use it.
82386         (dl_main): Likewise.
82387         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82388         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82390 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82392         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82393         (sysd-rules-targets): Remove duplicates.
82394         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82395         rtld-%.$o dependency.
82397 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82399         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82400         _dl_map_object do it.
82402 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82404         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82405         fast fma builtins, define the macros in the C99 standard.
82406         (FP_FAST_FMAF): Likewise.
82407         (FP_FAST_FMAL): Likewise.
82408         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82410         * bits/mathdef.h: Update copyright year.
82411         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82413 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82415         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82416         builtins, define the macros in the C99 standard.
82417         (FP_FAST_FMAF): Likewise.
82418         (FP_FAST_FMAL): Likewise.
82419         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82420         multiply/add.
82421         (FP_FAST_FMAF): Likewise.
82423 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82425         [BZ #3268]
82426         * math/libm-test.inc (fma_test): Some new testcases.
82427         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82428         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82429         y and infinite z.  Do multiplication by C already in long double.
82430         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82432         y and infinite z.  Do bitwise or of inexact bit into u.d.
82433         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82434         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82435         * sysdeps/i386/fpu/s_fma.S: Removed.
82436         * sysdeps/i386/fpu/s_fmal.S: Removed.
82438 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82440         [BZ #3268]
82441         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82443         computation is not scheduled after fetestexcept.  Fix value
82444         of minimum denormal long double.
82446 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82448         [BZ #3268]
82449         * math/libm-test.inc (fma_test): Add some more tests.
82450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82451         correctly.
82453 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82455         * scripts/data/localplt-s390-linux-gnu.data: New file.
82456         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82458 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82460         [BZ #3268]
82461         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82462         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82463         instead of dbl-64.
82464         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82465         inlines.
82466         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82468         if one of x and y is very large and the other is subnormal.
82469         * sysdeps/s390/fpu/s_fmaf.c: New file.
82470         * sysdeps/s390/fpu/s_fma.c: New file.
82471         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82472         * sysdeps/powerpc/fpu/s_fma.S: New file.
82473         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82474         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82475         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82477 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82479         [BZ #3268]
82480         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82481         fma tests.
82482         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82483         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82484         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82485         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82486         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82487         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82488         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82490 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82492         [BZ #12078]
82493         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82494         * posix/bug-regex31.input: Add test case.
82496 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82498         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82499         * posix/bug-regex31.input: New file.
82501         [BZ #12078]
82502         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82503         (parse_sub_exp): Fix last change, use postorder.
82505         * posix/bug-regex31.c: New file.
82506         * posix/Makefile: Add rules to build and run bug-regex31.
82508         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82510         [BZ #12078]
82511         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82513         [BZ #12108]
82514         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82515         to have entries in sys_siglist.
82517         [BZ #12093]
82518         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82519         be NULL.
82521 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82523         [BZ #3268]
82524         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82525         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82526         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82527         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82528         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82529         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82530         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82531         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82532         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82533         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82534         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82535         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82536         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82537         * math/ftestexcept.c (fetestexcept): Likewise.
82538         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82539         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82540         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82541         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82542         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82543         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82544         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82546 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82548         [BZ #12107]
82549         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82550         newline.
82552 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82554         * string/bug-strstr1.c: New file.
82555         * string/Makefile: Add rules to build and run bug-strstr1.
82557 2010-10-05  Eric Blake  <eblake@redhat.com>
82559         [BZ #12092]
82560         * string/str-two-way.h (two_way_long_needle): Always clear memory
82561         when skipping input due to the shift table.
82563 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82565         [BZ #12005]
82566         * malloc/mcheck.c: Handle large requests.
82568         [BZ #12077]
82569         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82570         for strncmp and strncasecmp.
82571         * string/stratcliff.c: Add tests for strcmp and strncmp.
82572         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82574 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82576         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82577         __set_fpscr.
82579 2010-09-30  Andreas Jaeger  <aj@suse.de>
82581         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82582         (CGROUP_SUPER_MAGIC): Define.
82583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82584         Handle btrfs and cgroup file systems.
82585         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82586         Likewise.
82588 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82590         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82591         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82593 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82595         [BZ #12067]
82596         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82597         trying to locate the ELF header.
82599 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82601         [BZ #11611]
82602         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82603         Mask out sign-bit copies when constructing f_fsid.
82605 2010-09-24  Petr Baudis <pasky@suse.cz>
82607         * debug/stack_chk_fail_local.c: Add missing licence exception.
82608         * debug/warning-nop.c: Likewise.
82610 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82612         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82613         implementing getdents64 using getdents syscall, set d_type if
82614         __ASSUME_GETDENTS32_D_TYPE.
82616 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82618         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82619         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82621 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82623         [BZ #12037]
82624         * posix/unistd.h: Undo change of feature selection for ftruncate from
82625         2010-01-11.
82627 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82629         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82630         detection.
82632 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82634         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82635         fanotify_mark.
82636         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82638 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82640         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82641         variables after CHECK_SP call.
82642         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82644 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82645             Ulrich Drepper  <drepper@redhat.com>
82647         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82648         re-relocationg ld.so.
82649         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82650         _dl_init_paths call.
82651         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82652         here anymore.
82654 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82656         * resolv/res_init.c (__res_vinit): Count the default server we added.
82658 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82659             Ulrich Drepper  <drepper@redhat.com>
82661         [BZ #11968]
82662         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82663         (____longjmp_chk): Use %ebx for saving value across system call.
82664         Add unwind info.
82666 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82668         * manual/Makefile: Don't mix pattern rules with normal rules.
82670 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82672         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82673         operation.
82674         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82675         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82676         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82677         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82679         Likewise.
82681 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82683         [BZ #11979]
82684         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82685         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82687 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82689         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82690         * sysdeps/x86_64/addmul_1.S: Likewise.
82691         * sysdeps/x86_64/lshift.S: Likewise.
82692         * sysdeps/x86_64/mul_1.S: Likewise.
82693         * sysdeps/x86_64/rshift.S: Likewise.
82694         * sysdeps/x86_64/sub_n.S: Likewise.
82695         * sysdeps/x86_64/submul_1.S: Likewise.
82697 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82699         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82700         Define __sched_param instead of SCHED_* and sched_param when
82701         <bits/sched.h> is included with __need_schedparam defined.
82702         * bits/sched.h [__need_schedparam]
82703         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82704         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82705         (__defined_schedparam): Define to 1.
82706         (__sched_param): New structure, identical to sched_param.
82707         (__need_schedparam): Undefine.
82709 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82711         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82712         (epoll_create1): Declare.
82714         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82716 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82718         [BZ #7066]
82719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82720         shifting retval into place.
82722 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82724         * nis/rpcsvc/nis.h: Update copyright notice.
82725         * nis/rpcsvc/nis.x: Likewise.
82726         * nis/rpcsvc/nis_callback.h: Likewise.
82727         * nis/rpcsvc/nis_callback.x: Likewise.
82728         * nis/rpcsvc/nis_object.x: Likewise.
82729         * nis/rpcsvc/nis_tags.h: Likewise.
82730         * nis/rpcsvc/yp.h: Likewise.
82731         * nis/rpcsvc/yp.x: Likewise.
82732         * nis/rpcsvc/ypupd.h: Likewise.
82733         * nis/yp_xdr.c: Likewise.
82734         * nis/ypupdate_xdr.c: Likewise.
82736         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82737         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82738         (pmap_getport): Use __libc_rpc_getport.
82739         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82740         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82741         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82743 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82746         fanotify_mark.
82748 2010-08-27  Roland McGrath  <roland@redhat.com>
82750         * sysdeps/i386/i686/multiarch/Makefile
82751         (CFLAGS-varshift.c): New variable.
82753 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82755         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82756         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82758         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82760         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82762 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82764         * sysdeps/x86_64/strlen.S: Unroll the loop.
82765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82766         strlen-sse2 strlen-sse2-bsf.
82767         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82768         __strlen_no_bsf if bit_Slow_BSF is set.
82769         (__strlen_sse42): Removed.
82770         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82771         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82773 2010-08-25  Roland McGrath  <roland@redhat.com>
82775         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82776         * sysdeps/x86_64/multiarch/varshift.c: New file.
82777         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82778         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82779         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82780         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82782 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82785         strlen-sse2 strlen-sse2-bsf.
82786         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82787         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82788         (__strlen_sse2): Removed.
82789         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82792         bit_Slow_BSF for Atom.
82793         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82794         (index_Slow_BSF): Define.
82795         (HAS_SLOW_BSF): Define.
82797 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82799         [BZ #10851]
82800         * resolv/res_init.c (__res_vinit): When no server address at all
82801         is given default to loopback.
82803 2010-08-24  Roland McGrath  <roland@redhat.com>
82805         * configure.in: Remove config-name.h generation.
82806         * configure: Regenerated.
82807         * config-name.in: File removed.
82808         * scripts/config-uname.sh: New file.
82809         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82810         ($(objdir)config-name.h): New target.
82812         * sunrpc/rpc_parse.h: Avoid nested comment.
82814 2010-08-24  Richard Henderson  <rth@redhat.com>
82815             Ulrich Drepper  <drepper@redhat.com>
82816             H.J. Lu  <hongjiu.lu@intel.com>
82818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82820         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82821         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82822         _mm_alignr_epi8 with _mm_loadu_si128.
82823         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82824         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82825         (__m128i_shift_right): Removed.
82826         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82827         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82828         * sysdeps/x86_64/multiarch/varshift.h: New file.
82829         * sysdeps/x86_64/multiarch/varshift.S: New file.
82831 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82833         * configure.in: Move assembler checks to before sysdep dir checking.
82835 2010-08-20  Petr Baudis  <pasky@suse.cz>
82837         * LICENSES: Sync the sunrpc license.
82839 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82841         * sunrpc/auth_des.c: Update copyright notice once again.
82842         * sunrpc/auth_none.c: Likewise.
82843         * sunrpc/auth_unix.c: Likewise.
82844         * sunrpc/authdes_prot.c: Likewise.
82845         * sunrpc/authuxprot.c: Likewise.
82846         * sunrpc/bindrsvprt.c: Likewise.
82847         * sunrpc/clnt_gen.c: Likewise.
82848         * sunrpc/clnt_perr.c: Likewise.
82849         * sunrpc/clnt_raw.c: Likewise.
82850         * sunrpc/clnt_simp.c: Likewise.
82851         * sunrpc/clnt_tcp.c: Likewise.
82852         * sunrpc/clnt_udp.c: Likewise.
82853         * sunrpc/clnt_unix.c: Likewise.
82854         * sunrpc/des_crypt.c: Likewise.
82855         * sunrpc/des_soft.c: Likewise.
82856         * sunrpc/get_myaddr.c: Likewise.
82857         * sunrpc/getrpcport.c: Likewise.
82858         * sunrpc/key_call.c: Likewise.
82859         * sunrpc/key_prot.c: Likewise.
82860         * sunrpc/openchild.c: Likewise.
82861         * sunrpc/pm_getmaps.c: Likewise.
82862         * sunrpc/pm_getport.c: Likewise.
82863         * sunrpc/pmap_clnt.c: Likewise.
82864         * sunrpc/pmap_prot.c: Likewise.
82865         * sunrpc/pmap_prot2.c: Likewise.
82866         * sunrpc/pmap_rmt.c: Likewise.
82867         * sunrpc/rpc/auth.h: Likewise.
82868         * sunrpc/rpc/auth_unix.h: Likewise.
82869         * sunrpc/rpc/clnt.h: Likewise.
82870         * sunrpc/rpc/des_crypt.h: Likewise.
82871         * sunrpc/rpc/key_prot.h: Likewise.
82872         * sunrpc/rpc/netdb.h: Likewise.
82873         * sunrpc/rpc/pmap_clnt.h: Likewise.
82874         * sunrpc/rpc/pmap_prot.h: Likewise.
82875         * sunrpc/rpc/pmap_rmt.h: Likewise.
82876         * sunrpc/rpc/rpc.h: Likewise.
82877         * sunrpc/rpc/rpc_des.h: Likewise.
82878         * sunrpc/rpc/rpc_msg.h: Likewise.
82879         * sunrpc/rpc/svc.h: Likewise.
82880         * sunrpc/rpc/svc_auth.h: Likewise.
82881         * sunrpc/rpc/types.h: Likewise.
82882         * sunrpc/rpc/xdr.h: Likewise.
82883         * sunrpc/rpc_clntout.c: Likewise.
82884         * sunrpc/rpc_cmsg.c: Likewise.
82885         * sunrpc/rpc_common.c: Likewise.
82886         * sunrpc/rpc_cout.c: Likewise.
82887         * sunrpc/rpc_dtable.c: Likewise.
82888         * sunrpc/rpc_hout.c: Likewise.
82889         * sunrpc/rpc_main.c: Likewise.
82890         * sunrpc/rpc_parse.c: Likewise.
82891         * sunrpc/rpc_parse.h: Likewise.
82892         * sunrpc/rpc_prot.c: Likewise.
82893         * sunrpc/rpc_sample.c: Likewise.
82894         * sunrpc/rpc_scan.c: Likewise.
82895         * sunrpc/rpc_scan.h: Likewise.
82896         * sunrpc/rpc_svcout.c: Likewise.
82897         * sunrpc/rpc_tblout.c: Likewise.
82898         * sunrpc/rpc_util.c: Likewise.
82899         * sunrpc/rpc_util.h: Likewise.
82900         * sunrpc/rpcinfo.c: Likewise.
82901         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82902         * sunrpc/rpcsvc/key_prot.x: Likewise.
82903         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82904         * sunrpc/rpcsvc/mount.x: Likewise.
82905         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82906         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82907         * sunrpc/rpcsvc/rex.x: Likewise.
82908         * sunrpc/rpcsvc/rstat.x: Likewise.
82909         * sunrpc/rpcsvc/rusers.x: Likewise.
82910         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82911         * sunrpc/rpcsvc/spray.x: Likewise.
82912         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82913         * sunrpc/rtime.c: Likewise.
82914         * sunrpc/svc.c: Likewise.
82915         * sunrpc/svc_auth.c: Likewise.
82916         * sunrpc/svc_authux.c: Likewise.
82917         * sunrpc/svc_raw.c: Likewise.
82918         * sunrpc/svc_run.c: Likewise.
82919         * sunrpc/svc_simple.c: Likewise.
82920         * sunrpc/svc_tcp.c: Likewise.
82921         * sunrpc/svc_udp.c: Likewise.
82922         * sunrpc/svc_unix.c: Likewise.
82923         * sunrpc/svcauth_des.c: Likewise.
82924         * sunrpc/xcrypt.c: Likewise.
82925         * sunrpc/xdr.c: Likewise.
82926         * sunrpc/xdr_array.c: Likewise.
82927         * sunrpc/xdr_float.c: Likewise.
82928         * sunrpc/xdr_mem.c: Likewise.
82929         * sunrpc/xdr_rec.c: Likewise.
82930         * sunrpc/xdr_ref.c: Likewise.
82931         * sunrpc/xdr_sizeof.c: Likewise.
82932         * sunrpc/xdr_stdio.c: Likewise.
82934         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82935         handling.
82937 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82939         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82941 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82943         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82944         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82945         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82946         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82947         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82948         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82949         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82950         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82951         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82952         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82953         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82954         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82955         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82956         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82958 2010-07-26  Anton Blanchard  <anton@samba.org>
82960         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82961         * malloc/arena.c (heap_trim): Likewise.
82963 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82965         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82966         here.  Not...
82967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82968         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82970 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82972         * sysdeps/i386/elf/Makefile: New file.
82974 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82976         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82977         from fanotify_init.
82978         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82981 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82983         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82984         of strncasecmp_l.
82985         * sysdeps/multiarch/strcmp.S: Likewise.
82987 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82989         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82990         strncase_l-nonascii.
82991         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82992         Add strncase_l-ssse3.
82993         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82994         * sysdeps/x86_64/strcmp.S: Likewise.
82995         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82996         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82997         * sysdeps/x86_64/strncase.S: New file.
82998         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82999         * sysdeps/x86_64/strncase_l.S: New file.
83000         * string/Makefile (strop-tests): Add strncasecmp.
83001         * string/test-strncasecmp.c: New file.
83003         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83004         warning.
83006         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83007         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83009 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83011         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83013 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83015         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83016         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83017         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83019 2010-05-01  Alan Modra  <amodra@gmail.com>
83021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83022         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83023         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83024         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83025         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83026         tidying.  Don't tail-call __sigjmp_save for static lib.
83027         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83028         save location.
83029         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83030         (CALL_MCOUNT): Add eh info, and nop after bl.
83031         (TAIL_CALL_SYSCALL_ERROR): New macro.
83032         (PSEUDO_RET): Use it.
83033         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83034         Correct save location of integer regs and cr.
83035         (_dl_profile_resolve): Correct cr save location.  Delete nops
83036         after bl when SHARED.  Reduce cfi size a little by better
83037         placement of cfi directives.
83038         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83039         make a stack frame.  Instead use parm save area as a temp.
83040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83041         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83043         Don't make a stack frame for parent, use parm save area.
83044         Increase child stack frame to 112 bytes.  Don't save unused reg,
83045         and adjust reg usage.  Set up cfi on error recovery and
83046         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83048         (__makecontext): Add dummy nop after jump to exit.
83049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83050         Use correct parm save area and cr save, reduce stack frame.
83051         Correct cfi for possible PSEUDO_RET frame setup.
83052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83053         Branch to local label emitted by PSEUDO_RET rather than
83054         __syscall_error.
83056 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83058         [BZ #11904]
83059         * locale/programs/locale.c (print_assignment): New function.
83060         (show_locale_vars): Use it.
83062 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83064         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83065         field.
83066         (struct statfs64): Likewise.
83067         (_STATFS_F_FLAGS): Define.
83068         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83069         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83070         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83071         (ST_VALID): Define locally.
83072         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83073         __statvfs_getflags, use the provided value.
83074         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83075         __ASSUME_STATFS_F_FLAGS.
83077         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83079         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83080         Add sys/fanotify.h.
83081         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83082         fanotify_mask for GLIBC_2.13.
83083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83084         fanotify_init and fanotify_mark.
83085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83086         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83088         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83089         Add prlimit.
83090         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83091         prlimit64 for GLIBC_2.13.
83092         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83093         prlimit64.
83094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83095         syscall.
83096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83097         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83098         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83099         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83101         add prlimit alias.
83102         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83104         [BZ #11903]
83105         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83106         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83108         * nss/Makefile: Add rules to build and run tst-nss-test1.
83109         * shlib-versions: Add entry for libnss_test1.
83110         * nss/nss_test1.c: New file.
83111         * nss/tst-nss-test1.c: New file.
83113         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83114         (__nss_configure_lookup): Set appropriate entry in
83115         __nss_configure_lookup to true.
83116         * nss/nsswitch.h: Define enum with indeces of databases in
83117         databases and __nss_database_custom arrays.  Declare
83118         __nss_database_custom.
83119         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83120         to avoid using nscd when custom rules are installed.
83121         * nss/getXXbyYY_r.c: Likewise.
83122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83124         * nss/nss_files/files-parse.c: Whitespace fixes.
83126 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83128         [BZ #11883]
83129         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83130         * posix/fnmatch_loop.c: Likewise.
83132 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83134         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83135         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83136         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83137         * Versions.def [GLIBC_2.13]: Add.
83139 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83141         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83142         Also fail if tpwd after pwuid call is NULL.
83144 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83146         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83147         when converting to ms.
83149 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83151         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83152         EOPNOTSUPP errors with ENOTTY.
83153         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83154         EOPNOTSUPP errors with ENOTTY.
83156 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83158         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83159         Add strcasecmp_l-ssse3.
83160         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83161         strcasecmp.
83162         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83163         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83164         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83166 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83168         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83170         * string/Makefile (strop-tests): Add strcasecmp.
83171         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83172         strcasecmp_l-nonascii.
83173         (gen-as-const-headers): Add locale-defines.sym.
83174         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83175         * sysdeps/x86_64/strcasecmp.S: New file.
83176         * sysdeps/x86_64/strcasecmp_l.S: New file.
83177         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83178         * sysdeps/x86_64/locale-defines.sym: New file.
83179         * string/test-strcasecmp.c: New file.
83181         * string/test-strcasestr.c: Test both ends of the range of characters.
83182         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83184 2010-07-29  Roland McGrath  <roland@redhat.com>
83186         [BZ #11856]
83187         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83189 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83191         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83192         for ld.so.
83194 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83196         * manual/memory.texi (Malloc Tunable Parameters): Document
83197         M_PERTURB.
83199 2010-07-26  Roland McGrath  <roland@redhat.com>
83201         [BZ #11840]
83202         * configure.in (-fgnu89-inline check): Set and substitute
83203         gnu89_inline, not libc_cv_gnu89_inline.
83204         * configure: Regenerated.
83205         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83207 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83209         * string/test-strnlen.c: New file.
83210         * string/Makefile (strop-tests): Add strnlen.
83211         * string/tester.c (test_strnlen): Add a few more test cases.
83212         * string/tst-strlen.c: Better error reporting.
83214         * sysdeps/x86_64/strnlen.S: New file.
83216 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83219         lower-latency instructions.
83221 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83223         * string/test-strcasestr.c: New file.
83224         * string/test-strstr.c: New file.
83225         * string/Makefile (strop-tests): Add strstr and strcasestr.
83226         * string/str-two-way.h: Don't undefine MAX.
83227         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83229 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83232         strcasestr-nonascii.
83233         (CFLAGS-strcasestr-nonascii.c): Define.
83234         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83235         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83236         Remove unused attribute.
83238 2010-07-20  Roland McGrath  <roland@redhat.com>
83240         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83241         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83242         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83243         like LD_HWCAP_MASK can disable hwcaps.
83245 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83247         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83249 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83251         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83252         call in strcasestr.
83253         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83254         __strcasestr_sse42_nonascii.
83255         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83256         strcasestr-nonascii.c.
83257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83259 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83261         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83262         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83263         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83264         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83266 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83269         fcntl.
83271 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83273         [BZ #11577]
83274         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83275         dl_signal_cerror.
83277 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83279         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83280         _PC_PIPE_BUF using F_GETPIPE_SZ.
83282 2010-07-05  Roland McGrath  <roland@redhat.com>
83284         * manual/arith.texi (Rounding Functions): Fix rint description
83285         implicit in round description.
83287 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83289         * elf/Makefile: Fix linking for a few tests to make recent linker
83290         happy.
83292 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83294         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83295         $(common-objpfx)libc_nonshared.a.
83297 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83299         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83300         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83301         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83302         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83303         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83304         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83305         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83306         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83321         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83322         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83323         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83324         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83325         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83326         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83327         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83328         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83329         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83330         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83331         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83332         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83348 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83350         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83351         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83352         * string/memmove.c (memmove): Renamed to ...
83353         (MEMMOVE): ...this.  Default to memmove.
83354         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83355         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83356         (END_CHK): Define.
83357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83358         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83359         mempcpy-ssse3-back memmove-ssse3-back.
83360         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83361         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83363         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83364         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83365         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83366         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83367         * sysdeps/x86_64/multiarch/memmove.c: New file.
83368         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83369         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83370         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83371         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83372         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83373         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83374         Define.
83375         (index_Fast_Copy_Backward): Define.
83376         (HAS_ARCH_FEATURE): Define.
83377         (HAS_FAST_REP_STRING): Define.
83378         (HAS_FAST_COPY_BACKWARD): Define.
83380 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83382         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83383         Restore proper fallback handling.
83385 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83387         [BZ #11701]
83388         * posix/group_member.c (__group_member): Correct checking loop.
83390         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83391         OOM in getpwuid_r correctly.  Return error number when the caller
83392         should return, otherwise -1.
83393         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83394         call returning > 0 value.
83395         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83397 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83399         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83400         libc_nonshared.a from targets in modules-names.
83402 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83404         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83405         requires it.
83407 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83409         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83410         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83411         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83412         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83414 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83416         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83418 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83420         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83421         and F_GETPIPE_SZ.
83422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83425         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83426         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83427         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83429 2010-06-14  Roland McGrath  <roland@redhat.com>
83431         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83433 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83435         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83436         __REDIRECT followed by __THROW.
83437         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83438         * posix/getopt.h (getopt): Likewise.
83440 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83442         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83443         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83444         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83445         in AT_FLAGS.
83446         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83447         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83449 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83451         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83453 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83455         [BZ #11640]
83456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83457         Properly check family and model.
83459 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83461         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83463 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83465         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83467 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83469         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83470         symbol reference.
83472 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83474         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83475         symbol reference.
83477 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83479         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83480         and internal_recvmmsg.
83481         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83482         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83483         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83484         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83486         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83487         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83488         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83490 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83492         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83494 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83496         POWER7 optimizations.
83497         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83498         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83500 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83502         * version.h: Update for 2.13 development version.
83504 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83506         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83507         exceptions.  Return 0.
83509 2010-05-07  Roland McGrath  <roland@redhat.com>
83511         * elf/ldconfig.c (main): Add a const.
83513 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83515         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83516         (args_options): Add no-idn option.
83517         (ahosts_keys_int): Add idn_flags to ai_flags.
83518         (parse_option): Handle 'i' option to clear idn_flags.
83520         * malloc/malloc.c (_int_free): Possible race in the most recently
83521         added check.  Only act on the data if no current modification
83522         happened.
83524 See ChangeLog.17 for earlier changes.